none of my scripts work
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

none of my scripts work

Started by Cosmos, 22 May, 2005, 01:09:28

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cosmos

i think its because im using 0.3.3.0 17.08

should i be using TD4 if i want scripts to work? (seems like most ppl are making scripts for TD4 not the one i have)

heres an example of the errors i get from a bunch of random scripts i downloaded:
[19:08] Syntax ...Desktop\0.3.3.0.b17.08.nt.dbg\scripts\requestbot.lua:11: attempt to call global `strchar' (a nil value)
[19:08] No syntax errors in script file spinthebottle.lua
[19:08] No syntax errors in script file TopicBot.lua
[19:08] Syntax ...is\Desktop\0.3.3.0.b17.08.nt.dbg\scripts\DiceBot.lua:230: attempt to call global `getn' (a nil value)
[19:08] Syntax ...\Desktop\0.3.3.0.b17.08.nt.dbg\scripts\Guestbook.lua:95: attempt to call global `readfrom' (a nil value)
[19:08] Syntax ...ktop\0.3.3.0.b17.08.nt.dbg\scripts\spinthebottle.lua:269: attempt to call global `strchar' (a nil value)
[19:08] Syntax ...s\Desktop\0.3.3.0.b17.08.nt.dbg\scripts\TopicBot.lua:170: attempt to call global `openfile' (a nil value)


TTB

This is lua4... PtokaX 17.xx uses LUA5. There are 2 sections on this forum, for 4 and 5. You can search at the forum, there are a lot of scripts converted already...
TTB

(? ?.??.-> Admin @ Surfnet hubs <-.??.???)

Pothead

TestDrive 4 uses LUA4.
16.00 and onwards use LUA5. :)

Cosmos

ah. well ill prob just use TD4.  since i dont really notice much difference.

Dessamator

QuoteOriginally posted by Cosmos
ah. well ill prob just use TD4.  since i dont really notice much difference.

hmm, well do what suits u best, but there are quite a "LOT" of differences, thats for sure, but u have to be either a scripter, or a user that knows ptokax well, to notice some of the changes !
Ignorance is Bliss.

Pothead

#5
Yeah like it's now just about impossible to flood / crash.  Also holds about a 40% more users. :)

SMF spam blocked by CleanTalk