PtokaX forum

Archive => Leviathan => AllInOne Scripts => Archived 5.1 boards => Leviathan - Support => Topic started by: Cêñoßy†ê on 13 February, 2007, 18:40:11

Title: Leviathan v3.1 Lua 5.1.1
Post by: Cêñoßy†ê on 13 February, 2007, 18:40:11
Here is the version 3.1 .. Hope you guys will like it ::)
Cos we do  ;D


v3.1

Tested with Ptokax DC Hub 0.3.5.2f Lua 5.1.1 (12.02.2007)

Big Thx to CrazyGuy for last good eyes and skills to find feew last bugs ;)

[Fixed] bug in delregging.. error if victim not registered [Script_Commands.lua](thx CrazyGuy) (29.11.06)
[Fixed] bug in op-chat description [Gui_Commands.lua] (thx Stormbringer) (30.11.06)
[Fixed] immune list for uncleaned users [Script_Commands.lua & Functions.lua] (30.11.06)
[Fixed] !friendlyhubs command from help list [CmdHelpSettings.tbl] (03.12.06)
[Fixed] 'Kick_Ban_Commands.lua:119: attempt to perform arithmetic on field '?' (a nil value), [Kick_Ban_Commands.lua] (Thx Zinden) (12.12.06)
[Fixed] Missing 's' letter in set slots redirect [Gui_Commands.lua] (thx Jazzman) (04.01.07)
[Fixed] 'Script_Commands.lua:440: attempt to concatenate a nil value' Error when changing offline users profile [Script_Commands.lua] (thx the-master) (10.01.07)
[Fixed] Bug in antiadvertising [Functions.lua] (missing something:P) (16.01.07)
[Fixed[ few typos around the script
[Fixed] bug with Database Cleaner [LV_3.lua] (thx CrazyGuy) (26.01.07)
[Fixed] if any redirection is on/off... cant turn it again on/off (08.02.07)
[Fixed] bug with rename, checks now if nick allready registered [Script_Commands.lua] (thx CrazyGuy) (12.02.07)
[Changed] IP Protection table to own file [IP_check.tbl,Script_Commands.lua,LV_3.lua] (16.01.07)
[Changed] Call message to user little [Script_Commands.lua] (23.01.07)
[Changed] All counters to own file [Lv_3.lua,Functions.lua,Messages.lua,Script_Commands.lua,Counters.tbl] (29.01.07)
[Changed] Debug mode gives messages only to profile Owner [functions.lua] (request by -???v?r?-) (08.02.07)
[Changed] Few redirect xxx command style [functions.lua,Gui_commands.lua] (08.02.07)
[Changed] Motd command splitted (!motd show  !motd <new motd>) [CmdHelpSettings.tbl,Gui_commands.lua] (request by CrazyGuy) (08.02.07)
[Changed not finished] !userinfo <victim> if victim offline script shows collected infos [functions.lua] (request by francohubpublic) (08.02.07)
[Changed] account protection to multiple ip's/dns addys [Functions.lua,Script_commands.lua,IP_Check.tbl] (request by Northwind) (12.02.07)
[Added] Userinfo database clean for unregistered users (automated at script start) [functions.lua] (24.01.07)
[Added] Chat counter for registered users (main/pm) [functions.lua,LV_3.lua] (24.01.07)  ***** Incomplete
[Added] Profile Counter to Database Cleaner [Messages.lua,Functions.lua] (request by CrazyGuy) (25.01.07)
[Added] Notify logout [Functions.lua,LV_3.lua] (request by Stormbringer) (26.01.07)
[Added] command !debug <yes/no> [script_commands.lua,CmdHelpSettings.tbl,Command_Orders.tbl] (request by -???v?r?-) (08.02.07)
[Added] command !lastseen <nick> [script_commands.lua,CmdHelpSettings.tbl,Command_Orders.tbl] (request by -???v?r?-) (08.02.07)
[Added] Online/Offline info to !showusers <profile> [Script_commands.lua] (08.02.07)
[Added] !showusers all [Script_commands.lua,CmdHelpSettings.tbl] (request by Stormbringer) (11.02.07)
[Added] profile total/online/offline counters to !showusers all [Script_commands.lua] (request by BrotherBear) (12.02.07)
[Added] More triggers (220) to antiadvertising(lucifer 666) [Big_Table.tbl] (12.02.07)
[Added] Adult friend finder block : (12.02.07)
** Only watches unregistered users
** If user logs in with IP+sharesize+nick that is logged as aff bot.. he gets disconnected
** If user types trigger word in PM he's ip+share+nick will get logged as aff bot
-- !affaddnick = adds new bot nick
-- !affdelnick = deletes bots nick
-- !affshownick = shows all bot nicks
-- !affaddip = adds new bots ip
-- !affdelip = deletes bots ip
-- !affshowip = shows all bot ips
-- !affaddshare = adds new bots share
-- !affdelshare = deletes bots share
-- !affshowshare = shows all bot shares
-- !affaddtrig = adds new trigger for bot
-- !affdeltrig = delete trigger
-- !affshowtrig = shows all triggers

Files changed :
-- Functions.lua
-- LV_X.lua
-- Messages.lua
-- Script_commands.lua
-- Kick_Ban_commands.lua
-- Gui_Commands.lua
-- CmdHelpSettings.tbl
-- Command_Orders.tbl
-- Big_Table.tbl


Download link in my signature like usual  :o

File Updated .. Forgot all profiles downloads and searches to blocked,now enabled as default..
Title: Re: Leviathan v3.1 Lua 5.1.1
Post by: Fab78 on 13 February, 2007, 19:13:53
Mine lol ...thanks C??o?y†?  :D
Title: Re: Leviathan v3.1 Lua 5.1.1
Post by: Stormbringer on 13 February, 2007, 19:59:38
Thx a lot Cenobyte and Timetraveller for this new release
I hope that it will be not the last... Cause both of you make a good work :)
Title: Re: Leviathan v3.1 Lua 5.1.1
Post by: BrotherBear on 13 February, 2007, 21:04:31
Jeeesusss, already out :D

What files shall I edit to get my profiles to work?

Thank You Very Much For This :)
Title: Re: Leviathan v3.1 Lua 5.1.1
Post by: baba.runner on 13 February, 2007, 23:23:07
Again Men

