Poll bot error.....
 

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

Poll bot error.....

Started by speedX, 16 August, 2006, 09:39:49

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

speedX

hey u all plzz help me...
I was using PtokaX DC Hub 0.3.5.0 and now i am using Ptokax DC hub 0.3.5.1 so some script are not functioning properly.....plz help....


This is the error..

Quote
Syntax ...:\PtokaX 0.3.5.1\scripts\Poll.Bot.v.1.1.LUA5-TTB.lua:77: attempt to index global 'PollSettings' (a nil value)

i don want any other script so plzzz modify this 1 only...


This is the script


Thanking You,

speedX

speedX

hey bastya_elvtars need ur help here too.....plzzzzz
Thanking You,

speedX

jiten

Quote from: speedX on 16 August, 2006, 09:39:49
hey u all plzz help me...
I was using PtokaX DC Hub 0.3.5.0 and now i am using Ptokax DC hub 0.3.5.1 so some script are not functioning properly.....plz help....

Seems to me that you haven't copied the existing and required .tbl files from your older PX version.

bastya_elvtars

Quote from: jiten on 16 August, 2006, 13:07:05
Seems to me that you haven't copied the existing and required .tbl files from your older PX version.

Deus ex machina... ;-)
Everything could have been anything else and it would have just as much meaning.

speedX

yup u were rite jiten..thx.......now i copied them properly..but now again it is showing one error

This is the error
QuoteSyntax ...X & Scripts\test\scripts\Poll.Bot.v.1.1.LUA5-TTB.lua:435: attempt to call a table value


Thanking You,

speedX

speedX

I am not able to start a new poll now...
Thanking You,

speedX

jiten

Quote from: speedX on 16 August, 2006, 13:22:53
yup u were rite jiten..thx.......now i copied them properly..but now again it is showing one error

That's because the script you're using is a LUA 5.0 one.
Therefore, to become functional, it must be converted to LUA 5.1.

You can use Mutor's 50to51 converter and then post your progress.

speedX

but tht 50to51 converter is a script.....how do i use it???plz help..
Thanking You,

speedX

speedX

i tried....but no use.....can u plzz tel me the procedure....
Thanking You,

speedX

jiten

#9
Those syntax errors that you are getting are table-related.

You must replace every for i,v in tTable do occurrence with for i,v in pairs(tTable) do [or ipairs, depending on the situation].

I've attached the single and not tested .lua file with those small mods.

speedX

nope this one also didn work......it is showing me the first error now..

QuoteSyntax ...:\PtokaX 0.3.5.1\scripts\Poll.Bot.v.1.1.LUA5-TTB.lua:77: attempt to index global 'PollSettings' (a nil value)

AND WHEN I ADD THE OLD .tbl files IT SHOWING THIS ERROR

QuoteSyntax Poll.Bot.v.1.1.LUA5-TTB.lua:59: pollsettings.tbl for [BOT]Poll not found
Thanking You,

speedX

jiten

Quote from: speedX on 16 August, 2006, 14:28:58
nope this one also didn work......it is showing me the first error now..

As you can see in the syntax error, the file(s) is/are missing.

Have you restarted your scripts after moving the .tbl(s)?

speedX

yup i tried everything....but no use....
Thanking You,

speedX

speedX

i didn get tht replace thing...could u plzz elaborate tht coz i want this excellent script.....
Thanking You,

speedX

jiten

Quote from: speedX on 16 August, 2006, 14:37:00
yup i tried everything....but no use....

That's probably because you've done something wrong there.

Anyway, I've updated the above .rar package with all the necessary files [.lua/.tbl].

speedX

thanx jiten.....now it works fine.....i am really thankfull to u....thx again..
Thanking You,

speedX

SMF spam blocked by CleanTalk