PtokaX forum

Archive => Archived 5.1 boards => AllInOne Scripts => Topic started by: Cêñoßy†ê on 19 May, 2006, 19:51:37

Title: Leviathan
Post by: Cêñoßy†ê on 19 May, 2006, 19:51:37
Leviathan v.2.5    Lua 5.1
Tested with Ptokax DC Hub 0.3.4.0h1

Works allso in public hubs !!

Rebuild: Login message for profiles with on/off option +cmd
Rebuild: $UserIP notification message if enabled
Rebuild: Hubadvert
Rebuild: Help table
Rebuild: Rightclick table
Rebuild: Profile settings
Added: New Santas little helper (T?M??r?V?ll?R)
Added: Login notification to profiles (on/off) +cmd
Added: Pinger notification (if registering enabled from ptokax and pinger not blocked)
Added: !setprivate (on/off) +cmd
Added: missing !kill cmd
Added: !drop (own version)
Added: !regme password
Changed: Advertising checking+functions (lucifer from jiten) +cmd's
Changed: !unban (px inbuild)
Changed: Regcleaner is now totally independed script
Removed: Random borders
Removed: !setmaxlogins
Fixed: Rightclick for all profiles
Fixed: !rules command for unregistered profile
Fixed: Few typos (thx Event_Horizon)
Fixed: More typos (thx Tazzie)
Fixed: !nameban (online) !nickban (offline)
Fixed: Profilesettings in !hconfig
Fixed: !addnetwork (now can add hub name with spaces --> my hub name) (thx Tazzie)

Leviathan Downloads (http://shield2k.org/)
Title: Re: Leviathan
Post by: GrinSlaW on 19 May, 2006, 22:20:03
nice i like it alot :)

but one thing why can regusers reg a reguser ?

damn it was easy once you check it out a litle bit more than just open the cmd tabel file :P
hehe shame on me :P

no errors so far :)

cheers
Title: Re: Leviathan
Post by: TiMeTrAVelleR on 20 May, 2006, 04:04:50
forgot to change thatback.
whe bouth run private hub  and regs are allowed  to invite  new users  ;)


greetzz TT
Title: Re: Leviathan
Post by: Northwind on 20 May, 2006, 11:50:44
Shield2k.org domain is now re-newed for a year again :) so happy dl people... Btw Leviathan rocks...

Leviathan has: 18 dls for now :)
Title: Re: Leviathan
Post by: GrinSlaW on 20 May, 2006, 12:39:07
when you type !network and the bot i showing this:
----------------------------------Network Hubs----------------------------------
Nr:
[2] 80 hubb2.mine.nu:500 .:: HUBB2 ::. -------> GiB 
[1] 5 hubb1.mine.nu:411 .:: HUBB1 ::. -------> GiB 


it would be nice if it shows like this for ex.:
----------------------------------Network Hubs----------------------------------
Nr:
[1] hubb1.mine.nu:411 .:: HUBB1 ::. -------> 5 GiB 
[2] hubb2.mine.nu:411 .:: HUBB2 ::. -------> 80 GiB 


or something it just a thougt :)

cheers
Title: Re: Leviathan
Post by: Cêñoßy†ê on 20 May, 2006, 17:08:42
Quote from: GrinSlaW on 20 May, 2006, 12:39:07
when you type !network and the bot i showing this:
----------------------------------Network Hubs----------------------------------
Nr:
[2] 80 hubb2.mine.nu:500 .:: HUBB2 ::. -------> GiB 
[1] 5 hubb1.mine.nu:411 .:: HUBB1 ::. -------> GiB 


it would be nice if it shows like this for ex.:
----------------------------------Network Hubs----------------------------------
Nr:
[1] hubb1.mine.nu:411 .:: HUBB1 ::. -------> 5 GiB 
[2] hubb2.mine.nu:411 .:: HUBB2 ::. -------> 80 GiB 


or something it just a thougt :)

cheers

feel free to make it like you want.. just modify lines -->

GetHubs = function(startpos, endpos)
local text = ""
for i = startpos, endpos, -1 do
if NetworkTable[i] then
text = text.."\t["..i.."]\t"..NetworkTable[i][1].."\t\t"..NetworkTable[i][3].." -------> "..NetworkTable[i][2].." \r\n"
end
end
return text
end