YOU DID IT !!!

Great job!

Just one little stupid question about the Profiles.xml

The Master has praticaly every where a 1 except the 5th and 6th position from the left.
And the Owner does not. Does this mean that the Master has more rights then the Owner?

Thx in advance.
Title: Re: Leviathan v3.1 Lua 5.1.1
Post by: Cêñoßy†ê on 14 February, 2007, 14:04:55
Quote from: baba.runner on 13 February, 2007, 23:23:07
Again Men

YOU DID IT !!!

Great job!

Just one little stupid question about the Profiles.xml

The Master has praticaly every where a 1 except the 5th and 6th position from the left.
And the Owner does not. Does this mean that the Master has more rights then the Owner?

Thx in advance.

Levi reads all from its own tables ;)

LV 3.1 Package updated with small fix to Functions.lua:1113: bad argument #1 to 'lower' (string expected, got nil)

If you dont want to reinstall all !!!
1.) Find and open file Functions.lua  (notepad opens it fine)
2.) Find D2AFFB = function(user,data)
3.) Find
local s,e,to,from,line = string.find(data,"%$To:%s+(%S+)%s+From:%s+(%S+)%s+%$%b<>%s+(.+)|")
4.) Replace it with
local s,e,to,from,line = string.find(data,"%$To:%s+(%S+)%s+From:%s+(%S+)%s+%$%b<>%s+(.+)")
5.) Save file and restart scripts  ;D
Title: Re: Leviathan v3.1 Lua 5.1.1
Post by: baba.runner on 15 February, 2007, 01:31:11
Thanks for the info

