PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Finished Scripts => Topic started by: Cêñoßy†ê on 18 March, 2008, 05:17:48

Title: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Cêñoßy†ê on 18 March, 2008, 05:17:48
Leviathan v.4.00 for PtokaX 0.4.0.0b and newer

   **** Old userdatabase file works with this version but rest files dont ****
   **** Thx for Goku/Stormbringer/[NL]Vipertje/Mikkis? for betatesting ;) ****

Changed:
   -- Support from old Px API --> New API
   -- Error msg
   -- All user registering functions
   -- Bad character checks at nick/password
   -- away msg will save to table
   -- Rightclick sending
   -- Cleaned code (alot)
   -- limiter value detection to max limit for profiles
   -- Connection mode rules for profiles
   -- !cleanmain message to ? Main Chat Cleaned As Requested By <who's profile> <who>!! ? (requested by Stormbringer)
   -- DeFlood parts updated
   -- min/max slots,min/max share,maxhubs,limiter,mode checks

Added:
   -- Limits for max users (8000)
   -- Limits for maxlogins (500)
   -- hub bot name limit (64) + bad character block
   -- hub description limit (64)
   -- +alot limits :P
   -- Support for more than 2 different rc lines for command
   -- IP detection (lucifer)
   -- !addrel/!delrel/!showrel
   -- Last seen time to !showusers command
   -- Topic line when removed from list
   -- protection for hub address/dnsname/ip for bans
   -- New unused accounts cleaner with old userdatabase converter (from <-- v4 versions)
   -- Timed Messages (Chatterbot) (requested by Goku)
   -- Online user scan when changing minshare/maxshare/minslots/maxslots/maxhubs/mode limits
   -- Offline messages for registered users (requested by Stormbringer)
Removed:
   -- Fake share check parts (memory waste)
   -- Client detections (memory waste)
   -- Connection & Connection Mode detections

Fixed:
   -- Bug with safe addresses (lucifer)
   -- Bug with adding network hub (lucifer)
   -- Alot typos ;)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Vipertje on 18 March, 2008, 07:17:28
Go C??o?y?? !!! :P :D

Script script runs very stable and very good. Everything is easy to set with the Right Click menu. Its all simple to use.
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: F_O_X on 18 March, 2008, 07:41:21
[C:\PtokaX\scripts\LV_4.00.lua]
Line 210 :  Core.SendToAll("\t"..Tables.Messages[iCount].."\t\t\t\t\t\t\t\t\t\t\t is kicking because:")
[C:\PtokaX\scripts\LV_DataBase\lua\Functions.lua]
Line 87 : Core.SendToAll("*** "..Cvrt.P2[user.iProfile].." "..user.sNick.." just logged in !! "..string.rep("\t",20).."is kicking because:")
Line 88 : Core.SendToNick(user.sNick,"<(,^^)>\tWelcome to: "..(SetMan.GetString(0) or "").." "..Cvrt.P2[user.iProfile].." "..user.sNick.."\t<(^^,)>"..string.rep("\t",13).."is kicking because:")
Line 93 : Core.SendToAll("*** "..Cvrt.P2[user.iProfile].." "..user.sNick.." just logged off !! "..string.rep("\t",20).."is kicking because:")
Line 558 :  Core.SendToOps(message.." "..string.rep("\t",13).."is kicking because:")


In five locations occurs message is kicking because: appointment which I do not understand.
User went to the hub and gets the message is kicking because:
Quote[09:23:02] <(,^^)>   Welcome to: X-Ray Club User proba   <(^^,)>                                       is kicking because:

