PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => AllInOne Scripts => Leviathan => Topic started by: Cêñoßy†ê on 27 March, 2015, 22:08:04

Title: Leviathan 5.2 LUA 5.1/5.3 Release version!!
Post by: Cêñoßy†ê on 27 March, 2015, 22:08:04
   *Leviathan v.5.2 for Lua 5.1/5.3 PtokaX 0.4.1.2 and newer*
    *From the original makers Cêñoßy†ê & TïMê†råVêlléR*

      Special thx to:
         Schumbot for testing/reporting/ideas etc.
         The-Master for testing/reporting/ideas etc.

      Tested with:
         Windows 7 x64/x86
         Windows 8.1 x64
         Linux 3.11-2-486 (i686)

      - [added] librarys for 0.4.1.2 and 0.5.0.3 (folder libs) choose your own
      - [added] some triggers to antiadvertise/lucifer
      - [added] New type release part,basic categorys are Movies/Music/Warez/Others
      - [added] [lv5.0] !setkey <profile> <on/off> command  = Enable/Disable KEY (operator mark) from selected profile
      - [added] Anti ConnectToMe DDOS by PPK
      - [added] Support for lua 5.3 (thx The-Master)
      - [added] command showrelcleanertime --to show current settings
      - [added] command showusercleanertime --to show current settings
      - [added] command showrecords <yes/no> --to change does script show new records in main
      - [fixed] ALOT typos in functions/commands
      - [changed] Records function and it only spams if new detected record is more than 1gb if showrecords enabled
      - [changed] Combined nickban and nameban as nickban (thx The-Master)
      - [removed] useripv1 parts
      - [removed] some dummy files ;) Henk didnt see them ;)
      - [removed] multilanguage support (to this date havent seen any translations)
      - blaa blaa ... huge upgrade ;)
   Build# 07.05.2015
      - [added] folder addons where you can get some extra scripts if wanted
      - [fixed] funcion DoDisc (reported by The-Master)
      - [fixed] few typos in CmdHelpFiles.tbl (reported by Schumbot)
      - [fixed] few Line.wrong lines to proper ones (reported by Schumbot)
      - [fixed] now chatblock wont block profile master
      - [fixed] kick,drop,tempban,nickban and kill commands error,now hubbot and opchat is protected (reported by The-Master)
      - [changed] how to read tcp and udp ports from PtokaX
      - [removed] extra lines in kill command (reported by The-Master)

!! AS DEFAULT NO LIBRARYS !!
Folder libs needs librarys, choose one that fits your setup and paste them to libs root.
Included in second attachment named libs.
Title: Re: Leviathan 5.2 LUA 5.1
Post by: KillerInstinct on 30 March, 2015, 21:03:40
plz i would love to try it on linux!!!!!!!    :P
Title: Re: Leviathan 5.2 LUA 5.1
Post by: Schumbot on 04 April, 2015, 13:45:32
plop plop ^^



your beta tester is available


@KillerInstinct

lv 5.2 work perfectly on Linux

Uptime: 29 days, 19 hours, 49 minutes
Version: PtokaX DC Hub 0.5.0.2 built on Mar  1 2015 16:40:31
OS: Linux 3.11-2-486 (i686)

Title: Re: Leviathan 5.2 LUA 5.1
Post by: the-master on 11 April, 2015, 19:21:42
Hub Powered by PtokaX 0.5.0.3 Lua 5.3!!!! Running Leviathan v 5.2 [09.04.2015/21:20] from Cêñoßy†ê & TïMê†råVêlléR

Fixed some lua changes and testrunning on -=Leviathan Admins Hub=-  :matrix: :w00t:
Title: Re: Leviathan 5.2 LUA 5.1/5.3
Post by: Cêñoßy†ê on 23 April, 2015, 21:07:25
Changelog updated above.. not long when ready to get public  :-X
Title: Re: Leviathan 5.2 LUA 5.1/5.3
Post by: Cêñoßy†ê on 25 April, 2015, 12:32:57
Publick release, post possible errors etc to here ;) (again huge thx to betatesters ;))
Title: Re: Leviathan 5.2 LUA 5.1/5.3 Release version!!
Post by: Schumbot on 25 April, 2015, 12:56:14
given the time that is to pass debuger version

only errors as possible it is the individual

sitting between the chair and the pc
Title: Re: Leviathan 5.2 LUA 5.1/5.3 Release version!!
Post by: the-master on 28 April, 2015, 17:40:10
Found a few last bugs, Line 932 funcion DoDisc didn't ban the user. Fix:

DoDisc = function( user, ... )
local msg = select(1, ... )
local tTable = {
["inform"] = {
sMsg = "Being Monitored"},
["warn"] = {
sMsg = "Warned",sAction = function() UpdateBad(user,WarnTable) end},
["disconnect"] = {
sMsg = "Disconnected",sAction = function() Core.Disconnect(user.sNick) end},
["kick"] = {
sMsg = "Kicked",sAction = function() UpdateBad(user,KickTable) BanMan.TempBanNick(user.sNick,0,"Advertising",SetMan.GetString(21)) end},
["tempban"] = {
sMsg = "Temporarily Banned",sAction = function() BanMan.TempBanIP(user.sIP,0,"Advertising",SetMan.GetString(21),true) Core.Disconnect(user.sNick) end},
["permban"] = {
sMsg = "Banned",sAction = function() BanMan.Ban(user,"Advertising",SetMan.GetString(21),true) end},
}
local tmp = tTable[Prf[user.iProfile]["Advertising_Action"]]
if tmp then
if WarnTable[user.sNick] == 3-1 then
return true
end
if KickTable[user.sNick] == 3-1 then
return true
end
if tmp.sAction then
tmp.sAction()
end
if Prf[user.iProfile].Advertising_Action == "inform" then
Core.SendPmToNick(user.sNick,SetMan.GetString(21),"You are "..tmp.sMsg.." for advertising: "..msg)
end
return tmp.sMsg
end
end

and Funcion Command Kill has a few lines extra,
this:
               BanMan.BanIP(victim.sIP,rsn,Cvrt.P2[user.iProfile].." "..user.sNick,true)
               BanMan.BanNick(victim.sNick,rsn,Cvrt.P2[user.iProfile].." "..user.sNick)
               Core.Disconnect(victim.sNick)
can be replaced by this:
               BanMan.Ban(victim,rsn,Cvrt.P2[user.iProfile].." "..user.sNick,true)

2 typo's in CmdHelpFiles.tbl at last: Seacondary should be Secondary (reported by Shumbot)
Title: Re: Leviathan 5.2 LUA 5.1/5.3 Release version!!
Post by: Cêñoßy†ê on 28 April, 2015, 17:59:41
thx , all ^^ fixed now ;), gonna wait little to get more bugs before new build to publick.
Title: Re: Leviathan 5.2 LUA 5.1/5.3 Release version!!
Post by: Cêñoßy†ê on 07 May, 2015, 20:23:35
Levi 5.2 updated as build 07.05.2015 !!  read the first post to find it :angel:
Title: Re: Leviathan 5.2 LUA 5.1/5.3 Release version!!
Post by: Cêñoßy†ê on 08 May, 2015, 00:01:19
Btw.. bug reports has own child board so here you can write requests etc..  :spike:
Title: Re: Leviathan 5.2 LUA 5.1/5.3 Release version!!
Post by: spanner on 13 May, 2015, 18:35:44
Hi

could u add something that cab show the last chats on main screen on joining

thanks

like this
Title: Re: Leviathan 5.2 LUA 5.1/5.3 Release version!!
Post by: Cêñoßy†ê on 13 May, 2015, 20:36:03
Quote from: spanner on 13 May, 2015, 18:35:44
Hi

could u add something that cab show the last chats on main screen on joining

thanks

like this

Currently werent tought to add chat history to main script but mayby as addon i can make it. ?
Title: Re: Leviathan 5.2 LUA 5.1/5.3 Release version!!
Post by: spanner on 15 May, 2015, 07:23:33
hi

thanks


instructions to run as well please

Title: Re: Leviathan 5.2 LUA 5.1/5.3 Release version!!
Post by: the-master on 10 June, 2015, 20:22:43
C:\\0.5.0.3-Lua5.3.0\\scripts\\LV_5.3.lua:899: attempt to concatenate a nil value\
stack traceback:\
\9C:\\0.5.0.3-Lua5.3.0\\scripts\\LV_5.3.lua:899: in function 'PubCheck'\
\9C:\\0.5.0.3-Lua5.3.0\\scripts\\LV_5.3.lua:861: in function 'Advert_PM_Check'\
\9C:\\0.5.0.3-Lua5.3.0\\scripts\\LV_5.3.lua:215: in function 'ToArrival'"] = "06/08/15 13:05:04
Someone spammed in pm  :(