Can you also help me with this issue:
http://forum.ptokax.org/index.php?topic=6825.0 (http://forum.ptokax.org/index.php?topic=6825.0)
Title: Re: Leviathan v3.1 Lua 5.1.1
Post by: BrotherBear on 15 February, 2007, 20:01:37
Hello :)

I got this error when a user log in to the hub:

LV_DataBase/lua/Functions.lua:42: attempt to index field '?' (a nil value)

I have modded the scripts to add my extra Profiles.

I am Running Ptokax 0.3.5.2f and Leviathan v3.1

Thanks in advance
Title: Re: Leviathan v3.1 Lua 5.1.1
Post by: Cêñoßy†ê on 15 February, 2007, 21:41:04
Quote from: BrotherBear on 15 February, 2007, 20:01:37
Hello :)

I got this error when a user log in to the hub:

LV_DataBase/lua/Functions.lua:42: attempt to index field '?' (a nil value)

I have modded the scripts to add my extra Profiles.

I am Running Ptokax 0.3.5.2f and Leviathan v3.1

Thanks in advance

Hehe.. if you change the code.. be sure you know what you do...
as hint for that error : check your command rights from CmdHelpSettings.tbl
Title: Re: Leviathan v3.1 Lua 5.1.1
Post by: BrotherBear on 18 February, 2007, 11:23:58
Thanks for the hint C??o?y?? :)

I forgot this because it is the script that takes longest time to mod ;)

Thanks again for this wonderful script :)
Hi

I am getting this from time to time, don't know what it is that trigger it:

LV_DataBase/lua/Functions.lua:291: attempt to index field '?' (a nil value)

I am Running Ptokax 0.3.5.2f and Leviathan v3.1

This appeared in Main:

[2007-02-17 17:15] <[0.5]Nick> 1
[2007-02-17 17:15] <?Bot?>

   Script error found, please notify C??o?y?? or T?M??r?V?ll?R with this message:
   Leviathan v3.1
   ...ogram/Friendly/scripts/LV_DataBase/lua/Functions.lua:291: attempt to index field '?' (a nil value)

Thanks in advance
Title: Re: Leviathan v3.1 Lua 5.1.1
Post by: CrazyGuy on 18 February, 2007, 14:51:27
Quotescripts/LV_DataBase/lua/Functions.lua:291: attempt to index field '?' (a nil value)

Yes, I have had the same a few lines down.
This has to do with a capital letter inconsistancy between reg and nickname used.
I consider this bug, and hope Ceno or TimeTraveller fixes this soon.
The best way to solve this is having all UserInfo calls with string.lower(User.sName) but that's quite some calls, and they're all over the place so best they do that 8)
Title: Re: Leviathan v3.1 Lua 5.1.1
Post by: BrotherBear on 18 February, 2007, 15:55:42
Thanks for the Info CrazyGuy and hope C??o?y?? and T?M??r?V?ll?R fixes this :)

I got an other problem when we where moving the hubsoft to a Windows 2003 Server.

From time to time the Ptokax.exe Service is up to 95 % of the CPU!?

It is on 95 % about 1 minute then it runs well 1-2 minute and up to 95 % again...

I think it has with this newest Script LV_3.1 to do because now we are running LV_3.0
and it works fine.

Someone else who are running Ptokax 0.3.5.2f and Leviathan v3.1 on Windwos 2003 ?
Title: Re: Leviathan v3.1 Lua 5.1.1
Post by: dodgeviper on 26 January, 2008, 07:29:52
hey when i click on ur signature...i get this message that "It is better to start from zero...We are rebuilding the site"...
Please attach the file in ur signature or help me by pointing me in the rite direction
Title: Re: Leviathan v3.1 Lua 5.1.1
Post by: bastya_elvtars on 27 January, 2008, 14:54:56
In case you didn't know the Leviathan project has been stopped.