General > Helpful posts
AOChat: not expecting login.
Ainen:
I couldn't get it to work until I moved the dl() statement down into the authenticate function. The extension was compiled properly and loading because I made little test PHP files just to check for aokex_login_key and they were successful, but until I made the move, I got errors about aokex_login_key not existing as a function. Go figure.
--- Code: ---if($this->state != "auth")
die("AOChat: not expecting authentication.\n");
dl("aokex.so");
$key = aokex_login_key($this->serverseed, $username, $password);
--- End code ---
Heffalomp:
Tried that, and didn't work for me :/
craized:
I know this doesn't help anyone, but I just wanted to say that I got this working just fine on a 64bit gentoo install from just Khalem's original steps.
GL to the rest of you.
sentry:
Any word if anyone has compiled the extensions for windows yet?
Thanks
Mawerick:
Here's an aokex php extension that works for windows:
http://www.wrongplace.net/ao/aokex.zip
Just change
--- Code: ---dl("aokex.so")
--- End code ---
to
--- Code: ---dl("aokex.dll")
--- End code ---
It includes the gmp.dll that is needed to load it.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version