Why?

Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Vipertje on 18 March, 2008, 08:20:28
that message will be put in the kickbarmessage :)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: F_O_X on 18 March, 2008, 08:25:52
These four lines of the menu duplicate each other:
Core.SendToNick(user.sNick,"$UserCommand 1 3 "..Cfg.RC_Name.."\\  $<%[mynick]> !help&#124;|")
Core.SendToNick(user.sNick,"$UserCommand 1 3 "..Cfg.RC_Name.."\\? Hello "..Cvrt.P2[user.iProfile].." "..user.sNick.."$<%[mynick]> !help&#124;|")
Core.SendToNick(user.sNick,"$UserCommand 1 3 "..Cfg.RC_Name.."\\? Here are all available Commands for you$<%[mynick]> !help&#124;|")
Core.SendToNick(user.sNick,"$UserCommand 1 3 "..Cfg.RC_Name.."\\? Have a good time in here$<%[mynick]> !help&#124;|")
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: F_O_X on 18 March, 2008, 08:31:44
Quote from: Vipertje on 18 March, 2008, 08:20:28
that message will be put in the kickbarmessage :)
Infringements corrected the user was not, reprisals too were not, and the message about kick appears. It confuses the user.
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Cêñoßy†ê on 18 March, 2008, 14:24:41
Quote from: F_O_X on 18 March, 2008, 08:31:44
Infringements corrected the user was not, reprisals too were not, and the message about kick appears. It confuses the user.

try command  !notifylogin all no it will disable login/logout messages from all profiles ;)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Gnuff? on 18 March, 2008, 14:50:13
Or set the string.rep higher eg. 50
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: [OnLy]-PiTiCu on 18 March, 2008, 20:26:38
[21:20:09] <?Leviathan_4.0?> *** Detected Error that is allready Logged !
[21:21:09] <?Leviathan_4.0?> *** Detected Error that is allready Logged !
[21:22:09] <?Leviathan_4.0?> *** Detected Error that is allready Logged !
[21:23:09] <?Leviathan_4.0?> *** Detected Error that is allready Logged !

Ptokax 0.4.0.0a 
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Cêñoßy†ê on 18 March, 2008, 21:21:47
[quote author=[OnLy]-PiTiCu link=topic=7695.msg72684#msg72684 date=1205868398]
[21:20:09] <?Leviathan_4.0?> *** Detected Error that is allready Logged !
[21:21:09] <?Leviathan_4.0?> *** Detected Error that is allready Logged !
[21:22:09] <?Leviathan_4.0?> *** Detected Error that is allready Logged !
[21:23:09] <?Leviathan_4.0?> *** Detected Error that is allready Logged !

Ptokax 0.4.0.0a 
[/quote]

First you should read release info Leviathan v.4.00 for PtokaX 0.4.0.0b and newer

type !showerror in main and paste here what you get so ican check what gave the error ;)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Beertje on 19 March, 2008, 16:37:59
<?Leviathan_4.0?>

