Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 4 post(s) |
Xenuria
Legion Of Idiots legion of extraordinary Idi0ts
622
|
Posted - 2012.11.25 20:41:00 -
[1] - Quote
I am working on a website that I want to be viewable in the in-game eve browser. How would I go about finding the format and such to link to items and fits or various other functions within the game client?
Xenuria CSM 8 |
Tikktokk Tokkzikk
Cult of Escobar
106
|
Posted - 2012.11.25 20:57:00 -
[2] - Quote
You might get a quicker/better answer in EVE Technology Lab. |
|
ISD Dorrim Barstorlode
ISD Community Communications Liaisons
1184
|
Posted - 2012.11.26 02:19:00 -
[3] - Quote
Moving this from New Citizens Q&A to Tech Lab. ISD Dorrim Barstorlode Captain Community Communication Liaisons (CCLs) Interstellar Services Department |
|
|
ISD LackOfFaith
ISD Community Communications Liaisons
34
|
Posted - 2012.11.26 02:22:00 -
[4] - Quote
There is up to date documentation on in-game browser features here.
More specifically, for your use cases:
- Linking items: create a link to, or somehow execute the Javascript function: "CCPEVE.showInfo(typeID)". You can include a specific ID if there are multiple items of that ID (for example, when linking a specific star/station, you have to give the star/station typeId, and the specific itemID of the thing you're linking).
- Linking fits: same thing, except the "CCPEVE.showFitting(fitting)" function, where "fitting" is a Ship DNA string. Note that this is how stupid fits with multiple doomsdays fitted to a pod happen (the Ship DNA strings aren't validated).
For other stuff, check the IGB Javascript page. You may also find the Eve Development Network useful, as they have other resources for your convenience.
Good luck with your coding! ISD LackOfFaith Ensign Community Communication Liaisons (CCLs) Interstellar Services Department |
|
Xenuria
Legion Of Idiots legion of extraordinary Idi0ts
623
|
Posted - 2012.11.26 15:51:00 -
[5] - Quote
ISD LackOfFaith wrote:There is up to date documentation on in-game browser features here. More specifically, for your use cases:
- Linking items: create a link to, or somehow execute the Javascript function: "CCPEVE.showInfo(typeID)". You can include a specific ID if there are multiple items of that ID (for example, when linking a specific star/station, you have to give the star/station typeId, and the specific itemID of the thing you're linking).
- Linking fits: same thing, except the "CCPEVE.showFitting(fitting)" function, where "fitting" is a Ship DNA string. Note that this is how stupid fits with multiple doomsdays fitted to a pod happen (the Ship DNA strings aren't validated).
For other stuff, check the IGB Javascript page. You may also find the Eve Development Network useful, as they have other resources for your convenience. Good luck with your coding!
Thank you very much. This is exactly what I am looking for. One thing I did not see on the wiki is how to pay a player or give isk to a player. I would imagine this requires trusted site. Xenuria CSM 8 |
Cyerus
Galactic Dominion Eternal Strife
62
|
Posted - 2012.11.26 17:05:00 -
[6] - Quote
There is no command to give money to another player. |
|
ISD LackOfFaith
ISD Community Communications Liaisons
37
|
Posted - 2012.11.26 17:27:00 -
[7] - Quote
Cyerus wrote:There is no command to give money to another player. This. The API is pretty much read-only for in-game data. There is no way to effect changes within the game using the API.
If you would like to be able to track money received, set up a receiving corp/character, then use the Wallet XML API to query and see what gets received. You can even get the donors to put stuff in the "Reason" field of the donation for your script to process. You can do this manually or use one of the pre-built API libraries available on the Eve Dev site (I've used the Python one before, and it's pretty great). ISD LackOfFaith Ensign Community Communication Liaisons (CCLs) Interstellar Services Department |
|
Xenuria
Legion Of Idiots legion of extraordinary Idi0ts
623
|
Posted - 2012.11.26 18:19:00 -
[8] - Quote
ISD LackOfFaith wrote:Cyerus wrote:There is no command to give money to another player. This. The API is pretty much read-only for in-game data. There is no way to effect changes within the game using the API. If you would like to be able to track money received, set up a receiving corp/character, then use the Wallet XML API to query and see what gets received. You can even get the donors to put stuff in the "Reason" field of the donation for your script to process. You can do this manually or use one of the pre-built API libraries available on the Eve Dev site (I've used the Python one before, and it's pretty great).
Alright, so you can't get a link to donate to a player but you CAN get it to donate to a corp? I am very new to this kind of stuff but I am more than willing to learn. Xenuria CSM 8 |
|
ISD LackOfFaith
ISD Community Communications Liaisons
38
|
Posted - 2012.11.26 20:51:00 -
[9] - Quote
Xenuria wrote:Alright, so you can't get a link to donate to a player but you CAN get it to donate to a corp? I am very new to this kind of stuff but I am more than willing to learn. As far as I know, there's no wat to make the "donate" window display (no Javascript method for it, not for the player nor the corp). For an example of how someone else does it, look at SOMER Blink:
SOMER Blink wrote:How do I deposit money into my account? Send money to the corporation SOMER Blink - this corporation is a member of the alliance Cognitive Development. You don't need to use any reason code.
If you look at their corp description, it includes a link to the corp, so in-game, people can just right click and hit "Give Money". There really isn't a better way to do it than this, sorry.
Also note that the XML API caches the query every 30 or so minutes, so donations can only be detected so often. It's a bit inconvenient, and requires special care on your side, but it works. ISD LackOfFaith Ensign Community Communication Liaisons (CCLs) Interstellar Services Department |
|
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |