Could someone convert this script to new API, please?
Here (http://board.ptokax.ath.cx/index.php?topic=5860.0) you can find script.
Thank you in advance :)
Attached the converted file.
Quote
TopHubbers 2.03 - LUA 5.0/5.1 by jiten
Updated to new PtokaX API by CrazyGuy
Last Updated on November 19th 2007
Small changes:
-Some messages received in mainchat in previous versions,
may now be send as PM. (done for conversion ease)
I have not tested it, so let me know if an error occurs ;)
Hi CG:
Syntax TopHubbers2.03.lua:121: attempt to call global 'SetTimer' (a nil value)
Quote from: -SkA- on 23 November, 2007, 16:49:31
Hi CG:
Syntax TopHubbers2.03.lua:121: attempt to call global 'SetTimer' (a nil value)
found and fixed :)
The above attachment is updated
Hello all. Well, I had some spare time, some curiosity and tried to update this script to the new API.
It hasn't been thoroughly tested, but we'll see :P
And oh, thanks for your support, CrazyGuy!
Regards
QuoteAnd oh, thanks for your support, CrazyGuy!
No problem, good to see you back again 8)
Do you guys have problems with the file handling in the API II version?
not that i'm aware of. This isn't changed by the API
Quote from: CrazyGuy on 29 November, 2007, 14:25:22
not that i'm aware of. This isn't changed by the API
There was a file handling issue related to the [modified] Serialize function in the API II version of this script.
Seems to me that no one faced this problem, yet.
Quote from: jiten on 29 November, 2007, 15:39:36
There was a file handling issue related to the [modified] Serialize function in the API II version of this script.
Seems to me that no one faced this problem, yet.
This problem must be lua related, and cannot be API related unless you make direct API calls in the Serialize function (which isn't needed imho ;) )