From main file  ;D

"..i.." = Position in list
"..NetworkTable[1].." = minshare
"..NetworkTable[2].." = hub addy
"..NetworkTable[3].." = hub name
Title: Re: Leviathan
Post by: GrinSlaW on 20 May, 2006, 18:06:09
aah ok  will do so :) tnx

very nice script btw :)

cheers
Title: Re: Leviathan
Post by: Cêñoßy†ê on 20 May, 2006, 19:20:06
Nice that you like it.. if theres anything that we should add to it all requests are wanted and filled if we can :P
Title: Re: Leviathan
Post by: GrinSlaW on 20 May, 2006, 19:43:26
i cant think of anything at the moment you have got everything in there already :)

just one thing where do i remove the hubadver that apears every hour ?

cheers
Title: Re: Leviathan
Post by: Northwind on 20 May, 2006, 22:00:54
Leviathan -> Hubsettings -> Set hub add message on/off
Title: Re: Leviathan
Post by: GrinSlaW on 20 May, 2006, 22:21:03
aaah ofcource silly me :P tnx for that :D


cheers
Title: Re: Leviathan
Post by: jay-dee on 21 May, 2006, 20:26:27
 ??? ???

\0.3.4.0.dbg(1)\scripts\Leviathan_2.5.lua:433: unexpected symbol near `...'


whats wrong??
Title: Re: Leviathan
Post by: jiten on 21 May, 2006, 20:46:23
Quote from: jay-dee on 21 May, 2006, 20:26:27
??? ???

\0.3.4.0.dbg(1)\scripts\Leviathan_2.5.lua:433: unexpected symbol near `...'


whats wrong??

This is a LUA 5.1 script.
Therefore, in order to run it, you must have a PtokaX build that supports it (PtokaX 0.3.4.0b or Higher).
Title: Re: Leviathan
Post by: GrinSlaW on 23 May, 2006, 16:27:01
Leviathan 2.5 :C:\ACEXT.0.3.4.0h1nz.dbg\scripts\Leviathan_2.5.lua:440: attempt to call global 'SendTo' (a nil value)

first bug detected  ;D

i have 3 request:
1. that the bot logs all error msg in script to a txt file
2. that every OP commands comes to OPchat or atleast it is possible to choose where they should go
3. make the settings.ini file a litle more understandings ful  ::) for exaple a litle notice what every thing does or what i can choose between example:

["ReportWhere"] = "main", <---- it could show main , pm, opchat

something like that i think you get the point  ;)

cheers
Title: Re: Leviathan
Post by: Nada@WTB on 01 June, 2006, 04:36:17
just switched our hub to Leviathan for the security script, love it so far, keep up the great work ;D ;D ;D



I do have a question, how do I enable certain profiles to be able to do certain things? I know about the ones in the right clicks, but not all are covered there. like being able to use the !talk command, banner etc
Title: Re: Leviathan
Post by: GrinSlaW on 01 June, 2006, 10:13:58
here you can find it :

0.3.4.0k1.dbg\scripts\Leviathan\Tables\CmdHelpSettings.tbl

cheers
Title: Re: Leviathan
Post by: Nada@WTB on 02 June, 2006, 01:52:16
;D ;D CHEERS ;D ;D
Title: Re: Leviathan
Post by: Helios on 22 June, 2006, 13:12:35
   Script error found, please notify C??o?y??/T?M??r?V?ll?R with this message:
   Leviathan 2.5 :F:\PtoKax 0.3.5.0\scripts\Leviathan_2.5.lua:363: attempt to index field '?' (a nil value)



          Syntax F:\PtoKax 0.3.5.0\scripts\Leviathan_2.5.lua:318: attempt to index field '?' (a nil value)

Title: Re: Leviathan
Post by: Chucky on 22 June, 2006, 20:01:34
when a user did "sytes.net"

<?Leviathan?> 

Script error found, please notify C??o?y??/T?M??r?V?ll?R with this message:
Leviathan 2.5 :... beta\0.3.5.0.lua5.1.1.dbg\scripts\Leviathan_2.5.lua:440: attempt to call global 'SendTo' (a nil value)

Title: Re: Leviathan
Post by: TiMeTrAVelleR on 22 June, 2006, 20:12:50
already fixed  thanks 
Title: Leviathan 2.6
Post by: Cêñoßy†ê on 26 June, 2006, 19:49:05
Another small update :P
Plz report bugs and requests  ;D

v2.6
Tested with Ptokax DC Hub 0.3.5.0

Fixed: Block profiles that aint supported
Fixed: nil when no msg added to banner (Thx Tazzie)
Fixed: Bug when antiadvert was disabled (Thx Tazzie)
Fixed: Shows advertising message only to Operators
Fixed: When error write it to file (request by GrinSlaw)
Added: !floodreport on/off cmd.. only !floodreport shows current status
Added: PtokaX inbuild Deflood commands
Added: Commands for max chat/pm limits
Added: 30 min tempban to Win32.Tibic users if hammering hub 3 times (Request by Northwind)
Added: !cleanmain cmd ..sends 2000x empty lines to main (Request by RoxXxer)
Added: cmd to choose where kick messages goes !setopmsg <off/main/kickbar> (request by GrinSlaw and Northwind)
Added: nick/ipban after 3 kicks
Added: Tempban after 3x warns (ptokax default)
Added: !setblock <master/operator/vip/reg/user> <on/off> -- Blocks search/dl (request by Ban-D)
Added: !setowner <nick> -- Sets new hubowner name
Added: !setrcname <name> -- Sets new Righclick menu name
Added: !setbotname <name> -- Sets new Botname
Added: When user gets registered.. if online reg infos goes to him.. if offline goes to user that registered him
Added: Rightclick and dl/search block to !hconfig
Added: Instruction file for settings(request by GrinSlaw)
Removed: AdvertisingFeed/Report parts
Removed: attempt to index field 'AddressControl' (a nil value) (Thx GrinSlaw)
Removed: attempt to call global 'SendTo' (a nil value)(Thx GrinSlaw)


Leviathan Downloads (http://shield2k.org/)
Title: Re: Leviathan
Post by: GrinSlaW on 26 June, 2006, 21:39:03
finaly :D tnx alot m8 :D


cheers
Title: Re: Leviathan
Post by: Hoke on 27 June, 2006, 23:44:06
Right click commans line "regme" have extra "%[nick]" what needs to remove, else command take password from nick list.
Not big thing but quite disturbing.
Title: Re: Leviathan
Post by: Helios on 12 July, 2006, 16:11:43
leviatan for italian user is here this is a fixed final version


link: http://files.to/get/128736/99/scripts.rar
Title: Re: Leviathan
Post by: BrotherBear on 16 July, 2006, 20:55:26
Hi!

I like this All in One Script alot :)

But I was a little disapointed when it not supported the Profile Moderator :(

Is it hard to fix it by my self or is it something that will show up in future release?
Title: Re: Leviathan
Post by: Northwind on 16 July, 2006, 21:01:44
Quote from: BrotherBear on 16 July, 2006, 20:55:26
Hi!

I like this All in One Script alot :)

But I was a little disapointed when it not supported the Profile Moderator :(

Is it hard to fix it by my self or is it something that will show up in future release?


Why to add more profiles than original Ptokax has... Robo has its 2 extra profiles why leviathan should use its system.
Title: Re: Leviathan
Post by: BrotherBear on 16 July, 2006, 21:09:55
Quote from: Northwind on 16 July, 2006, 21:01:44
Quote from: BrotherBear on 16 July, 2006, 20:55:26
Hi!

I like this All in One Script alot :)

But I was a little disapointed when it not supported the Profile Moderator :(

Is it hard to fix it by my self or is it something that will show up in future release?


Why to add more profiles than original Ptokax has... Robo has its 2 extra profiles why leviathan should use its system.

Because we are using these extra Profiles for special users.

Hmm, Now it is hard to leave Robocop (Wich is a great Script)

Robocop does not have that stuff I want in my hub and I don't want to have to much scripts running :(
Title: Re: Leviathan
Post by: Helios on 17 July, 2006, 03:15:17
this nice and? they works script support all profile try the italian version for this and read the flies what news i have added 2 profiles admin and superop

cheer ;D
Title: Re: Leviathan
Post by: BrotherBear on 17 July, 2006, 08:50:40
Quote from: Helios on 17 July, 2006, 03:15:17
this nice and  they works script support all profile try the italian version for this and read the flies what news i have added 2 profiles admin and superop

cheer ;D

Great :)