tbl = {
   ["LV_DataBase/lua/Messages.lua:227: bad argument #1 to 'GetNumber' (it's not valid id)"] = "03/19/08 16:32:19",
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: [OnLy]-PiTiCu on 20 March, 2008, 18:12:42
[19:12:23] <!!TesT-Hub!!> 

tbl = {
   ["LV_DataBase/lua/Functions.lua:293: attempt to index field '?' (a nil value)"] = "03/18/08 21:19:53",
   ["LV_DataBase/lua/Commands.lua:2466: attempt to index field '?' (a nil value)"] = "03/18/08 21:16:31",
   ["LV_4.00.lua:185: attempt to index field '?' (a nil value)"] = "03/18/08 21:08:09",
}


On the Ptokax 0.4.0.0a

control connection ( Socks5 = Proxy connection ) --> KICK   not working

[19:16:23] <!!TesT-Hub!!> *** Master [OnLy]-PiTiCu changed All Profiles Mode 'SOCKET' to: OFF

   User info
   -----------------------------------------------------------------------------------------------------------------------------
   ? Nick:         [OnLy]-PiTiCu
   ? Password:      XXXX
   ? Ip:         125.40.1.181
   ? Connection:      1 as Socket

--[19:23:10] <!!TesT-Hub!!> 

   Script error found, please raport this to http://forum.ptokax.org
   Post raport to Lua 5.1.1 All in 1 scripts Leviathan section with this message:
   Leviathan v4.0 PtokaX 0.4.0.0a Lua 5.1 
   LV_DataBase/lua/Commands.lua:1889: bad argument #1 to 'GetUser' (string expected, got nil)

[19:23:10] <!!TesT-Hub!!> *** Error Logged !


Sorry for my bad english :)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: baba.runner on 20 March, 2008, 22:44:36
[quote author=[OnLy]-PiTiCu link=topic=7695.msg72726#msg72726 date=1206033162]
.
.
.

On the Ptokax 0.4.0.0a

.
.
.[/quote]

--> Leviathan v.4.00 for PtokaX 0.4.0.0b and newer
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: osse on 23 March, 2008, 20:24:27
I got this message

Syntax LV_4.00.lua:24: attempt to index global 'Core' (a nil value)

Ptokax 0.4.0.0c

Any1 who can help me plz
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: [NL]ben on 24 March, 2008, 01:16:02
report this user to operator
dont work
[01:12:55] <?Leviathan_4.0?> Sorry kiro Unregistered User's may not use this command.
[01:12:28] <Carin> *** You silly mortal... you cant report [User] with that profile !
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: TiMeTrAVelleR on 24 March, 2008, 03:22:43
seems to me you have not set permision to user profile to do that but i wil check when i get home
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: TiMeTrAVelleR on 24 March, 2008, 03:23:23
I got this message

Syntax LV_4.00.lua:24: attempt to index global 'Core' (a nil value)

Ptokax 0.4.0.0c


wil check when i get home
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Cêñoßy†ê on 24 March, 2008, 09:29:37
Quote from: osse on 23 March, 2008, 20:24:27
I got this message

Syntax LV_4.00.lua:24: attempt to index global 'Core' (a nil value)

Ptokax 0.4.0.0c

Any1 who can help me plz

Error comes when you try to enable script when hub is not running ;)
So start hub before enabling it and error is gone.
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: osse on 24 March, 2008, 11:24:12
Ok.  I enable the HUB but it was not read the script. :(:( or I can't enable the script.
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: baba.runner on 24 March, 2008, 11:30:45
Hi folks

Is that a good way to program?
Some may have set the parameters of PtokaX to start with Windows or to autostart and perhaps even minimized!
Also PPK recommends to make any parameters set down in a Main section of the script (soory for my bad expressions, but I think you understand what I want to say)
http://board.ptokax.ath.cx/index.php?topic=7662.msg72616#msg72616 (http://board.ptokax.ath.cx/index.php?topic=7662.msg72616#msg72616)
KR
baba.runner
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: osse on 24 March, 2008, 12:05:41
No its working thnx but I got this mess.

[12:02:38] <?Leviathan_4.0?>

   Script error found, please raport this to http://forum.ptokax.org
   Post raport to Lua 5.1.1 All in 1 scripts Leviathan section with this message:
   Leviathan v4.0 PtokaX 0.4.0.0c Lua 5.1
   LV_4.00.lua:185: attempt to index field '?' (a nil value)

[12:02:38] <?Leviathan_4.0?> *** Error Logged !
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Cêñoßy†ê on 24 March, 2008, 12:17:47
Quote from: [NL]ben on 24 March, 2008, 01:16:02
report this user to operator
dont work
[01:12:55] <?Leviathan_4.0?> Sorry kiro Unregistered User's may not use this command.
[01:12:28] <Carin> *** You silly mortal... you cant report [User] with that profile !


Fixed on next version thx for reporting;)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: osse on 24 March, 2008, 12:35:28
Kan I do a new profile   ??

Owner or Founder . If I try I got this mess

You used profile that script dont support anymore =( (notify hub owner to change new Profiles.xml file from scriptsLV_DataBaseCfg files)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Gnuff? on 24 March, 2008, 14:11:09
Think i found a bug in clone ip

Setting it to 5, but are not allowed to get in with 2
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Gnuff? on 24 March, 2008, 14:14:53
Quote from: osse on 24 March, 2008, 12:35:28
Kan I do a new profile   ??

Owner or Founder . If I try I got this mess

You used profile that script dont support anymore =( (notify hub owner to change new Profiles.xml file from scriptsLV_DataBaseCfg files)

As it says, change the profiles.xml then you can use Owner or Founder as profile

scripts\LV_DataBase\Cfg files
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: osse on 24 March, 2008, 14:38:23
Yes I changed it but still the same message.
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Gnuff? on 24 March, 2008, 16:07:26
If i?m not mistaken, you have to close the hub while changing  ???
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: osse on 24 March, 2008, 16:10:35
Yes I know..It was closed.
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: [NL]ben on 25 March, 2008, 23:44:09
whe got this error

[23:32:54] <Carin>

   Script error found, please raport this to http://forum.ptokax.org
   Post raport to Lua 5.1.1 All in 1 scripts Leviathan section with this message:
   Leviathan v4.0 PtokaX 0.4.0.0c Lua 5.1
   LV_4.00.lua:215: attempt to call global 'saveTableToFile' (a nil value)

[23:32:54] <Carin> *** Error Logged !
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Cêñoßy†ê on 26 March, 2008, 05:36:38
Quote from: [NL]ben on 25 March, 2008, 23:44:09
whe got this error

[23:32:54] <Carin>

   Script error found, please raport this to http://forum.ptokax.org
   Post raport to Lua 5.1.1 All in 1 scripts Leviathan section with this message:
   Leviathan v4.0 PtokaX 0.4.0.0c Lua 5.1
   LV_4.00.lua:215: attempt to call global 'saveTableToFile' (a nil value)

[23:32:54] <Carin> *** Error Logged !


Thx for reporting will be fixed on next version ;)

Osse
Leviathan supports PtokaX's default profiles Master/Operator/Vip/Reg but if you know where to add missing parts they can be asily added
but im not gonna add them tho !

Gnuff?
Im gonna take a look of that Clone bug, thx for reporting ;)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: (DVC)Hendrik8ste on 26 March, 2008, 10:39:04

when i ask for !hubconfig  im getting this error

   Script error found, please raport this to http://forum.ptokax.org
   Post raport to Lua 5.1.1 All in 1 scripts Leviathan section with this message:
   Leviathan v4.0 PtokaX 0.4.0.0 Lua 5.1
   LV_DataBase/lua/Messages.lua:227: bad argument #1 to 'GetNumber' (it's not valid id)

and that is this line number 227

msg = msg.." Secondary Flood:"..SetMan.GetNumber(66).." messages in "..SetMan.GetNumber(67).." seconds ["..Cvrt.A4[SetMan.GetNumber(68)]:upper().."]\r\n"

Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Rocheforte on 26 March, 2008, 12:29:21
well, read the topic

Leviathan V4.0 for PtokaX 0.4.0.0b and up

update your ptokax
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: TrIp-iN-SuN on 26 March, 2008, 18:36:14
 help hi how i can add profiles i want lv4 like lv3.1 8 profiles same one can to do this?
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: TrIp-iN-SuN on 28 March, 2008, 13:24:54
same one can help me???
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Cêñoßy†ê on 28 March, 2008, 14:02:57
Quote from: TrIp-iN-SuN on 26 March, 2008, 18:36:14
help hi how i can add profiles i want lv4 like lv3.1 8 profiles same one can to do this?

If you want more profiles then change Leviathan to DiXBot it has more than default profiles ;)

