These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

CCPEVE.showContract broken?

Author
TheCrazyT BCln
Green-Core
#1 - 2011-09-08 10:53:14 UTC
Hi,

I am currently trying to write an application that allows you to see the contract status from ingame and outside of the game.
The problem I currently have is the fact that "CCPEVE.showContract" does not seem to work.
(Window does not open ingame)
I already made an "alert" to test if the params are correct.

The syntax i use is the one described in the documentation:
CCPEVE.showContract(stationID,contractID);

Sadly javascript-debugging is not really possible in the ingame browser (no error loggings and no error output at all).

Hope someone can help me,

T


PS:

If you have a google account you can already test it, but it is still in beta:
https://evecontracts.appspot.com/

To stop the system from getting flooded it only updates the contract-status once per hour.
(means you will not see the contracts once you "registered" ... thats why there is a timer running on top atm.)

The reason i want to build something like that is that somebody probably would want to see if a special item was sold by contract while they have no access to the game.
Later i will add some more filters to it ;)
If you have any other ideas you can also send me a little private message.
Johnathan Roark
Quantum Industries
#2 - 2011-09-08 13:26:22 UTC
Documentation

It says solarsystemID, not stationID, maybe try that. I've seen this method working yesterday so its not broken.

EVEVERIFY - A recruiting API Verification and Audit Tool

Also try out Yapeal for your php api needs

TheCrazyT BCln
Green-Core
#3 - 2011-09-08 13:31:35 UTC
Wow thanks, looks like i mixed it up then Lol
Thanks for response, i will try to modify it.
Sad thing is that /char/Contracts.xml.aspx only returns the station id :(
Guess i need to create a table for it to get the systemid from the station id.
TheCrazyT BCln
Green-Core
#4 - 2011-09-08 15:09:25 UTC  |  Edited by: TheCrazyT BCln
Alright i fixed it.
Sadly i now have another problem.
I get the following error:
Quote:

Failed getting contract information.


Does anybody know why this happens?
The syntax i'm using is:
https://api.eveonline.com/char/ContractItems.xml.aspx?keyID=[KEYID]&vCode=[VCODE}&contractID=[CONTRACTID]

Maybe its because its a buy-contract, but in the description they only said that it would not work for courier contracts.

Edit:
Tested with normal sell contract, but still get the same error, anybody has any ideas?