[Ante-developer] new features, new breakage
Brought to you by:
roguestar191
|
From: Rogue <rog...@co...> - 2006-02-25 10:59:56
|
Bug fix's: Ok, I've fixed all the major bugs, including from php to php to ant to php to ant to php to ant communications (sounds confusing, it is.. ) (Basically, input comes in from ant, goes to a php script which echos it back to ant, ant grabs it and runs the input, then the script exits, but the new "skill" system uses php so it would launch php before letting the input bar report itself as finished to ant, but it was running waitpid with -1 as the first argument, which is wrong, that makes waitpid return for any child process, when it should only return for the one run last..) fixed the bug where the engine would ignore posts every once in a while Recently new features: PHP scripts with Bi-Directional communications with the server. (The script prints a special string to the stdout with regular printf, then if the "callback" has a response they read a single line from stdin for a response.) "Grant" script to grant other users already loaded scripts autorun.php script that runs once by every player when they log in for the very first time, to add base commands with special callbacks loadskills.php run once on every bootup by the mud to register skills with the engine using special callbacks Added infinate loop protection over scripts (If a script runs for more than 5 seconds it's killed, the method used for this protection is blazingly fast) Cleaned up a bunch of code so it's easier to read, and maintain Breakage: Every once in a while "close" isn't called when someone disconnects(over telnet). This probobly is a memory leak, but I'm to tired tonight to look for it. I'll look tomarrow. Pending: Some telnet negotiations. I'm trying to get the server to elicit a response from the client, so it can try telling it to echo (for microsoft telnet), and to hide passwords in telnet, and hopefully get an "instant" welcome message for telnet and to be able to determine that a web browser is NOT telnet so to never send the welcome message, it will add extra http header lines, but browsers won't understand them so they should ignore them and it should work. But the client doesn't want to respond to me, obviously i'm doing something wrong. I'll figure it out, after I fix the disconnect problem. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ |