|
Author |
Thread Statistics | Show CCP posts - 1 post(s) |

TheNecromancer
The Royal Order
|
Posted - 2008.06.06 17:32:00 -
[1]
any1 having problems right now ?
|

TheNecromancer
The Royal Order
|
Posted - 2008.06.07 05:56:00 -
[2]
getting problems like Wallet exchausted and allready returned this and that.
Never has these problems bebore as I only read the data at the time I am allowed.
and the must fun is that I dont always get this problem it just seems to come and go.
|

TheNecromancer
The Royal Order
|
Posted - 2008.06.07 10:05:00 -
[3]
Increase time ?
each time read data, there is a node telling you the next time you get retrieve data. I use this node so how can I read before I am allowed ?
if so. ccp is giving me the wrong datetime back :(
|

TheNecromancer
The Royal Order
|
Posted - 2008.06.07 10:12:00 -
[4]
My calc on next time is based on the ./eveapi/currentTime node and the ./eveapi/cachedUntil node
my math is
TimeSpan TSTimeLeft = cachedUntilTimer.Subtract(currentTime); DateTime NextUpdateDateTime = DateTime.Now.AddTicks(TSTimeLeft.Ticks);
so program gets new data at NextUpdateDateTime
is this not correct ?
I have been using this approach for a long time
|

TheNecromancer
The Royal Order
|
Posted - 2008.06.07 10:16:00 -
[5]
allow up to five minutes on top of your cacheUntil time to ensure the cache resets.)
ok will try that
|

TheNecromancer
The Royal Order
|
Posted - 2008.06.07 11:07:00 -
[6]
did not help with the 5min extra time to the cacheuntil time :(
am I really the only one getting this problem ?
|

TheNecromancer
The Royal Order
|
Posted - 2008.06.07 12:12:00 -
[7]
I have done the +5 min but are still getting this error, the funny part is that I get date from multi chars and not all are getting this error.
|

TheNecromancer
The Royal Order
|
Posted - 2008.06.07 12:16:00 -
[8]
I get data from all the apis
but it seems to be only related to char transaction and char journals the others api are read fine
|

TheNecromancer
The Royal Order
|
Posted - 2008.06.07 12:43:00 -
[9]
well
my program have runned for a very long time with my appoach, why problems now ?
I mean
if my calc is somehow wrong it should have shown a long time ago :(
|

TheNecromancer
The Royal Order
|
Posted - 2008.06.07 13:05:00 -
[10]
here is my function that I use to get data from ccp
public static XmlDocument GetDataFromEveApi(string Url, string PostInfo) { WebRequest reg = WebRequest.Create(Url); reg.ContentType = "application/x-www-form-urlencoded"; reg.Method = "POST";
byte[] b = Encoding.UTF8.GetBytes(PostInfo); reg.ContentLength = b.Length; Stream s = reg.GetRequestStream(); s.Write(b, 0, b.Length); s.Close();
WebResponse res = reg.GetResponse(); Encoding encode = System.Text.Encoding.GetEncoding("utf-8"); StreamReader sr = new StreamReader(res.GetResponseStream(), encode); string StrData = sr.ReadToEnd(); sr.Close(); res.Close();
XmlDocument oXml = new XmlDocument(); oXml.LoadXml(StrData); return oXml; }
|
|

TheNecromancer
The Royal Order
|
Posted - 2008.06.07 13:22:00 -
[11]
Edited by: TheNecromancer on 07/06/2008 13:27:13 Edited by: TheNecromancer on 07/06/2008 13:25:47 hmm
just took a visual dump of my data..been a while since I looked there
its for the char wallettransction
<currentTime>2008-06-07 13:19:45</currentTime> <cachedUntil>2008-06-07 13:34:45</cachedUntil>
was the cache time only 15min on transactions ?
I remember it to be like 45min or so
|

TheNecromancer
The Royal Order
|
Posted - 2008.06.09 14:52:00 -
[12]
no matter what I do
I cant get new data after the 15min time delay on the char or corp wallets :(
|

TheNecromancer
The Royal Order
|
Posted - 2008.06.11 14:53:00 -
[13]
I do still have my Wallet exhausted on corp/char transaction and journals
this api (and I pull from the all) is the only one that has this problem.
any dev working on it ?
I tried to make a bug, but cant login on the bug page.
Again this problem began for me last friday.
come one..fix it :)
|

TheNecromancer
The Royal Order
|
Posted - 2008.06.11 15:13:00 -
[14]
Edited by: TheNecromancer on 11/06/2008 15:17:50 do you guys use version=2 on all request ?
I dont use that on journal and wallet.. maybe thats my problem ?
edit)
dont seem to be that.. with version=2 on request I still only getting a cacheduntil-currenttime to be 15min
and 15=wallet exhausted for me :(
I give up!! 
|
|
|
|