Check it from here --> http://dixbot.com
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: 2Ceedz on 29 March, 2008, 13:22:56
This could be a stupid question, but how do you (if possible) disable 'releases' (or at least remove from the right click)?  I have been using leviathan for a year or more now and i love it.  Thought you stopped developing it, glad to see its still alive!   :D  Thanks!!
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Rocheforte on 29 March, 2008, 21:51:05
jump to CmdHelpSettings.tbl

go to the release cmds and delete the profiles from the tables,
a change from 1 to 0 won't work!

now the cmds are removed from the rightclick menu,
but they will "work", well only for profile master,
other profiles will receive a message like: the cmds are not available for their profiles

you can remove these cmds completely, but i'm not sure if this in the interest of the author
so i won't tell (maybe the lines above aren't also :-/)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: 2Ceedz on 29 March, 2008, 21:59:41
Thanks alot!  I noticed that was where it was after i posted here.  I do not *need* to remove it, as i just want it disabled, but if you delete all the profiles under all the release commands (add, delete, show, and 'relcleanertime'), then it will remove the whole 'releases' tab from right click. (Im sure you already know that)   :D 
Thanks for the help, and thanks to Cenobyte and Timetraveller for their Great script!
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: [NL]ben on 30 March, 2008, 21:39:45
i cant no operator give the redirectcommand its dont work
*** Your profile is not allowed to use this command
in the levithan 3.2 you got the owner settings - get command permission [it dont work whit !redirect]
but the 4.0 dont get the owner settings not
i hope you got solution for me
sorry for my bad english
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Cêñoßy†ê on 01 April, 2008, 05:11:52
Quote from: [NL]ben on 30 March, 2008, 21:39:45
i cant no operator give the redirectcommand its dont work
*** Your profile is not allowed to use this command
in the levithan 3.2 you got the owner settings - get command permission [it dont work whit !redirect]
but the 4.0 dont get the owner settings not
i hope you got solution for me
sorry for my bad english