Testing this.
Title: Re: Leviathan
Post by: Cêñoßy†ê on 17 July, 2006, 10:25:07
Quote from: BrotherBear on 16 July, 2006, 20:55:26
Hi!

I like this All in One Script alot :)

But I was a little disapointed when it not supported the Profile Moderator :(

Is it hard to fix it by my self or is it something that will show up in future release?


And about that italy version.. taked a look of it.. alot stuff missing that those new profiles works without probs.. ProtectionTable etc.. Few lines that havent been translated in settingsfile  ;)

in main file if Settings[user.iProfile]["Avvertimento"] ~= 0 then return true end

but in settings file ["Advertising"]


Nice that someone has time to translate it tho.. keep up the nice work  ;D
Title: Leviathan 2.7
Post by: Cêñoßy†ê on 17 July, 2006, 20:53:59

v2.7
Tested with Ptokax DC Hub 0.3.5.1 Lua 5.1

Fixed: Missing &#124; in Whisper rc (thx Event_Horizon)
Fixed: Small bug in antiadvert
Added: Support for profiles moderator(nr4) netfounder(nr5) (request by BrotherBear)
Added: Profile Owner(nr6)
Added: back from away when typed something in main chat (requested by JD)
Added: Sharesize check for known bad sizes for all but Operators
Added: !setcommand <command> <profile> <on/off> -- remotely change command permissions
Changed: When user advertises only hubowner gets whole msg.. ops get only what triggered it

REMEMBER TO CHANGE NEW Profiles.xml from PROFILE FILE to PtokaX's cfg folder !!!


Download Leviathan (http://shield2k.org)
Title: Re: Leviathan
Post by: Helios on 17 July, 2006, 21:40:46
greatttttttttttttt new version? download and try it now


Added: back from away when typed something in main chat (requested by JD)? this work fine in 2.6? italian version

this is a little bug? ?DC Tag:      <++ V:0.401,M:P,H:0/1/3,S:1>? ?I am op on 4 hub mark it 3 as op and 1 as reg
Title: Re: Leviathan
Post by: TiMeTrAVelleR on 17 July, 2006, 22:36:09
Added: back from away when typed something in main chat (requested by JD)  this work fine in 2.6  italian version

hmm  thats abit weird  when you think it was not even buildin there



this is a little bug   DC Tag:      <++ V:0.401,M:P,H:0/1/3,S:1>   I am op on 4 hub mark it 3 as op and 1 as reg

just reads youre tag thats all

greetzz TT

Title: Re: Leviathan
Post by: BrotherBear on 18 July, 2006, 05:25:02
Quote from: Cy?e??o? on 17 July, 2006, 20:53:59

v2.7
Tested with Ptokax DC Hub 0.3.5.1 Lua 5.1

Fixed: Missing | in Whisper rc (thx Event_Horizon)
Fixed: Small bug in antiadvert
Added: Support for profiles moderator(nr4) netfounder(nr5) (request by BrotherBear)
Added: Profile Owner(nr6)
Added: back from away when typed something in main chat (requested by JD)
Added: Sharesize check for known bad sizes for all but Operators
Added: !setcommand <command> <profile> <on/off> -- remotely change command permissions
Changed: When user advertises only hubowner gets whole msg.. ops get only what triggered it

REMEMBER TO CHANGE NEW Profiles.xml from PROFILE FILE to PtokaX's cfg folder !!!


Download Leviathan (http://shield2k.org)

Woow, is this true....... Yesss :D

Thank you very much Cy?e??o? :)
Title: Re: Leviathan
Post by: BrotherBear on 18 July, 2006, 06:49:50
Hi again :)

The Leviathan 2.7 works GREAT :D

One thing, where do I set the permissions for wich profile could use ?RegistryCleaner? ?

Thanks again Cy?e??o?  really nice work :)
Title: Re: Leviathan
Post by: Cêñoßy†ê on 18 July, 2006, 09:22:26
Quote from: BrotherBear on 18 July, 2006, 06:49:50
Hi again :)

The Leviathan 2.7 works GREAT :D

One thing, where do I set the permissions for wich profile could use ?RegistryCleaner? ?

Thanks again Cy?e??o?  really nice work :)


