Hello everybody!
NightLitch working on a totaly new bot with the name ' Thor ' , so he decided to not concentrate on NXS-3 any more.
So I started to work on the NXS-3 and in my opinion it's the most stabel version thats ever done. NXS-3 4.0 has GUI but have some serius bugs. And I'm not good on the GUI part. So I decided to continue the work from the older version 3.5
So here you got a updated version of NXS-3.
History:
3.6 : Dyzan continue with scripting 3.x series.
Fixed clear userinfo.
Added Welcome for OP and Users.
Fixed share part for good.
3.7 : Added On/Off funktion for PM Welcome to OP and users.
Added !topic command for PtokaX 0.3.3.0
Removed French language.
3.8 : Added a set BanTimeValue to advertising part.
Fixed HighShare Redirect.
Added a !slap command ;)
Remove all languages except english. (all translation needs to be updated anyway)
3.8a : Fixed disable Vip-Chat.
Correct some english text in help.
3.8b : Added translation for !slap command in language files.
3.8c : Fixed disable Vip-Chat I hope.
3.9 : Added OPMenu for DCPlusPlus 0.306 or higher.
Added a remove Passive Users/Regusers funktion.
Updated english language files.
3.9a : Fixed couple of " function `strlen' [C] " errors.
Added a litle string to prevent some mldonkeys.
Updated Guarding.P2P file.
Updated Userinfo:
* Save info on users with Socks5 connection. Thanks to NL! ( PtokaX 0.3.3.0 or higher)
Added list !links command.
Updated english language files.
Here is a GUI for NXS-3.v.3.9 By GeNNeLL: GUI Beta verion 0.4 (http://free.of.pl/w/warezhub/GUIbetav0.4.rar)
nice nice nice .. ;o]]
i think about gui for your continuation NXS-3
i write some when i end all exams ;]]
QuoteOriginally posted by GeNNeLL
nice nice nice .. ;o]]
i think about gui for your continuation NXS-3
i write some when i end all exams ;]]
Hehe, Yes maybe. :) But I will concentrate on the script mainly. Gui is not my good side ;)
Sorry for my bad english :D
oks gui will be simple i write this in weekend :D
If you found any buggs. Please report right here in this thred.
In my opinion shuld 3.8 be very stabel after my buggfixes.
dont send my info vip chat when then is disable
QuoteOriginally posted by GeNNeLL
dont send my info vip chat when then is disable
Edit* Never mind. I know how you mean. I will check on that funktion.
Release of 3.8a is out! Check the download link on top of these thred. :)
Hi When i kick with right click the users get banned directly
[06:39] <[-Owner-]Gizmo> is kicking [2mbit]SvartePetter because: Dont share installed games or unpacked ripps!! -------->g:\Andr?\Downloads\Crackar&Keys\Games\Diablo I\Archive Viewer v1.20\storm.dll
[06:39] <-Yoda-> [2mbit]SvartePetter has been kicked 0 time(s) and is now banned!
QuoteHi When i kick with right click the users get banned directly
what cient dc you use??
script ban user only if you using /raw command
i dont now what you change but i thing about this
line 253
if AllowVipChat==1 then -- add
curUser:SendData( my_VIP_string )
end -- add
and line 302
if AllowVipChat==1 then -- add
curUser:SendData( my_VIP_string )
end -- add
check this if you want :) :)
QuoteOriginally posted by GeNNeLL
i dont now what you change but i thing about this
line 253
if AllowVipChat==1 then -- add
curUser:SendData( my_VIP_string )
end -- add
and line 302
if AllowVipChat==1 then -- add
curUser:SendData( my_VIP_string )
end -- add
check this if you want :) :)
I think my salution was much better. :) But thanks for the tip anyway.
QuoteOriginally posted by gizmo
Hi When i kick with right click the users get banned directly
[06:39] <[-Owner-]Gizmo> is kicking [2mbit]SvartePetter because: Dont share installed games or unpacked ripps!! -------->g:\Andr?\Downloads\Crackar&Keys\Games\Diablo I\Archive Viewer v1.20\storm.dll
[06:39] <-Yoda-> [2mbit]SvartePetter has been kicked 0 time(s) and is now banned!
I will take a lock at it. And yes, what client are you using?
Edit*
Something wrong with your raw commands, I belive.
Have tested with dc++ no problems here.
Well-Welll nice Dyzan !!!
But is clone !
L0L :D
QuoteOriginally posted by Dyzan
Hello everybody! NXS-3 v.3.8a is out!.
Question:
- Why countinue on version 3.x?
Answer:
I just love that version. And in my opinion it's the most stabel version thats ever done before the Gui version came up. Ofcourse 3.x have some strange bugs. So I decided to countinue the work from version 3.5 and do buggfixes and add some new funktions.
Mean while NightLitch working on a totaly new bot. I have to say. Enjoy the new release!
History:
3.6 : Dyzan continue with scripting 3.x series.
Fixed clear userinfo.
Added Welcome for OP and Users.
Fixed share part for good.
3.7 : Added On/Off funktion for PM Welcome to OP and users.
Added !topic command for PtokaX 0.3.3.0
Removed French language.
3.8 : Added a set BanTimeValue to advertising part.
Fixed HighShare Redirect.
Added a !slap command ;)
Remove all languages except english. (all translation needs to be updated anyway)
3.8a : Fixed disable Vip-Chat.
Correct some english text in help.
Download NXS-3 v.3.8a here:
http://swenorth.myftp.org/network/dyzan/nxs-3/NXS-3.v.3.8a.Countiued.By.Dyzan.rar
Nopp. it's not a clone, Cp6uja.
If you open the script you se NightLitch stil stands there as the creator. So don't be rude!
When NightLitch decided to work on a total new bot, he stoped working on NXS-3. So I decided to continue work on it to help me learn more about LUA and get NXS-3 a very stabel bot for swenorth, mean while NightLitch can concentrate on his work.
So don't say that I have steal the work! All credits go's to NightLitch!
I just give some smal updates on the old core and fixed the bugs for you. :)
3.8b out. only smal changes. Better for you thats going to translate the script.
More bugreports! =) I want it 100 % bugfree.
hmmmm Dyzan, to my post about VipChat:
Check script when VipChat is disable
VipChat is in list user as a nolmal user, you dont register this bot, but sending to connecting users MyINFO
I thinking about this when i writing my posts(sorx for my english :( :( )
QuoteOriginally posted by GeNNeLL
hmmmm Dyzan, to my post about VipChat:
Check script when VipChat is disable
VipChat is in list user as a nolmal user, you dont register this bot, but sending to connecting users MyINFO
I thinking about this when i writing my posts(sorx fot my english :( :( )
Okej! Now I think I know what you mean. I will fix that. Thanks!
3.8c out. Hope Vip-Chat disable is okej now. :)
oks i like this script
i use this in my script RightClick.NXS-3v0.02.rar (http://fizolsqn.fm.interia.pl/RightClick.NXS-3v0.02.rar)
use this in script if you want ;) ;)
QuoteOriginally posted by GeNNeLL
oks i like this script
i use this in my script RightClick.NXS-3v0.02.rar (http://fizolsqn.fm.interia.pl/RightClick.NXS-3v0.02.rar)
use this in script if you want ;) ;)
That locks realy nice! Does this work on all DC clients?
Because if it does maybe it could be implement.
But I guess you need dc++ 0.401 or something.
Yes you right this doesnt work in dc++ 0.305 or low and in dc++kCDM :( :(
I think I will implement it anyway. It's a cool script.
New version is soon here ;)
Well its would be better with the GUI :/
QuoteOriginally posted by Nafigs
Well its would be better with the GUI :/
Nafigs tried THOR yet !??!
/NightLitch
Hmmm nop but gonna try :)
NICE work NightLitch, realy nice:) but only one problem, in lua file i cant find where to change a bot tag and description becose its like this : ќ Ђ Жяя ? L Ђ ЂЊ BЂ Ђ` Ђ О ? Ђ P Њ З Ђ Жяя A
@Thor.lua . sUser 2 Тюяя % - юяяя1 эяя
Msg iProfile Announce Intro sName gsub %b[USER] %b[HUB] frmHub GetHubName
Cant understand there anything:((( A little help would be great:))) sorry about my english
QuoteOriginally posted by Nafigs
NICE work NightLitch, realy nice:) but only one problem, in lua file i cant find where to change a bot tag and description becose its like this : ќ Ђ Жяя ? L Ђ ЂЊ BЂ Ђ` Ђ О ? Ђ P Њ З Ђ Жяя A
@Thor.lua . sUser 2 Тюяя % - юяяя1 эяя
Msg iProfile Announce Intro sName gsub %b[USER] %b[HUB] frmHub GetHubName
Cant understand there anything:((( A little help would be great:))) sorry about my english
You are not supposed to change it... Can you change RoboCops ?!?!
l8r / NL
Nop:( but is there any way to change it? There must be....i think:/
Thor related stuff in thor related thread, please. :)
Well, my opinion Gui gives you only more headake. So me no like it. ;)
i try write some gui for this script but i dont have much time ;//
i upload here when i end write and tested all options :)) :))
QuoteOriginally posted by GeNNeLL
i try write some gui for this script but i dont have much time ;//
i upload here when i end write and tested all options :)) :))
That sounds nice GeNNeLL.
3.9 is soon here.
This is what is done so far:
3.9 : Added OPMenu for DCPlusPlus 0.306 or higher.
Added a remove Passive Users/Regusers funktion.
Updated english language files.
But i want also to add:
* Only registered users and higher can download from all.
Stay tuned!
GUI for NXS-3 (http://free.of.pl/w/warezhub/scripts.rar) version Beta 0.2
this is test version mey have some bugs :rolleyes:
QuoteOriginally posted by GeNNeLL
GUI for NXS-3 (http://free.of.pl/w/warezhub/scripts.rar) version Beta 0.2
this is test version mey have some bugs :rolleyes:
Nice, Now it's up to you testers to find buggs on the Gui-part that GeNNeLL have done.
NXS-3 v.3.9 is out!
But I leave "Only registered users and higher can download from all" for the next release.
Enjoy!
GUI Beta verion 0.4 (http://free.of.pl/w/warezhub/GUIbetav0.4.rar) some change :))
/Eat
QuoteOriginally posted by GeNNeLL
GUI Beta verion 0.4 (http://free.of.pl/w/warezhub/GUIbetav0.4.rar) some change :))
Nice work GeNNeLL! :)
Well any bugreports yet? ;)
Do you guys often get this error?
Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
1: function `strlen' [C]
2: function `DataArrival' at line 526 [file `C:\Soft\0.330.b15.25.dbg\scripts\NXS-3.lua']
I will be a fix for the next release of NXS-3 v.3.9a
Until then. please. give more reports of buggs.
3.9a is out!
3.9a : Fixed couple of " function `strlen' [C] " errors.
Added a litle string to prevent some mldonkeys.
Updated Guarding.P2P file.
Updated Userinfo:
* Save info on users with Socks5 connection. Thanks to NL! ( PtokaX 0.3.3.0 or higher)
Added list !links command.
Updated english language files.
Enjoy!
error i found:
Syntax error: table index is nil
stack traceback:
1: function `LoadRegistredFile' at line 65 [file `NXS-3/data/Handlings.lua']
2: function `GetPassword' at line 1021 [file `NXS-3/data/FUNCTIONS.lua']
3: function <55:file `NXS-3/data/COMMANDS.lua'> at line 55
4: function `GetCom' at line 649 [file `H:\Ptokax\PC Gamers\scripts\NXS-3.lua']
5: function `DataArrival' at line 546 [file `H:\Ptokax\PC Gamers\scripts\NXS-3.lua']
also another error, if you got vip security on (vip cant be kicked) if you !deluser nick and then kick him you also get a error.......
Intresting...
@zinden.
What NXS-3 version are you using?
please, Print all error messages and what you doing when the error occur? Thanks for the help
i use latest release 3.9a
and if you !deluser vip and then try to kick him wont work...it says he still vip.
(if you got cant kick vip users "on")
Ok, I'll se what I can do.
i noticed you are on a good mood :)
maybe rewrite this:
Must be registered to download from ops to instead: Must be registered to download from vip and above?
Good ide to. I will lock in to it when i got more time and the heat in this room is cooling down a bit. :P +30 Degres Cellcius is to much for me who comes from north of sweden :)
Don't complain now when we FINALLY have a weather that we actually can call "summer" he he he :-)
QuoteOriginally posted by VERMiN
Don't complain now when we FINALLY have a weather that we actually can call "summer" he he he :-)
Yes, Thats true :D
Well, I guess it will be the beach and party instead. ;)
Hi there Dyzan, i just installed NXS-3.9a but I've got a prob: my tag is <++ V:0.305,M:A,H:1/2/6,S:7> but when i juined i received this welcome msg:
Stai utilizzando DC++ Versione: 0.305.
Stai condividendo 486.99 Gb e 7 Slot(s).
Sei connesso a 1 Hub(s) come utente.
Sei connesso a 0 Hub(s) come utente registrato.
Sei connesso a 7 Hub(s) come operatore.
La velocit? della tua connessione ? unlimited kB/s
Sei connesso in Active Mode.
instead (of):
Stai utilizzando DC++ Versione: 0.305.
Stai condividendo 486.99 Gb e 7 Slot(s).
Sei connesso a 1 Hub(s) come utente.
Sei connesso a 2 Hub(s) come utente registrato.
Sei connesso a 6 Hub(s) come operatore.
La velocit? della tua connessione ? unlimited kB/s
Sei connesso in Active Mode.
This is problem??? How I resolve it??? Thank YOU, bye bye
My HUB: planetarium.no-ip.org
Now in NXS-3 there are One Prefix (to rule them all, sorry LOTR Fan) How about 2-3 Prefixes so that it would be like !help and then +rules or so?! Is that possible ?!
By the way I love the Script!
Spesial thank to NightLitch who made the script
And thanks for the countinuing scripting by Dyzan
:D 8)
Problem...... NXS3.9a use in PtokaX:
NXS-3.lua C: 2949 T: 3490
.... is it MANY. Dyzan.. can you resolve this problems in NXS3.9b? Thank You
my HUB: planetarium.no-ip.org
Other problem most important that I resolve it:
[14:49:49] <^Pegasus^> Please, do NOT fake on slots number!
How I setting?How resolve, please? THANK YOU
My HUB: planetarium.no-ip.org
I have other problems... I made the new level for user : KREG and I have this problem...
No syntax errors in script file C:\Documents and Settings\Jonny\Desktop\DC++\-= MY HUB =-\planetarium.no-ip.org\scripts\NXS-3.lua
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
How I resolve?? Thank you
My HUB: planetarium.no-ip.org
QuoteOriginally posted by 6Marilyn6Manson6
I have other problems... I made the new level for user : KREG and I have this problem...
No syntax errors in script file C:\Documents and Settings\Jonny\Desktop\DC++\-= MY HUB =-\planetarium.no-ip.org\scripts\NXS-3.lua
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
Syntax Error: attempt to perform arithmetic on a nil value
How I resolve?? Thank you
My HUB: planetarium.no-ip.org
Remove the Profile, NXS-3 is has it's levels... that's it...
Thank you NIghtLight, you're the best programmator of LUA in the world with Guibs :D . bye bye
NightLight and Dyzan other other other problems. In my hub share limit is 100 gb and I would share minimun for user 100gb and reg 40. I have setting it:
-- Min Share in GB
SHC = {}
SHC[0] = "0" -- Set Masters Min Share
SHC[4] = "0" -- Set Moderators Min Share
SHC[1] = "0" -- Set Operators Min Share
SHC[2] = "0" -- Set VIPs Min Share
SHC[3] = "40" -- Set REGs Min Share
SHC[-1] = "100" -- Set Users Min Share
and in PtokaX 0gb. But, is Reg connect in hub with share down 100gb... they are disconnect...... How I resolve? Thank YOU
My HUB: planetarium.no-ip.org
QuoteOriginally posted by 6Marilyn6Manson6
Hi there Dyzan, i just installed NXS-3.9a but I've got a prob: my tag is <++ V:0.305,M:A,H:1/2/6,S:7> but when i juined i received this welcome msg:
Stai utilizzando DC++ Versione: 0.305.
Stai condividendo 486.99 Gb e 7 Slot(s).
Sei connesso a 1 Hub(s) come utente.
Sei connesso a 0 Hub(s) come utente registrato.
Sei connesso a 7 Hub(s) come operatore.
La velocit? della tua connessione ? unlimited kB/s
Sei connesso in Active Mode.
instead (of):
Stai utilizzando DC++ Versione: 0.305.
Stai condividendo 486.99 Gb e 7 Slot(s).
Sei connesso a 1 Hub(s) come utente.
Sei connesso a 2 Hub(s) come utente registrato.
Sei connesso a 6 Hub(s) come operatore.
La velocit? della tua connessione ? unlimited kB/s
Sei connesso in Active Mode.
This is problem??? How I resolve it??? Thank YOU, bye bye
My HUB: planetarium.no-ip.org
Yes thats a known bugg. I will take a look at it.
QuoteOriginally posted by CraKteR
Now in NXS-3 there are One Prefix (to rule them all, sorry LOTR Fan) How about 2-3 Prefixes so that it would be like !help and then +rules or so?! Is that possible ?!
Maybe l8r.
QuoteOriginally posted by 6Marilyn6Manson6
Problem...... NXS3.9a use in PtokaX:
NXS-3.lua C: 2949 T: 3490
NXS-3 is known to eat memory. But it does not harm much of the speed in the hub until you have more then 1000 users.
We run this script in swenorth community and have some times around 800 users. And no problem at all. And the memory usage is like this:
NXS-3.lua C: 12949 T: 13490
So, if you need more optimized script I would rekommend Thor. It's a litle better on the momory usage.
QuoteOriginally posted by 6Marilyn6Manson6
Other problem most important that I resolve it:
[14:49:49] <^Pegasus^> Please, do NOT fake on slots number!
How I setting?How resolve, please? THANK YOU
What client are you using to get this message from the scripts?
QuoteOriginally posted by 6Marilyn6Manson6
NightLight and Dyzan other other other problems. In my hub share limit is 100 gb and I would share minimun for user 100gb and reg 40. I have setting it:
-- Min Share in GB
SHC = {}
SHC[0] = "0" -- Set Masters Min Share
SHC[4] = "0" -- Set Moderators Min Share
SHC[1] = "0" -- Set Operators Min Share
SHC[2] = "0" -- Set VIPs Min Share
SHC[3] = "40" -- Set REGs Min Share
SHC[-1] = "100" -- Set Users Min Share
and in PtokaX 0gb. But, is Reg connect in hub with share down 100gb... they are disconnect...... How I resolve? Thank YOU
Please, check that profile.dat is replaced in ptokax dir. with that one that comes with NXS-3 package.
Dyzan.. don't LEAVE NXS-3.. pleaseeeeeeeee
My HUB: planetarium.no-ip.org
Hi boy, now I have restart script and have this error:
No syntax errors in script file C:\Documents and Settings\Jonny\Desktop\DC++\-= MY HUB =-\planetarium.no-ip.org\scripts\NXS-3.lua
Syntax Error: attempt to index global `user' (a nil value)
Syntax Error: attempt to index global `user' (a nil value)
Syntax Error: attempt to index global `user' (a nil value)
Syntax Error: attempt to index global `user' (a nil value)
Syntax Error: attempt to index global `user' (a nil value)
Syntax Error: attempt to index global `user' (a nil value)
Syntax Error: attempt to index global `user' (a nil value)
What is solution? Thanks a lot
I'm realy realy sorry that I don't have the time for now to update NXS-3.
I moving to a new city right now. And got a new job in that new town. So I have very litle time to work on NXS-3. But I will start again when I got the apartment and seatled down a bit. It's so much right now.
Don't worry I come back soon! :)
Se U L8r :P
Dyzan no prob but... how I resolve my problem? If I load COMMAND.lua with ptokax i have this error:
Syntax Error: table index is nil
Syntax Error: attempt to index global `user' (a nil value)
How I resolve??? Is it most important for me... I love NXS :P bye bye Dyzan.. thanks a lot
My HUB: planetarium.no-ip.org
great script, but a few of the commands such as !showstaff doesnt seem to be working, anything i got to do for it to work?
Secondly, there are some weird "sentences mistakes", as in "[OP] is killed [USER]"
that sort of things, ive done some corrections, if you are intressted, i could send the language file to you? just email me at untouchable@broadpark.no .
Hi,
I use ptokax 15.25 and NXS 3.9a... now i have this error:
No syntax errors in script file NXS-3.lua
Syntax error: attempt to index local `vUser' (a nil value)
stack traceback:
1: function `KicksRegVipOp' at line 155 [file `NXS-3/data/Handlings.lua']
2: function `ToKickMsg' at line 1036 [file `... HUB =-\planetarium.no-ip.org\scripts\NXS-3.lua']
3: function `DataArrival' at line 552 [file `... HUB =-\planetarium.no-ip.org\scripts\NXS-3.lua']
Thanks ^^
MY HUB: planetarium.no-ip.org
Aloha all
I use this script.. and btw its a great script.. very good job
-------------------------------------------------------------------------
-- * * * NXS-3 Advertising Part * * *
-- By: NightLitch 2004/02/10
---------------------------------------------------
-- Verify Function from Lucifer.
---------------------------------------------------
-- Set BotName
BotName = "MyHUB"
-- Set HubAddress that will be shown instead of the ADVER advertising's.
HubAddress = "MyHUB.MyIP"
-- Ok Hubs that are allowed to be entered in hub
OKHUBS = {
["MyHUB.MyIP"] = 1,
["YourHUB.YourIP"] = 1,
}
-- Advertising Trigs
ADVER = {
["myftpsite"]=1,["dns2go"]=2,["ip.com"]=3,["pornstarguru.com/page.php?x=37516&m=3"]=4,["ip.org"]=5,["ip.biz"]=6,["dynip.com"]=7,["d2g.com"]=8,["dyndns.org"]=9,["dynu.com"]=10,
["mine.org"]=11,["kick-ass.net"]=12,["darkdata.net"]=13,["ipme.net"]=14,["udgnet.com"]=15,["sytes.net"]=16,["d2g.biz"]=17,["homeip.net"]=18,["mine.nu"]=19,["depecheconnect.com"]=20,
["e-net.lv"]=21,["newgnr.com"]=22,["serveftp.com"]=23,["evildc.com"]=24,["bst.net"]=25,["bsd.net"]=26,["ods.org"]=27,["dnsalias.org"]=28,["x-host.net"]=29,["x-host.org"]=30,
["bounceme.net"]=31,["myvnc.com"]=32,["sytes.net"]=33,["xs4all.net"]=34,["xs4all.nl"]=35,["kyed.com"]=36,["finx.org"]=37,["ath.cx"]=38,["sheckie.net"]=39,["vizvaz.net"]=40,
["servebeer.com"]=41,["65.61.153.217/page.php?x=906228"]=42,["kicks-ass.com"]=43,["nerdcamp.net"]=44,["gotdns.org"]=45,["homeip.net"]=46,["cicileu.org"]=47,["cicileu.com"]=48,["3utilities.com"]=49,["bounceme.net"]=50,
["myftp.biz"]=51,["myftp.org"]=52,["myvnc.com"]=53,["no-ip.biz"]=54,["no-ip.com"]=55,["no-ip.info"]=56,["no-ip.org"]=57,["redirectme.net"]=58,["servebeer.com"]=59,["servecounterstrike.com"]=60,
["serveftp.com"]=61,["servegame.com"]=62,["servehalflife.com"]=63,["servehttp.com"]=64,["serveirc.com"]=65,["servemp3.com"]=66,["servepics.com"]=67,["servequake.com"]=68,["sytes.net"]=69,["zapto.org"]=70,
["ciscofreak.com"]=71,["damnserver.com"]=72,["ditchyourip.com"]=73,["dnsiskinky.com"]=74,["geekgalaxy.com"]=75,["net-freaks.com"]=76,["no-ip.ca"]=77,["no-ip.co.uk"]=78,["no-ip.net"]=79,["point2this.com"]=80,
["securityexploits.com"]=81,["securitytactics.com"]=82,["servehumour.com"]=83,["servep2p.com"]=84,["servesarcasm.com"]=85,["stufftoread.com"]=86,["unusualperson.com"]=87,["workisboring.com"]=88,["hopto"]=89,["pornstarguru.com"]=90,
}
-- Acceptable trigs
SITES = { "www.","http://","ftp://","irc.","cs." }
--DON'T EDIT FROM HERE--
tabAdvert = {}
function Main()
frmHub:RegBot(BotName)
end
function SiteCheck(msg)
for value,index in SITES do
if strfind(msg,index) then
return 1
end
end
end
function FindAdver(adver)
for v2,i2 in OKHUBS do
if strfind(adver,v2) then
return "K"
end
end
end
function DataArrival(curUser, data)
if ( strsub(data, 1, 1) == "<" ) then
if not curUser.bOperator then
local _, _, msg = strfind(data, "^%b<>%s+(.*)|")
if SiteCheck(msg)==1 then
return 0
else
if Verify(curUser.sName, msg) then
local Lines = Verify(curUser.sName, msg)
tabAdvert = nil
tabAdvert = {}
local s,e, adver = strfind(Lines, "[^#]#(%S+)$")
if (FindAdver(adver) == "K") then
return 0
else
curUser:SendPM(BotName,"Aceste cuvinte ne doare...")
SendToOps("",curUser.sName.." e cu muja si face reclama la: "..msg)
return 1
end
end
end
spam = 0
if( strfind( strlower(data), "no",1,1) ) and ( strfind( strlower(data), "ip",1,1) ) then
if ( strfind( strlower(data), "com",1,1) ) or ( strfind( strlower(data), "org",1,1) ) or ( strfind( strlower(data), "info",1,1) ) then
spam=spam+1; end; end;
if( strfind( strlower(data), "my",1,1) ) and ( strfind( strlower(data), "ftp",1,1) ) then
if ( strfind( strlower(data), "com",1,1) ) or ( strfind( strlower(data), "org",1,1) ) or ( strfind( strlower(data), "info",1,1) ) then
spam=spam+1; end; end;
if( strfind( strlower(data), "dns",1,1) ) and ( strfind( strlower(data), "2",1,1) ) and ( strfind( strlower(data), "go",1,1) ) then
spam=spam+1; end
if( strfind( strlower(data), "dy",1,1) ) and ( strfind( strlower(data), "nu",1,1) ) then
if( strfind( strlower(data), ".net",1,1) ) or ( strfind( strlower(data), ".com",1,1) ) then
spam=spam+1;end; end
if( strfind( strlower(data), "d n s a",1,1) ) or ( strfind( strlower(data), "d n s .",1,1) ) or ( strfind( strlower(data), "d n s 2",1,1) ) or ( strfind( strlower(data), "o d s .",1,1) ) or ( strfind( strlower(data), "d y n",1,1) ) then
spam=spam+1;end
if spam>0 then
s,e,msg = strfind(data, "%b<> (.*)")
curUser:SendPM(BotName,"Aceste cuvinte ne doare..")
SendToOps("",curUser.sName.." e cu muja si face reclama la: "..msg)
end
end
elseif ( strsub(data, 1, 4) == "$To:" ) then
local s,e,to,text = strfind(data, "%$To:%s(%S+)%sFrom:%s%S+%s$(.*)$")
if(to == nil) then return 0 end
to = GetItemByName(to)
if not curUser.bOperator then
local _, _, msg = strfind(data, "^%b<>%s+(.*)|")
if SiteCheck(msg)==1 then
return 0
else
if Verify(curUser.sName, msg) then
local Lines = Verify(curUser.sName, msg)
tabAdvert = nil
tabAdvert = {}
local s,e, adver = strfind(Lines, "[^#]#(%S+)$")
if (FindAdver(adver) == "K") then
return 0
else
curUser:SendPM(BotName,"Aceste cuvinte ne doare..")
SendToOps("",curUser.sName.." e cu muja si face reclama la: "..msg)
return 1
end
end
end
spam = 0
if( strfind( strlower(data), "no",1,1) ) and ( strfind( strlower(data), "ip",1,1) ) then
if ( strfind( strlower(data), "com",1,1) ) or ( strfind( strlower(data), "org",1,1) ) or ( strfind( strlower(data), "info",1,1) ) then
spam=spam+1; end; end;
if( strfind( strlower(data), "my",1,1) ) and ( strfind( strlower(data), "ftp",1,1) ) then
if ( strfind( strlower(data), "com",1,1) ) or ( strfind( strlower(data), "org",1,1) ) or ( strfind( strlower(data), "info",1,1) ) then
spam=spam+1; end; end;
if( strfind( strlower(data), "dns",1,1) ) and ( strfind( strlower(data), "2",1,1) ) and ( strfind( strlower(data), "go",1,1) ) then
spam=spam+1; end
if( strfind( strlower(data), "dy",1,1) ) and ( strfind( strlower(data), "nu",1,1) ) then
if( strfind( strlower(data), ".net",1,1) ) or ( strfind( strlower(data), ".com",1,1) ) then
spam=spam+1;end; end
if( strfind( strlower(data), "d n s a",1,1) ) or ( strfind( strlower(data), "d n s .",1,1) ) or ( strfind( strlower(data), "d n s 2",1,1) ) or ( strfind( strlower(data), "o d s .",1,1) ) or ( strfind( strlower(data), "d y n",1,1) ) then
spam=spam+1;end
if spam>0 then
s,e,msg = strfind(data, "%b<> (.*)")
curUser:SendPM(BotName,"Aceste cuvinte ne doare..")
SendToOps("",curUser.sName.." e cu muja si face reclama la: "..msg)
end
end
end
end
function Verify(userdata, msg)
if not msg then return end
tmp =""
gsub(strlower(msg), "([a-?0-9.:%-])", function(x) tmp = tmp..x end)
if not tabAdvert[userdata] then
tabAdvert[userdata] = { iClock = clock(), l1 = "", l2 = "", l3 = "", l4= "", l5= "",l6= "",l7= "",l8= "",l9 = tmp}
else
tabAdvert[userdata].iClock = clock()
tabAdvert[userdata].l1 = tabAdvert[userdata].l2
tabAdvert[userdata].l2 = tabAdvert[userdata].l3
tabAdvert[userdata].l3 = tabAdvert[userdata].l4
tabAdvert[userdata].l4 = tabAdvert[userdata].l5
tabAdvert[userdata].l5 = tabAdvert[userdata].l6
tabAdvert[userdata].l6 = tabAdvert[userdata].l7
tabAdvert[userdata].l7 = tabAdvert[userdata].l8
tabAdvert[userdata].l8 = tabAdvert[userdata].l9
tabAdvert[userdata].l9 = tmp
end
local Lines = tabAdvert[userdata].l1.."#"..tabAdvert[userdata].l2.."#"..tabAdvert[userdata].l3.."#"..tabAdvert[userdata].l4.."#"..tabAdvert[userdata].l5.."#"..tabAdvert[userdata].l6.."#"..tabAdvert[userdata].l7.."#"..tabAdvert[userdata].l8.."#"..tabAdvert[userdata].l9
for value, key in ADVER do
if (strfind(Lines, strlower(value), 1, 1)) then
return Lines
end
end
end
-----------------------------------------
And i have this error:
Syntax error: bad argument #1 to `strfind' (string expected, got nil)
stack traceback:
1: function `strfind' [C]
2: function `SiteCheck' at line 46 [file `C:\PtokaX_0.330_15.25_\scripts\advertise.lua']
3: function `DataArrival' at line 107 [file `C:\PtokaX_0.330_15.25_\scripts\advertise.lua']
Syntax error: bad argument #1 to `strfind' (string expected, got nil)
stack traceback:
1: function `strfind' [C]
2: function `SiteCheck' at line 46 [file `C:\PtokaX_0.330_15.25_\scripts\advertise.lua']
3: function `DataArrival' at line 107 [file `C:\PtokaX_0.330_15.25_\scripts\advertise.lua']
And in the Advanced Options its show me like i loaded 2 times one single file.. 'advertise.lua'' with the same name.. and that its weird.. :)
Ths guys for your help
Hello.. I have other problem. I want disable it:
--------------------------------------------------------------------------------------------
--( Advertising )--
--------------------------
AD1 = "[USER] - [IP] is advertising, typing: [MSG]"
AD2 = "User is kicked for advertising"
AD3 = "You are kicked for Advertising !"
AD4 = "Advertising Censored, sorry."
AD5 = "User is warned for advertising"
AD6 = "User is timebanned for advertising"
AD7 = "User is banned for advertising"
AD8 = "You are warned for Advertising !"
AD9 = "You are timebanned for Advertising !"
AD10 = "You are banned for Advertising !"
--------------------------------------------------------------------------------------------
I have change this:
-- Advertising Trigs
ADVER = {
["myftpsite"]=1,["dns2go"]=2,["ip.com"]=3,["pornstarguru.com/page.php?x=37516&m=3"]=4,["ip.org"]=5,["ip.biz"]=6,["dynip.com"]=7,["d2g.com"]=8,["dyndns.org"]=9,["dynu.com"]=10,
["mine.org"]=11,["kick-ass.net"]=12,["darkdata.net"]=13,["ipme.net"]=14,["udgnet.com"]=15,["sytes.net"]=16,["d2g.biz"]=17,["homeip.net"]=18,["mine.nu"]=19,["depecheconnect.com"]=20,
["e-net.lv"]=21,["newgnr.com"]=22,["serveftp.com"]=23,["evildc.com"]=24,["bst.net"]=25,["bsd.net"]=26,["ods.org"]=27,["dnsalias.org"]=28,["x-host.net"]=29,["x-host.org"]=30,
["bounceme.net"]=31,["myvnc.com"]=32,["sytes.net"]=33,["xs4all.net"]=34,["xs4all.nl"]=35,["kyed.com"]=36,["finx.org"]=37,["ath.cx"]=38,["sheckie.net"]=39,["vizvaz.net"]=40,
["servebeer.com"]=41,["65.61.153.217/page.php?x=906228"]=42,["kicks-ass.com"]=43,["nerdcamp.net"]=44,["gotdns.org"]=45,["homeip.net"]=46,["cicileu.org"]=47,["cicileu.com"]=48,["3utilities.com"]=49,["bounceme.net"]=50,
["myftp.biz"]=51,["myftp.org"]=52,["myvnc.com"]=53,["no-ip.biz"]=54,["no-ip.com"]=55,["no-ip.info"]=56,["no-ip.org"]=57,["redirectme.net"]=58,["servebeer.com"]=59,["servecounterstrike.com"]=60,
["serveftp.com"]=61,["servegame.com"]=62,["servehalflife.com"]=63,["servehttp.com"]=64,["serveirc.com"]=65,["servemp3.com"]=66,["servepics.com"]=67,["servequake.com"]=68,["sytes.net"]=69,["zapto.org"]=70,
["ciscofreak.com"]=71,["damnserver.com"]=72,["ditchyourip.com"]=73,["dnsiskinky.com"]=74,["geekgalaxy.com"]=75,["net-freaks.com"]=76,["no-ip.ca"]=77,["no-ip.co.uk"]=78,["no-ip.net"]=79,["point2this.com"]=80,
["securityexploits.com"]=81,["securitytactics.com"]=82,["servehumour.com"]=83,["servep2p.com"]=84,["servesarcasm.com"]=85,["stufftoread.com"]=86,["unusualperson.com"]=87,["workisboring.com"]=88,["hopto.org"]=89,["pornstarguru.com"]=90,
}
in
-- Advertising Trigs
ADVER = {
}
but I don't have resolve.... What I do? tnk a lot
My HUB: planetarium.no-ip.org
hello belea
have you still got the original version of the script if yes replace it with the old one i had the same problem and i have tried this i don't know why but it worked :D
perhaps it's going to work on your script also
greetings Soul Reaver
Ello,
I got this error
Syntax error: assertion failed! hFile equals nil
stack traceback:
1: function `assert' [C]
2: function `Serialize' at line 85 [file `NXS-3/data/Serialize.lua']
3: function `SaveToFile' at line 112 [file `NXS-3/data/Serialize.lua']
4: function `LogOutUser' at line 946 [file `...\scripts\NXS-3.lua']
5: function `UserDisconnected' at line 455 [file `...\scripts\NXS-3.lua']
Not sure what it is but can any one help?
Thanx HeavensDevil :)
I use version 3.9a but.. I want disable adversiting and censure.... Is it possible? Thanks a lot ^^
Great work btw Dyzan i used the nxs-3 b4 but moved on to to THOR, but have come back to use your version, now i remembered why i used it in the first place!!
Keep it up fella
Hello, i have find bug and fixed it.. Command !redirectallnow not found...... have this error:
Syntax error: attempt to concat global `REDIRECT' (a nil value)
stack traceback:
1: function `DoRedAll' at line 1009 [file `NXS-3/data/FUNCTIONS.lua']
2: function <53:file `NXS-3/data/COMMANDS.lua'> at line 53
3: function `GetCom' at line 649 [file `...lanetarium-scripts.no-ip.info\scripts\NXS-3.lua']
4: function `DataArrival' at line 546 [file `...lanetarium-scripts.no-ip.info\scripts\NXS-3.lua']
for resolve it change in data\FUNCTIONS.lua
-- Redirect All Users --
function DoRedAll(curUser,data)
curUser:SD(BotName, " are redirecting all users to: "..REDIRECT)
SendToAll(BotName, "Redirecting... |$ForceMove "..REDIRECT.."|")
end
to
-- Redirect All Users --
function DoRedAll(curUser,data)
curUser:SD(BotName, " are redirecting all users to: "..frmHub:GetRedirectAddress())
SendToAll(BotName, "Redirecting... |$ForceMove "..frmHub:GetRedirectAddress().."|")
end
bye bye at all
Hello.... I have fixed most bug... can I made NXS 3.9b ???
Well I don't mind, it is open source so go on, and it is a closed project for me, so....
Hello NightLitch.... thanks for all.... I'm very happy for your permission.. very thanks at you and DyzaN....
PS: have change you avatar... LoL ^_^
NightLitch The BEST LMAO
Hello I work at NXS3.9b....
This is ChangeLog:
3.9b : 6Marilyn6Manson6 fixed bug of scripting 3.9a .
Fixes a bug in redirectallnow [ now work ^^ ].
Fixes a bug in VipChatRoom [ now only VIP login in chat ].
Fixes a bug in registered Master [ now only HubOwner can registere they ].
Fixes a bug in MB.
Change Flood Functions [ now only op see ban ].
Change command mmops [ it can now be used also by the simple user ( good for report fake/ecc ecc ].
and other... thanks for all ;)
bye bye
Send me the changes. I kan update and do a official release of it. And ofcource. Many thanks to 6Marilyn6Manson6.
Hello Dyzan... I love NXS. I have hub of 1600 users with PtokaX and... I use NXS because I things is very very good. bug is:
if you yse command !redirectallnow you have this error:
Syntax error: attempt to concat global `REDIRECT' (a nil value)
stack traceback:
1: function `DoRedAll' at line 1009 [file `NXS-3/data/FUNCTIONS.lua']
2: function <53:file `NXS-3/data/COMMANDS.lua'> at line 53
3: function `GetCom' at line 649 [file `...lanetarium-scripts.no-ip.info\scripts\NXS-3.lua']
4: function `DataArrival' at line 546 [file `...lanetarium-scripts.no-ip.info\scripts\NXS-3.lua']
and I for resolve it have change in FUNCTIONS.lua :
-- Redirect All Users --
function DoRedAll(curUser,data)
curUser:SD(BotName, " are redirecting all users to: "..REDIRECT)
SendToAll(BotName, "Redirecting... |$ForceMove "..REDIRECT.."|")
end
to
-- Redirect All Users --
function DoRedAll(curUser,data)
curUser:SD(BotName, " are redirecting all users to: "..frmHub:GetRedirectAddress())
SendToAll(BotName, "Redirecting... |$ForceMove "..frmHub:GetRedirectAddress().."|")
end
other bug: VipChat... because.... if it is VipChat... I things.. only vip use it.
other bug:
Syntax error: attempt to index local `vUser' (a nil value)
stack traceback:
1: function `KicksRegVipOp' at line 155 [file `NXS-3/data/Handlings.lua']
2: function `ToKickMsg' at line 1036 [file `... HUB =-\planetarium.no-ip.org\scripts\NXS-3.lua']
3: function `DataArrival' at line 552 [file `... HUB =-\planetarium.no-ip.org\scripts\NXS-3.lua']
other bug: registered master not found
dyzan.... i want betatester of NXS ... pleaseeee i love it ^^
and I have request.... add command !changeredfull for change hub of redirect for hub full...
bye bye bye byeeee
Hmm, I guess I have to start working again on NXS-3. My life is emty enough. Just to draw some time.
Well, I will lock at the bugs. Theres some bogus here and there.
You can all wait for 3.9b release soon.
Yes yes yesssssssss i wait... and i test it ;) thanks Dyzan thanks NightLitch
If you havent already, im in the pre-lim stages of making a GUI for it.
Cant wait for the next release, love this bot!
i have a question, is there a way to allow some right click menu commands also for reg and vip users?
QuoteOriginally posted by FrAcTi0n
i have a question, is there a way to allow some right click menu commands also for reg and vip users?
Yes, that would not be impossible. :]
curUser:SendData("$UserCommand 1 3 Info\\Show Hub Info$<%[mynick]> !hubinfo||")
curUser:SendData("$UserCommand 1 3 Info\\Show Hub Time$<%[mynick]> !uptime||")
curUser:SendData("$UserCommand 1 3 Info\\Show VIPs$<%[mynick]> !showvips||")
curUser:SendData("$UserCommand 1 3 Info\\Show Regs$<%[mynick]> !showregs||")
I currently use right click commands like the ones above - isn't it just a case of changing the 1 3 to the numbers of the rank you want to have the commands??
1 3 means its in hub menu/user menu either. The prob is rather this:
local rccustomcmd2="$UserCommand 1 3 LawMaker\\Help\\Show hublists$<%[mynick]> !"..customcmd2.."|"
Note that | is missing from end.
Lost me fella! I see the difference - but whats the prob?
QuoteOriginally posted by n1ck
Lost me fella! I see the difference - but whats the prob?
nvm i misunderstood the whole thingy. i thought this is the other thread ;)
lol @ me
lol - yeah you did have me rather confused there fella :D