!setcommand redirect operator on should do the trick for you ;)
And that command is moved to Settings/Hub/Command Permissions @ UserCommands
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: [OnLy]-PiTiCu on 01 April, 2008, 20:24:45
Bug ?

[2008-03-30 20:05] <![PrivaTe]-SeCuRiTy>

   _______________________________________________________________________________
               Leviathan v 4.0
   ???????????????????????????????????????????????????????????????????????????????
   ? Hub Name:         
   ? Hub Address:         
   ? Hub Owner:         
   ? Hub Uptime:         2 hours  (Record: 4 days 22 hours 19 minutes)          (  NO  )
   ? Hub Date/Time:         Sunday 30 March 2008   Local Time 20:04:59
   ? Hub Share:         Current: 103.12 GB (Record: 2.27 TB)
   ? Hub Software:         PtokaX 0.4.0.0e Lua 5.1 Running Leviathan v 4.0
   ? Hub PC:         AMD Athlon 64 DualCore 5000+ / 2GB 800MHz (Microsoft XP SP2)     ( NO )
   ? Hub Users:         Registered: 39  Online: 7 (Online record: 12)
   ? Script Memory Usage/Carbage:   644 Kb / 657 Kb
   _______________________________________________________________________________
   ???????????????????????????????????????????????????????????????????????????????
   ? Hub Main Script:         <beta version no downloads available>
   ________________________________________________________________________________
               Leviathan v 4.0
   ????????????????????????????????????????????????????????????????????????????????

and my pc:
-=[ zK++ 0.720 Compiled on: 2007-10-19 ]=-
-=[ Uptime: 1 hour 24 min 55 sec ][ Cpu time: 0:03:24 ]=-
-=[ Memory usage (peak): 40.02 MB (40.02 MB) ]=-
-=[ Virtual memory usage (peak): 38.87 MB (38.91 MB) ]=-
-=[ Downloaded: 25.18 MB ][ Uploaded: 37.45 kB ]=-
-=[ Total download: 25.11 MB ][ Total upload: 46.04 GB ]=-
-=[ System Uptime: 1 hour 31 min 23 sec ]=-
-=[ CPU Clock: 1546.564822 MHz ]=-
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Cêñoßy†ê on 01 April, 2008, 20:45:12
1. Hub uptime is grabbed from Ptokax so i think your client is buggy ;)

when i connect to my test hub i get:
<?Leviathan_4.1?> This hub is running PtokaX DC Hub 0.4.1.0RC1 (UpTime: 1 days, 3 hours, 39 minutes / Users: 15)
When banner shows i get:
? Hub Uptime: 1 days 3 hours 40 minutes (Record: 1 weeks 5 days 20 hours 51 minutes)

2. That hardware info needs to be filled manually or you can disable it from Script_settings.ini

["Hub_Hardware"] = {
["On_Off"] = "off",
["What"] = "AMD Athlon 64 DualCore 5000+ / 2GB 800MHz (Microsoft XP SP2)",
},
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: 2Ceedz on 02 April, 2008, 04:26:57
I dont think its zk++ or leviathan,  im using Ptokax .0.4.0c, and have tested zk++ .710, .720, and .7202; all having the correct uptime on the 'timed banner'.  ;)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: MrCain on 04 April, 2008, 20:24:35
Dixbot is a good aio script but a little to extendend for me.... For me Leviathan was/is a good script and easy in use. But more default profiles wil be a real gain for the script.