SendCommands = function(user)
if user.bUserCommand then
if user.bOperator then  [color=Red]-- All that has keys can use these commands[/color]
user:SendData("$UserCommand 0 3")
user:SendData("$UserCommand 1 3 ----? RegistryCleaner?\\Add User to nocleanlist\\Offline user\\$<%[mynick]> !noclean %[line:Nick] add&#124;|")
user:SendData("$UserCommand 1 3 ----? RegistryCleaner?\\Delete User from nocleanlist\\Offline user$<%[mynick]> !noclean %[line:Nick] remove&#124;|")
user:SendData("$UserCommand 1 3 ----? RegistryCleaner?\\Add User to nocleanlist\\This user$<%[mynick]> !noclean %[nick] add&#124;|")
user:SendData("$UserCommand 1 3 ----? RegistryCleaner?\\Delete User from nocleanlist\\This user$<%[mynick]> !noclean %[nick] remove&#124;|")
user:SendData("$UserCommand 1 3 ----? RegistryCleaner?\\Run Registry Cleaner$<%[mynick]> !cleanusers&#124;|")
user:SendData("$UserCommand 1 3 ----? RegistryCleaner?\\Show last login$<%[mynick]> !seen %[line:Nick]&#124;|")
user:SendData("$UserCommand 1 3 ----? RegistryCleaner?\\Show users from profile$<%[mynick]> !showusers %[line:Master/Operator/Vip/Reg]&#124;|")
if user.bRegistered then  [color=Red]-- All that are registered can use these commands[/color]
user:SendData("$UserCommand 1 3 ----? RegistryCleaner?\\Add your nick to nocleanlist\\$<%[mynick]> !noclean %[mynick] add&#124;|")
user:SendData("$UserCommand 1 3 ----? RegistryCleaner?\\Delete your nick from nocleanlist$<%[mynick]> !noclean %[mynick] remove&#124;|")
user:SendData("$UserCommand 1 3 ----? RegistryCleaner?\\Show all uncleaned nicks$<%[mynick]> !shownoclean&#124;|")
end
end
end
end
Title: Re: Leviathan
Post by: BrotherBear on 18 July, 2006, 13:33:52
Sorry, my fault, the profile was Operator :(

Thanks Cy?e??o? you made me se that :)
Title: Re: Leviathan 2.7
Post by: Helios on 28 July, 2006, 22:01:36
this is the italian (http://uploaded.to/?id=084468) version
Title: Re: Leviathan
Post by: TopCat on 31 July, 2006, 20:18:37
Hi all ,

First of all this is a great script  ;D got all futures in it.

ive got one qeustion .when I set myself to profile owner and I want to ask by advertising show safe  i get the following message:

[2006-07-31 21:04] <?Checker?> *** Error: You are not allowed to use this command!

Ive bin looking for what was wrong but the profile is anebled for all functions so i don't know where to look .

Please help me thx  :P
Title: Re: Leviathan
Post by: TiMeTrAVelleR on 31 July, 2006, 21:04:53
21:58:47] <???j?>

   - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
      Current Safe Addresses:
   - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
    ? digital-trance.sytes.net:4111
    ? test.no-ip.com



hmm works just fine here


did you allowed in commands help tbl that command for you

greetzz TT
Title: Re: Leviathan
Post by: TopCat on 08 August, 2006, 12:35:58
Hi T?M??r?V?ll?R

problem is solved. works great now  ;D
Title: Re: Leviathan
Post by: thunder-droopy on 11 August, 2006, 23:31:20
hi TT,

i run leviathan a few days now and it a greet script!!!
only tonight when i wanted to turn the login mess for master off i get this error mess.
   Script error found, please notify C??o?y??/T?M??r?V?ll?R with this message:
   Leviathan 2.7 :Leviathan/Lua/Commands.lua:707: attempt to index field '?' (a nil value)  <--- in main chat
i used the right click menu to turn the mess for master off but this apeared in mainchat :
Master [NL]thunder-droopy turned Login Message off for Users  and 2 sec later the error came in mainchat.
is it something i did wrong or just a bug in the prog.?
greetz droopy
Title: Re: Leviathan
Post by: bastya_elvtars on 15 August, 2006, 16:46:26
Dear Leviathan users,
I have opened a set of subfiorums for leviathan. Please continue the discussion there.