Leviathan 5.2 LUA 5.1/5.3 Release version!!
 

Leviathan 5.2 LUA 5.1/5.3 Release version!!

Started by Cêñoßy†ê, 27 March, 2015, 22:08:04

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cêñoßy†ê

   *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.
Powered By Leviathan™ 2nd Generation v. 1.9

KillerInstinct

plz i would love to try it on linux!!!!!!!    :P

Schumbot

#2
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)

Aka R.A.F@Nux to Admin hub PtokaX or R-au-Carre
in My Hub Franco Hub Public

the-master

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:
keep on sharing :)

Cêñoßy†ê

Changelog updated above.. not long when ready to get public  :-X
Powered By Leviathan™ 2nd Generation v. 1.9

Cêñoßy†ê

Publick release, post possible errors etc to here ;) (again huge thx to betatesters ;))
Powered By Leviathan™ 2nd Generation v. 1.9

Schumbot

given the time that is to pass debuger version

only errors as possible it is the individual

sitting between the chair and the pc
Aka R.A.F@Nux to Admin hub PtokaX or R-au-Carre
in My Hub Franco Hub Public

the-master

#7
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)
keep on sharing :)

Cêñoßy†ê

thx , all ^^ fixed now ;), gonna wait little to get more bugs before new build to publick.
Powered By Leviathan™ 2nd Generation v. 1.9

Cêñoßy†ê

Levi 5.2 updated as build 07.05.2015 !!  read the first post to find it :angel:
Powered By Leviathan™ 2nd Generation v. 1.9

Cêñoßy†ê

Btw.. bug reports has own child board so here you can write requests etc..  :spike:
Powered By Leviathan™ 2nd Generation v. 1.9

spanner

Hi

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

thanks

like this

Cêñoßy†ê

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. ?
Powered By Leviathan™ 2nd Generation v. 1.9

spanner

hi

thanks


instructions to run as well please


the-master

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  :(
keep on sharing :)

SMF spam blocked by CleanTalk