(After a couple of days i found the way to add some more profiles....its keeps me from the street's)

Anyway keep up the good work dude!!!!

Mr-Cain



Some day's are like : duuhhhh........
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: [NL]ben on 06 May, 2008, 23:10:46
when the new versie is coming?
i hope quickly
begause its a great script
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: ?[-?Genius?-]? on 13 May, 2008, 06:11:44
Very nice script :)

Tankyou
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Tommy666 on 23 May, 2008, 10:28:24
It?s a really great script!

Thanks for it! :D
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Smeza99Th on 26 May, 2008, 12:09:54
Possible translate bot in french ?
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: BD on 30 May, 2008, 20:46:13
[20:26:29] <[BOT]TheEmbryo>

   Script error found, please raport this to http://forum.ptokax.org
   Post raport to Lua 5.1.1 All in 1 scripts Leviathan section with this message:
   Leviathan v4.0 PtokaX 0.4.0.0e Lua 5.1
   LV_DataBase/lua/Commands.lua:1486: attempt to index local 'victim' (a nil value)

[20:26:29] <[BOT]TheEmbryo> *** Error Logged !
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: baba.runner on 07 June, 2008, 13:04:50
Hi

First, thanks for the great script. ;)

I just have one question in regard to the "is kicking because:"
The wellcome message that is sent to myself is well shown in the kickbar, but the Login Notifications from other users is shown in the MainChat.
How can I change that. I already checked the functions.lua but I can not see any difference between the different "is kicking because:"-entries.

Thanks in advance for your support and assistance.
KR
baba.runner
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: BD on 08 June, 2008, 14:48:08
I have a request,if it's possible. Add to the user info right-click how many times he was kicked,warned.
Btw really a nice script,thanks :)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Huitzilihuitl on 30 June, 2008, 05:42:11
Hello sorry im new in here u have some questions hope somebody can help me i dl the new lv i just wanna some help to disable the atuoregister i have an older Lv (3.0)version when user types +regme password the request comes to the opchat just wanna know if is possible to do the same in here tnx for your time and excuse me for my bad english

i thing the section is in here :

function Command.regme(user,data)
   local _,_,passw = data:find("%b<>%s+%S+%s+(%S+)")
   if not (passw == nil or passw == "") then
      registeruser(user,user.sNick,passw,3,"Reg")
   else
      SendMessage(user.sNick,Cfg.Bot_Name,wrong.."regme <password>")
   end
   return true
end
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Cêñoßy†ê on 30 June, 2008, 15:22:03
Quote from: AztlanChild on 30 June, 2008, 05:42:11
Hello sorry im new in here u have some questions hope somebody can help me i dl the new lv i just wanna some help to disable the atuoregister i have an older Lv (3.0)version when user types +regme password the request comes to the opchat just wanna know if is possible to do the same in here tnx for your time and excuse me for my bad english

will be added to v4.1 like kick warn and ban logs ;D
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Huitzilihuitl on 01 July, 2008, 00:08:41
Quote from: C??o?y?? on 30 June, 2008, 15:22:03
will be added to v4.1 like kick warn and ban logs ;D

Boom Thank's bro ill be waiting for the new version tnx for ur answer  ;D
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: evilution1 on 13 July, 2008, 01:17:23
Hi!

Thanks a lot for your script. Can you help me out with something tho? I want to use leviathan with freestuff and for that ill need to disable leviathans releases function as it seems to over ride it. Please tell me how to do it.

Thanks a lot.
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Tommy666 on 13 July, 2008, 08:41:27
Quote from: evilution1 on 13 July, 2008, 01:17:23
Hi!

Thanks a lot for your script. Can you help me out with something tho? I want to use leviathan with freestuff and for that ill need to disable leviathans releases function as it seems to over ride it. Please tell me how to do it.

Thanks a lot.

I had the same problem too. Yes levithian is over riding freshstuff. Well I found a solution, which should not be done without knowing what to do. As I have some basic programming background, I knew what I had to do. I simple deleted all program parts that had to do with the release feature in the script.

