can anybody convert it to work with lua5 it's the best ip ranger script and it has a lot of good stuff
very thankful for help
thx in advance :P
hmm interesting, everybody keeps asking to convert each of chilla's script maybe we should convert them all, nightlitch's too(just a thought)
anyways,
can u show us which version u want us to convert?
which one of these:
QuoteL.I.S.-V.0.51.rar
L.I.S.-V.0.5141.rar
L.I.S.-V.0.5141F.rar
L.I.S.-V0.513.rar
L.I.S.rar
LIS_v.0.3.rar
ps the script is quite big, u should try using nl lua4 to 5 converter first,
Good luck !
i'm a total noob on scripting and converting so if anybody could help me out i should be very pleased
thx in advance ////Therion
ok then we'll help, first of all use search the forum for info on how to convert from lua4 to lua5 , ull probably find nightlitch's gui converter, use that with the "L.I.S.-V.0.5141F.lua" file and l8r show us the syntax errors, we'll help u from there !!
i got this error Syntax L.I.S.-V.0.5141.lua5.lua:788: unexpected symbol near `.'
and i have ptokax 0.3.3.0 B 16.09
im really pleased for help with this baby
QuoteOriginally posted by Therion
i got this error Syntax L.I.S.-V.0.5141.lua5.lua:788: unexpected symbol near `.'
and i have ptokax 0.3.3.0 B 16.09
im really pleased for help with this baby
show us the line, and the function with that error !!
that one of my problem how do i find that string ?
as a said before im noob on ptokax script ;)
ok then look at this info :
L.I.S.-V.0.5141.lua5.lua:788: unexpected symbol near `.'
the syntax is : scriptname:error line : error description
so from that info u know that 788 is the line where the error is , or close to that !, :),
it look like it in the very end of the script because the line 788
its the last symbol on the script
L.I.S.-V.0.5141.lua5.lua:788: unexpected symbol near `.'
},
}
could not any of you nice guys load the whole script and test it after it's been converted with the lua converter i dont really know how to do this stuff =)
thx in advance Therion
QuoteOriginally posted by Therion
it look like it in the very end of the script because the line 788
its the last symbol on the script
L.I.S.-V.0.5141.lua5.lua:788: unexpected symbol near `.'
},
}
could not any of you nice guys load the whole script and test it after it's been converted with the lua converter i dont really know how to do this stuff =)
thx in advance Therion
Therion post script with [code] please :)
QuoteOriginally posted by 6Marilyn6Manson6
QuoteOriginally posted by Therion
it look like it in the very end of the script because the line 788
its the last symbol on the script
L.I.S.-V.0.5141.lua5.lua:788: unexpected symbol near `.'
},
}
could not any of you nice guys load the whole script and test it after it's been converted with the lua converter i dont really know how to do this stuff =)
thx in advance Therion
Therion post script with [code] please :)
he cant, the script is tooooooo big, i guess no newbie can convert it,if somebody else doesnt convert it, then ill convert it when i have the patience, because theres quite a lot of filehandling and errors there !! :)
Quotehe cant, the script is tooooooo big, i guess no newbie can convert it,if somebody else doesnt convert it, then ill convert it when i have the patience, because theres quite a lot of filehandling and errors there !! :)
mmm mm without script... we can't help he :(
im ready to give up
last stupid question how do i post the script with code ?
Well i found the script and let it run through NL's Lua Converter.
Still giving out Errors ^^
Here it is (http://psycho-chihuahua.net/L.I.S.-V.0.5141.lua5.lua.rar)
ok here is the code for the first error.
-------------------------------------------------------------------------------------------------------------------------------------------
--// *** OC SEND INTRO ***
-------------------------------------------------------------------------------------------------------------------------------------------
function doOCSendIntro(curUser)
if NicksLogQueue[curUser.sName] then
local curmath.min = tonumber(os.date("%M"))
if curmath.min >= NicksLogQueue[curUser.sName] then
doSendOC((curmath.min - NicksLogQueue[curUser.sName]),curUser)
else
doSendOC((curmath.min - NicksLogQueue[curUser.sName] + 60),curUser)
end
elseif ULoggs[string.lower(curUser.sName)] then
local tmp = ULoggs[string.lower(curUser.sName)].InActive[1]*24*60 - ULoggs[string.lower(curUser.sName)].InActive[2] + tonumber(os.date("%H"))*60 + tonumber(os.date("%M"))
doSendOC(tmp,curUser)
end
end
now line 788 is...
local curmath.min = tonumber(os.date("%M"))
any ideas ?
ok thanks to Madman the first error is now fixed it was...
local curmin = tonumber(os.date("%M"))
now on to error number two :)
[20:49] Syntax ...nd Settings\kirk\Desktop\New Folder (7)\scripts\L.I.S.-V.0.5141.lua5.lua:1718: too many syntax levels near `" ------------------------------------------------------------------------------------------------
"'
[tostring(string.lower(cmd32))] = {
help = function() return(" - L.I.S.-"..curVersion.." - "..ConfHelpText.."\r\n\r\n"..
"\t"..LPrefix..cmd13.." [op]/[nicks]/[ipcheck]/[notlogged]/[all] - "..HelpReportText.." : "..LISINI2CONF.ReportTo..", Status : "..LISINI2CONF.ReportNotLogged.."\r\n"..
"\t"..LPrefix..cmd26.." [nick] - "..HelpNickToSendText.." Nicks : "..GetNicks(LISINI2CONF.STNick).."\r\n"..
"\t------------------------------------------------------------------------------------------------\r\n"..
"\t"..LPrefix..cmd14.." [on]/[off] - "..HelpBlockNickText.." Status : "..LISINI2CONF.BlockNick.."\r\n"..
"\t"..LPrefix..cmd33.." [nick] - "..HelpBlockedNicksText.." "..BlockedNicksText1.." : "..GetNicks(LISINI2CONF.BlockedNicks).."\r\n"..
"\t------------------------------------------------------------------------------------------------\r\n"..
"\t"..LPrefix..cmd15.." [reg]/[unreg] - "..HelpRegText.." Status : "..LISINI2CONF.RegBot.."\r\n"..
"\t"..LPrefix..cmd23.." [op-reg] [days]/[reg] [days]/[logs] [days]/[off] - "..HelpAutoDelText.." Status : "..LISINI2CONF.AutoDelAccount..", "..DaysText.." : "..LISINI2CONF.Max7.."\r\n"..
"\t"..LPrefix..cmd25.." [on]/[off] - "..HelpISPCheckText.." Status : "..LISINI2CONF.ISPNickCheck.."\r\n"..
"\t"..LPrefix..cmd28.." [on]/[off] - "..HelpRegCheckText.." Status : "..LISINI2CONF.RegRule.."\r\n"..
"\t"..LPrefix..cmd38.." [on]/[off] - "..HelpBadIPSearchText.." Status : "..LISINI2CONF.CheckBadIP.."\r\n"..
"\t"..LPrefix..cmd39.." [on]/[off] - "..HelpShowCpuTime.." Status : "..LISINI2CONF.ShowCpuTime.."\r\n"..
"\t------------------------------------------------------------------------------------------------\r\n"..
"\t"..LPrefix..cmd34.." [on]/[off] - "..HelpCorrectActiveIP.." Status : "..LISINI2CONF.CheckActiveIP.."\r\n"..
"\t"..LPrefix..cmd37.." [nick] - "..HelpNoIPCheck.." "..GetNicksNonAs(LISINI2CONF.NoIPCheck).."\r\n"..
"\t------------------------------------------------------------------------------------------------\r\n"..
"\t"..LPrefix..cmd35.." [on]/[off] - "..HelpOCIntro.." Status : "..LISINI2CONF.OCSendIntro.."\r\n"..
"\t"..LPrefix..cmd36.." [user]/[all] - "..HelpOCIntroTo.." Status : "..LISINI2CONF.OCSendIntroTo.."\r\n"..
"\t------------------------------------------------------------------------------------------------\r\n"..
"\t"..LPrefix..cmd22.." [onlyallow]/[notdeny]/[all] - "..HelpAllowIPText.." : "..LISINI2CONF.AllowIP.."\r\n"..
"\t"..LPrefix..cmd3.." [IP-Range] [RangeName] - "..HelpAddDenyText.."\r\n"..
"\t"..LPrefix..cmd4.." [IP-Range] [RangeName] - "..HelpAddAllowText.."\r\n"..
"\t"..LPrefix..cmd5.." [RangeNr.]/[IP-Range]/[RangeName] - "..HelpDelDenyText.."\r\n"..
"\t"..LPrefix..cmd6.." [RangeNr.]/[IP-Range]/[RangeName] - "..HelpDelAllowText.."\r\n"..
"\t"..LPrefix..cmd7.." [Nr.] - "..HelpListDeny.."\r\n"..
"\t"..LPrefix..cmd8.." [Nr.] - "..HelpListAllow.."\r\n"..
"\t------------------------------------------------------------------------------------------------\r\n"..
"\t"..LPrefix..cmd16.." [nick]/[IP-Range] - "..HelpWatchText.." "..WatchText3.." : "..GetNicks(LISINI2CONF.WUsers).."\r\n"..
"\t------------------------------------------------------------------------------------------------\r\n"..
"\t"..LPrefix..cmd30.." [on]/[off] - "..HelpCMD30Text.." Status : "..LISINI2CONF.OnlyMasters.."\r\n"..
"\t------------------------------------------------------------------------------------------------\r\n"..
"\t"..LPrefix..cmd32.." - "..HelpHelpText.."\r\n")
end,
},
line 1718 is...
"\t------------------------------------------------------------------------------------------------\r\n"..
any ideas ? :)
This removes the the error...
"\t"..LPrefix..cmd16.." [nick]/[IP-Range] - "..HelpWatchText.." "..WatchText3.." : "..GetNicks(LISINI2CONF.WUsers).."\r\n"..
"\t------------------------------------------------------------------------------------------------\r\n"..
"\t"..LPrefix..cmd30.." [on]/[off] - "..HelpCMD30Text.." Status : "..
-- LISINI2CONF.OnlyMasters.."\r\n"..
"\t------------------------------------------------------------------------------------------------\r\n"..
-- "\t"..LPrefix..cmd32..
-- " - "..HelpHelpText..
"\r\n")
So.. some where in
LISINI2CONF.OnlyMasters
LPrefix..cmd32
HelpHelpText
is the error...is my guess... now i'm of to bed...
Holy *peep*, never seen this IPranger before. Damn, what a huge and kick ass script!
QuoteOriginally posted by TTB
Holy *peep*, never seen this IPranger before. Damn, what a huge and kick ass script!
my thought exactly," i wonder who will tame this huuge beast and bring it to its knees"
:D
Ghehe... NL is making a new one... I wonder if he can beat this one... 8)
damn, that will be problematic, when we have to convert it to lua 6, :)
ROFL well, in a lua hub they are trying to convert it atm. I think they can do it...
yah i saw it hehe, they are trying, i was helping a bit too, :)
QuoteOriginally posted by TTB
ROFL well, in a lua hub they are trying to convert it atm. I think they can do it...
It's going to be a hard task with a huge script like this :D
but it is the best ip ranger many useful options in it
like this one you can see when a user who not belongs in the hub is trying to connect,
for example [***]***, IP : **.***.***.** : Wasn't in the Allow Ranges, Disconnecting...
very nice function
so thats why im bothering you smart guy's to convert it
:P
thanks again ///Therion
hi all just wanted to say yes its gonna be a real bear , we fixed some small stuff now we are on the harder stuff so it will probly take awhile since im new to scripting myself , but i do have some of ptokax/lua's best people around me :) and of corse this board witch is also and endless suply of help :)
keep up the good work
one question
why does Chilla not convert the script ?
QuoteOriginally posted by Therion
keep up the good work
one question
why does Chilla not convert the script ?
because, he either doesnt have the time or doesnt have the patience, and because he's not around these days !
i did little bit of searching in this forum secure lite looks like a newer ver of lis bot is it easier to convert that script o lua 5 ?
im still in use of the ipranger ;)
thx in advance therion