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
hey bastya_elvtars need ur help here too.....plzzzzz
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.
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... ;-)
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
I am not able to start a new poll now...
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.
but tht 50to51 converter is a script.....how do i use it???plz help..
i tried....but no use.....can u plzz tel me the procedure....
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.
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
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)?
yup i tried everything....but no use....
i didn get tht replace thing...could u plzz elaborate tht coz i want this excellent script.....
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].
thanx jiten.....now it works fine.....i am really thankfull to u....thx again..