That way I created a levithian script without the release feature. And I can use freshstuff now without any problems.

Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: evilution1 on 13 July, 2008, 11:19:19
Maybe we could have an option of turning off the releases feature in the next version? :)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Brattis on 22 July, 2008, 18:53:40
Yer, an option to enable/disable it would be awsome, due freshstuff script crash with those triggers that lays in Lev.

I hope it will be soon thou. dont like to edit and remove codes in a nice working outfit, figure of speak ^^

Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: evilution1 on 11 August, 2008, 20:29:28
does the hub lag for anyone when this script is used in conjunction with other scripts?

The hub on our network lags (as in chats become delayed) when someone joins in. We're running leviathan 4.00, grimoire trivia and freshstuff3 5.0. Please tell me if anyone has a method to change this.

Thanks
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Pieter on 18 August, 2008, 21:45:55
Hi there, i found a small bug: rules, admessage and disclaimer commands don't work, the file paths in commands.lua are wrong ;)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Tommy666 on 19 August, 2008, 19:13:17
Quote from: Pieter on 18 August, 2008, 21:45:55
Hi there, i found a small bug: rules, admessage and disclaimer commands don't work, the file paths in commands.lua are wrong ;)

Got this problem too when I updated to the latest PtokaX 0.4.1. ! And I found the solution to this problem! It seems that with new ptotaX version it is searching for another path, and I was right!

Just copy the LV_DataBase folder and put the copy in the mainfolder where you find ptokax.exe and it will find those files again.

You now have 2 LV_DataBase folders one in main and one in script folder. As Leviathan may use different path for different files that was the only solution, but it works perfect!
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Cêñoßy†ê on 20 August, 2008, 05:45:42
Quote from: Pieter on 18 August, 2008, 21:45:55
Hi there, i found a small bug: rules, admessage and disclaimer commands don't work, the file paths in commands.lua are wrong ;)

Fixed in V4.1 ;)

Sofar you can change lines manuallly from commands.lua to get them work -->
change
local sdata = LoadFile("LV_DataBase/txt/"..Cvrt.P2[user.iProfile].." Rules.txt")
to
local sdata = LoadFile(Path.."LV_DataBase/txt/"..Cvrt.P2[user.iProfile].." Rules.txt")

and
local sdata = LoadFile("LV_DataBase/txt/Disclaimer.txt")
to
local sdata = LoadFile(Path.."LV_DataBase/txt/Disclaimer.txt")
local sdata = LoadFile("LV_DataBase/txt/Admessage.txt")
to
local sdata = LoadFile(Path.."LV_DataBase/txt/Admessage.txt")

and
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Tremor on 05 October, 2008, 15:17:39
QuoteSofar you can change lines manuallly from commands.lua to get them work -->
change
Doesn't work  :( Hub shows the same error.
QuoteFixed in V4.1
Where is this fix? ???
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Umang on 20 October, 2008, 13:03:38
If I want 2 remove anti-adult finder thn how can i do tht???

mine is a private hub! only for lan user n v share all such stuff!! :-[

even i master has ths n its banning m plssssssssss reply asap! :)

Hope 2 get a reply! :) :) :-\
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Cêñoßy†ê on 25 October, 2008, 01:26:08
Quote from: Umang on 20 October, 2008, 13:03:38
If I want 2 remove anti-adult finder thn how can i do tht???

mine is a private hub! only for lan user n v share all such stuff!! :-[

even i master has ths n its banning m plssssssssss reply asap! :)

Hope 2 get a reply! :) :) :-\

clean all adult finder files from D2AFFB folder =)

New Levi is out soon .. Heres little taste of it


Leviathan v4.1
Tested on 0.4.1.1 (Windows)

