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.
Previous page12
 

PHP Api Library for EVE - ALE 0.6

First post
Author
Lumy
Sebiestor Tribe
Minmatar Republic
#21 - 2011-10-05 20:38:33 UTC
Yeah, that's a bug. Will fix tomorrow.
Two step
Aperture Harmonics
#22 - 2011-10-05 21:03:19 UTC
Cool, will have to take a look. I ended up modifying my old version to work with the new stuff, plus I was running into memory issues so I added support for using XMLReader to do streaming reads of the XML. You have any interest in merging that into the mainline?

CSM 7 Secretary CSM 6 Alternate Delegate @two_step_eve on Twitter My Blog

Lumy
Sebiestor Tribe
Minmatar Republic
#23 - 2011-10-05 21:26:47 UTC
Two step wrote:
Cool, will have to take a look. I ended up modifying my old version to work with the new stuff, plus I was running into memory issues so I added support for using XMLReader to do streaming reads of the XML. You have any interest in merging that into the mainline?

Yes please. Sequential reader would great to have.
Lumy
Sebiestor Tribe
Minmatar Republic
#24 - 2011-10-06 13:57:36 UTC
Fixed problems with eve/CharacterInfo.

Also reworked how error code and cachedUntil is retrieved initially using XMLReader (thanks Two step)
Das Orakel
Dixie Chicks
Crazy Chicks
#25 - 2011-10-06 15:32:22 UTC
Hi,
you have forget to fix eveonline.php at line 205 - 217

205: case ALE_AUTH_AVAILABLE:
206: if ($this->keyID && $this->apiKey) {
207: $params['keyID'] = $this->keyID;
208: $params['apiKey'] = $this->apiKey;
209: }
210: elseif ($this->userID && $this->apiKey) {
211: $params['userID'] = $this->userID;
212: $params['apiKey'] = $this->apiKey;
213: if ($this->characterID) {
214: $params['characterID'] = $this->characterID;
215: }
216: }
217: break;

change to

205: case ALE_AUTH_AVAILABLE:
206: if ($this->keyID && $this->vCode) {
207: $params['keyID'] = $this->keyID;
208: $params['vCode'] = $this->vCode;
209: }
210: elseif ($this->userID && $this->apiKey) {
211: $params['userID'] = $this->userID;
212: $params['apiKey'] = $this->apiKey;
213: if ($this->characterID) {
214: $params['characterID'] = $this->characterID;
215: }
216: }
217: break;
Lumy
Sebiestor Tribe
Minmatar Republic
#26 - 2011-10-06 15:56:42 UTC
k, done
Zeta Zhul
Preemptive Paranoia
#27 - 2011-10-11 17:52:51 UTC
bumpity
Amallya Trueshot
Aliastra
Gallente Federation
#28 - 2011-10-22 09:37:40 UTC
changed version, updated new calls and variables.

all working like a charm.

u rock
Previous page12