Fixed:
-- changed few saveTableToFile --> SaveToFile (reported by [NL]ben)
-- Bug with raport command (raported by [NL]ben)
-- Bug with account protection
-- Bug in banip (thx Smurffiina)
-- bug when starting/stopping timed messages when theres no messages
-- bug when starting/stopping topic changer when theres no messages
-- bug with rename command
-- bug when warning/kicking offline user
-- Typo @line when script makers logged in (thx Ferdi)
-- bug with repass command (reported by Mikkis)
-- bug with login/logout messages (DC++ 0.7xx clients) (reported by baba.runner)
-- bug with ip advertising (Thx Goku)
Added:
-- missing 'change' to !redirect commands rightclick
-- Offline message senders Profile saved to table (request by Stormbringer)
-- Country Code and name to myinfo/userinfo/loginmessage (0.4.1.0RC1 -->)
-- Adjustable name for main clean command (!setcleanname <new name>)
-- Chosable rightclick/help language for registered users
*** inbuild ***
-- eng
-- Offline time to !showusers (if user is offline)
-- characters  ? ? to forbidden in nicks/botname
-- Chatranks (based to HubRanking Bot made by Optimus)
-- table to settings.ini for adjusting how many empty lines will cleanmain send (["chatcleanlines"] = 20000)
-- User Description check for possible advertisers (reads from advertising permissions for profile)
-- Kick & Warn logs (ban loggin inbuild in PtokaX) (requested by BD)
-- Userinfo file backup (LV_DataBase/tbl/UserInfo.tbl[BackUp])
-- Counters file backup (LV_DataBase/tbl/counters.tbl[BackUp])
-- Scan if new users registered from px gui or delregistered from px gui
-- Option to disable releasepart manually (CmdHelpSettings.tbl) (request by evilution1 & Tommy666)
*** ["disable"] = false,  or ["disable"] = true,
*** addrel,delrel,showrel
-- Option to choose can user selfreg own nick or does request go to operators (manually at CmdHelpSettings.tbl)
*** ["opchat"] = false, or ["opchat"] = true,  'under command regme'
Changed:
-- Rightclick commands structure so its easyer to choose how they show
-- Minshare/Maxshare/Minslots/Maxslots/Maxslots redirect message (thx Vipertje)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: ATAG on 25 October, 2008, 13:44:48
Pls correct the filenames because on linux it's case sensitive and there's some typo (in 4.00).

Quote[13:41:11] cannot open /home/atag/.PtokaX/scripts/LV_DataBase/tbl/IP_check.tbl: No such file or directory
[13:41:58] cannot open /home/atag/.PtokaX/scripts/LV_Database/tbl/D2AFFB/IP.tbl: No such file or directory
[13:45:59] cannot open /home/atag/.PtokaX/scripts/LV_Database/tbl/D2AFFB/Nick.tbl: No such file or directory
...
and so on..
Thx :)
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Drifter on 02 November, 2008, 13:57:57
Hello! I just installed it! Its very good and easy to use but i have a question. I hope its not bad. Is it possible to change the name of the bot on my users list? If its not a problem...
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: TiMeTrAVelleR on 02 November, 2008, 17:24:51
In map LV database you find a file called script settings ini there you can change bot name

["Bot_Name"] = "whatever",
even can be done by RC
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: Raptor on 19 January, 2009, 21:01:13
Help please.I am runing hub on ptokax 0.3.2.5c with script Leviathan v3.0 from C??o?y?? & T?M??r?V?ll?R .I love the script but I am kinda new at this things and I have 2 questions.First how can I change that users can reg themselfs now they geting message "you silly mortall........" and so on.And second one is that I am geting this message


   Script error found, please notify C??o?y?? or T?M??r?V?ll?R with this message:
   Leviathan v3.0
   D:\rapi\rapihubic\rapihub\scripts\LV_3.lua:276: bad argument #1 to 'find' (string expected, got nil)

When I check sintax in hub gets this "No syntax errors in the script."
Tnx for the answers.
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: patrick on 23 January, 2009, 18:33:09
Having a problem with Leviathan V4.0
Whenever The script is used it works fine for a minute or two and when users start to enter
the ptokax hangs severly and forces to end the program
can ny 1 help me out with this problem   ???


------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Sorry For My English
Title: Re: Leviathan V4.0 for PtokaX 0.4.0.0b and up
Post by: CrazyGuy on 23 January, 2009, 21:27:04
"Oh my something holy...." as they would say in a nice but quiet hub :)

I'm locking this topic due to it being outdated.
A quick answer to the last to posts: Update to a newer version.

All further posts can go here:

Leviathan 4.1[FINAL] (http://forum.ptokax.org/index.php?topic=8198.0)