PtokaX forum

Archive => Archived 4.0 boards => Finished Lua 4 scripts => Topic started by: NightLitch on 29 January, 2004, 18:18:37

Title: NXS-3
Post by: NightLitch on 29 January, 2004, 18:18:37
(http://swenorth.myftp.org/network/nightlitch/nxs-3.jpg)
for PtokaX 0.3.3.0 & TD4  
Current Version: 40

Features:
               * Levels (Master/Moderator/Operator/VIP/REG/User)
               * Client Check (Slot/Hub/Version/Limiter)
               * Share Check
               * Spam Protection
               * Advertising Protection
               * On/Off Switches on most of the things
               * Commands for each level
               * UserInfo Database
               * Save UserInfo to file each 30 min
               * UserLog
               * Kick/Ban/Warn Counter
               * MaxWarn/MaxKick's = Kicked/banned
               * TopKickers
               * Multi Language
               * FreshStuff
               * Much Features....


 

DOWNLOAD HERE!    (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.4.0.rar)
Title:
Post by: NightLitch on 29 January, 2004, 18:20:06
as you all can see there is not commands in it yet. Will implent for
Master, Moderator & Operator soon.
Title:
Post by: DoN on 29 January, 2004, 18:32:42
Going to give this a try as I've been planing to start a hub of my own but aint really found a script that will accomodate my needs. Guess thats where me trying to learn lua comes in ;) But could it also be possible to add a FreshStuff v.3.3 type of functions?
Title:
Post by: NightLitch on 29 January, 2004, 18:38:43
maybe gonna add the commands first. doing it as we speak.
Title:
Post by: kepp on 29 January, 2004, 19:12:54
Nice one :)
Title:
Post by: NightLitch on 29 January, 2004, 19:19:06
Thx Kepp
Title:
Post by: NightLitch on 29 January, 2004, 19:30:28
Available Commands soon:



       ? User Commands ?
          ?????????????
!!            -   Call the Bot
!help            -   Show Help for current user
!rules            -   Show Hubs Rules
!network            -   Show Hubs Network
!hubinfo            -   Show Hub Info
!showregs         -   Show Registred Users List
!showvips            -   Show Registred VIP List
!showstaff         -   Show The Hubs Staff
!uptime            -   Show Hubs Uptime
!myhubtime         -   Show Your Uptime
!share            -   Show Hubs Current Share Limit And Yours
!myip            -   Show Your IP
!away          -   Away Mode On
!back            -   Away Mode Off
!showaways         -   Show Aways
!myinfo            -   Show my info
 
       ? Operator Commands ?
          ????????????????
!kick [reason]      -   Kick user with reason
!ban [reason]      -   Permanently ban IP address of the
!drop          -   Silent kick with tempban
!banip          -   Permanently ban IP address (Only Main)
!warn [reason]      -   Warn user with reason, ( if offline, message sent on next login )
!deluser          -   Delete Registered user  
!adduser       -   Register user ( reg, vip, op, mod, mas )
!timeban [m/h/d] [reason]   -   TimeBans a user for ( Min/Hour/Day )
!mmops          -   Send mass message to all Ops
!mmvips          -   Send mass message to all Vips
!mmregs          -   Send mass message to all Registred users
!mm          -   Send mass message to all users
!notification       -   Set notification
!findban          -   Find ban user in tempban-list
!cleartemp         -   Clear temp ban-list (Only Main)
!info          -   Show Online/OffLine user Info
!op          -   Make an user Temp OP
!unban          -   Unban Ip address or nick (Only Main)
!nickban          -   Ban user's nick (if user is connected then he is kicked) (Only Main)
!getbanlist         -   Display list of banned IP addresses (Only Main)
 
       ? Moderator Commands ?
          ??????????????????
!redirectallnow         -   Redirect all users immediately to redirect address
!getpass          -   Get users password
!settings            -   Show settings Info
!whois          -   Show Ripe.Net info on user
 
       ? Master Commands ?
          ???????????????
!chhubname       -   Change hub name
!chdesc       -   Change hub description
!chmaxusers          -   Changes maxusers in the hub to given value
!chredall          -   Enable/disable the redirectall functionality
!chredfull          -   Enable/disable the redirectfull functionality
!restart            -   Restart hub
!restartscripts         -   Restart scripting part from the hub
!clrpermban         -   Clear permban list
 
Title: Nice...NightLitch!!! =)
Post by: WickeD on 29 January, 2004, 21:00:08
Gr8 work m8!!  =)

Locking fine!!

//WickeD
Title:
Post by: NightLitch on 29 January, 2004, 21:23:36
ThX Ume? snubbe... :-p
Title:
Post by: NightLitch on 29 January, 2004, 23:18:13
New version out:



# Commands Added...

NOTE: Report bugs plz...

NXS-3 Ver.0.6    (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.0.6.rar)
Title:
Post by: NightLitch on 29 January, 2004, 23:22:48
And plz be nice to my creation. :-)

And plz give me requests, that I maybe will put in.
Title:
Post by: kepp on 29 January, 2004, 23:23:23
OK, i double my 'nice' to 10*nice :D
Title:
Post by: NightLitch on 29 January, 2004, 23:27:42
QuoteOriginally posted by kepp    
 
OK, i double my 'nice' to 10*nice :D

sounds good :P
Title:
Post by: pHaTTy on 29 January, 2004, 23:39:21
lol common be nice

-- Max Share in GB
MaxShare = 500

one of my mods had 800GB ;)
Title:
Post by: NightLitch on 29 January, 2004, 23:46:52
QuoteOriginally posted by (uk-kingdom)pH?tt?  
   
lol common be nice

-- Max Share in GB
MaxShare = 500

one of my mods had 800GB ;)
 

Well that is just a standard from our hub... sorry bro. :-D
you could raise it yourself you know... hope you now how... hehe :-P
Title:
Post by: NightLitch on 30 January, 2004, 00:45:51
Update again:

NXS-3 ver. 0.7 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.0.7.rar)

Simple UserInfo DataBase added. Gonna develope it more later.

I feelt like keeping this bot updating so often I can.
Title:
Post by: plop on 30 January, 2004, 06:04:46
QuoteOriginally posted by (uk-kingdom)pH?tt?
lol common be nice

-- Max Share in GB
MaxShare = 500

one of my mods had 800GB ;)
only 800GB??
i can't post the picture here but our network owner has acces 2 a hub with about 71 users sharing over 20TB 2gether (8 users above 1TB, with 2 on 1.7TB), and that was from a year back. lol
+ the fact that i had a old vip from our main hub requesting if the max share of 2TB could be increased. lol

plop
Title:
Post by: angelsanges on 30 January, 2004, 10:48:43
good & nice bot...if you want i'll translate it to italian

 :D
Title:
Post by: NightLitch on 30 January, 2004, 12:06:20
Thx angelsanges, gonna work on a multi language function before.
Title:
Post by: Dyzan on 30 January, 2004, 13:35:52
This is great! ;o)

How many bots have you done now NL? I have lost my counting...

Will NXS-3 work on td4 only or will it only be working well on PtokaX 0.3.3.0???

/Dyzan @ Swenorth
Title:
Post by: NightLitch on 30 January, 2004, 13:42:59
Well you now what they say, you can never stop learning.

This bot will be a replacement instead of BC(Naxos) later.

But will take a while.
Title: Nice!!! =)
Post by: WickeD on 30 January, 2004, 17:18:51
Very nice script!! =)

Can you add count in Warn command? And when users type myinfo, it will show have many Warn and kick the user have?

//WickeD
Title:
Post by: NightLitch on 30 January, 2004, 17:42:47
The Counter part you don't need to worry about.

Is already in progress til next version.
Title: =)
Post by: WickeD on 30 January, 2004, 18:32:32
Gr8 m8!!  =)

//WickeD
Title:
Post by: NightLitch on 31 January, 2004, 15:17:23
Upcoming features:

? Very usefull UserInfo much crap :-D
? Counters added so far: Kick, Ban, Warn to come: UpTime, Total Kick,Ban,Warn's

? IP-Script part (on/off) switch becouse not everyone wants it.

Well a little look over.

Have a nice day everyone.
Title: Very nice NightLitch!!
Post by: WickeD on 31 January, 2004, 16:01:47
Locking fine!!  =)

I will use your script!, when it is updated!

Cant wait to see it in action!  =)

Good work so far!

//WickeD
Title:
Post by: DoN on 31 January, 2004, 20:28:58
Just wonderin if you had thought about including some sort of Freshstuff bot. Or maybe even better.??


Brgs
Title:
Post by: NightLitch on 31 January, 2004, 21:39:40
It will come.
Title:
Post by: NightLitch on 31 January, 2004, 22:43:29
New Version Out:

NXS-3 Ver.1.0 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.1.0.rar)

------------------------------------------------------
-- Features:
--               ? Levels (Master/Moderator/Operator/VIP/REG/User)
--               ? Client Check (Slot/Hub/Version/Limiter)
--               ? Share Check
--               ? Spam Protection
--               ? Advertising Protection
--               ? On/Off Switches on most of the things
--               ? Commands
--               ? UserInfo Database
--               ? Save UserInfo to file each 30 min
--               ? UserLog
--               ? Kick/Ban/Warn Counter
------------------------------------------------------
Title:
Post by: NightLitch on 31 January, 2004, 22:47:15
Fixes done:

Some fixes in Client Check.
Fixed Some errors in some commands.

Tell me if you guy's find more.

Version 1.0 should be 99.99% functional.
Title: Hi...NightLitch!
Post by: WickeD on 01 February, 2004, 11:18:49
When i type !myinfo i only get this info:
 -----=============================================================---
   IP: 212.32.167.167
   Client DC++ v. 0.25
   Share: 57.79 Gb
   Slots: 6 Slot(s).
   You are in 0 Hub(s) as User.
   You are in 0 Hub(s) as Registered user.
   You are in 1 Hub(s) as Operator.
   Bandwidh Limiter: unlimited kB/s
   You are in Active Mode.
 -----=============================================================---

Can users not get there Warn and kick count in there info?

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 01 February, 2004, 11:24:10
When i type !showstaff it do not show it! The hub say this: Syntax Error: `for' table must be a table

What is wrong?

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 01 February, 2004, 11:43:14
Can you add in settings a on/off funktion for Client Vers Check?

It say when i logg on to the hub that my oDC 5.12 is a DC++ 0.25!   Why?


//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 01 February, 2004, 11:55:35
The hub shows this massage: Syntax Error: attempt to concat global `message' (a nil value)  And i think it shows when a user is entering the hub! (I tink)

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 01 February, 2004, 12:01:51
Hehe!! it?s me!!  =)

Can you fix the !away massage so it loggs in a text fil and so the away massages do not disappears when i restart the script?

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 01 February, 2004, 12:28:46
The hub is showing this massages to: Syntax Error: attempt to compare nil with number
Syntax Error: attempt to concat field `H' (a nil value)
Syntax Error: attempt to compare nil with number
Syntax Error: attempt to concat field `H' (a nil value)
Syntax Error: attempt to compare nil with number
Syntax Error: attempt to concat field `H' (a nil value)
Syntax Error: attempt to compare nil with number
Syntax Error: attempt to compare nil with number
Syntax Error: attempt to compare nil with number


Why?

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 01 February, 2004, 12:41:22
This is the info i wonder if you can add to !myinfo for users command:
    Warn(s):      0 Time(s)
    Warn Reason:   N/A, Time: N/A
    Warned by:   N/A
    Kick(s):      0 Time(s)
    Kick Reason:   N/A, Time: N/A
    Kicked by:   N/A

//WickeD
Title:
Post by: NightLitch on 01 February, 2004, 13:39:28
Would be great if you specify witch version you get the errors in especially

Syntax Error: attempt to concat field `H' (a nil value)
Syntax Error: attempt to compare nil with number
 

think I fixed this before releasing 1.0.

Sure Can put the aways in a file haven't thinked about it.

and can put in the Warn etc. in myinfo to.

strange with the client detection gonna check it.
Title:
Post by: f3rry on 01 February, 2004, 13:51:47
Hi NightLitch

I realy like your script, but there are stil errors.I'm using your latest version NXS-3 Ver.1.0

I get this error, when a user connect my hub
Syntax Error: attempt to concat field `H' (a nil value)
Syntax Error: attempt to compare nil with number

Ans i also get a very strange error, i'm using Odc  5.212
but it say's my client is DC++
IP: xxx.xxx.xxx.xxx :)
Client DC++ v. 0.25
Share: 157.79 Gb
Slots: 2 Slot(s).
You are in 0 Hub(s) as User.
You are in 1 Hub(s) as Registered user.
You are in 1 Hub(s) as Operator.
Bandwidh Limiter: unlimited kB/s
You are in Active Mode.

I hope you fix it. Good Luck
Title:
Post by: NightLitch on 01 February, 2004, 13:57:09
I get this error, when a user connect my hub
Syntax Error: attempt to concat field `H' (a nil value)
Syntax Error: attempt to compare nil with number
 


I have messed around really much with this error and it still keep coming back.

gonna fix it as we speak.
Title:
Post by: NightLitch on 01 February, 2004, 14:16:23
Need to rewrite the Hub system in client check again. so be pacience. Had forgotten about the older oDC's so have a little more to rewrite...

Update will come latest tonight 24.00 sweden time.
Title:
Post by: pHaTTy on 01 February, 2004, 14:20:32
QuoteOriginally posted by NightLitch
Need to rewrite the Hub system in client check again. so be pacience. Had forgotten about the older oDC's so have a little more to rewrite...

Update will come latest tonight 24.00 sweden time.

whats that in GMT? how far ahead in hours is sweden?

gmt+2?
Title:
Post by: f3rry on 01 February, 2004, 14:44:37
Hi NightLitch

I'was stil testing your script. Maybe i have found the reason, but i'm not sure.
When a user connects with a complete tag, like
<++ V:0.25,M:A,H:0/0/3,S:3>  there are no errors.

But if a user connects with this tag
<++ V:0.25,M:A,H:0,S:3> then i get this error

Syntax Error: attempt to compare nil with number
Syntax Error: attempt to concat field `H' (a nil value)


Maybe it's possible for you to make your script working in Ptokax 0.3.3.0
I would realy appreciate that ;)



Good luck..
Title:
Post by: pHaTTy on 01 February, 2004, 14:59:35
add nil check, something like

if strfind(nick.sMyInfoString,"H:(%x+)") then
_,b, guest = strfind(nick.sMyInfoString,"H:(%x+)/")
if guest == nil then
_,b, hubs = strfind(nick.sMyInfoString,"H:(%x+)")
tmp = tmp.."\tConnected to: "..hubs.." hub(s)\r\n"
else
_,b, regged = strfind(nick.sMyInfoString,"H:%x+/(%x+)/")
_,b, opped = strfind(nick.sMyInfoString,"H:%x+/%x+/(%x+)")
tmp = tmp.."\tConnected to: "..guest.." - hub(s) as regular user\r\n"
tmp = tmp.."\tConnected to: "..regged.." - hub(s) as registered user\r\n"
tmp = tmp.."\tConnected to: "..opped.." - hub(s) as operator\r\n\r\n"
end
else
tmp = tmp.."\tConnected to: Unknown hub(s)\r\n"
end
Title:
Post by: NightLitch on 01 February, 2004, 16:14:17
ThX Phatty apriciate it. (can't spell) hehe...
Title:
Post by: NightLitch on 01 February, 2004, 16:17:43
QuoteOriginally posted by f3rry

Maybe it's possible for you to make your script working in Ptokax 0.3.3.0
I would realy appreciate that ;)

Well it is for 0.3.3.0. That the Hubsoft I test it in.

Will fix the hub error now.
Title:
Post by: f3rry on 01 February, 2004, 16:43:13
QuoteWell it is for 0.3.3.0. That the Hubsoft I test it in.

Yes it works in 0.3.3.0  :]
Maybe is was cunfused with one of your earlyer versions
Title: Hi...NightLitch!
Post by: WickeD on 01 February, 2004, 19:43:01
I'm using your latest version NXS-3 Ver.1.0

And my errors are:
Syntax Error: attempt to compare nil with number
Syntax Error: attempt to concat field `H' (a nil value)
Syntax Error: attempt to concat global `message' (a nil value)

Can you add in settings: WarnCount until kick:  "3" And KickCount until PermBan: "3" ?

//WickeD
Title:
Post by: NightLitch on 01 February, 2004, 22:22:24
Sure no problem WickeD. I have almost solved the client check now. working on the old oDC check I messed up a little bit
so in the end I ended up rewriting it but it almost looks the same.

And Thx Phatty for the Hub solve. A new version will be up in about 3 hours.
Title: New Version
Post by: NightLitch on 02 February, 2004, 00:07:57
New Version:

NXS-3 Version: 1.1 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.1.1.rar)

Will update the first post here to from now on.

Added:

   * Fixed some stuff in Client Check, Would want some help with the Version check from Phatty or Plop or anyone else for ex: 0.241A getting nil on this version.

   * Added AwayFile (request from: WickeD)
   * Added Max Warn & Max Kicks's

To Come:

   * Some on/off switches
   * Update in the Client Check again
   * And some other stuff.

/NL
Title:
Post by: f3rry on 02 February, 2004, 00:31:41
Nightlight nice work, but i still found an error

If i type !myinfo with my client without a tag, i get this error.

No syntax errors in script file NXS-3.lua
Syntax error: attempt to concat field `V' (a nil value)
stack traceback:
   1:  function `DoMyInfo' at line 939 [file `NXS-3/data/ComFunc.lua']
   2:  function `Com' at line 131 [file `NXS-3/data/ComFunc.lua']
   3:  function `MainCom' at line 393 [file `D:\Ptoka\scripts\NXS-3.lua']
   4:  function `DataArrival' at line 328 [file `D:\Ptoka\scripts\NXS-3.lua']

Waiting for fix, good Luck
Title:
Post by: f3rry on 02 February, 2004, 01:47:03
Hi Nightlitch

The option Fake Client (Fake Taging) doesn't work either.

Btw: Is it possible to make a self-registration system in it? That would be great. 8)
Title: Hi...NightLitch!
Post by: WickeD on 02 February, 2004, 06:18:50
I'm using your latest version NXS-3 Ver.1.1

I like you script very mutch!  =)

The command !showstaff do not work!

Thx for the info in my hub about the update 1.1!

(Typing in Swe: Men du kan skriva p? Swe i hubben till mig. =) Vist ?r du i SweNorth1 hubben?)

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 02 February, 2004, 06:36:21
Hihi!  =)

Now the command !showstaff is working fine!

I added a Moderator profile in the hub software, and it works!

Keep up the real nice work whit NXS-3!

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 02 February, 2004, 13:18:17
I am geting this errors:
Syntax Error: attempt to compare nil with string
Syntax Error: attempt to concat field `V' (a nil value)
Syntax Error: attempt to concat global `message' (a nil value)

Why?

//WickeD
Title:
Post by: NightLitch on 02 February, 2004, 13:21:34
LOL sorry for that. forgot to mention that. Or forgot to add my Profile.dat file. Really Sorry.

QuoteFrom f3rry

1.The option Fake Client (Fake Taging) doesn't work either.

2.If i type !myinfo with my client without a tag, i get this error.

A1: Well it works but only sense it on the Stealth "Hubs" will ask Plop for more help in this issue.

A2: Hehe forgot a damn little NIL again. will fix it.
Title:
Post by: NightLitch on 02 February, 2004, 13:23:41
Have notice a bug myself yesterday in version check that
I get nil when I log in with CZDC++ or DC++ 241A but will do a check and se if it is just a small thing I have written wrong.
Title:
Post by: NightLitch on 02 February, 2004, 13:53:31
New UpDate:

NXS-3 Version: 1.2 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.1.2.rar)

Some Fixes done.

Read the beginning in NXS-3.lua to see changes.
Title: Hi...NightLitch!
Post by: WickeD on 02 February, 2004, 15:35:29
Good work m8!!  =)

But !mm command do not work for mee!

So you now!

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 02 February, 2004, 15:53:09
When i write in settings on NXS-3 1.2 that -- Send Msg in PM -- the loggin massage to users do not show in mainchat but on the list under chat window!

Can you fix so it shows in main chat? When all adder massage shows in PM?

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 02 February, 2004, 16:44:00
Runing NXS-3 1.2 Get this error: Syntax Error: attempt to concat global `message' (a nil value)


//WickeD
Title:
Post by: NightLitch on 02 February, 2004, 18:04:33
Have any idea what triggerd it ??? have so many message in the script... so... and you gave no line either.
Title: Hi...
Post by: WickeD on 02 February, 2004, 18:43:20
The error massage I get is when users enter the hub! Not all users give errors.

That is all I now! Sorry!

//WickeD
Title:
Post by: WickeD on 02 February, 2004, 18:45:35
And add VIP do not work for mee!


//WickeD
Title:
Post by: NightLitch on 02 February, 2004, 19:18:41
Notice that thx WickeD. Gonna check into all this.
Title: Thx NightLitch!!
Post by: WickeD on 02 February, 2004, 19:21:37
You are a gr8 m8!!!

//WickeD
Title:
Post by: WickeD on 02 February, 2004, 19:49:07
I tink the error  Syntax Error: attempt to concat global `message' (a nil value)  are when VIP loggs on to the hub! (I tink)  


//WickeD
Title:
Post by: NightLitch on 02 February, 2004, 21:04:29
Ok you where right about the VIP thing.

but next time you post a error plz. insert the error line to.

Ex:

Syntax error: attempt to concat global `message' (a nil value)
stack traceback:
   1:  function `DataArrival' at line 319 [file `C:\PtokaX\scripts\NXS-3.lua']


Have a good one ; NL
Title:
Post by: NightLitch on 02 February, 2004, 21:48:18
New Version out:

NXS-3 Version: 1.3 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.1.3.rar)

Fixes/Addons:

* Fixed the 'message' nil error
* Added Max Counter (MaxUsers,MaxShare,HubUpTime)
* Added some new commands: !status(master), !online(operator)
Title: Hi...NightLitch!
Post by: WickeD on 02 February, 2004, 22:53:40
In NXS-3  Ver.1.3 The command !mm do not work for me. and no error massage!

//WickeD
Title:
Post by: WickeD on 02 February, 2004, 22:55:56
Can you fix so [Bot]~Op~Chat~ is name [Bot]Op-Chat and have a yellow key?

//WickeD
Title:
Post by: f3rry on 03 February, 2004, 01:09:46
Hi NightLitch

Your script is getting better every day, i like it!!
Nice to see you have made a vip chat in the script.

Maybe you can fix the following points.

!info without a nick Doesn't show the syntax error message.
 
The Advertising triggers doesn't work.

Where is the userinfo for, it seems that it doesn't work either, or am i wrong.

How can i use the Offline Messages?
Title:
Post by: c h i l l a on 03 February, 2004, 01:17:36
nighlitch...

just one thing, the whois, you took from logger (LIS),
well I just modded it to make it a little faster, well excatly to close the socket as soon as possible, but it was actually from tezlo.

else a nice bot, but you should get into tables..
you will be so happy, each time you add a new command ;).
Title: Hi...NightLitch!
Post by: WickeD on 03 February, 2004, 06:03:27
My profiles are:

0|Master|11111111111111111111000000000000
1|Operator|11111111111111111111000000000000
2|VIP|00000000000000000000000000000000
3|Reg|00000000000000000000000000000000
4|Moderator|10000000001000000000000000000000

Is that right?

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 03 February, 2004, 13:22:54
Now there are 2 commands that don?t work for me:
!mm
!settings

Are my Profiles right?

//WickeD
Title:
Post by: Optimus on 03 February, 2004, 14:48:27
Quoteelse a nice bot, but you should get into tables..
you will be so happy, each time you add a new command ;).

hi Chilla, how does that look like?

Btw, nice bot Night
Title:
Post by: c h i l l a on 03 February, 2004, 16:12:34
table with functions:


table = {
   test1 = function() end,
   test2 = function() end,
}

Title:
Post by: NightLitch on 03 February, 2004, 17:16:35
QuoteNow there are 2 commands that don?t work for me:
!mm
!settings

Are my Profiles right?

//WickeD

hehe !settings doesn't exist yet.. forgot to -- in help...

and mm I don't understand why it doesn't work for you when it does for me.

the profiles is right btw.
Title:
Post by: NightLitch on 03 February, 2004, 17:18:51
QuoteOriginally posted by Chilla

nighlitch...

just one thing, the whois, you took from logger (LIS),
well I just modded it to make it a little faster, well excatly to close the socket as soon as possible, but it was actually from tezlo.

else a nice bot, but you should get into tables..
you will be so happy, each time you add a new command ;).

Thx Chilla. But haven't had the time looking into makin command into tables gonna try it.

How do I call it in Dataarrival then, this is mine now:

function MainCom(curUser,data)
data=strsub(data,1,strlen(data)-1)
local _,_,cmd = strfind(data, "%b<>%s+(%S+)")
if not cmd then cmd = "0" end
if (strsub(cmd, 1, 1) ~= Prefix1 and strsub(cmd, 1, 1) ~= Prefix2) then
return 0
else
cmd = strlower(cmd)
if strlen(cmd) > 1 then
cmd=strsub(cmd,2,strlen(cmd))
local SendCom = (Com(curUser,data,cmd))
if not SendCom then
return 1
else
return SendCom
end
end
end
end
Title:
Post by: NightLitch on 03 February, 2004, 17:20:54
QuoteOriginally posted by Optimus

Btw, nice bot Night

Thx m8 yours is not soo bad either ;-p.

envy the program you set the settings in.

But Is half there I think, I have a CGI atleast coming to webb. that is a start right ? :-)
Title:
Post by: NightLitch on 03 February, 2004, 17:22:59
Chilla give me a short breif on how I create the command call from table.

It will be much nicer yeah. I don't need to write elseif & cmd== jada jada... any longer then.

plz show me.

/Thx
Title:
Post by: c h i l l a on 03 February, 2004, 17:34:39
take a look here (http://board.univ-angers.fr/thread.php?threadid=1199&boardid=12&styleid=1&sid=7c84d6d9ccfbc2523a53772b982467e2)

and

here (http://board.univ-angers.fr/thread.php?threadid=1175&boardid=12&styleid=1&sid=7c84d6d9ccfbc2523a53772b982467e2)

and LIS uses it also :)
Title:
Post by: NightLitch on 03 February, 2004, 18:14:00
One question here Chilla, can I put ex. the tables at the end of my file if I say I want it that way ??
Title:
Post by: c h i l l a on 03 February, 2004, 19:25:56
sure...  put them table anywhere in the script..

just not into a function, else you only want you table only sometimes.
see ptokax reads a script. first from top to end.
and if you create a table in between, it doesn't matter.
Title:
Post by: NightLitch on 03 February, 2004, 22:14:08
Ahh.. Thx ALOT man can I do the script differently now. hehe

Well gonna try first the command-table soon enough first.
Title:
Post by: c h i l l a on 03 February, 2004, 22:21:34
no problem,  and what is also great is that your script will get faster, cause you don't need your if's and esleifs anymore :)
Title:
Post by: NightLitch on 03 February, 2004, 22:27:54
Well to tell you the truth, I am sick of them.

Am sick off all curUser:SendData or PM to

So have done it Local Msg etc. now.

But know that is a pain to. hehe

trying to find the fastest way programming by testing my
capasity on the keyboard.

NOTE: This is not a way near to be competion Phatty or anyone
trying to be fast writing in this Forum... hehe

Sure I must be able to do the ex:

Kick/Ban/Warn functions have say almost the same function beside a few lines. that must be able to combine.

Gonna take a closer look in LIS about your IP catching & computing. Cause my HubOwner wants the ip-part in the script.

What is faster; having the ip-script beside or inside my NXS-3 ???

ThX Chilla/ NL
Title:
Post by: NightLitch on 03 February, 2004, 23:46:00
Question Chilla:

How do I make the profile checks now on the commands ??

do I need more tables ??? or what ??

here is my "test" code:

STATSFUNC = {
["!test"] = function(curUser,data) DoHelp(curUser,data) end,
}

function DataArrival(curUser,data)
if ( strsub(data, 1, 1) == "<" ) then

data = strsub(data,strlen(curUser.sName)+4,strlen(data)-1)
local _,_,cmd = strfind(data,"^(%S+)")

if cmd and STATSFUNC[cmd] then
SendToAll(STATSFUNC[cmd](curUser,data))
end
end
end

plz help me out. this All new, haven't handle the commands in a table.
Title:
Post by: NightLitch on 04 February, 2004, 00:00:39
New Version out for for the moment:

NXS-3 Version 1.4 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.1.4.rar)
Title: Hi...
Post by: WickeD on 04 February, 2004, 05:49:30
Good work m8!  =)

Thx a lot!

//WickeD
Title: Hi...King of scripts!! =)
Post by: WickeD on 04 February, 2004, 06:10:46
Look... I typed !status and gut this info in mainchat:
--------------------------------------------------
These are the current stats:
--------------------------------------------------
Unknown commands: 0 x
PM commands: 0 x
--------------------------------------------------
Key commands: 30 x
MyInfo commands: 16 x
ValidateNick commands: 30 x
GetInfo commands: 45 x
Password commands: 3 x
Version commands: 11 x
--------------------------------------------------
GetNickList commands: 11 x
GetBanList commands: 0 x
--------------------------------------------------
Search commands: 0 x
SR commands: 0 x
CTM commands: 0 x
RevCTM commands: 0 x
--------------------------------------------------
ClientSocket Errors: 0 x
MHSocket Errors: 2 x
MHubReconnectCounter: 255 x

And next time I typed !status I gut this massage:
      Hub Status
 -----=============================================================---
      File:               Size:
      ???               ????
      userinfo.dat            0.00 Kb.
      userlog.dat            0.23 Kb.
      awaylog.dat            0.04 Kb.
      warnlog.dat            0.00 Kb.
      kicklog.dat            0.00 Kb.
      banlog.dat            0.00 Kb.
 
       0 user(s) max counted.
       Hub uptime 4 min(s)
       Highest share shared: 0.000 TB
 -----=============================================================---

And I can not get tha first massage again. Only getting the second massage. How come?

Is it me that is very tired ore what?  *Smiling*

//WickeD
Title:
Post by: c h i l l a on 04 February, 2004, 11:25:27
either check in the function or on the command.
But just read, LIS...  you will find so many ways of handling tables in it, it's great :).

you can also call functions you can find it in
crazy script.
Title:
Post by: NightLitch on 04 February, 2004, 12:38:42
WickeD: I will change command name.

Chilla: Ok Thx, Gonna check it out then. but hope if I don't get it, you halp me out.

/NL
Title: Hi...NightLitch!
Post by: WickeD on 04 February, 2004, 15:34:22
Can you add in NSX-3 Bad-Files-Check funktion that check users when they enter the hub?  And when I warned a user today he/she had typed !away and I did get the away massage in a Pm and in OP-Chat to me when I warned he/she. Do you know why?

The warn logged, so the warn works....

//WickeD
Title:
Post by: NightLitch on 04 February, 2004, 15:37:38
hehe a simple bug that is. hehe gonna check it out.

About the file check I prefer DC++ CMD to check for bad files. but can add it later. well se.

/NL
Title: Sorry for all the writing.... =)
Post by: WickeD on 04 February, 2004, 16:01:19
When a user sends a Pm to a user I get that Pm to, In a Pm and in OP-Chat, And every time he/she write it pop?s up in Pm and in OP-Chat to me.  Can you check it out to?

//WickeD
Title: Hi...
Post by: WickeD on 04 February, 2004, 16:04:44
The !warn that I tested on my self works, it logged in the warnlog, but it do not show in !info or in !myinfo.


//WickeD
Title: Hi...
Post by: WickeD on 04 February, 2004, 16:05:57
The !warn that I tested on my self works, it logged in the warnlog, but it do not show in !info or in !myinfo.

And what is this: WEEKS = 1 ?


//WickeD
Title:
Post by: NightLitch on 04 February, 2004, 16:12:28
Just a little miss by me... Will be fixed in upcoming version.
Title: Gr8 m8! =)
Post by: WickeD on 04 February, 2004, 16:17:34
If you where a girl a kiss you!!! =)

Thx very very very much!!!

//WickeD
Title:
Post by: NightLitch on 04 February, 2004, 16:52:41
QuoteBy WickeD
If you where a girl a kiss you!!! =)

Well I think we stop here now.

I don't wanna be a girl and yeah and... hehe...
Title: Hi.......
Post by: WickeD on 04 February, 2004, 17:59:55
If you don?t going to add a badfile check in NSX-3, can you write a loose script to me? that don?t kick but warn users, and so the warn will bee logged in to warnlog in NSX-3.  No panic whit it! Get NSX-3 to work first.

//WickeD
Title: Goodday NightLitch!!
Post by: WickeD on 05 February, 2004, 13:01:42
I have a error in NSX-3 1.4, when I type !getbanlist: Runtime error.  Pop?s up in a window from my oDC 5.212 client, and then my client shut?s down....Do you know why?

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 05 February, 2004, 13:39:26
Can you add when users get warn/kick/ban a massage-line there I can type like this: Klagom?l och funderingar kan du skicka till hubbens support-mail: northside.se

Sorry all that I writed in swedish!

//WickeD
Title: Hi...
Post by: WickeD on 05 February, 2004, 15:36:47
A wish from me!  =)

Can you add Triggers i NSX-3 so I can alter the Triggers for my neads?


//WickeD
Title:
Post by: NightLitch on 05 February, 2004, 16:37:15
Sure I can add triggerbot with on/off function then cause not everybody wants it.

And about the getbanlist. that is strange cause that is an built in command.
Title:
Post by: NightLitch on 05 February, 2004, 16:38:54
!getbanlist works great for me. But as I can recall there where a problem with getbanlist in oDC and maybe other clients to
If I remember right.. ??!
Title:
Post by: Dyzan on 05 February, 2004, 17:21:02
oDC is the problem. Not the scripts or the hubsoft.

Use DC++ if you are OP in the hub. That works perfect.

/Dyzan
Title: Hi...
Post by: WickeD on 05 February, 2004, 18:30:57
Okej....I will use that client then!

Thx!

//WickeD
Title: Gr8.... =)
Post by: WickeD on 05 February, 2004, 18:46:54
Now the !getbanlist works fine!  =)

Thx a lot m8?s...!

//WickeD
Title:
Post by: DoN on 06 February, 2004, 01:16:59
Keep gettin this error is this me or??


Syntax error: attempt to compare number with nil
stack traceback:
   1:  function `GetCount' at line 741 [file `...:\Program Files\Ptokax\scripts\NXS-3.lua']
   2:  function `OpConnected' at line 223 [file `...:\Program Files\Ptokax\scripts\NXS-3.lua']

Syntax error: attempt to compare number with nil
stack traceback:
   1:  function `GetCount' at line 741 [file `...:\Program Files\Ptokax\scripts\NXS-3.lua']
   2:  function `NewUserConnected' at line 285 [file `...:\Program Files\Ptokax\scripts\NXS-3.lua']
Title: Hi...DoN!
Post by: WickeD on 06 February, 2004, 06:19:42
Do you have NSX-3 1.4 installed, And are you running only NSX-3 in your hub? Try to run only NSX-3!


//WickeD
Title: error
Post by: kbeh273300 on 07 February, 2004, 01:10:25
i had that same error at first but if you restart the script after the error then it should be ok at least that worked for me.  


nice script



dream~masters network
Title:
Post by: DoN on 07 February, 2004, 03:19:33
yeah I only have NXS-3 running.. No other script. Also I notice this. When I log into my HUB I have the BOT OP-CHAT in the user list. Soon as I refresh and hey presto. It dissapears :|


Brgs
Title:
Post by: NightLitch on 07 February, 2004, 12:10:23
Am sorry for the little bugs I have but, as always you have to live with them. :-)

A new version will be out in a couple of days, trying
to resolve the commands in table structuring & updating
the userinfo saving so it is faster.

Gonna check into the error:

Syntax error: attempt to compare number with nil
stack traceback:
   1:  function `GetCount' at line 741 [file `...:\Program Files\Ptokax\scripts\NXS-3.lua']
   2:  function `OpConnected' at line 223 [file `...:\Program Files\Ptokax\scripts\NXS-3.lua']


probobly becouse the Table is nilled from the first start.

so don't worry be happy.

Nice hearing you like this bot.

/NL
Title: Hi...King of scripts!! =)
Post by: WickeD on 07 February, 2004, 14:04:27
Can you take a look at my wishes that I have writed to you in this thread, that I like to have in NSX-3? If it is possible to add to next update?

I love your NSX-3 more and more for every dag!!

//WickeD
Title:
Post by: NightLitch on 07 February, 2004, 14:11:53
Well if you read more carefully you see I have answerd every request from you. And I will implent them with on/off switches becouse not everyone wants it. but I can put it in.

/NL
Title:
Post by: WickeD on 07 February, 2004, 15:13:48
Okej!  =)  Sorry! I did?t se that!  

Thx!!!   =)

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 08 February, 2004, 10:46:45
Can you fix so I can write in Redirect adress when users do not have Min Share when they are entering my hub?

They are only get Disconected at this time!


//WickeD
Title:
Post by: NightLitch on 08 February, 2004, 13:46:18
Sure, but all those minior things will be added. Have been away this weekend so Gonna start working again now.
Title: Welcome back then!
Post by: WickeD on 08 February, 2004, 13:54:25
Nice to se you!!!  =)

Have a good one!

//WickeD
Title:
Post by: Woodster on 08 February, 2004, 21:02:26
Great script - its working great!

Maybe add some more commands??

Thanx
Title:
Post by: NightLitch on 08 February, 2004, 21:46:29
new script out:

NXS-3 Version: 1.5 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.1.5.rar)
Title:
Post by: angelsanges on 08 February, 2004, 21:54:14
dho!....I've just finished to translate v1.4 in italian for my hub!

uff
Title:
Post by: NightLitch on 08 February, 2004, 22:49:15
Well maybe I should concentrate the the next update on
multi language.

Must understand how it done first.
Title:
Post by: Dyzan on 09 February, 2004, 00:19:16
If you do that NL. Do a separat build for our hub. I do not like MultiLang.

But the public release is okej with that.

My opinion.

/Dyzan
Title:
Post by: Dyzan on 09 February, 2004, 00:21:15
One idea is this.

One Multilang build.
And one with only english.

Maybe...

/Dyzan
Title:
Post by: NightLitch on 09 February, 2004, 00:54:58
Sure np Dyzan but just a reminder That will be later then.

Cause I will do it so all users have the same lang. if I do it.

Not seperatly for each. maybe that later.

Speed is important. *Now Am gonna get it for this sentence from Plop.* hehe

/NL
Title:
Post by: DoN on 09 February, 2004, 02:37:30
QuoteOriginally posted by NightLitch
new script out:

Any info on whats been fixed or been added?

Brgs
Title:
Post by: NightLitch on 09 February, 2004, 11:24:04
sure; Optimizing ( ? UserInfo / Kick/ Ban / Warn Tables/File Serialize optimized ? )

Some error corrections.

Working at the moment on the commands to get them faster.

MultiLang will come shortly to.
Title: Hi...NightLitch!
Post by: WickeD on 09 February, 2004, 11:50:57
[In NSX-3 v.1.5]

1. Command !info do not work on Master/OP/VIP, This massage shows: User not found, but it works on users.

2. Command !status shows the info from command !stats and !stats shows info from !status, And when I type !status it shows the info in mainchat and not in PM as I want.

3. And you have writed the command !hubstats whitout (( S )) you write !hubstat.

4. Can you add in settings in the script so I can write a Redirect adress when users do not have min share when they try to logg in to my hub?

5. And in next version can you add fakeshare-check?

6. Can you add Triggers In settings in the script?


That was all for now!  =)  

I love your script!!!!  keep up the good work m8!!!

//WickeD
Title:
Post by: angelsanges on 09 February, 2004, 13:46:33
noooo I lost my version of ptokax 15.25 and now I can't use your superb bot!
Title:
Post by: NightLitch on 09 February, 2004, 16:38:51
well it works gr8 so far on TD4 to.
Title: A small add to my list!
Post by: WickeD on 09 February, 2004, 16:53:50
!getbanlist shows in mainchat and not in PM for me!

Can that be fixed to?

Thanks for all your work whit this fine script!!

//WickeD
Title:
Post by: NightLitch on 09 February, 2004, 17:12:05
nope, that is an built-in command.
Title:
Post by: WickeD on 09 February, 2004, 17:20:10
QuoteOriginally posted by NightLitch
nope, that is an built-in command.

Okej! I can live whit that!  =)

//WickeD
Title:
Post by: [NL]trucker on 10 February, 2004, 09:18:00
nightlitch

can we have a overvieuw of what this bot does now?
cause this threat is getting longer and longer and i lost
track of it .
Title:
Post by: NightLitch on 10 February, 2004, 12:21:06
Done, first post updated. Look there Trucker.

more will come. And you are all welcome with requests, I will see
what I can do about it.

/NL
Title: Hi...NightLitch!
Post by: WickeD on 10 February, 2004, 12:41:11
When I do a !warn on a user that is !away, I get a massage in OP-Chat: <[Bo?]M???:?O:OP?> [telia]_evolution wants us to now: -Borta- , Why? the warn get?s logged but whit wrong time and date, when I !info that user:  Warn Reason:   Ej packade program! Fixa!, Time: 09/02/2004/22:10:19, I warned that user today! Can that be fixed?

//WickeD
Title:
Post by: NightLitch on 10 February, 2004, 13:58:14
Gonna check the problem. thx.
Title:
Post by: NightLitch on 10 February, 2004, 14:06:13
I don't seam to get that problem. One thing thou, The Offline warn doesn't register in warn-file. gonna fix that.

But the thing you get in OP-Chat does everyone see it???


Is there more users here that using this bot have the same problem ???
Title:
Post by: NightLitch on 10 February, 2004, 15:38:53
New Version out:

NXS-3 Version: 1.6 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.1.6.rar)


FAQ:added:
1.6 : Fixed so offline warns are registred.
Errors Reported:
* when user !away & sending !warn something strange is happening, didn't find the cause, and it didn't affect my hub. stange indeed.
Fixed Away when starting talking an in away, away removed. ( hope it works right )
Title: Hi...NightLitch!
Post by: WickeD on 10 February, 2004, 18:33:18
What do this have for funktion?

-- Ok Hubs that are allowed to be entered in hub
OKHUBS = {
   ["hub1"] = 1,
   ["hub2"] = 1,
   ["hub3"] = 1,
}

-- Bad Hubs that are denyed to be entered in hub, action taken is Banned.
BADHUBS = {
   ["hub1"] = 1,


Is it for writing hub-adresses in Pm and in MainChat?

//WickeD
Title: Can you look in to this!
Post by: WickeD on 10 February, 2004, 18:55:53
I use: NXS-3 v.1.5

When I have nickname [SU+]WickeD and check-ISP OFF, and enter my hub the Info welcome Massage do not show! But if I write my nickname [U+]WickeD the Info Welcome Massage shows!

And this funktion do not work for me:
-- Set HubAddress that will be shown instead of the ADVER advertising's.
HubAddress = "northside.se"

When I write swenorth.myftp.org and send it in a Pm to my self as a user it pop?s up like this: swenorth.myftp.org

Why?

//WickeD
Title:
Post by: NightLitch on 10 February, 2004, 20:21:44
I Am rewritting the advertising as we speak becouse of some problems I had.

gonna check the login with no ISP check etc.
Title: Gr8 m8!!
Post by: WickeD on 10 February, 2004, 20:44:06
You don?t forget eny ting on my "little" list do you.  =) Just reminding you.  =)

Thanks for all your work on this fine script!!!

//WickeD
Title:
Post by: Seredo on 10 February, 2004, 21:06:11
great script NightLitch

is it posible that ban message in main  can turn off

sorry fore my bate english ???
Title:
Post by: NightLitch on 10 February, 2004, 21:23:25
sure np Seredo
Title:
Post by: Seredo on 10 February, 2004, 21:32:02
oke thanks NightLitch

your script is running well 350 users now  :D
Title:
Post by: NightLitch on 10 February, 2004, 21:46:30
nice
Title:
Post by: Seredo on 10 February, 2004, 22:41:17
i have now a syntax error

Version: 1.6

No syntax errors in script file NXS-3.lua
No syntax errors in script file phrase-o-rama.lua
C:\Documents and Settings\Administrator\Desktop\ptokax0.30\scripts\NXS-3.lua loaded.
Syntax error: attempt to concat local `nDCVer' (a nil value)
stack traceback:
   1:  function `ParseMyInfo' at line 543 [file `...inistrator\Desktop\ptokax0.30\scripts\NXS-3.lua']
   2:  function `DataArrival' at line 350 [file `...inistrator\Desktop\ptokax0.30\scripts\NXS-3.lua']


i dont now what te do
Title:
Post by: NightLitch on 11 February, 2004, 00:37:30
QuoteOriginally posted by WickeD
When I have nickname [SU+]WickeD and check-ISP OFF, and enter my hub the Info welcome Massage do not show! But if I write my nickname [U+]WickeD the Info Welcome Massage shows!

Well operators don't have that welcome message, but can add it. with trigger.
Title:
Post by: NightLitch on 11 February, 2004, 00:44:08
New Version out:

NXS-3 Version: 1.7 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.1.7.rar)

1.7 : Fixed an error in client check / nDC++ removed for now.
Updated Advertising part to much better.
Added:
* Show Ban message to users on/off
* Same Welcome message to Ops like users but with diff. switches.
Fixed the ban command some.
Title:
Post by: NightLitch on 11 February, 2004, 01:06:55
New Version out:

NXS-3 Version: 1.8 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.1.8.rar)

1.8 : Fixed advertising a simple bug.
Title:
Post by: angelsanges on 11 February, 2004, 01:38:30
2 versions.....
argggghhh
:D
i love you!!!
Title:
Post by: NightLitch on 11 February, 2004, 11:47:28
QuoteOriginally posted by angelsanges
2 versions.....
argggghhh
:D
i love you!!!

well don't get sentemental on me. :-p lol

1 version left then 2.0 will come and there multi lang. should have been implented correct.

have a nice day.

/NL
Title:
Post by: WickeD on 11 February, 2004, 12:18:37
[In the next NSX-3 version, can you add this wishes from me?  Plz!!]


1. Can you add in settings in the script so I can write a Redirect adress when users do not have min share when they try to logg in to my hub, they will be redirected to an adder hub adress.

2. And in next version can you add fakeshare-check, like the fakeshare-check that Swenorth1 hub have.

3. Can you add Triggers In settings in the script, so I can alter the triggers by my self, like ten triggers.

(And one command that do not work on Vip/OP/Master: !info, gives this massage: User not found. Why?

Just some wishes from me to santa claus-NightLitch!! =)

//WickeD
Title:
Post by: Seredo on 11 February, 2004, 12:33:41
what kan i do on this sytaxs error

i have Version: 1.8

Syntax error: assertion failed!  sTableName 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 113 [file `NXS-3/data/Serialize.lua']
   4:  function `SaveKickBanInfo' at line 5 [file `NXS-3/data/Handlings.lua']
   5:  function `doKick' at line 360 [file `NXS-3/data/ComFunc.lua']
   6:  function `Com' at line 57 [file `NXS-3/data/ComFunc.lua']
   7:  function `MainCom' at line 510 [file `...inistrator\Desktop\ptokax0.30\scripts\NXS-3.lua']
   8:  function `DataArrival' at line 421 [file `...inistrator\Desktop\ptokax0.30\scripts\NXS-3.lua']

Syntax error: assertion failed!  sTableName 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 113 [file `NXS-3/data/Serialize.lua']
   4:  function `SaveKickBanInfo' at line 5 [file `NXS-3/data/Handlings.lua']
   5:  function `doKick' at line 360 [file `NXS-3/data/ComFunc.lua']
   6:  function `Com' at line 57 [file `NXS-3/data/ComFunc.lua']
   7:  function `MainCom' at line 510 [file `...inistrator\Desktop\ptokax0.30\scripts\NXS-3.lua']
   8:  function `DataArrival' at line 421 [file `...inistrator\Desktop\ptokax0.30\scripts\NXS-3.lua']

Syntax error: assertion failed!  sTableName 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 113 [file `NXS-3/data/Serialize.lua']
   4:  function `SaveKickBanInfo' at line 5 [file `NXS-3/data/Handlings.lua']
   5:  function `doKick' at line 360 [file `NXS-3/data/ComFunc.lua']
   6:  function `Com' at line 57 [file `NXS-3/data/ComFunc.lua']
   7:  function `MainCom' at line 510 [file `...inistrator\Desktop\ptokax0.30\scripts\NXS-3.lua']
   8:  function `DataArrival' at line 421 [file `...inistrator\Desktop\ptokax0.30\scripts\NXS-3.lua']

thanks m8
Title:
Post by: GeNNeLL on 11 February, 2004, 12:40:06
why tag when i change  "ODCver"  to 0   then opera dc in version 5.3 and up is allowed ;]


sorry my engish is bad ;/
Title:
Post by: Seredo on 11 February, 2004, 12:44:06
is it posible * Show Ban message in main on/off

i hoop you can fix it thanks m8
Title:
Post by: GeNNeLL on 11 February, 2004, 13:00:31
Seredo i use this script and i don't have this error and i on "Show Ban message to users". redownload and reinstall script  :)


sorry for english
Title:
Post by: f3rry on 11 February, 2004, 13:20:16
Hi NightLitch,

Nice to see there is already a version 18,
but there are still things that doesn't work.

These things doesn't work here.

- DC++ client check
When i set minimum version 0.241 and an user use one of the older versions, like 0.22 he can still get in.

- Advertising on PM
Anyone can advertise on Pm.

- VIP chat
A vip can't chat with other vips or Ops.

I hope you will fix them, because it's a great script.
Thanks
Title:
Post by: NightLitch on 11 February, 2004, 13:40:35
Thx for the bug reports & you need to reinstall the hole script with all files when installing this new ones, becouse of new structuring in log-files etc.

gonna check the version problem you all talk about.

And WickeD your request will come. paticence dude... ;-)

WickeD: one thing the fake share thing we use is DC++k CDM it's not scripted.

will fix the errors as fast as I can.

I have a life beside this too... ;-p so patience.
Title:
Post by: Seredo on 11 February, 2004, 13:48:20
thanks GeNNeLL i have reinstall the script ant running well now  :D  :))  :P

(http://www.prospects.demon.nl/gates.gif)
Title:
Post by: GeNNeLL on 11 February, 2004, 15:38:49
i think be better if script kick user adversite and show for ops his IP

can you add slot ratio ??
Title:
Post by: NightLitch on 11 February, 2004, 15:40:51
ahh I forgot slot ratio. hehe coming up.

I can add a on/off switch for kicking or not for advertising.

Gonna add the ip to.

new version coming soon.
Title:
Post by: GeNNeLL on 11 February, 2004, 15:52:59
hmm can jou add on/off self registration ??  ;o]
Title:
Post by: NightLitch on 11 February, 2004, 16:00:56
perhaps later.
Title:
Post by: NightLitch on 11 February, 2004, 16:01:31
Update will come shortly now. Then I have other thing to do.

but the upcoming version should be good.
Title:
Post by: GeNNeLL on 11 February, 2004, 16:07:08
oki ;o] i self add this command :D
Title:
Post by: GeNNeLL on 11 February, 2004, 16:09:48
command !topic for 0.330 will be good
Title:
Post by: NightLitch on 11 February, 2004, 16:15:59
New Version out:

NXS-3 Version: 1.9 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.1.9.rar)

1.9 : Fixed UserInfo for Operators.
Fixed Advertising in PM.
Fixed oDC tag version check.
Fixed the commands a little bit in help and command line.
Added:
* Triggerbot with on/off switch
* Clients Kick function added with all that comes
* On/Off switch for kicking or not for advertising
* Slot Ratio (Slots per hub)
* Kick/Ban Operator on/off
* you can't kick/ban yourself
Removed:
* Report to Op-Chat for users. It caused vip-chat not to work.

EnJoy / NL
Title:
Post by: GeNNeLL on 11 February, 2004, 18:28:19
everything work gr8. thx NightLitch . i like this script :D
Title: The script is working great!!! =)
Post by: WickeD on 11 February, 2004, 18:54:07
Just one little add.   =)


Add in settings: Redirekt address when users not reach min share when entering hub: "minadress.dyndns.org" ??


And !info on Vip/OP/Master don?t work for me!

//WickeD
Title:
Post by: GeNNeLL on 11 February, 2004, 19:01:47
yes WickeD. this script need redirect option. if limit share min/max, slots and slot ratio redirecting to other hubs when will be gr8 ;]
Title: ???
Post by: WickeD on 11 February, 2004, 19:05:45
I use NXS-3 v.1.9

If you removed: * Report to Op-Chat for users. It caused vip-chat not to work.

It is still in the script: OpChat_Descr = "Users can posts fakers and other bad things here"




//WickeD
Title:
Post by: NightLitch on 11 February, 2004, 19:06:29
Well for the info, Am gonna make some adjustments.

You all see, when A user/operator logs in they been put into a table(userinfo table) I use some info from that to get in online info thats the problem for that...

gonna fix it WickeD

gonna be a huge update on 2.0. Will proboly come this weekend.

Hope you all can wait.

/NL
Title:
Post by: NightLitch on 11 February, 2004, 19:07:45
hehe forgot to remove the descr. be in 2.0. Live with it for some time.

Everything should work as it should right now.
Title: Hmm! =)
Post by: WickeD on 11 February, 2004, 19:12:14
And the Triggers do not work for me!


//WickeD
Title:
Post by: NightLitch on 11 February, 2004, 19:16:20
have you set the triggerbot switch to 1/on ??
Title:
Post by: NightLitch on 11 February, 2004, 19:19:15
anyone else have the same problem ??
Title:
Post by: GeNNeLL on 11 February, 2004, 19:36:28
why Isp check is not only for regular users ??
Title:
Post by: GeNNeLL on 11 February, 2004, 19:45:13
yes.  triger not work  ;//
Title: Trigger!
Post by: WickeD on 11 February, 2004, 19:54:17
The Triggers only works for users and not for Reg/Vip/Op/Mas!

//WickeD
Title:
Post by: GeNNeLL on 11 February, 2004, 20:17:52
NightLitch can you add switch to on/off protect vips(can't kick) and the same switch for regs ?? :D
Title:
Post by: f3rry on 11 February, 2004, 20:42:20
hi NightLitch

good work...... :)


I get this error?
 
Syntax error: attempt to call field `SendTo' (a nil value)
stack traceback:
   1:  function `CheckSlotsHubs' at line 738 [file `d:\PtokaX\scripts\NXS-3.lua']
   2:  function `AllowClients' at line 675 [file `d:\PtokaX\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 383 [file `d:\PtokaX\scripts\NXS-3.lua']
Title: A wish from me!
Post by: WickeD on 11 February, 2004, 20:48:59
Can you make a BadFileCheck in NXS-3 that warn a user and pot the warn in to warnlog? whit a On/OFF Svitch if not all want it!

//WickeD
Title: A error!!
Post by: WickeD on 11 February, 2004, 21:07:34
Syntax error: attempt to call field `SendTo' (a nil value)
stack traceback:
   1:  function `CheckSlotsHubs' at line 738 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `AllowClients' at line 683 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 383 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']


//WickeD
Title:
Post by: f3rry on 11 February, 2004, 21:11:05
hi

!info nick  gives: User not found
Title:
Post by: GeNNeLL on 11 February, 2004, 21:19:50
Syntax error: attempt to call field `SendTo' (a nil value)
stack traceback:
1: function `CheckSlotsHubs' at line 738 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
2: function `AllowClients' at line 683 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
3: function `DataArrival' at line 383 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']


i have this error too ://
Title: ???
Post by: WickeD on 11 February, 2004, 21:33:41
Why do I count as a registered user when I logg in to my hub?

I am Master in my hub!

 You are using DC++ Version: 0.306.
 You are Sharing 67.07 Gb and 6 Slot(s).
 You are in 1 Hub(s) as user.
 You are in 1 Hub(s) as registered user.
 You are in 0 Hub(s) as operator.
 Your Bandwidh Limiter is unlimited kB/s
 You are in Active Mode.

But when I do !myinfo I get this info:

   Your IP: 212.32.167.167
   You are using DC++ client ver. 0.306
   You Share: 67.07 Gb
   You have 6 slot(s) Opened.
   You are in1 Hub(s) as user.
   You are in 0 Hub(s) as registered user.
   You are in 1 Hub(s) as operator.
   Your bandwidh limiter is set to unlimited kB/s
   You are in Active Mode.

And here I am OP!  

Why?


//WickeD
Title: Get this error!!
Post by: WickeD on 11 February, 2004, 23:07:59
Syntax error: attempt to concat global `Prefix' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 780 [file `NXS-3/data/ComFunc.lua']
   2:  function `Com' at line 96 [file `NXS-3/data/ComFunc.lua']
   3:  function `MainCom' at line 544 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `DataArrival' at line 448 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to call field `SendTo' (a nil value)
stack traceback:
   1:  function `CheckSlotsHubs' at line 738 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `AllowClients' at line 683 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 383 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to call field `SendTo' (a nil value)
stack traceback:
   1:  function `CheckSlotsHubs' at line 738 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `AllowClients' at line 675 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 383 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
Title: Error!
Post by: WickeD on 11 February, 2004, 23:46:14
I have erased all -- Advertising Trigs and it still triggs on this: det ?r bara som info till ops, den som blir varnad f?r sin text genom %[cheating description] men, den texten kan bli flera rader ibland och sk?nt att slippa

Get this massage in Pm:  Advertising Censored, sorry.
Get this in MainChat: <> [SU+]WickeD - 212.32.167.167 is advertising, typing: det ?r bara som info till ops, den som blir varnad f?r sin text genom %[cheating description] men, den texten kan bli flera rader ibland och sk?nt att slippa

I think it it the (i) in info, If I write the word like this: nfo, whitout (i),  in the text, it do not triggs!


This is my only trigg I have in settings: ["dyndns.org"]=1,

//WickeD
Title:
Post by: GeNNeLL on 12 February, 2004, 00:05:01
i think this text is bad in file NXS-3.lua

function CheckSlotsHubs(curUser,vTag)
if (vTag["S"] == "N/A" or vTag["H"] == "N/A") then
elseif (tonumber(vTag["S"]) < MinSlots) then
curUser:SD(BotName,"You have too litle slots open ( "..vTag["S"].." ) Minimum slots is ( "..MinSlots.." ). ")
curUser:Disconnect()
elseif (tonumber(vTag["S"]) > MaxSlots) then
curUser:SD(BotName,"You have too many slots open ( "..vTag["S"].." ) Maximum slots is ( "..MaxSlots.." ). ")
curUser:Disconnect()
elseif (tonumber(vTag["H"]) > MaxHubs) then
curUser:SD(BotName,"You are in too many hubs ( "..vTag["H"].." ) Max Hubs is ( "..MaxHubs.." ). ")
curUser:Disconnect()
elseif (SlotsPerHub and tonumber(vTag["S"]) < tonumber(vTag["H"]) * SlotsPerHub) then
--------- bug is in this line ----- delete SendTo and write SD
curUser:SendTo(BotName, "You have not met the Minimum slots/hub ( "..SlotsPerHub.." ), You need to open ( "..(vTag["H"]*SlotsPerHub).." ) slots.")
----------------------------------------
curUser:Disconnect()
end
end
Title:
Post by: angelsanges on 12 February, 2004, 00:16:19
3.....2.....1........version 2.0 is arriving....

dho!
Title:
Post by: pHaTTy on 12 February, 2004, 00:22:15
he using keys and SendTo seems to be pm, SD is senddata so its 2 different things ;)
Title:
Post by: NightLitch on 12 February, 2004, 01:11:52
k thx alot for the bugs...  :D  appriciate it so much.  :P

Well as I said in a post before the userinfo is corrupt that I Am sorry for.

Will be fixed in 2.0 am so sorry. maybe releasing a fix.

about the op/reg hubs I don't know. that is so strange.

gonna check it out more.

QuoteGet this in MainChat: <> [SU+]WickeD - 212.32.167.167 is advertising, typing: det ?r bara som info till ops, den som blir varnad f?r sin text genom %[cheating description] men, den texten kan bli flera rader ibland och sk?nt att slippa

what do you mean by this cheating description ???

something I have missed ???

the description has nothing with advertising to do or???

really strange errors or normals haha... gonna check...

/NL
Title:
Post by: WickeD on 12 February, 2004, 10:30:40
Quotewhat do you mean by this cheating description ???

something I have missed ???

the description has nothing with advertising to do or???

really strange errors or normals haha... gonna check...

/NL


This is a massage a OP tryed to send to me in a Pm, The contents in the text do not have anyting to do whit the script or the hub, it is only a massage to me, A OP tryed to explain to me how CDM 2.76 works! thats all!:

det ?r bara som info till ops, den som blir varnad f?r sin text genom %[cheating description] men, den texten kan bli flera rader ibland och sk?nt att slippa

And when he try to send the text to me it counts as a Advertising by NXS-3 v.1.9 script!

Why do the contents of the text count as a Advertising??

//WickeD
Title:
Post by: NightLitch on 12 February, 2004, 12:33:54
--Level Checks / 1:on/0:off ( For Checking Client settings/ Share/ Advertisings
LC = {
Title: Bla bla bla.... from me! =)
Post by: WickeD on 12 February, 2004, 13:06:17
Can you add Warn/Kick/Ban Stats as a command for OP? Like !opstats

Nr.   Kicks   Bans   Warns   Total   Name
----------------------------------------------------------------------------------------------------------------
1.    637    121    0    758   ???????ju?????
2.    139    12    0    151   Gandalf
3.    85    39    0    124   ?????V?L?GiRL????
4.    105    6    0    111   CacklingGoblinX
5.    70    25    0    95   Frodo
6.    66    6    4    76   ?????V?L????T?R????
7.    60    15    0    75   Morf
8.    68    3    0    71   [US]pUKEn
9.    29    11    1    41   ????ju?
10.    26    4    0    30   m!sch!evous
11.    27    2    0    29   ?V??t??Tr??h?
12.    2    1    0    3   [SU]Dakota
13.    1    0    0    1   ????@???

----------------------------------------------------------------------------------------------------------------


Command !status shows the info from command !hubstats and command !hubstats shows info from command !status, And when I type command !status it shows the info in mainchat and not in PM as whit command !hubstats.
This do command !status show in MainChat:
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.0 build 15.25 [debug] built on Dec 15 2003 18:48:35
Uptime: 0 days, 17 hours, 15 minutes
Users (Max/Peak/Logged) : 1000 / 24 / 17
Unknown commands: 0 x
PM commands: 171 x
Key commands: 2615 x
MyINFO commands: 431 x
ValidateNick commands: 2614 x
GetINFO commands: 1804 x
Password commands: 24 x
Version commands: 127 x
UserIP commands: 0 x
GetNickList commands: 88 x
Search commands: 814 x
SR commands: 531 x
CTM commands: 1141 x
RevCTM commands: 91 x
------------------------------------------------------------
CPU usage (60 seconds average): 0.9%
MEM usage: 1601 kB
------------------------------------------------------------
SendRestsPeak: 0
RecvRestsPeak: 0
Listing end.

And this do command !hubstats show in PM:
      Hub Status
 -----=============================================================---
      File:               Size:
      ???               ????
      userinfo.dat            7.90 Kb.
      userlog.dat            0.62 Kb.
      awaylog.dat            0.04 Kb.
      warnlog.dat            0.19 Kb.
      kicklog.dat            0.00 Kb.
      banlog.dat            0.00 Kb.
 
       24 user(s) max counted.
       Hub uptime 872 min(s)
       Highest share shared: 1.295 TB
 -----=============================================================---



Sorry for all wishes from me!   But I want one script and not many small scripts,  and I want a perfect script to!  =)  Hope you don?t go crazy of all writing in here!! =)

Love your script more and more for every day!  Realy good work you are doing!!  Thx m8!!!

//WickeD
Title:
Post by: WickeD on 12 February, 2004, 13:09:14
QuoteOriginally posted by NightLitch
--Level Checks / 1:on/0:off ( For Checking Client settings/ Share/ Advertisings
LC = {
  • = 0,   -- Check Masters
  • [4] = 0,   -- Check Moderator
    [1] = 0,   -- Check Operators
    [2] = 0,   -- Check VIPs
    [3] = 1,   -- Check REGs
    [-1] = 1,   -- Check Users
    }

    this one...

    make sure Operators & above is zero(0)

    they should not be checked then.
This is my config:

--Level Checks / 1:on/0:off ( For Checking Client settings/ Share/ Advertisings
LC = {
Title:
Post by: NightLitch on 12 February, 2004, 13:26:46
gonna check that WickeD. Gonna do an update today. 1.91 will come.
Title:
Post by: NightLitch on 12 February, 2004, 13:30:32
About !hubstats & !status here's the explaination:

!status is an built in command that only shows in Main.

!hubstats is a command I have created to view the size of the files and some other goodies.

this I can't affect more.

this is it how it is... :-P

/NL
Title:
Post by: NightLitch on 12 February, 2004, 15:47:38
Updated fix version:

NXS3 Version 1.9.1 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.1.9.1.rar)

1.9.1 : Fixed Advertising with levels should works now.
Fixed so triggerbot works for all levels
Fixed the SendTo error.
Fixed UserInfo, should work withour problem now.
Fixed TimeBan som values wrong.
enjoy...!
Title: Thx!!! =)
Post by: WickeD on 12 February, 2004, 16:56:24
Do you take a look at my adder wishes later when you get the time for it my m8?   =)
Title: Do not work!
Post by: WickeD on 12 February, 2004, 17:09:11
!info do not work on VIP/OP/MOD/MAS!

This info do show on the bot, You have not erased it: OpChat_Descr = "Users can posts fakers and other bad things here"

When I logg in to my hub I get this info:

   Welcome [SU+]WickeD !
------------------------------------------------------------------------------------
 
 You are using DC++ Version: 0.306.
 You are Sharing 67.07 Gb and 6 Slot(s).
 You are in 1 Hub(s) as user.
 You are in 1 Hub(s) as registered user.
 You are in 0 Hub(s) as operator.
 Your Bandwidh Limiter is unlimited kB/s
 You are in Active Mode.

And when I type this !myinfo in the hub I get this info:

         [SU+]WickeD user info.
 -----=============================================================---
   Your IP: 212.32.167.167
   You are using DC++ client ver. 0.306
   You Share: 67.07 Gb
   You have 6 slot(s) Opened.
   You are in1 Hub(s) as user.
   You are in 0 Hub(s) as registered user.
   You are in 1 Hub(s) as operator.
   Your bandwidh limiter is set to unlimited kB/s
   You are in Active Mode.
 -----=============================================================---
   Warn(s):      0 Time(s)
   Warn Reason:   N/A, Time: N/A
   Warned by:   N/A
   Kick(s):      0 Time(s)
   Kick Reason:   N/A, Time: N/A
   Kicked by:   N/A
   Ban(s):      0 Time(s)
   Ban Reason:   N/A, Time: N/A
   Banned by:   N/A
 -----=============================================================---

That is not right, I am Master in my hub!

//WickeD
Title:
Post by: GeNNeLL on 12 February, 2004, 18:30:32
when you enter the hub you have only status registered, this is soft bug, status op you have when you stay in hub, script work fast, you have only status reg in this time.  :rolleyes:
Title: Nice job
Post by: Smulf on 12 February, 2004, 19:34:23
Good work NightLitch... How nice of you spending so much time on it :)
Title:
Post by: NightLitch on 12 February, 2004, 20:38:31
QuoteOriginally posted by Smulf
Good work NightLitch... How nice of you spending so much time on it :)

Thx.

QuoteOriginally posted by WickeD
This info do show on the bot, You have not erased it: OpChat_Descr = "Users can posts fakers and other bad things here"

Thx again. will remove it.

And the Info thing I will take an even closer look this time.

though I had fixed it.

Have a nice evening/day / NL
Title:
Post by: NightLitch on 12 February, 2004, 21:00:28
New Fix/Update out:

NXS-3 Version: 1.9.2 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.1.9.2.rar)

1.9.2 : Change the Op-Chat desc. for long WickeD have mention this. :-D
Hopefully fixed The Reg/Op info thing.

Enjoy!

/NL
Title:
Post by: f3rry on 13 February, 2004, 03:00:27
hi NightLitch

i have this error.....  :(

Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)

hope you can fix it :)
Title: Hi...NightLitch!
Post by: WickeD on 13 February, 2004, 10:28:10
In Anti Adver, If I want the script to trigger on .se there are many hubs that ends on .se how do I write that? Do I wirte .se or se?  But do it trigger on every word that has (se) in it then? Or do it trigger on .se in words then?   And the Anti Adver, do it only trigger on words that ends on .se?

//WickeD
Title:
Post by: NightLitch on 13 February, 2004, 13:52:11
WickeD:

use .se not se if only se then yes it takes on everyting.

f3rry:

Thx for the bug. gonna check it.

You didn't happen to have the right line where the error ocurs ??

/NL
Title:
Post by: f3rry on 13 February, 2004, 14:25:31
hi NightLitch

Sorry, forgot it.
This is the whole errror report.

Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `CheckShare' at line 772 [file `D:\PtokaX\scripts\NXS-3.lua']
   2:  function `DataArrival' at line 386 [file `D:\PtokaX\scripts\NXS-3.lua']
Title:
Post by: NightLitch on 13 February, 2004, 14:32:53
thx
Title:
Post by: NightLitch on 13 February, 2004, 15:17:50
New Fix/update:

NXS-3 Version: 1.9.3 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.1.9.3.rar)

1.9.3 : Fixed a error in share check.
Fixed show ban to users so it is checked on Timeban as well.
Added:
* KickVIP on/off
* KickREG on/off
* Share Redirect for both Low & High.
Change:
* The MaxShare check so it is check diff. for each level.

Enjoy!

/NL
Title:
Post by: f3rry on 13 February, 2004, 15:31:07
hi NightLitch

i have now this error....  

Syntax error: unfinished string;
  last token read: `"address.myftp.org' at line 101 in file `NXS-3.ini'
stack traceback:
   1:  function `dofile' [C]
   2:  function `Main' at line 123 [file `D:\PtokaX\scripts\NXS-3.lua']

Syntax error: attempt to concat global `BotName' (a nil value)
stack traceback:
   1:  function `Main' at line 169 [file `D:\PtokaX\scripts\NXS-3.lua']

Syntax error: attempt to index global `LC' (a nil value)
stack traceback:
   1:  function `AllowClients' at line 671 [file `D:\PtokaX\scripts\NXS-3.lua']
   2:  function `DataArrival' at line 385 [file `D:\PtokaX\scripts\NXS-3.lua']

you are donig great work :)  it's a nice script..
Title:
Post by: f3rry on 13 February, 2004, 16:08:42
Hi NightLitch

The last error was nothing serious, already solved it.
The problem was this line in the NXS-3.ini

-- High Share Redirect Address
HighShareRedirectAddress = "address.myftp.org

Must be:

HighShareRedirectAddress = "address.myftp.org"

The script works fine now, thanks for fixing the vShare bug :-P
Title:
Post by: NightLitch on 13 February, 2004, 16:55:06
hehe what a miss by me for that.

Good you like it. :-) More to come later.

Must learn gsub some so I can make the MultiLang soon.
Title:
Post by: B@B? on 13 February, 2004, 17:23:18
Hoi NightLitch  ;)

Please let me know if the Multi-Language is ON.

If in "german" i?ll offer this script 2 my partners...

Seems a nice one so i can say:

a good job...  :P
Title: Hi...NightLitch!
Post by: WickeD on 13 February, 2004, 18:17:34
The script is working gr8 now m8!!  =)


Do you think you can add a Bad-File-Check in to NXS-3 that warn the user that have Bad-File, And pot the warn in to warnlog?

Thx for all work you are doing on NXS-3, The best script there is!!....For me anyway!!  =)

//WickeD
Title: help!!
Post by: kbeh273300 on 13 February, 2004, 18:58:34
No syntax errors in script file Trivia-Ex-V.0.645.lua
No syntax errors in script file NXS-3.lua
Syntax error: or `[' expected;
  last token read: `' at line 8 in string "KickTable = {..."
stack traceback:
   1:  function `dostring' [C]
   2:  function `LoadFromFile' at line 119 [file `NXS-3/data/Serialize.lua']
   3:  function `Main' at line 150 [file `...d Settings\USER\Desktop\NXS-3\scripts\NXS-3.lua']


:(
Title:
Post by: NightLitch on 13 February, 2004, 19:36:25
one thing, have you had one of the older versions ???

try reinstall the hole script. from scratch.

if that not work I will look closer on it.
Title:
Post by: Seredo on 13 February, 2004, 20:46:57
i have reinstall the hole script
after 45 min the errror is back.

:(
Title:
Post by: NightLitch on 13 February, 2004, 21:40:38
you have the same error as: kbeh273300 ??? Seredo?
Title:
Post by: NightLitch on 13 February, 2004, 21:49:50
Why is this happening ??? I have no problem with it.hmm...

Could you be so kind posting your first lines in KickFile...

There is the problem at line 8... wanna se that.
Title: No prob!!
Post by: WickeD on 13 February, 2004, 22:04:46
My NXS-3 v.1.9.3 is working fine! I have not tryed kicking / warning / Ban any one, but it works gr8!!  =)

Thx a lot!  

//WickeD
Title:
Post by: NightLitch on 13 February, 2004, 22:10:19
I have kicked many diff. names and no problem in kickfile.
Title:
Post by: BeeR on 13 February, 2004, 22:20:34
QuoteOriginally posted by NightLitch
I have kicked many diff. names and no problem in kickfile.
Hellou Mr [:
 Can you add a !kill command (nick and ip ban) ??
Title:
Post by: NightLitch on 13 February, 2004, 22:30:57
maybe l8r. Wanna know what problem Seredo & kbeh273300 have...

The error message is not enough right now.

Wanna se the file to what causing this.
Title:
Post by: NightLitch on 14 February, 2004, 00:52:42
afoul quiet here... :-P

Get me the info for the bug.

for the moment I Am trying to get MultiLang & Table Commands to work.

/NL
Title: You think it is afoul quiet here!!!
Post by: WickeD on 14 February, 2004, 01:03:20
My Script is working fine!! =)   that is why it is quiet here!!  *lol*  =)


Have a good one NightLitch!!

//WickeD
Title:
Post by: NightLitch on 14 February, 2004, 01:10:40
Well you are one of the big testers of this one so I trust you half then ;-p... hehe

Will continue the updating then hope this error has to do with something.

Often it is becouse when updating this script, remember always to do a clean install everytime you install this script, just for saftey and to avoid errors.

I can do some slighly small adjustments I don't remember doing.

And it can affect the old logfiles if they is not emty.

Well my guess is if the plans going my way NXS-3 2.0 will come on monday.

good night sleep tight nighy night... :-)

/NL
Title: sorry for the long delay
Post by: kbeh273300 on 14 February, 2004, 01:24:24
ok well first things first i did a full install of the NXS-3 v.1.9.3 and i get redirects from my network and i also use dc++ cnd on the hub il past you the info you need on that error.but i cleared all the logs so im gona try it again with a fresh hubsoft and and fresh install and il post my results soon.i get alot of trafic through my hub,and with my dc++ cmd running and searching for forbiden files there are kicks and warns and bans haping constintly.but i realy like this bot so far so il stick with it and do as much testing as i can till we get all the bugs worked out if there are any.
Title:
Post by: f3rry on 14 February, 2004, 01:57:41
Hi NightLitch

The scripts works fine here.

I onley have one little thing. The max share onley works on users witch LC 0 and not with LC 1.
Title: ok it hapend again
Post by: kbeh273300 on 14 February, 2004, 06:21:33
No syntax errors in script file NXS-3.lua
No syntax errors in script file Trivia-Ex-V.0.645.lua
No syntax errors in script file regclean.lua
Syntax error: bad argument #2 to `format' (number expected, got table)
stack traceback:
   1:  function `format' [C]
   2:  function `Serialize' at line 96 [file `NXS-3/data/Serialize.lua']
   3:  function `SaveToFile' at line 113 [file `NXS-3/data/Serialize.lua']
   4:  function `SaveKickBanInfo' at line 5 [file `NXS-3/data/Handlings.lua']
   5:  function `doWarnUser' at line 495 [file `NXS-3/data/ComFunc.lua']
   6:  function `Com' at line 74 [file `NXS-3/data/ComFunc.lua']
   7:  function `BotCom' at line 565 [file `...s\USER\Desktop\New Folder (9)\scripts\NXS-3.lua']
   8:  function `DataArrival' at line 467 [file `...s\USER\Desktop\New Folder (9)\scripts\NXS-3.lua']

Syntax error: bad argument #2 to `format' (number expected, got table)
stack traceback:
   1:  function `format' [C]
   2:  function `Serialize' at line 96 [file `NXS-3/data/Serialize.lua']
   3:  function `SaveToFile' at line 113 [file `NXS-3/data/Serialize.lua']
   4:  function `SaveKickBanInfo' at line 5 [file `NXS-3/data/Handlings.lua']
   5:  function `ToKickMsg' at line 901 [file `...s\USER\Desktop\New Folder (9)\scripts\NXS-3.lua']
   6:  function `DataArrival' at line 452 [file `...s\USER\Desktop\New Folder (9)\scripts\NXS-3.lua']


as for the kick log file this was the only thing that was in it >>   KickTable = {

i deleted that and restarted the script and the error went away. hope this helps . if you need any other info i saved the NXS folder to a diferent place on my pc for any other info you may need me to get for you.i did that before i deleted KickTable = { from the kicklog and restarted the script the error went away and all is fine for now but im sure it will return i would think. im a beta tester for the ptokax 15.25 debug so thats the hubsoft im useing to test this script.other scripts im running are Trivia-Ex-V.0.645.luaand regclean.lua by plop
Title: re
Post by: kbeh273300 on 14 February, 2004, 07:30:37
ok i found out what caused the error in the old script i use to use it had a   !kill   cmd some of my op's were useing or atempting to use it with this script and it was causeing that error above.

also i was woundering if it could be set to alow op's to post web addy's i wanted to send the ady to the download of this script to a fellow op and hub owner and i was kicked lol.i set it to not kick and i got Advertising Censored, sorry lol

other then that i like the lightness of this script as i dont need much since i started usering dc++ cmd client.

keep up the good work and keep it light and low mem usage :)
Title: request
Post by: kbeh273300 on 14 February, 2004, 08:10:01
i tryed connecting as a non reged user to my hub useing this script and i got disconected it said you client is not welcome here.is there way that you could or i could change this so that any unwated users would be redirected ? being in a network its importent that i redirect any users i dont want other hubs in the network may want those users.maybe just a little mod to the script?
Title:
Post by: NightLitch on 14 February, 2004, 13:13:06
let me guess... you used DC++ CDM ??? :-)

I have notice that tiny error forgot adding it to allowclient part. it is now.

Gonna Release 1.9.4 soon.

With some more stuff added.
Title:
Post by: NightLitch on 14 February, 2004, 13:17:39
QuoteOriginally posted by kbeh273300
ok i found out what caused the error in the old script i use to use it had a !kill cmd some of my op's were useing or atempting to use it with this script and it was causeing that error above.

That shouldn't cause the error, becouse any invalid command will be 0 for ex. !butter  that is not in the script. :-D

so nothing will happen no errors no nothing.

if the error keeps coming back tell me.

the KickTable thing I notice I Am the one causing IT.

forgot to del it right. sry.

/NL
Title:
Post by: f3rry on 15 February, 2004, 01:23:09
Hi NightLitch,

I'm running your script for the first time this weekend.
I've already tested it on a test hub before, but now it's running on my hub with +/- 300 users.

I must say it works realy great. No errors and no bugs.
The script onley use a lot of memory, never seen before with other scripts. I hope my system will not crash.

Memory used by scrips (kb)
script    Men  GC
NXS-3.lua 1045 1856

This memory is become more, hour after hour. I think it's because of the offline info.

I also have a request for the next version. Is it possible to make a clone detector in it?
Title: cool
Post by: kbeh273300 on 15 February, 2004, 02:45:11
ok i think it could have something to do with the kickban.and yes im running dc++ cmd on the hub :)
il try the new vir now and let ya know.


keep up the great work .
Title: first bug report
Post by: kbeh273300 on 15 February, 2004, 04:16:11
!showstaff doesnt work it gives this error when used.

No syntax errors in script file NXS-3.lua
No syntax errors in script file Trivia-Ex-V.0.645.lua
No syntax errors in script file regclean.lua
Syntax error: `for' table must be a table
stack traceback:
   1:  function `ShowStaff' at line 1204 [file `NXS-3/data/ComFunc.lua']
   2:  function `Com' at line 164 [file `NXS-3/data/ComFunc.lua']
   3:  function `MainCom' at line 546 [file `...s\USER\Desktop\New Folder (4)\scripts\NXS-3.lua']
   4:  function `DataArrival' at line 450 [file `...s\USER\Desktop\New Folder (4)\scripts\NXS-3.lua']
Title:
Post by: Optimus on 15 February, 2004, 13:02:34
QuoteThis memory is become more, hour after hour. I think it's because of the offline info.
Hi all how's here???
well i have tested this bot and discoverd the same problem it uses lot's of memory. And yes it's because of the Info that is stored about all users that connect.

Further i must say it's a small and nice script not bad at all.

Keep it up may the gods be with you... :]

Greetingzzz Opti
Title:
Post by: NightLitch on 15 February, 2004, 16:16:58
Gonna try make the info part smoother. And gonna check the error on Showstaff.


Got myself a "tiny" hangover from lart night. :-p

so progress is slow for the moment... :-p

/NL
Title:
Post by: angelsanges on 17 February, 2004, 16:36:22
 -= Spam Warning =-
      Violation detected by: depp
      IP: 5.255.164.1   
      Last packet :    $To: Vandel\Debug From: depp $ Error in ProccessSearch
Error: Too many files
Line: 117
Extra Data:  Time: 17/02/2004 16.35.30


??what does it means?
Title:
Post by: NightLitch on 17 February, 2004, 17:11:57
It has to do with spamming and flooding chat/PM and hub.

it is taken from Dirtyfingers SpamBan 1.2

so nothing should be wrong.

That was am strange message but surely is a good explaination for it.

But I can't say it... haven't got anything like that.
QuoteLast packet : $To: Vandel\Debug From: depp $ Error in ProccessSearch

looks like he has searched spammed or something.

that is my explainantion.

/NL
Title:
Post by: angelsanges on 17 February, 2004, 17:54:06
i'm using TD4
Title:
Post by: NightLitch on 17 February, 2004, 18:16:19
have no clue... but if there is more getting this kinds of errors I must look into this.

The script is mainly created for 0.3.3.0 but for for TD4 to without problems.

/NL
Title: Hmm! Can you fix this... NightLitch?
Post by: WickeD on 17 February, 2004, 21:36:26
When I send a massage to my self like this: //WickeD hubbar.dyndns.org



I get this from NXS-3 v.1.9.3:

In mainchat:<> [SU+]WickeD - 212.32.167.167 is advertising, typing: //WickeD hubbar.dyndns.org

In Pm from script: <[B?]?V?L:???> Advertising Censored, sorry.

In Pm from my self: <[SU+]WickeD> //WickeD hubbar.dyndns.org




And I have in settings like this:

-- Set HubAddress that will be shown instead of the ADVER advertising's.
HubAddress = "northside.se"

--Level Checks / 1:on/0:off ( For Checking Client settings/ Share/ Advertisings
LC = {
  • = 1,   -- Check Masters
  • [4] = 0,   -- Check Moderator
    [1] = 0,   -- Check Operators
    [2] = 0,   -- Check VIPs
    [3] = 1,   -- Check REGs
    [-1] = 1,   -- Check Users

    And I am a Master!


    This is my  Adv triggers:

    ["no-ip.se"]=1,["no-ip.nu"]=2,["no-ip.net"]=3,["no-ip.com"]=4,["no-ip.org"]=5,["no-ip.biz"]=6,["no-ip.cc"]=7,["no-ip.info"]=8,["no-ip.ws"]=9,
    ["ip.se"]=10,["ip.nu"]=11,["ip.net"]=12,["ip.com"]=13,["ip.org"]=14,["ip.biz"]=15,["ip.cc"]=16,["ip.info"]=17,["ip.ws"]=18,
    ["dyndns.se"]=19,["dyndns.nu"]=20,["dyndns.net"]=21,["dyndns.com"]=22,["dyndns.org"]=23,["dyndns.biz"]=24,["dyndns.cc"]=25,["dyndns.info"]=26,["dyndns.ws"]=27,
    ["myftp.se"]=28,["myftp.nu"]=29,["myftp.net"]=30,["myftp.com"]=31,["myftp.org"]=32,["myftp.biz"]=33,["myftp.cc"]=34,["myftp.info"]=35,["myftp.ws"]=36,
    ["hopto.se"]=37,["hopto.nu"]=38,["hopto.net"]=39,["hopto.com"]=40,["hopto.org"]=41,["hopto.biz"]=42,["hopto.cc"]=43,["hopto.info"]=44,["hopto.ws"]=45,
    ["orgdns.se"]=46,["orgdns.nu"]=47,["orgdns.net"]=48,["orgdns.com"]=49,["orgdns.org"]=50,["orgdns.biz"]=51,["orgdns.cc"]=52,["orgdns.info"]=53,["orgdns.ws"]=54,
    ["mine.se"]=55,["mine.nu"]=56,["mine.net"]=57,["mine.com"]=58,["mine.org"]=59,["mine.biz"]=60,["mine.cc"]=61,["mine.info"]=62,["mine.ws"]=63,
    ["dynip.se"]=64,["dynip.nu"]=65,["dynip.net"]=66,["dynip.com"]=67,["dynip.org"]=68,["dynip.biz"]=69,["dynip.cc"]=70,["dynip.info"]=71,["dynip.ws"]=72,
    ["servebeer.se"]=73,["servebeer.nu"]=74,["servebeer.net"]=75,["servebeer.com"]=76,["servebeer.org"]=77,["servebeer.biz"]=78,["servebeer.cc"]=79,["servebeer.info"]=80,
    ["servebeer.ws"]=81,[".se"]=82,[".com"]=83,[".org"]=84,[".nu"]=85,[".biz"]=86,[".info"]=87,[".net"]=88,[".cc"]=89,[".ws"]=90,


    Do the Adv triggers look right?

    //WickeD
Title:
Post by: NightLitch on 17 February, 2004, 21:40:16
Adver looks ok.

but not this:

  • = 1, -- Check Masters [/B]  

    --Level Checks / 1:on/0:off ( For Checking Client settings/ Share/ Advertisings
    LC = {
  • = 1, -- Check Masters
  • [4] = 0, -- Check Moderator
    [1] = 0, -- Check Operators
    [2] = 0, -- Check VIPs
    [3] = 1, -- Check REGs
    [-1] = 1, -- Check Users

    should be 0 becouse you don't wanna check yourself/master profile.
Title:
Post by: WickeD on 17 February, 2004, 21:51:18
When I send a massage to my self like this: //WickeD hubbar.dyndns.org



I get this from NXS-3 v.1.9.3:

In mainchat:<> [SU+]WickeD - 212.32.167.167 is advertising, typing: //WickeD hubbar.dyndns.org

In Pm from script: <[B?]?V?L:???> Advertising Censored, sorry.

In Pm from my self: <[SU+]WickeD> //WickeD hubbar.dyndns.org


The massage is NOT Censored!!!!  That is what I am wondering about!!

//WickeD
Title:
Post by: NightLitch on 17 February, 2004, 22:06:11
that is one thing am gonna block you should not send to yourself.

And change Master check to 0 otherwise YES you will be checked. read...( For Checking Client settings/ Share/ Advertisings

/NL
Title:
Post by: f3rry on 18 February, 2004, 01:16:41
Hi NightLitch,

I have found where the errors came from, after the max kicks or warns.
Check the following lines in ComFunc.lua Search for these lines.

SaveKickBanInfo(curUser,vUser,reason,BanTable,BanFile)
SaveKickBanInfo(curUser,vUser,reason,KickTable,KickFile,"KickTable")

There the .sName is missing.
Replace the lines with the following lines and the errors are gone after the max. kicks and warns.

SaveKickBanInfo(curUser.sName,vUser.sName,reason,BanTable,BanFile,"BanTable")
SaveKickBanInfo(curUser.sName,vUser.sName,reason,KickTable,KickFile,"KickTable")

The error WickeD was talking about, is correctly. level LC 0 can not advertise on PM.
You can fix it by removing the end on line 502 and set it under line 529.


 :))
Title:
Post by: NightLitch on 18 February, 2004, 01:27:40
ThX f3rry!

Looks like you can take over from here... lol... :-D

Gonna fix it.

Update will come later this week. Have been gone for three day's and or not home now either.

Have maybe solved the multilang.

Thx again for finding these small bugs... :-)

/NL
Title:
Post by: f3rry on 18 February, 2004, 01:36:11
Hi NightLitch,

I forgot to say that there is also missing a "BanTable"
The following line is correct.

(curUser.sName,vUser.sName,reason,BanTable,BanFile,"BanTable")


I wish i could script as well as you can, keep going man.
Title:
Post by: Woodster on 18 February, 2004, 23:09:03
Hi NightLitch

Syntax Error: unfinished string;
  last token read: `"address.myftp.org' at line 101 in file `NXS-3.ini'
Syntax Error: attempt to concat global `BotName' (a nil value)
Syntax Error: attempt to index global `LC' (a nil value)

Get this on restarting scripts???

Woody
Title:
Post by: f3rry on 19 February, 2004, 03:43:32
HI Woodster

Look in NXS-3.ini for this line

-- High Share Redirect Address
HighShareRedirectAddress = "address.myftp.org

Must be:

HighShareRedirectAddress = "address.myftp.org"


:)
Title:
Post by: NightLitch on 19 February, 2004, 16:53:02
Gaa... what it is a pain in the ass to make the MultiLang.

So many lines... :-P

2.0 is not far away now...

/NL
Title:
Post by: NightLitch on 19 February, 2004, 23:18:36
NXS-3 Version: 2.0     >>>>  OUT!!!!

DOWNLOAD (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.2.0.rar)

2.0 : Fixed DC++ CDM check in client check.
Fixed some bugs in Kick/Warn savings, Thx to f3rry
Fixed the advertising some more, Thx to WickeD & f3rry for the reports
Fixed the UserInfo calling to a smoother way.
Changed:
* Commands into Table Calling
Added:
* MultiLang  ( Make translations fast hehe... )

Enjoy...
Title:
Post by: f3rry on 20 February, 2004, 00:32:44
Hi NightLitch

looks nice.....   gonna test it  :)

Thx
Title:
Post by: Hakis on 20 February, 2004, 01:38:39
I found some errors.Syntax error: assertion failed!  NXS-3/userinfo/userinfo.dat is not found.Generating new NXS-3/userinfo/userinfo.dat. All i
stack traceback:
   1:  function `assert' [C]
   2:  function `LoadFromFile' at line 118 [file `NXS-3/data/Serialize.lua']
   3:  function `Main' at line 161 [file `...My Documents\hub\PtokaX 15.18\scripts\NXS-3.lua']
Title:
Post by: NightLitch on 20 February, 2004, 11:08:59
Ah, a miss by me Hakis, NXS-3/userinfo/userinfo.dat

just create that file in there... then it works..

sorry...

/NL
Title:
Post by: GeNNeLL on 20 February, 2004, 20:15:36
i have this error
Syntax error: attempt to compare nil with number
stack traceback:
   1:  function `BandwidhCheck' at line 763 [file `...and Settings\Admin\Pulpit\HUB\scripts\NXS-3.lua']
   2:  function `AllowClients' at line 673 [file `...and Settings\Admin\Pulpit\HUB\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 384 [file `...and Settings\Admin\Pulpit\HUB\scripts\NXS-3.lua']

Syntax error: malformed pattern (missing `]')
stack traceback:
   1:  function `strfind' [C]
   2:  function `ParseMyInfo' at line 591 [file `...and Settings\Admin\Pulpit\HUB\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 383 [file `...and Settings\Admin\Pulpit\HUB\scripts\NXS-3.lua']
Title:
Post by: NightLitch on 20 February, 2004, 21:30:31
Thx GeNNeLL. gonna fix it.
Title:
Post by: NightLitch on 20 February, 2004, 21:36:57
Have looked into it and must ask what client was in use, cause that should not happend...

Anyone else got the same problem ??
Title:
Post by: f3rry on 20 February, 2004, 22:22:22
hi NightLitch

QuoteAnyone else got the same problem ??

sorry. no problems here

script works great
Title: I am using NXS-3 v.2.0
Post by: WickeD on 20 February, 2004, 22:50:22
And no problem here m8!!

Gr8 work!!!  =)

//WickeD
Title:
Post by: NightLitch on 20 February, 2004, 23:38:54
Ok in that case line up the translations.

Mail to:  NightLitch@swenorth.myftp.org

/NL
Title:
Post by: angelsanges on 21 February, 2004, 01:46:07
why if i disable VIP chat it continues to appear into user list?
Title:
Post by: angelsanges on 21 February, 2004, 02:05:02
Syntax Error: malformed pattern (missing `]')
Syntax Error: malformed pattern (missing `]')


this happens wen I digit !info command
Title:
Post by: GeNNeLL on 21 February, 2004, 11:26:14
sorry NightLitch ;// my last bug report it is my foul i put to big value in limits ;// script work gr8  :DD
can you add all topic command, and command !cls ;]] cleer screen - if i use this command main chat is empty(script write many change line) this work good if user adwersiting :)
Title:
Post by: NightLitch on 21 February, 2004, 11:46:01
QuoteOriginally posted by angelsanges    

Syntax Error: malformed pattern (missing `]')
Syntax Error: malformed pattern (missing `]')


this happens wen I digit !info command
 

This is becouse info is not fixed to work with digits(IP's).
Gonna add it when I know how to do it.

QuoteOriginally posted by GeNNeLL
   
sorry NightLitch ;// my last bug report it is my foul i put to big value in limits ;// script work gr8 :DD
can you add all topic command, and command !cls ;]] cleer screen - if i use this command main chat is empty(script write many change line) this work good if user adwersiting :)

Np, A Topic/FreshStuff will come later when I have all other things ok.
about the !cls there is already a builtin in the clients, that Am sure you know of...   /clear
So can't do much of that.

/NL
Title:
Post by: GeNNeLL on 21 February, 2004, 11:55:39
my regs users add in nick [REG] and my vips add [VIP] and if i on check isp they not enter in hub why???
Title:
Post by: GeNNeLL on 21 February, 2004, 12:02:15
yes NightLitch but /clear work only in my main chat but oki it is not very important command :DD
Title:
Post by: NightLitch on 21 February, 2004, 14:50:19
also work in every PM.. try it...

Line 81 in Main file:

BadISP

take away the [TAGs] you don't want...

/NL
Title:
Post by: GeNNeLL on 21 February, 2004, 15:03:30
QuoteOriginally posted by NightLitch
Line 81 in Main file:

BadISP

take away the [TAGs] you don't want...

oki :D i now about this :)) but then regular users enter on hub and use tags only for reg users ;//
Title:
Post by: angelsanges on 21 February, 2004, 15:04:16
QuoteOriginally posted by NightLitch
QuoteOriginally posted by angelsanges    

Syntax Error: malformed pattern (missing `]')
Syntax Error: malformed pattern (missing `]')


this happens wen I digit !info command
 

This is becouse info is not fixed to work with digits(IP's).
Gonna add it when I know how to do it.

I'm not using !info but... !info ...
??
Title:
Post by: GeNNeLL on 21 February, 2004, 15:17:25
i not using command !info and i have this error
Syntax error: malformed pattern (missing `]')
stack traceback:
   1:  function `strfind' [C]
   2:  function `ParseMyInfo' at line 591 [file `...and Settings\Admin\Pulpit\HUB\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 383 [file `...and Settings\Admin\Pulpit\HUB\scripts\NXS-3.lua']
Title:
Post by: NightLitch on 21 February, 2004, 15:30:39
hmm ok thx guys gonna look at it then... strange...
Title:
Post by: NightLitch on 21 February, 2004, 15:31:21
by the way is when checking online or offline ???
Title: Error!
Post by: WickeD on 21 February, 2004, 17:13:30
I have this error, and do not know why!?:

Syntax error: attempt to call a nil value
stack traceback:
   1:  function `GetCom' at line 556 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `DataArrival' at line 473 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to call a nil value
stack traceback:
   1:  function `GetCom' at line 556 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `DataArrival' at line 473 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to call a nil value
stack traceback:
   1:  function `GetCom' at line 556 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `DataArrival' at line 450 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to call a nil value
stack traceback:
   1:  function `GetCom' at line 556 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `DataArrival' at line 473 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']


//WickeD
Title:
Post by: GeNNeLL on 21 February, 2004, 17:20:58
and i
Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 291 [file `...and Settings\Admin\Pulpit\HUB\scripts\NXS-3.lua']
Title:
Post by: NightLitch on 21 February, 2004, 17:31:29
fix coming up l8r tonight... Have some personal problems right now... sry...


/NL
Title: One Problem!
Post by: WickeD on 21 February, 2004, 18:28:59
When I write in mainchat like this: !warn [Telia]kalle Regel:11

The warn is working but it look like this in mainchat to all users: <[B?]?V?L:???> [SU+]WickeD is Warning [USER], Reason: Regel.11

The username do not show! Only: [USER]

//WickeD
Title:
Post by: NightLitch on 21 February, 2004, 19:45:31
Ok all three bugs are fixed But I want to know what triggers the !info bug ??? is it a online check or offline ???

Update will come...
Title:
Post by: NightLitch on 21 February, 2004, 19:49:18
Update:

NXS-3 Version: 2.1 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.2.1.rar)

2.1 : Fixed The Warn message.
Fixed the Command Error..
Fixed the Welcome mess bug.
Added:
* Rule to Kick Command & Rule.lua added in the root.

Enjoy!
Title:
Post by: [NL]trucker on 21 February, 2004, 21:20:24
Nightlitch

perhaps an idear

adding a check so that a user can only log in once with the same name and ip

this because i had a user last night who crashed my hub by filling it with over 150 names with just one letter diffrence.

the bad thing is i didnt get his ip i just noticed this morning hub was down (:-
Title:
Post by: NightLitch on 21 February, 2004, 21:22:20
You where most likely attacked by a hub destroyer as many of us.

But can fix it sure. np.
Title:
Post by: zinden on 21 February, 2004, 22:02:14
an error here:
<-NX3-> zinden is Kicking [USER], Reason: don't share porn!  

The nicknames doesnt show in kick msg in mainchat.

Also how does Rule to Kick Command work?
Title:
Post by: f3rry on 21 February, 2004, 22:04:23
hi NightLitch

The username is missing in the kickline.
[21:29] <-NXS-3-> f3rry is Kicking [USER], Reason: blabla Rule: (1) Ingen Barn- eller ton?rsPornografi! (mindre ?n 18 ?rs ?lder)

I agree with the request from Trucker, that it would be nice if you make anything in your script that blocks nick clones. I have users in my hub who use Direct Connect and that program automatic logs in with a lot of double nicks like testuser1 testuser2 testuser3 etc....

Ok, keep it up man, you are doing a great job, i love this script.
Title:
Post by: NightLitch on 21 February, 2004, 23:42:53
Will fix those lines. I was doing it in a hurry becouse you shooted for it.

About the clones I will look into it.

Have just created a new IP-Ranger for our hub so that is why I have been busy. but more updates will come.

Hope you all can live with this till tomorrow I will try do a Huge update.

/NL
Title:
Post by: zinden on 22 February, 2004, 08:53:16
!status command doesnt seem to work at all.
Using the latest NXS-3
Title: NXS-3 v.2.1
Post by: WickeD on 22 February, 2004, 10:20:34
QuoteOriginally posted by zinden
!status command doesnt seem to work at all.
Using the latest NXS-3

Same here whit !status. Do not work!

And why is it 2 Rules?, 1 text and 1 lua.

//WickeD
Title: testing
Post by: kbeh273300 on 22 February, 2004, 12:11:50
looking sweet :)

and the !status cmd works its just a typo try !stats
Title:
Post by: zinden on 22 February, 2004, 12:36:40
about this:
SlotsPerHub = 1   -- Slots per Hub

Can the script use this?:
SlotsPerHub = 0.5   -- Slots per Hub

If not can you make it so it can handle that?
Title:
Post by: NightLitch on 22 February, 2004, 12:51:16
QuoteOriginally posted by WickeD
Same here whit !status. Do not work!

And why is it 2 Rules?, 1 text and 1 lua.

the status I will fix. or I maybe have forgotten to remove it from the help.

I belive that I changed the commands !hubstats & !stats is now.

And about the Rule thing. Read the FAQ.txt but my explaination is maybe short there...

It's like this in my hub we have !kick like this:

!kick nick rule reason

With this you enter a number in Rules.lua and it be shown instead of writing the hole again & again,
you get my point.

QuoteOriginally posted by zinden
   
about this:
SlotsPerHub = 1 -- Slots per Hub

Can the script use this?:
SlotsPerHub = 0.5 -- Slots per Hub

If not can you make it so it can handle that?

I shall see what I can do.

/NL
Title:
Post by: GeNNeLL on 22 February, 2004, 13:13:19

c4rlos have been warned [KICKS] time(s) and are now kicked!

and

]FakeCheck[ is Banning [USER], Reason: Hacked DC++


why not display nicks and number of kicks ??
Title:
Post by: NightLitch on 22 February, 2004, 13:25:22
Thx Again... god what a slappy work I did on the multilang.

Gonna fix it GeNNeLL.

Thx / NL
Title:
Post by: GeNNeLL on 22 February, 2004, 13:25:50
delete post by GeNNeLL
Title:
Post by: GeNNeLL on 22 February, 2004, 13:32:18
grrr sorry for double post ;// i have lag on forum ;//
Title:
Post by: GeNNeLL on 22 February, 2004, 14:01:28
Syntax error: malformed pattern (missing `]')
stack traceback:
   1:  function `strfind' [C]
   2:  function `ParseMyInfo' at line 594 [file `...and Settings\Admin\Pulpit\HUB\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 386 [file `...and Settings\Admin\Pulpit\HUB\scripts\NXS-3.lua']


NightLitch this is important bug ??? i have 600 users and i want to now :DD
Title:
Post by: zinden on 22 February, 2004, 15:02:01
Tiny Request.

Can you make !rules and !help come in PM instead of mainchat?
Or make some kind of setting for it in NXS-3.ini

Keep up the good work...loves the !info commands
Title:
Post by: Hoke on 22 February, 2004, 15:13:32
( NXS-3 settings)

-- Send Msg in Main or PM ( 1:PM / 0:MAIN )
MPM = 1


i think that do it
Title:
Post by: GeNNeLL on 22 February, 2004, 15:25:45
my users report this
You are using DCGUI version ( 0.2 )
The oldest version allowed is DCGUI ( 0.2.20 ), you may download the latest DCGUI at [URL]http://dc.ketelhot.de[/URL]
Error: 'Sukces'
Disconnected


this user using a DCGUI ver. 0.2.20

i allow DCGUI and i do not have this client on hub...strange....
Title:
Post by: NightLitch on 22 February, 2004, 15:56:40
Ok GeNNeLL very important!!!

I need to know Why you got the error on :
Syntax error: malformed pattern (missing `]')
stack traceback:
   1:  function `strfind' [C]
   2:  function `ParseMyInfo' at line 594 [file `...and Settings\Admin\Pulpit\HUB\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 386 [file `...and Settings\Admin\Pulpit\HUB\scripts\NXS-3.lua']

was it for offline info or online??

Quotezinden  
   
Tiny Request.

Can you make !rules and !help come in PM instead of mainchat?
Or make some kind of setting for it in NXS-3.ini

Keep up the good work...loves the !info commands
 

as Hoke said:

QuoteHoke
   
( NXS-3 settings)

-- Send Msg in Main or PM ( 1:PM / 0:MAIN )
MPM = 1


i think that do it

QuoteGeNNeLL
   
my users report this


You are using DCGUI version ( 0.2 )
The oldest version allowed is DCGUI ( 0.2.20 ), you may download the latest DCGUI at [URL]http://dc.ketelhot.de[/URL]
Error: 'Sukces'
Disconnected
this user using a DCGUI ver. 0.2.20

i allow DCGUI and i do not have this client on hub...strange....

This I don't understand why. but gonna take a closer look at it.

Update l8r today, I hope.

/NL
Title:
Post by: GeNNeLL on 22 February, 2004, 16:41:17
I do not use command !info. I restart script and i not have error.
I wait some time and this error will be display. ;//

Syntax error: malformed pattern (missing `]')
.............
............
Title:
Post by: zinden on 22 February, 2004, 16:45:28
here too same error after awhile:

Syntax Error: malformed pattern (missing `]')
Title:
Post by: NightLitch on 22 February, 2004, 17:43:38
I may have fixed it. W8 and see in my next release.

Out soon. Trying to get !info ip to work now. work on online users gonna try now on offline data.

/NL
Title:
Post by: GeNNeLL on 22 February, 2004, 17:59:38
thx NightLitch :D i wait ;]]
if this help you i change DCGUIver = "0.2.20" to "0" and error not display. if error display then i report .
Title:
Post by: NightLitch on 22 February, 2004, 18:09:40
Already solved the problem i think.

I used %x+ with search for hex's changed to %S+ and change the strfind a little so it should not be a problem longer. I hope again... :-p

Have fixed the !info so it works for finding IP's to now, ex:

!info 127.0.0.1

Works on both online & offline users.

About the: Syntax Error: malformed pattern (missing `]') Error I think I solved it to. otherwise I must dig deeper for it. think it was the { "zDC++[","zDC++" }, doing it becouse of the [ it missed a ] to be in love :-D...

Update soon now.

/NL
Title:
Post by: NightLitch on 22 February, 2004, 19:15:32
New Version Out:

NXS-3 Version: 2.2 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.2.2.rar)

2.2 : Fixed hopefully the DC:GUI Version check.
Fixed hopefully the info bug.
Fixed so you can use !info on both online & offline users.
Added Double IP Check
Added Ruri Ruri Client Check
Added $UserCommand for Users so far...

Enjoy!

/NL
Title:
Post by: GeNNeLL on 22 February, 2004, 19:46:18
thx NightLitch!! :) i test. you script is gr8 :DD
Title:
Post by: zinden on 22 February, 2004, 20:29:59
The command: !showstaff  doesnt work it gives this error:
Syntax Error: `for' table must be a table
Title:
Post by: angelsanges on 22 February, 2004, 21:10:02
QuoteOriginally posted by zinden
The command: !showstaff  doesnt work it gives this error:
Syntax Error: `for' table must be a table


the same here...
Title:
Post by: NightLitch on 22 February, 2004, 21:17:47
that is so strange...

Works gr8 for me...

the Profile.dat should look like this:


0|Master|11111011111111111111111000000001
1|Operator|11111000011001111111111000000001
2|VIP|10000000000001111000000000000000
3|Reg|10000000000000000000000000000000
4|Moderator|11111010011101111111110000000001


I have never had that problem...

so check this...

/NL
Title:
Post by: zinden on 22 February, 2004, 21:20:01
About !info  doesnt work anymore only works for !info

if i write "!info master"  it looks like this:

21:20:53] <-NXS3-> No user found with IP: master

But if i take his ip instead it works.
Title:
Post by: angelsanges on 22 February, 2004, 21:21:04
oky now it's ok!
Title:
Post by: NightLitch on 22 February, 2004, 21:45:49
thx Zinden... forgot checking if it was ok for names after I got that right...

Fix coming up soon then.
Title:
Post by: NightLitch on 22 February, 2004, 22:02:38
Update out:

NXS-3 Version: 2.3 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.2.3.rar)

2.3 : Fixed UserInfo to work with nicks to again.
Added Download Check( Regs & above can download)
Added !kill nick reason (ban & nickban user)
Added block search engine's.

enjoy guys!!

/NL
Title:
Post by: angelsanges on 22 February, 2004, 22:28:33
QuoteOriginally posted by NightLitch
Update out:

NXS-3 Version: 2.3 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.2.3.rar)

2.3 : Fixed UserInfo to work with nicks to again.
Added Download Check( Regs & above can download)
Added !kill nick reason (ban & nickban user)
Added block search engine's.

enjoy guys!!

/NL


!info ......but if i use !info K22 the bot says: No user found with IP: K22

???
Title:
Post by: NightLitch on 22 February, 2004, 22:42:08
gaahhhha... :-)

ok gonna try better then...
Title:
Post by: NightLitch on 22 February, 2004, 23:02:48
Update out:

NXS-3 Version: 2.4 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.2.4.rar)

2.4 : Fixed UserInfo some more, bug when using letters & digits together.
Added MinLengh & MaxLengh for User Nicks thx to Kepp.

enjoy guys!!

/NL
Title:
Post by: f3rry on 22 February, 2004, 23:22:52
Hi NightLitch,

You are realy fast with your Updates, nice work.

Could you also make a minimum lenght on the search string?

I'm going to test the latest version now :-)
Title:
Post by: NightLitch on 22 February, 2004, 23:25:01
quick fix for I don't have the time fixing it now.

So Download this Main file and change it.

NXS-3.lua HERE (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.lua)
Title:
Post by: angelsanges on 22 February, 2004, 23:27:24
QuoteOriginally posted by NightLitch
quick fix for I don't have the time fixing it now.

So Download this Main file and change it.

NXS-3.lua HERE (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.lua)


fix for what?....i don't understand
Title:
Post by: NightLitch on 22 February, 2004, 23:34:17
Try the main packed version then you see...
Title:
Post by: Dyzan on 22 February, 2004, 23:35:57
Me and NightLitch found a bugg in !info .

But it will be fixed as soon as possible.

/Dyzan
Title:
Post by: angelsanges on 22 February, 2004, 23:43:35
oky thanks..
Title:
Post by: NightLitch on 23 February, 2004, 00:41:48
New Version out:

NXS-3 Version: 2.5 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.2.5.rar)

2:5 : Finish Translation by: Hoke Added.
Fixed UserInfo once again to work right.
Fixed MinLengh & MaxLengh.

This one should work with no problem I hope... :-)

/NL
Title: small request
Post by: kbeh273300 on 23 February, 2004, 00:56:00
i have a small request how about a !uptime command it would show in days,min, hours, and maybe the date?

its looking better and better all the time now :)
Title:
Post by: angelsanges on 23 February, 2004, 01:06:04
can you explain me how to use !timeban command?

!timeban [num] [m/h/d] [reason]
Title:
Post by: NightLitch on 23 February, 2004, 01:08:10
!timeban nick 3d reason = timebanned for 3days
Title:
Post by: NightLitch on 23 February, 2004, 01:08:59
Will make more updates under the week. godnight ppl.
Title:
Post by: Lost_Kalle26023 on 23 February, 2004, 01:15:38
Can I make the script find fakeshare, forbidden files and things like that??
 ?(
thnx for a great script

//Lost_Kalle26023
Title:
Post by: angelsanges on 23 February, 2004, 12:18:07
i know that the !op command it's a ptokax built in command but with NXS-3 it does not work....
Title:
Post by: NightLitch on 23 February, 2004, 12:45:49
Quoteangelsanges
   
i know that the !op command it's a ptokax built in command but with NXS-3 it does not work....

Make sure that the !op command is checked in hubsoft for that level you want it to work for.

Otherwise I may have given the !op command to Mod's & Masters only. Gonna check it.
Title:
Post by: angelsanges on 23 February, 2004, 13:20:46
Master & Moderator are checked but it does not work.
Title:
Post by: f3rry on 23 February, 2004, 13:55:31
hi NightLitch


The Only Registered Users Can Download, not seems to be working. Also the ptokax buildin commands for Ops and higher isn't working. When i disable the script, the commands are back.
Title:
Post by: Dyzan on 23 February, 2004, 14:11:03
QuoteOriginally posted by f3rry
hi NightLitch


The Only Registered Users Can Download, not seems to be working. Also the ptokax buildin commands for Ops and higher isn't working. When i disable the script, the commands are back.

Yepp, There is a bugg in "The Only Registered Users Can Download"

But all commands works perfect here. Maybe the !op command is the only that have some bogus things. =)

But ells it works.

One request from me is to put a on/off funktion for "Min Bandwidh Lock"

More Reports:
Something bogus with advertising script.
look here:

[13:59] <> [Skekraft]Atlas - *Cesure IP* is advertising, typing: d.v.s extract content... annars g?r jag ju ?nnu en iso/bin
[13:59] <> User are kicked for advertising
*edit* This happens only some times. Strange.

hmm i did not send any adress. Fix it NL!

Then the final bugg i found when
-- Send Info Welcome Message to User / 1:on/0:off
SWelcome = 1
is on. I got this:

Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 301 [file `E:\Temp mapp\0.330.b15.25.dbg\scripts\NXS-3.lua']

Thats all for now. L8r!

/Dyzan
Title:
Post by: f3rry on 23 February, 2004, 14:13:54
hi NightLitch,


If i connect with the hub as a normal user and after that connect as Op, i get this error.

Syntax error: attempt to call field `SD' (a nil value)
stack traceback:
   1:  function `LogUser' at line 858 [file `D:\PtokaX\scripts\NXS-3.lua']
   2:  function `OpConnected' at line 231 [file `D:\PtokaX\scripts\NXS-3.lua']

I have fixt it by adding SMPM(curUser) on the following line.


function OpConnected(curUser)
           SMPM(curUser)


When i type !info without nick or ip, i get this error  

No syntax errors in script file NXS-3.lua
Syntax error: attempt to concat global `Prefix' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 692 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <34:file `NXS-3/data/COMMANDS.lua'> at line 34
   3:  function `GetCom' at line 593 [file `D:\PtokaX\scripts\NXS-3.lua']
   4:  function `DataArrival' at line 462 [file `D:\PtokaX\scripts\NXS-3.lua']
 

Also fixt it for myself by chancing "..Prefix.." into "..Prefix1..".

curUser:SD(BotName,CmdErrorMsg.." "..Prefix.."info :"..CmdErrorPar)


curUser:SD(BotName,CmdErrorMsg.." "..Prefix1.."info :"..CmdErrorPar)


Not realy important bugs, but important enough to be fixt. :-)
Title:
Post by: Dyzan on 23 February, 2004, 14:22:05
QuoteOriginally posted by f3rry
hi NightLitch,


If i connect with the hub as a normal user and after that connect as Op, i get this error.

Syntax error: attempt to call field `SD' (a nil value)
stack traceback:
   1:  function `LogUser' at line 858 [file `D:\PtokaX\scripts\NXS-3.lua']
   2:  function `OpConnected' at line 231 [file `D:\PtokaX\scripts\NXS-3.lua']

I have fixt it by adding SMPM(curUser) on the following line.


function OpConnected(curUser)
           SMPM(curUser)


When i type !info without nick or ip, i get this error  

No syntax errors in script file NXS-3.lua
Syntax error: attempt to concat global `Prefix' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 692 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <34:file `NXS-3/data/COMMANDS.lua'> at line 34
   3:  function `GetCom' at line 593 [file `D:\PtokaX\scripts\NXS-3.lua']
   4:  function `DataArrival' at line 462 [file `D:\PtokaX\scripts\NXS-3.lua']
 

Also fixt it for myself by chancing "..Prefix.." into "..Prefix1..".

curUser:SD(BotName,CmdErrorMsg.." "..Prefix.."info :"..CmdErrorPar)


curUser:SD(BotName,CmdErrorMsg.." "..Prefix1.."info :"..CmdErrorPar)


Not realy important bugs, but important enough to be fixt. :-)

Never mind...

The !info fix worked. Thanks!

But the other fix I don't understand. Never got that error. NightLitch maybe do know more.

Title:
Post by: f3rry on 23 February, 2004, 14:36:15
QuoteDyzan: But all commands works perfect here. Maybe the !op command is the only that have some bogus things. =) But ells it works

hmmm what about !restartscripts / !restart / !nickban
Title:
Post by: Dyzan on 23 February, 2004, 14:41:27
Hehe I found another bugg :D LOL

!getbanlist is dead! for both OPs Master and Moderators.

hehe Strange.

Dam it is something wrong with antiadvertising script.

The user got kicked for this. Look!

[14:43] <> [Skekraft]Atlas - *Censur IP* is advertising, typing: jaja, nu ?r allt inne... s? jag g?r offline och programmerar lite... ses grabbar
[14:43] <> User are kicked for advertising

/Dyzan
Title:
Post by: f3rry on 23 February, 2004, 14:43:54
QuoteBut the other fix I don't understand. Never got that error. NightLitch maybe do know more.

If you enable "Don't Allow Double IP's" then you get that error.

Sure... Nightlitch can fix all the problems :)
NXS-3 will be the greatest script ever.
Title:
Post by: Dyzan on 23 February, 2004, 14:46:39
Yes, it will be great. All buggs just need to go away. ;)
Title:
Post by: [NL]trucker on 23 February, 2004, 15:02:15
Nightlitch

got an error on the latest version

Syntax error: attempt to index local `vUser' (a nil value)
stack traceback:
   1:  function `KicksRegVipOp' at line 153 [file `NXS-3/data/Handlings.lua']
   2:  function `ToKickMsg' at line 961 [file `D:\==PTOTAX==\robo\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 466 [file `D:\==PTOTAX==\robo\scripts\NXS-3.lua']

Syntax error: attempt to call field `SD' (a nil value)
stack traceback:
   1:  function `LogUser' at line 856 [file `D:\==PTOTAX==\robo\scripts\NXS-3.lua']
   2:  function `OpConnected' at line 229 [file `D:\==PTOTAX==\robo\scripts\NXS-3.lua']

Script stopped.
 

what does it mean ?

furthermore a user was ablle to connect twice with the same ip and name but with diferent  share .

despite my setting to block doublle login.
Title:
Post by: NightLitch on 23 February, 2004, 15:10:59
LOL! thx guys what a Huge bug report... Thx alot.

Gonna work my way around this as fast as I can.

so simple bugs to...

but gonna be fixed.
Title:
Post by: GeNNeLL on 23 February, 2004, 15:15:46
i think this bug
Syntax error: attempt to call field `SD' (a nil value)
stack traceback:
1: function `LogUser' at line 856 [file `D:\==PTOTAX==\robo\scripts\NXS-3.lua']
2: function `OpConnected' at line 229 [file `D:\==PTOTAX==\robo\scripts\NXS-3.lua']


be display when on hub logs 2 operators with the same IP

change line 855 in file NXS-3.ini to

if CheckDouble(curUser.sIP)==1 and DoubleIP==1 and not curUser.bOperator then



i dont have your first bug
Title:
Post by: GeNNeLL on 23 February, 2004, 15:18:05
heh i to slow ;DD
Title: Do this only work on OP?
Post by: WickeD on 23 February, 2004, 15:24:17
-- Only Registered Users Can Download / 1:on/0:off
OnlyRegFromOps = 1


//WickeD
Title:
Post by: Dyzan on 23 February, 2004, 15:32:53
QuoteOriginally posted by WickeD
-- Only Registered Users Can Download / 1:on/0:off
OnlyRegFromOps = 1


//WickeD

That funktion does not work right yet. It will come a fix for it.

It means that you have to be a registered user to be able to download from ops and higher.

/Dyzan
Title: Aaaa!! *lol*
Post by: WickeD on 23 February, 2004, 15:40:17
Thx Dyzan!!!   =)
Title:
Post by: NightLitch on 23 February, 2004, 15:40:39
Ok have fixed hopefully now all bugs exept the download from regs only
Title:
Post by: NightLitch on 23 February, 2004, 15:55:25
Updated Version out:

NXS-3 Version: 2.6 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.2.6.rar)

2.6 : Fixed Builtin Commands changed return 1 to return 0 (forgot that)
Fixed so !op works for all operators or for those choosen in Hubsoft
Fixed Many bugs!!!
Added AllowBW = 1 ( Allow Bandwidh Check Request by Dyzan )
Fixed the KickVipRegOp function I hope now, Reported by Trucker.
Fixed vShare = nil hopefully...
Download only from regs check I will fix later.

Hope most of the bugs is fixed now... the Download part I don't have time right now to fix but all other things should be OK, otherwise I hang myself... ;-p

Enjoy / NL
Title:
Post by: f3rry on 23 February, 2004, 16:25:54
Hi NightLitch

got this error now

Syntax error: bad argument #1 to `strfind' (string expected, got nil)
stack traceback:
   1:  function `strfind' [C]
   2:  function `BadClient' at line 883 [file `D:\PtokaX\scripts\NXS-3.lua']
   3:  function `NewUserConnected' at line 280 [file `D:\PtokaX\scripts\NXS-3.lua']
Title: Plz don?t hang your self!!! =) wee need you m8!!! =)
Post by: WickeD on 23 February, 2004, 17:16:20
QuoteOriginally posted by NightLitch
Hope most of the bugs is fixed now... the Download part I don't have time right now to fix but all other things should be OK, otherwise I hang myself... ;-p

Enjoy / NL



Don?t wory m8!!  I love your script and all your work that you are doing for us!!  =)


Keep up the good work my m8!

Thx NightLitch!!!!!!!!!!!!!!


//WickeD
Title:
Post by: [NL]trucker on 23 February, 2004, 17:20:12
ferry

in line 280 this one :

Quoteif BadClient(curUser,data) then

is a space to much i think

remove the space and try again.
Title:
Post by: f3rry on 23 February, 2004, 17:24:00
QuotePlz don?t hang your self!!! =) wee need you m8!!! =)

I agree :-))
Title:
Post by: NightLitch on 23 February, 2004, 17:56:26
Nothing wrong there f3rry. Just make sure NXS-3 is the first loading script in hubsoft, I don't know why that strfind is happening.

And OK I will not hang myself YET! ;-p
Title:
Post by: NightLitch on 23 February, 2004, 19:04:03
Update:

NXS-3 Version: 2.7 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.2.7.rar)

2.7 Fixed Download Check for Regs
Fixed the advertising some.

Enjoy! And as Always Report Bugs... hehe

/NL
Title:
Post by: zinden on 23 February, 2004, 19:28:46
about Rule kicks. I write like this:
!kick Bot 1 do not share incomplete files
Master is Kicking Bot, Reason: do not share incomplete files Rule: (1) No incomplete files shared

then to the part i wonder about :)
Then i look in "!info Bot"

Kick(s):      1 Time(s)
Kick Reason:   do not share incomplete files, Time: 23/02/2004/18:08:51
Kicked by:   Master

As you see it doesnt show the second rule in info... Can it be added?
Or a way to disable the Rules.dat file.....
Title:
Post by: GeNNeLL on 23 February, 2004, 20:02:49
hi NightLitch
can you add check connection [28.8. 33,6. 56 kbps,dsl,cable,lan]
and swith to not allowed modem connection ???
Title:
Post by: NightLitch on 23 February, 2004, 20:57:43
Quotezinden  
   
about Rule kicks. I write like this:
!kick Bot 1 do not share incomplete files
Master is Kicking Bot, Reason: do not share incomplete files Rule: (1) No incomplete files shared

then to the part i wonder about :)
Then i look in "!info Bot"

Kick(s): 1 Time(s)
Kick Reason: do not share incomplete files, Time: 23/02/2004/18:08:51
Kicked by: Master

As you see it doesnt show the second rule in info... Can it be added?
Or a way to disable the Rules.dat file.....

My idea with that was to simplify the Rreason so you don't need to write the rule when typing a reason.

What I can do is like this to save some lines in file:


Kick(s): 1 Time(s)
Kick Reason: do not share incomplete files, Rule: (1) Time: 23/02/2004/18:08:51
Kicked by: Master

That is what I can do.

/NL
Title:
Post by: NightLitch on 23 February, 2004, 21:01:00
QuoteGeNNeLL    
hi NightLitch
can you add check connection [28.8. 33,6. 56 kbps,dsl,cable,lan]
and swith to not allowed modem connection ???

aww good point had forgot about that. nice.

Gonna fix it.

Gonna try fix Zinden's wish for 0.5 SlotPerHub to, hopefully I will make it work.

A simple way I just though about was this way:

1.0 SlotsPerHub and 0.5 SlotsPerHub in this way you should be able to to this to: 0.2 SlotsPerHub but that is not what many want maybe.

/NL
Title:
Post by: zinden on 23 February, 2004, 21:10:34
A bug found:
<-NXS-> Jean-Philippe_Breton have been warned [KICKS] time(s) and are now kicked!

in version 2.6

Doesnt show how many times they been kicked
Title:
Post by: NightLitch on 23 February, 2004, 21:49:07
thx Zinden!
Title:
Post by: NightLitch on 23 February, 2004, 22:10:00
Updated Version Out:

NXS-3 Version: 2.8 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.2.8.rar)

2.8 : Fixed !Banip
Fixed a bug i !warn.
Added Connection Speed Check.

More bugs plzzzz..... ;-p

/NL
Title: No bugs here my m8!!! =)
Post by: WickeD on 23 February, 2004, 23:04:28
My NXS-3 v.2.8 is working gr8 m8!!!  =)

Thx a lot!!!


//WickeD
Title: great
Post by: kbeh273300 on 24 February, 2004, 00:03:27
working great here to :)
Title:
Post by: f3rry on 24 February, 2004, 00:48:30
Hi NightLitch



NXS-3 v.2.8  works fine

"Only the Registered users can download" isn't working 100 %.
Title:
Post by: NightLitch on 24 February, 2004, 00:56:31
Sounds good. zinden, GeNNeLL, f3rry & Trucker how does it work for you guys ???

Coming up to 3.0:

* Small Freshstuff/Topic Part
* Bad IP blocking like: RIAA etc. ( on/off function )
* MediaForce Blocking
* BCDC++ Client fix for $IP
* Hub Uptime, Users Uptime, Top 5 Timers or given value
* Redirect Jump
* More Counters like in RC, Bad Client, Bad Tag, Bad Connection etc.
* Own Welcome Message for VIP,OP, MOD, MSR

Just a few things.

/NL
Title:
Post by: NightLitch on 24 February, 2004, 00:57:22
Quoteby f3rry
"Only the Registered users can download" isn't working 100 %.

whats the problem ???
Title:
Post by: Dyzan on 24 February, 2004, 02:24:19
QuoteOriginally posted by f3rry
"Only the Registered users can download" isn't working 100 %.

Most off the % thats cousing the problem. Is that the user has not logged out and in after the registering.
Title: error
Post by: kbeh273300 on 24 February, 2004, 03:41:44
it seems that the !showstaff bug is back in the 2.8v when i use the cmd it does nothing at the hubsoft gives this error.

Syntax error: `for' table must be a table
stack traceback:
   1:  function `ShowStaff' at line 170 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <13:file `NXS-3/data/COMMANDS.lua'> at line 13
   3:  function `GetCom' at line 597 [file `...ings\USER\Desktop\nxs-3.v.2.8\scripts\NXS-3.lua']
   4:  function `DataArrival' at line 466 [file `...ings\USER\Desktop\nxs-3.v.2.8\scripts\NXS-3.lua']
Title:
Post by: Dyzan on 24 February, 2004, 04:12:27
QuoteOriginally posted by kbeh273300
it seems that the !showstaff bug is back in the 2.8v when i use the cmd it does nothing at the hubsoft gives this error.

Nopp, !showstaff command works perfect for me in 2.8

Check that all files are updated correct. And that your Profile.dat file is OK.

/Dyzan
Title:
Post by: B@B? on 24 February, 2004, 10:11:13
Hi

I?ve loaded a lot lot of scripts in our Hubs;

Mostly the Error "for table must be a table" is based on an file
wich does not exist or it?s copied to a wrong folder...check 4 this!

Hth  ;)

@NightLitch: One of the best script i?d ever had: THANK YOU! (http://board.univ-angers.fr/images/icons/thumb_up.gif)
Title:
Post by: NightLitch on 24 February, 2004, 14:44:46
well make sure you have profile 4 in your Profile.dat

this is how mine is:

0|Master|11111111111111111111111000000001
1|Operator|11111100011001111111111000000001
2|VIP|10000000000001111000000000000000
3|Reg|10000000000000000000000000000000
4|Moderator|11111110011101111111110000000001

/NL
Title: oops
Post by: kbeh273300 on 24 February, 2004, 14:50:16
yep i forgot to set the right profiles its working great now . great script :)
Title:
Post by: angelsanges on 24 February, 2004, 15:01:33
if I disable the option autoban after X kicks.........the user is not banned.....but it is possible to ADD also an timeban option that will work instead of autoban?

example:

--Tempban after X kicks (1:activated - 0:disabled)
tempban = 1

--TempbanTime in hours
Time = 72

--Autoban after X kicks (1:activated - 0:disabled)
Autoban = 0

-- Max Kick until banned
MaxKick = 5


sorry for my english. :D
Title:
Post by: NightLitch on 24 February, 2004, 15:04:19
ah you wanna set the Tempban time, if so, putting it in sure.

/NL
Title:
Post by: angelsanges on 24 February, 2004, 15:07:04
yes an automated timeban function after 3 or more kicks for 48 hours...just an example.

thanks!

ps: for sure an option that will set the timeban time...   :baby:
Title:
Post by: NightLitch on 24 February, 2004, 17:10:01
Update:

NXS-3 Version: 2.9 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.2.9.rar)

2.9 : Added BCDC++ Client Fix for $UserIP
Added User Timer, Hub Timer 10 Top Timers
Added MediaForce Check
Updated the !hubstats

Enjoy!
Title:
Post by: angelsanges on 24 February, 2004, 17:29:52
mediaforce check what is it?
Title:
Post by: angelsanges on 24 February, 2004, 17:34:31
you missed to add some commands to help....

["mytime"] = function(curUser,data) MyTime(curUser,data) end,
["toptimers"] = function(curUser,data) TopTimers(curUser,data) end,
["uptime"] = function(curUser,data) UpTime(curUser,data) end,


another thing....there is this voice...
["!"] = function(curUser,data) curUser:SendPM(BotName,"You called upon me "..curUser.sName.." what can I do for you ?") end,
the command is "!" or "!!"?
Title:
Post by: GeNNeLL on 24 February, 2004, 18:12:53
hi...  NightLitch script works gr8 ;]]


QuoteOriginally posted by angelsanges
["!"] = function(curUser,data) curUser:SendPM(BotName,"You called upon me "..curUser.sName.." what can I do for you ?") end,
the command is "!" or "!!"?

command is "!!"
prefix..+"!"="!!"  :DD
Title: ??? NightLitch
Post by: WickeD on 24 February, 2004, 18:17:32
Is it only me that see this in the mainchat or do every one see it? <> [Umenet]budolph - 212.217.149.210 g?r reklam, Skriver: g? in p? zone.msn.com


//WickeD
Title:
Post by: NightLitch on 24 February, 2004, 18:18:42
Can make that with an option in INI-file

like:

Prefix1 = "!"

CallBot = "!"

Thx for notice that I forgot the commands in help angelsanges.

Am gonna add l8r a -small- Freshstuff & Own welcome for VIP, OP, MOD, MSR.

have a good one next update will be 3.0 and that version can come anytime. L8r this evening tommorrow day after that etc.

Will see what the time gives me.

/NL
Title:
Post by: NightLitch on 24 February, 2004, 18:19:13
Everyone can see that wicked, every OP.
Title: ??? NightLitch!
Post by: WickeD on 24 February, 2004, 18:21:34
What do this have for funktion?

-- MediaForce Check / 1:on/0:off
MFC = 1
MediaForceVersions = {"1.0.25"}
MediaForceShareAmount = {"18552221398"}

//WickeD
Title:
Post by: GeNNeLL on 24 February, 2004, 18:37:55
in nsx-3.v.2.9 is 5 redirect low & high share address. this is random redirect ???
when yes, this is gr8 i wait for this :DD
Title:
Post by: GeNNeLL on 24 February, 2004, 18:41:32
can you add redirect when users not have limit slots,slots/hub,max hub ??? to other hubs ;]
Title:
Post by: NightLitch on 24 February, 2004, 20:37:54
QuoteGeNNeLL
   
can you add redirect when users not have limit slots,slots/hub,max hub ??? to other hubs ;]

I can make On/Off switches to it. but It will use the first Redirect (LowRedirect)

/NL
Title:
Post by: GeNNeLL on 24 February, 2004, 21:20:02
hmm will be fine ;]
but users not have limits slots and hub i want redirect to other hub, not to low share hub.
Title: 8)
Post by: Hakis on 24 February, 2004, 21:27:42
NightLitch
Can you get in bot comands !reklama , !hubfriends , !topfilms ,!topmusic ,!topgames

thanks. Jelgavahub.no-ip.com OWNER
Title:
Post by: zinden on 24 February, 2004, 21:54:05
A tiny request...

I would like to have some kind of option to add more .txt files for command.
Like if i make a txt file called games.txt in same folder as Rules.txt i can use that file to show just writing !games

I hope you know what i mean........my english isnt the best language for me :)
Title:
Post by: vladimir on 24 February, 2004, 22:03:03
hi

Can i run Mean_machine and NXS-3 at the same time ??
Title:
Post by: NightLitch on 24 February, 2004, 22:10:39
QuoteCan i run Mean_machine and NXS-3 at the same time ??

Why???

2 MasterBot's stick to 1...

not to recomend.
Title:
Post by: NightLitch on 24 February, 2004, 22:12:02
About the fileloading Yes I will try fit it in. :-)

Easy guys... Am not a robot. hehe

But the progress is fast. but have already done some optimizing.

/NL
Title:
Post by: angelsanges on 24 February, 2004, 23:52:28
!gag command isn't working here.... :(
Title:
Post by: angelsanges on 24 February, 2004, 23:57:50
problem solved....
Title:
Post by: NightLitch on 25 February, 2004, 00:38:10
Quote!gag command isn't working here.... :(

A yes didn't put that in, in the BuiltIn commands but I will. sry.

/NL
Title:
Post by: angelsanges on 25 February, 2004, 09:31:28
in version 3.0 it will be included a configurable automatic timeban after X kicks instead of automatic ban?
Title:
Post by: NightLitch on 25 February, 2004, 16:44:55
Quotein version 3.0 it will be included a configurable automatic timeban after X kicks instead of automatic ban?

Yes I will fix that... / NL
Title:
Post by: angelsanges on 25 February, 2004, 22:06:36
thanks in advance!
Title: ??? NightLitch
Post by: WickeD on 25 February, 2004, 22:23:24
Do the script take Rule:0 if I kick eny one and don?t write a Rule?
I did not write enyting after support@northside.se in CDM!!


<[SU+]Share-Checker> User [Kommunicera]aliaz Mismatched share size - filelist was inflated 2.46 times, stated size = 60.00 GB, real size = 24.44 GB
<[SU+]Share-Checker> Kickar: [Kommunicera]aliaz Anledning:  - Mismatched share size - filelist was inflated 2.46 times, stated size = 60.00 GB, real size = 24.44 GB
<[B?]?V?L:???> [SU+]Share-Checker Kickar [Kommunicera]aliaz, Anledning: Utdelad m?ngd material st?mmer inte! Fixa! V?lkommen tillbaks sen!! - Klagom?l / Funderingar skickas med e-mail till: support@northside.se Rule: 0

//WickeD
Title:
Post by: NightLitch on 26 February, 2004, 00:14:05
It almost correct, I see I have a little bug there. But yes if you don't set rule the rule will come out like this:

Rule: Not given

but have a slight error there, there for the 0 come.

/NL
Title: Hi...NightLitch!
Post by: WickeD on 26 February, 2004, 10:06:44
Do you think you can fix this welcome info so it do not have so many empty lines?


<[B?]?V?L:???>


------------------------------------------------------------------------------------
 Lite info om dig [S+]WickeD! Om du skriver !myinfo f?r du all info om dig! Ha en trevlig dag!
 
 Du anv?nder DC++ Version: 0.306.
 Du delar ut: 91.94 Gb / 6 Slots ?ppna.
 Du ?r i 1 Hubbar som anv?ndare.
 Du ?r i 0 Hubbar som registrerad anv?ndare.
 Du ?r i 0 Hubbar Som operat?r.
 Din bandbredds begr?nsning ?r: unlimited kB/s
 Du ?r i Active L?ge.
 
------------------------------------------------------------------------------------

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 26 February, 2004, 11:52:06
Do you think you can add in next version a BadFileCheck??

And so the user get?s a Warn/Kick for BadFile in share?

//WickeD
Title:
Post by: NightLitch on 26 February, 2004, 15:18:32
Yes WickeD I can take away some lines and I can put in FileCheck with on/off switch. np.

By the way, see your welcome is in swedish, does that mean you have a complete translation on it ???

NOTE:

When NXS-3 3.0 Will come I have put in FreshStuff made by plop and I want then that the translations start.

only minior things will happen next. Don't want it to be to huge.

/NL
Title: Yes NightLitch!
Post by: WickeD on 26 February, 2004, 15:38:04
I have a complete translation in Swedish! I will send it to you! I will make small fix in it and then I send it to you!  =)

//WickeD
Title:
Post by: f3rry on 26 February, 2004, 23:11:13
hi NightLitch,

It's geting a little bit boring, no bugs, no problems, no errors.....everything works fine :-P

Greetings
Title:
Post by: NightLitch on 26 February, 2004, 23:23:33
Well isn't that the point hehe. Soon there will come bugs.

3.0 not far away now.

Surely there will be problems there.

At the moment I try to get RIAA check to work propertly.
Title: error
Post by: kbeh273300 on 27 February, 2004, 01:30:50
i keep getting thi error not sure what it is thats makeing it .
Syntax error: attempt to call global `AppendFile' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 314 [file `...ings\USER\Desktop\nxs-3.v.2.8\scripts\NXS-3.lua']

i use dc++ cmd on the hub and i use PtokaX DC Hub 0.3.3.0 build 15.25 [debug]
Title:
Post by: Dyzan on 27 February, 2004, 03:24:34
QuoteOriginally posted by kbeh273300
i keep getting thi error not sure what it is thats makeing it .
Syntax error: attempt to call global `AppendFile' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 314 [file `...ings\USER\Desktop\nxs-3.v.2.8\scripts\NXS-3.lua']

i use dc++ cmd on the hub and i use PtokaX DC Hub 0.3.3.0 build 15.25 [debug]

That was the first real error I have seen in 2.8.
It works great here. =)

/Dyzan
Title: error
Post by: kbeh273300 on 27 February, 2004, 03:46:41
oops i forgot i use 2.9
Title:
Post by: NightLitch on 27 February, 2004, 13:03:04
That error looks really strange for me.

Cause I do not use any appendfile in NewUserConnected.

Well if the error returns in 3.0 that soon will be released then I need to check it.

When you installed the nxs-3 2.9 hope you did a clean install.

/NL
Title:
Post by: Nafigs on 27 February, 2004, 13:43:54
Can you plzzz add cmd wich shows when OP connects???

Sorry about my english:)
Title:
Post by: Nafigs on 27 February, 2004, 14:25:16
Is this normal, whith cmd !whois i get only this

[15:18] <~CauruleBot~> Checking the RIPE-Database for  81.198......  ...
[15:18] <~CauruleBot~>


   Done...

and its all:(

whith my old script, i get normal info whit same cmd, like this

[15:22] here is the info from: Mariks
[15:22] ip: 81.198.........
[15:22] oDC client
[15:22] version: 5.311
[15:22] active mode
[15:22] 0 - hub(s) as regular user
[15:22] 0 - hub(s) as registered user
[15:22] 1 - hub(s) as operator
[15:22] 6 - slot(s)

what is the problem with your script? or there isnt any problem ?:)))

Sorry about my english:)
Title:
Post by: NightLitch on 27 February, 2004, 14:39:06
About the whois maybe I need to put in more whois there. like in LIS.

About the When OP enters it will come in 3.0 a create own welcome from VIP and up.

/NL
Title: ??? NightLitch!
Post by: WickeD on 27 February, 2004, 16:04:10
Look here!

In NXS-3 v.2.9 Rules you writed:

!kick nick (rule reason)

OP kicked USER for (REASON Rule)

Why is it not the same in the two lines?  Rule Reason  /  Reason Rule  ?

//WickeD
Title:
Post by: Nafigs on 27 February, 2004, 16:10:15
When there gonna be v 3.0 ??? i neeeeeeed it:))) Btw super script, finally i can switch off User Statistic:) and delete 10 small scripts:)))
Title: Hi...NightLitch!
Post by: WickeD on 27 February, 2004, 20:24:07
Can you fix so users can bee warn/kick for advertising?

-- Set On/Off if user should be kicked for advertising /
1:on/0:off
ADKICK = 0


Like this:

-- Set  if user should be warn/kicked for advertising /
1:warn/0:kick
ADKICK = 0

//WickeD
Title:
Post by: Nafigs on 28 February, 2004, 10:00:36
I dont get it:((( How can i add new commands in !help txt???
Title: Nafigs!!!??
Post by: WickeD on 28 February, 2004, 10:51:30
New commands!! What do you mean?

//WickeD
Title:
Post by: Nafigs on 28 February, 2004, 11:58:49
Nothing nothing:))) i decided to use only NXS-3 :)))
Title:
Post by: NightLitch on 28 February, 2004, 12:41:29
you will not be able to add own commands but l8r i will add a txt-trigger function that will have ex. !movies that will open movies.txt Zindens Request if I remember.

About the Advertising WickeD the way you want it, it is in some way that already. Either you choose to kick user or just blocking the advertising and you get a report of it.

/NL
Title:
Post by: Typhoon on 28 February, 2004, 12:47:29
where can i get all your versions of NXS-3 .. i seem to be missing some ogf them ! as i am sort of colecting i would be happy i you could post either link or mail them to me NL .  

thx in advance
Title:
Post by: NightLitch on 28 February, 2004, 12:49:43
I Pm you the links Typhoon l8r. gonna eat some breakfast first.

/NL
Title:
Post by: GeNNeLL on 28 February, 2004, 13:37:23
this strange but i have this error

Syntax error: attempt to index local `vUser' (a nil value)
stack traceback:
   1:  function `KicksRegVipOp' at line 153 [file `NXS-3/data/Handlings.lua']
   2:  function `ToKickMsg' at line 972 [file `...ttings\Admin\Pulpit\Kopia HUB\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 472 [file `...ttings\Admin\Pulpit\Kopia HUB\scripts\NXS-3.lua']

Title:
Post by: NightLitch on 28 February, 2004, 15:01:44
Yes I know. that is fixed in 3.0 it will hopefully be released later tonight or tomorrow.

/NL
Title:
Post by: GeNNeLL on 28 February, 2004, 15:49:29
Oki i wait for next released :DD thx
Title: Hi...NightLitch!
Post by: WickeD on 28 February, 2004, 17:17:05
QuoteOriginally posted by NightLitch
About the Advertising WickeD the way you want it, it is in some way that already. Either you choose to kick user or just blocking the advertising and you get a report of it.
/NL


When the script is Blocking users message I want the script to !warn the user to!

Can that bee fixed?

//wickeD
Title:
Post by: NightLitch on 28 February, 2004, 22:11:29
A simple way is in the Language file just change the lines there.

From Advertising Cencored or what I have put there to a warning.

I can also put in like you wanted it maybe l8r.

0=no action / Just report to ops
1=warn / warn user & report to ops
2=kick / kicks user & reports to ops
3=ban / bans user & reports to ops

/NL
Title:
Post by: WickeD on 29 February, 2004, 13:32:56
QuoteOriginally posted by NightLitch
I can also put in like you wanted it maybe l8r.

A simple way is in the Language file just change the lines there.

From Advertising Cencored or what I have put there to a warning.


0=no action / Just report to ops
1=warn / warn user & report to ops
2=kick / kicks user & reports to ops
3=ban / bans user & reports to ops

/NL





This look nice!!  =)  Can you fix that on NXS-3 v3.0 ?

0=no action / Just report to ops
1=warn / warn user & report to ops
2=kick / kicks user & reports to ops
3=ban / bans user & reports to ops


If I change in Language file do the !warn beeing loged in warnlog then?



//WickeD
Title:
Post by: NightLitch on 29 February, 2004, 13:36:52
QuoteIf I change in Language file do the !warn beeing loged in warnlog then?
//WickeD

nope it will not. Nut I'll fix that as soon possible gonna make a release today in a couple of hours or erlier.
Title: Nice...NightLitch!!! =)
Post by: WickeD on 29 February, 2004, 14:12:42
Looking forward to see v.3.0  =)


Keep up the good work my m8!!!


//WickeD
Title:
Post by: NightLitch on 29 February, 2004, 16:39:35
NXS-3 3.0 OUT!!!!

DOWNLOAD! (http://swenorth.myftp.org/network/nightlitch/files/nxs-3/nxs-3.v.3.0.rar)

3.0 : Fixed the welcome some bit for OP's
Added NXS-3 own banlist
Added Timeban/Ban switch when x kicks reached
Added !gag and !ungag (builtin com)
Added Freshstuff 3.3 by Plop.
Added Guardian Blocker to RIAA etc. with on/off switch
Added !welcome for VIP's and higher to add a personal welcome message.
Fixed some minior bugs.
Updated the !hubstats for some more info.
Changed the Advertising choices to: / 0:Nothing /1:Warn/2:Kick/3:Timeban/4:Ban
Added more txt . commands request by Zinden
Fixed a bug in freshstuff

ENJOY!

/NL
Title:
Post by: NightLitch on 29 February, 2004, 16:48:06
coming up later:

       * !regme command
        * some optimizing
        * hopefully some translations now.
        * a possible BuiltIn IP-Ranger
        * A Gui will come later on too
Title:
Post by: GeNNeLL on 29 February, 2004, 16:59:10
nice..... released 3.0 is out ;]
i write new translation for you NightLitch
thx
Title:
Post by: B@B? on 29 February, 2004, 17:20:27
Hi NightLitch!

As i said:

Your Script is an great one!

But i?ll try 2 w8 for the absolutly FINAL!

Now, i must translate it and bind every week 2 times...*g*

You need an Translation 2 German?

Talk 2 me... ;) (http://board.univ-angers.fr/images/smilies/biggrin.gif)

*********************************************

PS: Maybe YOU can help me here? :

Script-Prob (http://board.univ-angers.fr/thread.php?threadid=1214&boardid=12&sid=c38afe261264c9d5ea1373e512d1a0b8&page=1)

It?s very importend 4 me... :P
Title:
Post by: NightLitch on 29 February, 2004, 17:32:46
Send All translations to nxs-3 mail address. I'll be happy for all I can get.

/NL
Title:
Post by: Nafigs on 29 February, 2004, 18:54:32
YEEEESSS!!! Finnaly V 3.0 nice NightLitch :)))
Title:
Post by: Nafigs on 29 February, 2004, 19:06:40
Hmmm txt when Op enters doest seems to work:((( Or maybe i need to switch it on somewere?

Sorry about my english
Title:
Post by: NightLitch on 29 February, 2004, 21:14:45
QuoteNafigs
   
Hmmm txt when Op enters doest seems to work:((( Or maybe i need to switch it on somewere?

Sorry about my english

It should work without no problem Nafigs.

!welcome msg

ex:

!welcome User [USER] is storming the hub with his precence...

that is an accepted msg-line. [USER] must be there or not, you deside yourself about that.

if not working anybody else have the same problem ???

/NL
Title:
Post by: Typhoon on 29 February, 2004, 22:09:47
still great work from you NL , but i never got your link in pm cause board has been down :( ..

keep it growing and have a blast...
Title:
Post by: angelsanges on 29 February, 2004, 23:07:12
!welcome not working...
Title:
Post by: angelsanges on 29 February, 2004, 23:22:20
also !mytime command it is not working.
Title:
Post by: NightLitch on 29 February, 2004, 23:34:05
huh, strange on both.

It's working great here for me...

hmm...

about !welcome I explained above how to do it.

what is the problem in it, command not working, you don't get a message what.

what is the problem with !mytime ?? I can imagine it does not show anything.

I had that problem but solved it with a clean start of the script and before starting it cleaning the timelog.dat

so it look like this:

UserHubTime = {
["HubUpTime"] = 0,
}

all this is done before I packed the new version. hmm...

well gonna see some TV. but will look into it l8r.

/NL
Title:
Post by: angelsanges on 29 February, 2004, 23:52:39
i do not get any message from bot!
!welcome hello users!...nothing happens...
i cleaned timelog.dat but nothing happens
Title:
Post by: angelsanges on 01 March, 2004, 00:21:08
QuoteOriginally posted by NightLitch
NXS-3 3.0 OUT!!!!

DOWNLOAD! (http://swenorth.myftp.org/network/nightlitch/files/nxs-3/nxs-3.v.3.0.rar)

3.0 : Fixed the welcome some bit for OP's
Added NXS-3 own banlist
Added Timeban/Ban switch when x kicks reached
Added !gag and !ungag (builtin com)
Added Freshstuff 3.3 by Plop.
Added Guardian Blocker to RIAA etc. with on/off switch
Added !welcome for VIP's and higher to add a personal welcome message.
Fixed some minior bugs.
Updated the !hubstats for some more info.
Changed the Advertising choices to: / 0:Nothing /1:Warn/2:Kick/3:Timeban/4:Ban
Added more txt . commands request by Zinden
Fixed a bug in freshstuff

ENJOY!

/NL

it is possible to add a check for activation/deactivation of Freshstuff ?
Title:
Post by: NightLitch on 01 March, 2004, 01:31:05
Quoteangelsanges
   
i do not get any message from bot!
!welcome hello users!...nothing happens...
i cleaned timelog.dat but nothing happens
 

I can see you missunderstod the Welcome text...

as it say's:

Added !welcome for VIP's and higher to add a personal welcome message.

this is for your own welcome message that everyboby will see when you login!

an ex. again:  !welcome Out from the dark [USER] crawls in...

that will be showed when you login next time... That should really work...

About the Time, that strange... Works great for me...

Gonna check it closer tomorrow.

And about FreshStuff on/off that is not nececery. But I can make an activation maybe.

/NL
Title:
Post by: angelsanges on 01 March, 2004, 07:51:27
on/off switch for FreshStuff is necessary to ppl that do not have needs to use it...or not?
Title:
Post by: NightLitch on 01 March, 2004, 12:02:41
QuoteOriginally posted by angelsanges
on/off switch for FreshStuff is necessary to ppl that do not have needs to use it...or not?

Well I can put a switch in.

About the !welcome have you got it right yet ?

/NL
Title: Hi...NightLitch!
Post by: WickeD on 01 March, 2004, 13:02:59
I have a lot?s of errors!  

Syntax error: attempt to index global `UserHubTime' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 305 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to index global `UserHubTime' (a nil value)
stack traceback:
   1:  function `OpConnected' at line 246 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to index global `UserHubTime' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 305 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to index global `UserHubTime' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 305 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to index global `UserHubTime' (a nil value)
stack traceback:
   1:  function `OpConnected' at line 246 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: `for' table must be a table
stack traceback:
   1:  method `func' at line 226 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `OnTimer' at line 197 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: `for' table must be a table
stack traceback:
   1:  method `func' at line 226 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `OnTimer' at line 197 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: `for' table must be a table
stack traceback:
   1:  method `func' at line 226 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `OnTimer' at line 197 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to index global `UserHubTime' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 305 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to index global `UserHubTime' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 305 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: `for' table must be a table
stack traceback:
   1:  method `func' at line 226 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `OnTimer' at line 197 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to index global `UserHubTime' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 305 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: `for' table must be a table
stack traceback:
   1:  method `func' at line 226 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `OnTimer' at line 197 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to index global `UserHubTime' (a nil value)
stack traceback:
   1:  function `UpTime' at line 181 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <17:file `NXS-3/data/COMMANDS.lua'> at line 17
   3:  function `GetCom' at line 743 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `DataArrival' at line 568 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: `for' table must be a table
stack traceback:
   1:  method `func' at line 226 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `OnTimer' at line 197 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: `for' table must be a table
stack traceback:
   1:  function `GetUserMaxTime' at line 1195 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `TopTimers' at line 176 [file `NXS-3/data/FUNCTIONS.lua']
   3:  function <16:file `NXS-3/data/COMMANDS.lua'> at line 16
   4:  function `GetCom' at line 743 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   5:  function `DataArrival' at line 568 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to index global `UserHubTime' (a nil value)
stack traceback:
   1:  function `MyTime' at line 166 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <15:file `NXS-3/data/COMMANDS.lua'> at line 15
   3:  function `GetCom' at line 743 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `DataArrival' at line 568 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: `for' table must be a table
stack traceback:
   1:  method `func' at line 226 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `OnTimer' at line 197 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to index global `UserHubTime' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 305 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: `for' table must be a table
stack traceback:
   1:  method `func' at line 226 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `OnTimer' at line 197 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: `for' table must be a table
stack traceback:
   1:  method `func' at line 226 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   2:  function `OnTimer' at line 197 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to index global `UserHubTime' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 305 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']



This kommands do not work at all for me:

!uptime
!mytime
!toptimers

And users and OP do not get a Welcome massage!

And this do not show at all:


Bot_email = "NXS-3@e-mail.com"
Bot_Speed = "BOT"
Bot_TAG = "< NXS-3 : V:3.0 >"
Op_TAG = "< Op-Chat : Operator Chat Box >"
Vip_TAG = "< Vip-Chat : Vip Chat Box >"
Bot_Descr = "NXS-3 made by: NightLitch 2004"
OpChat_Descr = "Private Chat channel for Operators"
VipChat_Descr = "Private Chat channel for Vip's"



Help plz!  =)

//WickeD
Title:
Post by: Nafigs on 01 March, 2004, 13:10:49
Well only 2 commands are not working for me!

!toptimes and !mytime
Title:
Post by: Nafigs on 01 March, 2004, 13:13:54
ha ha!!! There is command !toptimers not !toptimes:))) Well then only one cmd is not working !mytime
Title:
Post by: WickeD on 01 March, 2004, 13:22:43
QuoteOriginally posted by Nafigs
ha ha!!! There is command !toptimers not !toptimes:))) Well then only one cmd is not working !mytime

I did not writed that right in my error massage !  =)  

Now it is right!!

//WickeD
Title:
Post by: Nafigs on 01 March, 2004, 13:49:10
About spam protect! He is working on that kind of spam

[14:37] a
[14:37] d
[14:37] h
[14:37] t
[14:37] r
[14:37] <> test has been banned for spamming.

But is it possible to make him check this kind of spam???

[14:41] bla bla bla
bla bla bla
bla bla bla
bla bla bla
bla bla bla
bla bla bla
bla bla bla
bla bla bla
bla bla bla
bla bla bla
bla bla bla
bla bla bla
Title:
Post by: angelsanges on 01 March, 2004, 13:55:58
!welcome still do not work for me...
!mytime also isn't working.

I'm using your bot in ptokax TD4 without errors...
Title: Hi..Nafigs!
Post by: WickeD on 01 March, 2004, 14:04:53
What hub-soft are you using?

And are you only using NXS-3 script in your hub?

//WickeD
Title:
Post by: Nafigs on 01 March, 2004, 14:07:29
NXS-3 + Lucifer 666
Title:
Post by: NightLitch on 01 March, 2004, 14:09:32
QuoteOriginally posted by Nafigs
NXS-3 + Lucifer 666

Why Lucifer 666 ???  My Advertising check builds on that and Plop sneaky so get rid of it. no point having two.

And about the Time errors I will fix them... sry...

And why aint !welcome working for you angelsanges, that is strange works with absolute np here...

well gonna check it some more... l8r

/NL
Title:
Post by: Nafigs on 01 March, 2004, 14:11:34
NightLitch about that spam..... Is it posiible???
Title: Hi...NightLitch!
Post by: WickeD on 01 March, 2004, 14:20:04
The users do not get a Welcome massage at all in my hub!

I am runging v.2.9 now...it was to meny errors in v.3.0!

I will try v.3.... when it is fixed on the Timers and welcom massage!



//WickeD
Title:
Post by: NightLitch on 01 March, 2004, 14:55:22
QuoteOriginally posted by Nafigs
NightLitch about that spam..... Is it posiible???

I will see what I can do...

there is an builtin in PtokaX but I can try fix it, np.

/NL
Title:
Post by: NightLitch on 01 March, 2004, 14:56:33
QuoteOriginally posted by WickeD
The users do not get a Welcome massage at all in my hub!

I am runging v.2.9 now...it was to meny errors in v.3.0!

I will try v.3.... when it is fixed on the Timers and welcom massage!



//WickeD

hmm the time I have discovered myself being a problem now. But !welcome I have absolutely no problem with.

Well gonna see if I can do something about it.

/NL
Title:
Post by: NightLitch on 01 March, 2004, 15:11:44
Expalaination how I get the !welcome to work for me and should for you all as well...

Command line:

!welcome Crashing trough the wall, [USER] bit's the dust..!!!


Msg text verify to me:

<-NXS-3-> Current Welcome Message added for you:
 
     Crashing trough the wall, [USER] bit's the dust..!!!


And look like this in WelcomeText.txt in txt folder:


Welcome = {
   ["[SU+]NightLitch"] = "Crashing trough the wall, [USER] bit's the dust..!!!",
}


and when >> I << login:

<-NXS-3-> Crashing trough the wall, [SU+]NightLitch bit's the dust..!!!


and this welcome work without any problem for me.

/NL
Title:
Post by: Nafigs on 01 March, 2004, 15:15:43
NightLitch when we can wait for v3.1 ?:)))))

Sorry about my english! (again) :)
Title: Wekcome mass to users!
Post by: WickeD on 01 March, 2004, 15:23:16
Do the welcome message works for you  on users to...NL?

//WickeD
Title:
Post by: angelsanges on 01 March, 2004, 15:29:37
thank you for the explanation!...now the welcome message is working well.
Title:
Post by: NightLitch on 01 March, 2004, 15:31:00
The users can SEE my own welcome message. it's not ment that users can use it. if you read my release on 3.0.

From VIP and higher but forgot to put the welcome part in NewUserConnect so it's not working for VIP's but for Op & up in 3.0.

Try...

3.1 will be out perhaps later tonight.

/NL
Title: NightLitch!!
Post by: WickeD on 01 March, 2004, 15:41:22
All my errors are they from the Timers that you say you gona fix??


And this kommands that don?t work are they from that to??

!uptime
!mytime
!toptimers

___________________________________________

And users do not get a welcome message at all from this:

-- Send Info Welcome Message to User / 1:on/0:off
SWelcome = 1



//WickeD
Title:
Post by: BeeR on 01 March, 2004, 15:42:39
Hellou NightLitch...
What i set, is not what shown in !hubstats
Dunno if i got a blackout or something..

 -- Allow Clients / 1:on/0:off
AllowDCPP = 1      -- DC++
AllowODC = 1      -- oDC
AllowNMDC2 = 0      -- Neo Modus DC 2
AllowDCGUI = 1      -- DCGUI
AllowDCPRO = 0      -- DC:PRO
AllowBCDC = 0      -- BCDC++
AllowCZDC = 0      -- CZDC++
AllowPDC = 0      -- Phantom DC++
AllowIDC = 0      -- Italian DC++
AllowCDM = 0      -- DC++k CDM


  ------------CLIENT SETTINGS ------------------------------------------------------------------------------
 
      ? Allow DC++:  enable       ? Min Version:  0.263
      ? Allow oDC:  enable       ? Min Version:  5.21
      ? Allow NMDC2:  enable       ? Min Version:  2.02
      ? Allow DC:PRO:  enable       ? Min Version:  0.2.2.10
      ? Allow DCGUI:  enable       ? Min Version:  0.2.20
      ? Allow iDC:  disable       ? Min Version:  1.03
      ? Allow CZDC++:  disable       ? Min Version:  0.263
      ? Allow pDC++:  disable       ? Min Version:  0.263
      ? Allow DC++k:  disable       ? Min Version:  0.263
      ? Allow BCDC++:  disable       ? Min Version:  0.263
Title:
Post by: zinden on 01 March, 2004, 15:49:39
I get a bunch of errors like this:

Syntax Error: attempt to index global `UserHubTime' (a nil value)
Title:
Post by: BeeR on 01 March, 2004, 15:49:54
Ops,, hellou again...
 Forget to tell you that i uses your new 3,0
Title:
Post by: zinden on 01 March, 2004, 16:09:02
And a few like this:

Syntax Error: attempt to perform arithmetic on field `BadClient' (a nil value)
Syntax Error: attempt to index global `UserHubTime' (a nil value)
Syntax Error: attempt to perform arithmetic on field `MinVer' (a nil value)


Alos using Version 3.0
Title:
Post by: NightLitch on 01 March, 2004, 18:07:46
Thx for the bug reports I love this... ;-p hehe

about the time things they are fixed. I called the file in the wrong way that was what cause that.

Zinden:

About the settings, Yes there is a bug there I was to fast copy the strings. sry will be fixed in 3.1

and about :

Syntax Error: attempt to perform arithmetic on field `BadClient' (a nil value)
Syntax Error: attempt to perform arithmetic on field `MinVer' (a nil value)

those should not happen... gonna take a closer look. thx guys
Title: Hi...NightLitch!
Post by: WickeD on 01 March, 2004, 21:11:19
Now NXS v.3.0 is working for me!  Dont ask me what was wrong!!  =)

(But)! When I type !mytime the hub stops working!! No commands work after I type !mytime....!

And when I type !mytime the hubsoft trying to send a BugMail to PtokaX and fail doing that!!

Do you know why?




And I get this errors:

Syntax error: attempt to call global `type' (a string value)
stack traceback:
   1:  function `Serialize' at line 88 [file `NXS-3/data/Serialize.lua']
   2:  function `SaveToFile' at line 113 [file `NXS-3/data/Serialize.lua']
   3:  function `LogOutUser' at line 1046 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `OpDisconnected' at line 289 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to call global `type' (a string value)
stack traceback:
   1:  function `Serialize' at line 88 [file `NXS-3/data/Serialize.lua']
   2:  function `SaveToFile' at line 113 [file `NXS-3/data/Serialize.lua']
   3:  function `LogUser' at line 1032 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `NewUserConnected' at line 401 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to call global `type' (a string value)
stack traceback:
   1:  function `Serialize' at line 88 [file `NXS-3/data/Serialize.lua']
   2:  function `SaveToFile' at line 113 [file `NXS-3/data/Serialize.lua']
   3:  function `LogOutUser' at line 1046 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `UserDisconnected' at line 417 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to call global `type' (a string value)
stack traceback:
   1:  function `Serialize' at line 88 [file `NXS-3/data/Serialize.lua']
   2:  function `SaveToFile' at line 113 [file `NXS-3/data/Serialize.lua']
   3:  function `LogUser' at line 1032 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `OpConnected' at line 252 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to call global `type' (a string value)
stack traceback:
   1:  function `Serialize' at line 88 [file `NXS-3/data/Serialize.lua']
   2:  function `SaveToFile' at line 113 [file `NXS-3/data/Serialize.lua']
   3:  function `LogUser' at line 1032 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `NewUserConnected' at line 401 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to call global `type' (a string value)
stack traceback:
   1:  function `Serialize' at line 88 [file `NXS-3/data/Serialize.lua']
   2:  function `SaveToFile' at line 113 [file `NXS-3/data/Serialize.lua']
   3:  function `LogUser' at line 1032 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `NewUserConnected' at line 401 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']

Syntax error: attempt to call global `type' (a string value)
stack traceback:
   1:  function `Serialize' at line 88 [file `NXS-3/data/Serialize.lua']
   2:  function `SaveToFile' at line 113 [file `NXS-3/data/Serialize.lua']
   3:  function `LogOutUser' at line 1046 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `UserDisconnected' at line 417 [file `...gram\ptokaX 0.330 build


Can you add in next NXS update so users can reg them self?  And Bad file check?


//WickeD
Title:
Post by: NightLitch on 01 March, 2004, 21:42:49
Gaaa.. I though I fixed the "type" error... apperently not.

the time as I said is fixed in upcoming version.

And will see what I can do for filecheck and !regme command.

/NL
Title:
Post by: NightLitch on 01 March, 2004, 21:44:22
but maybe I fixed that error cause I don't have it... hmm...

gonna check it.
Title:
Post by: NightLitch on 01 March, 2004, 21:45:11
ok I found the error... hmm now I need to solve it... hehe..
Title:
Post by: BeeR on 01 March, 2004, 22:02:06
QuoteOriginally posted by NightLitch
ok I found the error... hmm now I need to solve it... hehe..

Hellou again..

Theres someting strange...i cannot se the speed
of the bot or any description of it or op/vip chatt
either,,,i was thinkin about this..
Bot_Share_Size = 0.0 * 1024 *1024
Bot_email = "NXS-3@e-mail.com"
Bot_Speed = "BOT"
Bot_TAG = "< NXS-3 : V:3.0 >"
Op_TAG = "< Op-Chat : Operator Chat Box >"
Vip_TAG = "< Vip-Chat : Vip Chat Box >"
Bot_Descr = "NXS-3 made by: NightLitch 2004"
OpChat_Descr = "Private Chat channel for Operators"
VipChat_Descr = "Private Chat channel for Vip's"
Title: Hi...NightLitch!
Post by: WickeD on 01 March, 2004, 22:38:43
When I set in settings that a user that do Adver is gona get a Warn the Warn do not get regged in Warnlog!

<> [AC-Net]St?lfarfar - 81.8.196.139 g?r reklam, Skriver: swenorth har ju lagt in dc.c54.mala.se och ?ven ac.elite
<> Anv?ndaren ?r varnad f?r reklamf?ring - Klagom?l / Funderingar skickas med e-mail till: support@northside.se


 -----=============================================================---
   Varnad:      0 G?ng (er)
   Anledning:   N/A, Senast Varnad: N/A
   Varnad av:   N/A
   Kickad:      0 G?ng (er)
   Anledning:   N/A, Senast Kickad: N/A
   Kickad av:   N/A
   Banlyst:      0 G?ng (er)
   Anledning:   N/A, Senast Banlyst: N/A
   Banlyst av:   N/A
 -----=============================================================---


Do you know why?

//WickeD
Title:
Post by: NightLitch on 01 March, 2004, 23:55:56
QuoteOriginally posted by WickeD
When I set in settings that a user that do Adver is gona get a Warn the Warn do not get regged in Warnlog!

<> [AC-Net]St?lfarfar - 81.8.196.139 g?r reklam, Skriver: swenorth har ju lagt in dc.c54.mala.se och ?ven ac.elite
<> Anv?ndaren ?r varnad f?r reklamf?ring - Klagom?l / Funderingar skickas med e-mail till: support@northside.se


 -----=============================================================---
   Varnad:      0 G?ng (er)
   Anledning:   N/A, Senast Varnad: N/A
   Varnad av:   N/A
   Kickad:      0 G?ng (er)
   Anledning:   N/A, Senast Kickad: N/A
   Kickad av:   N/A
   Banlyst:      0 G?ng (er)
   Anledning:   N/A, Senast Banlyst: N/A
   Banlyst av:   N/A
 -----=============================================================---


Do you know why?

//WickeD

Well :-) yes, I forgot adding the save part... hehe

coming up in 3.1 then...

/NL
Title:
Post by: NightLitch on 02 March, 2004, 00:28:05
New Version out:

NXS-3 Version: 3.1 (http://swenorth.myftp.org/network/nightlitch/files/nxs-3/nxs-3.v.3.1.rar)

3.1 : Fixed the Time functions I hope.
Changed the Welcome some bit. NOTE!!!! This is for a PERSONAL OWN message to be viewed when entering the hub.
Type Bug Fixed.
Fixed Advertising Saving to file.
added: !regme command with on/off switch
Fixed hubstats some.
badFile Check added with on/off function

Enjoy, and report bugs... hehe...

/NL
Title:
Post by: f3rry on 02 March, 2004, 02:08:58
Hi NightLitch
 

Vip and Moderator commands doesnt work here?? only for ops and master

 
vip  
!welcome

Moderator
redirectallnow
!getpass
!whois
Title:
Post by: Nafigs on 02 March, 2004, 10:52:17
Well yes !welcome is not working for VIPs but everything else is working for me:))) GREAT WORK NightLitch!!!

Sorry about my english:)
Title:
Post by: zinden on 02 March, 2004, 11:22:22
When a user get kicked by Bad files it dont add it in !info user msg....like:
 *** User ZeveruS kicked. Reason: NO sharing of incomplete downloads

 -----=============================================================---
        Warn(s):                0 Time(s)
        Warn Reason:    N/A, Time: N/A
        Warned by:      N/A
        Kick(s):                0 Time(s)
        Kick Reason:    N/A, Time: N/A
        Kicked by:      N/A
        Ban(s):         0 Time(s)
        Ban Reason:     N/A, Time: N/A
        Banned by:      N/A
 -----=============================================================---
Title: Hi...NightLitch!
Post by: WickeD on 02 March, 2004, 11:23:13
Why is this showing i chat when users enter the hub?:  *** Search spam detected from [Bot]??Angel??

And command notification  do not show when I as Master type !help in the hub! Why?

I have not tryed funktion Welcome VIP/OP/MAS  so I don?t know if it is working for me!  But I will try is soon!

Thx a LOT for this great script that you have created for us small people!  *lol*   =)

//WickeD
Title:
Post by: NightLitch on 02 March, 2004, 11:57:26
QuoteOriginally posted by f3rry
Hi NightLitch
 

Vip and Moderator commands doesnt work here?? only for ops and master

 
vip  
!welcome

Moderator
redirectallnow
!getpass
!whois

I will look into that thx. strange but gonna check it..
Title:
Post by: NightLitch on 02 March, 2004, 11:58:09
QuoteOriginally posted by zinden
When a user get kicked by Bad files it dont add it in !info user msg....like:
 *** User ZeveruS kicked. Reason: NO sharing of incomplete downloads

 -----=============================================================---
        Warn(s):                0 Time(s)
        Warn Reason:    N/A, Time: N/A
        Warned by:      N/A
        Kick(s):                0 Time(s)
        Kick Reason:    N/A, Time: N/A
        Kicked by:      N/A
        Ban(s):         0 Time(s)
        Ban Reason:     N/A, Time: N/A
        Banned by:      N/A
 -----=============================================================---

Yet another miss by me, coming up in 3.2 forgot the saving part again. ;-)

/NL
Title:
Post by: NightLitch on 02 March, 2004, 12:02:18
QuoteOriginally posted by WickeD
Why is this showing i chat when users enter the hub?:  *** Search spam detected from [Bot]??Angel??

And command notification  do not show when I as Master type !help in the hub! Why?

I have not tryed funktion Welcome VIP/OP/MAS  so I don?t know if it is working for me!  But I will try is soon!

Thx a LOT for this great script that you have created for us small people!  *lol*   =)

//WickeD

command notification is not a part of the script yet. just laying there in help with -- infront meaning not touch ;-p

The Search Spam is something with ptokax I think. But can take a closer look when my hubowner puts it in out hub.

Thx for loving this script.. ;-D hehe

/NL
Title: Hi...NightLitch!
Post by: WickeD on 02 March, 2004, 12:13:43
Can this bee added so it shows when the user is regged?:

       Registrerad Anv?ndare Listan
 -----=============================================================---
   1.  [Sunet]Kalle                          2004-03-02
 -----=============================================================---


//WickeD
Title:
Post by: NightLitch on 02 March, 2004, 12:17:06
QuoteOriginally posted by WickeD
Can this bee added so it shows when the user is regged?:

       Registrerad Anv?ndare Listan
 -----=============================================================---
   1.  [Sunet]Kalle                          2004-03-02
 -----=============================================================---


//WickeD

Can be an idea. I already have it in my Ranger so, but can add it np.

/NL
Title: Nice...NightLitch!!! =)
Post by: WickeD on 02 March, 2004, 12:21:23
Do you add it to show VIP/Staff to?

//WickeD
Title:
Post by: NightLitch on 02 March, 2004, 12:43:54
QuoteOriginally posted by WickeD
Do you add it to show VIP/Staff to?

//WickeD

Ok now I got your point, I just capture the Profile in Userlist to get those lists.

If you want that function that mean one new file with all regs.

I will think it over.
Title:
Post by: DoN on 02 March, 2004, 12:51:43
Any chance of having the function of not being able to download untill when your registered? & the power of being able to registered to be allowed only to Masters and Operators? I know you have the +regme in your script but is that just only available to any user or someone with power?

If I'm asking of something you have done and your happy with it then disregard my comment and just keep up the good work. 8)

Brgs
Title:
Post by: NightLitch on 02 March, 2004, 12:58:55
QuoteOriginally posted by DoN
Any chance of having the function of not being able to download untill when your registered? & the power of being able to registered to be allowed only to Masters and Operators? I know you have the +regme in your script but is that just only available to any user or someone with power?

If I'm asking of something you have done and your happy with it then disregard my comment and just keep up the good work. 8)

Brgs

That function is there in some way, heh. Only regs can download from OP,MOD,MSR and Users can DL from regs & vips that is how I have made it now.

about !regme, that is up to each hubowner to allow it for users or not, but that goes for all users.

--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- Regme Command ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-- Allow Regme command / 1:on/0:off /
ARMC = 1


that is how it look like...

/NL
Title:
Post by: NightLitch on 02 March, 2004, 13:04:45
New Version out:

NXS-3 Version: 3.2 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.3.2.rar)

3.2 : Fixed hubstats again some more
Added write to file i FileCheck
Fixed some minior bugs in Double IP
Fixed so commands work right for all profiles now.

Enjoy! happy bug hunt! :-)

/NL
Title:
Post by: Nafigs on 02 March, 2004, 13:20:29
Well it looks fine for me:))) But what about that spam protection NightLitch???
Title:
Post by: angelsanges on 02 March, 2004, 13:26:41
QuoteOriginally posted by NightLitch
New Version out:

NXS-3 Version: 3.2 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.3.2.rar)

3.2 : Fixed hubstats again some more
Added write to file i FileCheck
Fixed some minior bugs in Double IP
Fixed so commands work right for all profiles now.

Enjoy! happy bug hunt! :-)

/NL

rules.dat was disabled? without this file the bot does not work :D... ;)
Title:
Post by: angelsanges on 02 March, 2004, 14:02:25
what about the !notification on/off? what is that?
Title:
Post by: [NL]trucker on 02 March, 2004, 14:21:42
angelsanges
 
what about the !notification on/off? what is that?
 
this is for turning of or on notification messages like kick or ban

if you turn it off you wont receive these messages  if on then ......
Title:
Post by: Nafigs on 02 March, 2004, 14:57:09
Can you add cmd in this script like !showtimebans that shows  who, why, when was timebanned and how long they gonna be banned??? And maybe a search cmd  like  !showtimeban well that would be nice if there is 100 users timebanned:)))

Example: when i write cmd    !showtimeban  or   !showtimebans then i get following info ----> 1.  When this user was BANNNED
                        2.  Why this user was BANNED
                        3.  Users nick/IP
                        4.  How long this nick/IP still be banned

Sorry about my english:)
Title:
Post by: angelsanges on 02 March, 2004, 14:59:41
QuoteOriginally posted by [NL]trucker
angelsanges
 
what about the !notification on/off? what is that?
 
this is for turning of or on notification messages like kick or ban

if you turn it off you wont receive these messages  if on then ......

is that indipendent form this ?
-- Show Ban/TimeBan messages to Users / 1:on/0:off
SBM = 1
when i use !notification on/off the bot does not say nothing....it's normal?
Title:
Post by: NightLitch on 02 March, 2004, 15:44:23
QuoteOriginally posted by angelsanges
QuoteOriginally posted by [NL]trucker
angelsanges
 
what about the !notification on/off? what is that?
 
this is for turning of or on notification messages like kick or ban

if you turn it off you wont receive these messages  if on then ......

is that indipendent form this ?
-- Show Ban/TimeBan messages to Users / 1:on/0:off
SBM = 1
when i use !notification on/off the bot does not say nothing....it's normal?

I think I must remove that line from the help then....

!notification is NOT implented yet... have told you all this 3 times now.

it will come. only it is much work on it.

and about the Timebanning thing I'll look into it.

And about the Spamming thing I will add it.

This version was only a bug update not more.

sorry for forgetting the rules.dat file.

/NL
Title:
Post by: DoN on 02 March, 2004, 16:23:49
QuoteOriginally posted by NightLitch
That function is there in some way, heh. Only regs can download from OP,MOD,MSR and Users can DL from regs & vips that is how I have made it now.

about !regme, that is up to each hubowner to allow it for users or not, but that goes for all users.

--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- Regme Command ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-- Allow Regme command / 1:on/0:off /
ARMC = 1


that is how it look like...

/NL

Yeah but at the mo any user can come into the hub and just type lets say.. +regme [nick] [password] & he will be registered to download correct? Would there be a way of limiting the registration proccess to only Ops and Masters? I'm not asking you to re write the whole bot just cause I asked. I'm only asking if its simple to do? Could be something I look into myself or with some help.

Oh yeah also where's rules.dat supposed 2 be? In what folder or is it in root?

Brgs
Title:
Post by: NightLitch on 02 March, 2004, 16:40:09
QuoteOriginally posted by DoN
QuoteOriginally posted by NightLitch
That function is there in some way, heh. Only regs can download from OP,MOD,MSR and Users can DL from regs & vips that is how I have made it now.

about !regme, that is up to each hubowner to allow it for users or not, but that goes for all users.

--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- Regme Command ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-- Allow Regme command / 1:on/0:off /
ARMC = 1


that is how it look like...

/NL

Yeah but at the mo any user can come into the hub and just type lets say.. +regme [nick] [password] & he will be registered to download correct? Would there be a way of limiting the registration proccess to only Ops and Masters? I'm not asking you to re write the whole bot just cause I asked. I'm only asking if its simple to do? Could be something I look into myself or with some help.

Oh yeah also where's rules.dat supposed 2 be? In what folder or is it in root?

Brgs

It should be in root. Gonna do some better structuring on the files sorry.

about the reg part now:

you only want op & masters to reg you have !adduser then

!regme can be set on/off IF you want or not, up to yourself.

/NL
Title:
Post by: Nafigs on 02 March, 2004, 21:38:24
When we can wait for v 3.3 NightLitch ?:)))
Title:
Post by: NightLitch on 02 March, 2004, 21:42:41
QuoteOriginally posted by Nafigs
When we can wait for v 3.3 NightLitch ?:)))

Well tell me if there is more bugs in 3.2 cause gonna make final release soon 4.0 and then sit back for a while.

So you guys have 8 updates to come with more features or improvements, bugs etc.

Then I think Am gonna help out with the small script again. I find my NXS-3 almost 100% clear.

I don't want to much in it, I now it's not the lightest but it's not the heaviest either i think.

Suggestions come with them. Am all ears... :-)

/NL
Title:
Post by: NightLitch on 02 March, 2004, 21:47:39
My thoughts now are:

If no more bugs, over to some more Optimizing.

After that who know's... ;-p

Maybe try to make a lighter version to ide's for it:

* No Offline UserInfo
* Simple Kick,Ban,Warn File all in same
* not to many fancy commands

that is what I don't gonna add in that case, but that is -NOT OFFICIAL NOW!!!-

Still have work on NXS-3.
Title: Have you added this, NL??
Post by: WickeD on 02 March, 2004, 21:52:42
Can this bee added so it shows when the user is regged?:

Registrerad Anv?ndare Listan
-----=============================================================---
1. [Sunet]Kalle 2004-03-02
-----=============================================================---

//WickeD
Title: Can you add this, NL?
Post by: WickeD on 02 March, 2004, 21:54:49
In Bad-File-Check, can you add this:

-- Set it for user to be warned/kicked/timebanned/banned for Bad-Files / 0:Nothing /1:Warn/2:Kick/3:Timeban/4:Ban
ADKICK = 1


//WickeD
Title:
Post by: Nafigs on 02 March, 2004, 21:59:03
I dont have any suggestions, well only that about !showtimebans, !showtimeban and spam protection:)))
Title:
Post by: f3rry on 02 March, 2004, 22:13:42
Hi NightLitch,

Version 3.2 works good so far, thanks for fixing the profile bug.

What you sais about optimizing........Good idea.
If it was up to me, you could remove the following things.

- badFile Check  <--------- I use DC++k cdm to find the badfile's and fakers.
- 10 Top Timers/myuptime
- offline UserInfo

About the Simple Kick,Ban,Warn File all in same, don't like that idea.
Looks perfect the way it is right now.
Title:
Post by: Nafigs on 02 March, 2004, 22:16:45
NO NO NO NO NO!!!!!!! plzzzz dont remove them, well then maybe put there wwitch on/off but plzzzz dont remove them:((((
Title:
Post by: NightLitch on 02 March, 2004, 22:17:44
Well can fix the spam thing then and fix your little thing for File-Check WickeD.

Not when for regs, the list will be huge after some time.
Well Kicks, ban etc. will too... ;-D

/NL
Title:
Post by: NightLitch on 02 March, 2004, 22:22:27
One other thing:

Kepp!! How is the gui coming. Gonna fix the tables in the ini file so it will be simpler for you to add it.

/NL
Title:
Post by: f3rry on 02 March, 2004, 22:26:56
Hi NightLitch,

Well, i maybe have a better idea. You have clean userinfo in your script, is it possible to make it for kick,bans and warns also?
Title: Hi...NightLitch!
Post by: WickeD on 03 March, 2004, 01:37:04
Can you add Autodel reguser on timer?

Like this:

  -- Set AutoDelTime Value to ( "m" = min(s), "h" = hour(s), "d" = day(s) )
 DelValue = "m"
 Time = "30"

Whit funktion on/off.


//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 03 March, 2004, 10:07:31
I can not get !newalbums to work! I want to add a album to the list! How do i do that?

It say?s this in !help:

!newalbums           -           Add new album

But it do not work for me!

//WickeD
Title:
Post by: NightLitch on 03 March, 2004, 10:40:11
QuoteOriginally posted by f3rry
Hi NightLitch,

Well, i maybe have a better idea. You have clean userinfo in your script, is it possible to make it for kick,bans and warns also?

Sure that is no big challenge, I can fix that.
Title:
Post by: NightLitch on 03 March, 2004, 10:43:48
QuoteOriginally posted by WickeD
I can not get !newalbums to work! I want to add a album to the list! How do i do that?

It say?s this in !help:

!newalbums           -           Add new album

But it do not work for me!

//WickeD

hey m8, a little misstake by me there, a spell error, heh.

use !addalbum

/NL
Title: Okej!! =) NL!
Post by: WickeD on 03 March, 2004, 11:13:08
Can you add in !help so I know how to add? Like:

!addalbum       -         To add a new album: !addalbum type/catagory/album   ?


Or how it is now!!

//WickeD
Title:
Post by: NightLitch on 03 March, 2004, 11:34:38
QuoteOriginally posted by WickeD
Can you add in !help so I know how to add? Like:

!addalbum       -         To add a new album: !addalbum type/catagory/album   ?


Or how it is now!!

//WickeD

Sure np, have done it on !albums so why not on add to.
Title:
Post by: Nafigs on 03 March, 2004, 16:05:02
So quiet:))) It looks like there isnt any bugs in v 3.2 :)))
Title:
Post by: NightLitch on 03 March, 2004, 16:30:25
QuoteOriginally posted by Nafigs
So quiet:))) It looks like there isnt any bugs in v 3.2 :)))

Well some minior spelling errors is the most so far.

what Am about todo this evening is:

* Rebuild the Hubstats
* Fix some spelling errors
* Add the freshstuff part into the language file
* Put an on/off function on the offline userinfo data
* Maybe try create a RegPart info thing that WickeD requested.
* Rebuild the tables in the INI-file so Kepp can modify it to the GUI he's building
* And some minior other things I can't come up with ;-)

/NL
Title:
Post by: Nafigs on 03 March, 2004, 17:44:07
And what about that !showtimebans and spam protection?:)))
Title:
Post by: NightLitch on 03 March, 2004, 18:16:13
QuoteOriginally posted by Nafigs
And what about that !showtimebans and spam protection?:)))

hehe forgot... will do my best... np
Title:
Post by: DoN on 03 March, 2004, 20:16:02
Is there anyway of having SUB CATEGORYS in the categories of FreshStuff? Or should I really be voicing this over to PLOP? What I mean is like for example in the music Category you can have like ROCK, POP, JAZZ etc... and MOVIES you can have something like Action, Drama, Comedy as sub cats?

If its 2 much I can post in the PLOP topic and see if he can help..


Brgs
Title:
Post by: NightLitch on 03 March, 2004, 20:33:36
QuoteOriginally posted by DoN
Is there anyway of having SUB CATEGORYS in the categories of FreshStuff? Or should I really be voicing this over to PLOP? What I mean is like for example in the music Category you can have like ROCK, POP, JAZZ etc... and MOVIES you can have something like Action, Drama, Comedy as sub cats?

If its 2 much I can post in the PLOP topic and see if he can help..


Brgs

Ask Plop for it, I said I wanted would make a "small" Freshstuff and it is now, so...

But you never now, I may do it some day.

/NL
Title:
Post by: Nafigs on 04 March, 2004, 09:20:35
And how can i delete albums, when i write !delalbum ........ he is asked for some kind of ID number, what is that?????
Title:
Post by: DoN on 04 March, 2004, 09:42:22
QuoteOriginally posted by Nafigs
And how can i delete albums, when i write !delalbum ........ he is asked for some kind of ID number, what is that?????

Thats the ID number of the album u have added. I think its +album or +albums and that will show u the ID number of the needed item. Just use that number to delete the added content.
Title:
Post by: NightLitch on 04 March, 2004, 11:27:20
QuoteOriginally posted by DoN
QuoteOriginally posted by Nafigs
And how can i delete albums, when i write !delalbum ........ he is asked for some kind of ID number, what is that?????

Thats the ID number of the album u have added. I think its +album or +albums and that will show u the ID number of the needed item. Just use that number to delete the added content.

Yes he's right.
Title: Hi...NightLitch!
Post by: WickeD on 04 March, 2004, 11:30:12
In Bad-File-Check! Can you add so when a user get?s kicked and the massage shows in mainchat:

<[Bot]??Angel??> *** User [Skekraft]Turbo kicked. Reason: v?lund smed ... Vi vill inte ha n?got rasistiskt/nasistiskt material i hubben! Fixa och v?lkommen tillbaks!

So it shows where the script have found it in the share:

Mp3/Blandat/MaktMusik/v?lund smed

//WickeD
Title:
Post by: NightLitch on 04 March, 2004, 11:35:56
QuoteOriginally posted by WickeD
In Bad-File-Check! Can you add so when a user get?s kicked and the massage shows in mainchat:

<[Bot]??Angel??> *** User [Skekraft]Turbo kicked. Reason: v?lund smed ... Vi vill inte ha n?got rasistiskt/nasistiskt material i hubben! Fixa och v?lkommen tillbaks!

So it shows where the script have found it in the share:

Mp3/Blandat/MaktMusik/v?lund smed

//WickeD

Sure can try fix that. np
Title:
Post by: Nafigs on 04 March, 2004, 19:29:21
NightLitch!!! Hmmm can you add a feature that shows to banned users when they try to connect to hub info not like this You are temporarily banned for 1440 minutes!   but like this     Banned. Reason: DC++k 0.251 Remaining: 1 days 0 hours 0 minutes 0 seconds Can you do this? it would be nice:)))
Title:
Post by: NightLitch on 04 March, 2004, 20:06:04
QuoteOriginally posted by Nafigs
NightLitch!!! Hmmm can you add a feature that shows to banned users when they try to connect to hub info not like this You are temporarily banned for 1440 minutes!   but like this     Banned. Reason: DC++k 0.251 Remaining: 1 days 0 hours 0 minutes 0 seconds Can you do this? it would be nice:)))

The banning thing is the hubsoft's handling, can't do a thing there... sry...
Title:
Post by: Nafigs on 05 March, 2004, 14:34:55
Hmmm when we can wait for v 3.3 NightLitch ?:)
Title:
Post by: VERMiN on 05 March, 2004, 14:52:12
Perhaps if you change the !ban command into only disconnecting a user and then put the users in a file including the reason. And at every log-in the script scan this file and if the user(s) are found they automatically gets disconnected followed by the reason etc..
Title:
Post by: Tarot on 05 March, 2004, 17:25:58
Hi NightLitch

i have --      Version: 2.1


it is a great script only the main masage is not oke i am Op in the hub

Welcome Tarot !
 
 You are using DC++ Version: 0.306.
 You are Sharing 3.72 Gb and 2 Slot(s).
 You are in 0 Hub(s) as user.
 You are in 1 Hub(s) as registered user. <--->  i am not a reg user ?(
 You are in 0 Hub(s) as operator.
 Your Bandwidh Limiter is unlimited kB/s
 You are in Active Mode.

can you fix it
Title:
Post by: NightLitch on 05 March, 2004, 19:09:04
QuoteOriginally posted by VERMiN
Perhaps if you change the !ban command into only disconnecting a user and then put the users in a file including the reason. And at every log-in the script scan this file and if the user(s) are found they automatically gets disconnected followed by the reason etc..

That will take enormus resources of the memory and cpu.

bad idea.

I found this bot very stimulating for my mind so maybe gonna do an even better on l8r when having the time.

Have looked into Skrollster's New Bot many idees from it
that I need to test...

/NL
Title:
Post by: NightLitch on 05 March, 2004, 19:09:59
QuoteOriginally posted by Tarot
Hi NightLitch

i have --      Version: 2.1


it is a great script only the main masage is not oke i am Op in the hub

Welcome Tarot !
 
 You are using DC++ Version: 0.306.
 You are Sharing 3.72 Gb and 2 Slot(s).
 You are in 0 Hub(s) as user.
 You are in 1 Hub(s) as registered user. <--->  i am not a reg user ?(
 You are in 0 Hub(s) as operator.
 Your Bandwidh Limiter is unlimited kB/s
 You are in Active Mode.

can you fix it

Well why using so old version, use 3.2 that one have above error fixed.

/NL
Title:
Post by: Tarot on 05 March, 2004, 19:13:34
oke i can not install the  3.2  the script wil not start

Syntax error: assertion failed!  not found
stack traceback:
   1:  function `assert' [C]
   2:  main of file `...kaxDC Hub 0.3.3.0 build 15.25\scripts\NXS-3.lua' at line 40

Syntax error: assertion failed!  not found
stack traceback:
   1:  function `assert' [C]
   2:  main of file `...kaxDC Hub 0.3.3.0 build 15.25\scripts\NXS-3.lua' at line 40

Title:
Post by: NightLitch on 05 March, 2004, 19:28:03
QuoteOriginally posted by Tarot
oke i can not install the  3.2  the script wil not start

Syntax error: assertion failed!  not found
stack traceback:
   1:  function `assert' [C]
   2:  main of file `...kaxDC Hub 0.3.3.0 build 15.25\scripts\NXS-3.lua' at line 40

Syntax error: assertion failed!  not found
stack traceback:
   1:  function `assert' [C]
   2:  main of file `...kaxDC Hub 0.3.3.0 build 15.25\scripts\NXS-3.lua' at line 40



Hope you did a clean restart ???
Title:
Post by: NightLitch on 05 March, 2004, 19:30:26
Noticed the problem... Rules.dat is missing in the rar file...

So if you have an older version left take the Rules.dat from it.

Gonna fix it a fast as I can...
Title:
Post by: Tarot on 05 March, 2004, 19:58:38
jes i have i have coppy and paste in the script folder
it is a clean restart
Title:
Post by: NightLitch on 05 March, 2004, 20:31:47
QuoteOriginally posted by Tarot
jes i have i have coppy and paste in the script folder
it is a clean restart

If you have an old version still packed on your computer extract the rules.dat and put it in the root with the others, nxs-3.lua, nxs-3.ini & FAQ.txt then it should work.

/NL
Title:
Post by: DoN on 05 March, 2004, 22:36:00
For all those that missed Rules.dat
This is an example from NightLitch himself.

-- Explaination for this file purpose:

-- This is to make it easier when kicking users to add the rules in the command.
-- !kick nick rule reason
-- for ex: !kick Budda 1 Do not share kiddie pron here!!
-- Will show:  OP kicked USER for REASON Rule: RULE
-- Hope this covers this...
-- Enter the Rules here...
RULE = {
 ["1"] = "(1) Ingen Barn- eller ton?rsPornografi! (mindre ?n 18 ?rs ?lder)",
 ["2"] = "(2) Inget rasistiskt/nasitiskt lr komunistiskt material!",
 ["3"] = "(3) Minst 20 GB Utdelat (Skriptat) f?r users. 50 GB min f?r registrerade users.",
 ["4"] = "(4) Minst 3 Slots ?ppna (Skriptat).",
 ["5"] = "(5) Dela INTE ut installerade spel och program.",
 ["6"] = "(6) Alla Program och Spel SKA vara packade i n?got format. MP3's ska vara sorterade i album, dvs kataloger.",
 ["7"] = "(7) DVD-filmer ska vara i image format dvs .ISO .IMG eller liknande, ej l?sa VOB-filer.(Samplar ?r OK.)",
 ["8"] = "(8) Dela INTE ut privata filer, som TEX bilder och dokument.",
 ["9"] = "(9) Dela INTE ut kataloger som inte ?r kompletta, exempelvis inkommande kataloger.",
 ["10"] = "(10) Annonsera inte f?r andra hubbar, d? blir det BAN direkt.",
 ["11"] = "(11) Stanna i hubben s? l?nge du h?mtar filer sj?lv.",
 ["12"] = "(12) Ingen Flooding eller svordommar i mainchat-f?nstret.",
 ["13"] = "(13) Om du blir kickad, v?nta tills det har g?tt 10 min s? den tempor?ra bannen sl?pper, f?rs?k inte att komma tillbaka genom att byta ip-nummer.",
 }


Brgs
Title:
Post by: NightLitch on 05 March, 2004, 23:49:35
Thx ALOT DoN!

/NL
Title:
Post by: NightLitch on 05 March, 2004, 23:50:20
Not home right now so can't give you the update yet but have made some mods. in it.

/NL
Title:
Post by: DoN on 06 March, 2004, 00:06:36
QuoteOriginally posted by NightLitch
Not home right now so can't give you the update yet but have made some mods. in it.

/NL

Cant wait to see what you have in store.
Have spent many months lookin for the BOT of my liking and so far I have to say this is one of the best. You have persisted with the hard work and many thanks to you and your hard work. Keep it up. 8)
Title:
Post by: NightLitch on 06 March, 2004, 01:18:12
QuoteOriginally posted by DoN
QuoteOriginally posted by NightLitch
Not home right now so can't give you the update yet but have made some mods. in it.

/NL

Cant wait to see what you have in store.
Have spent many months lookin for the BOT of my liking and so far I have to say this is one of the best. You have persisted with the hard work and many thanks to you and your hard work. Keep it up. 8)

ThX for your kind words... :-)

My girlfriend should have most of the kindness in your words, she have been really patience with this "project" I have worked on.

/NL
Title:
Post by: Tarot on 06 March, 2004, 08:37:09
oke i have paste the Rules.dat  ant that is now oke
the eror stay
Syntax error: assertion failed!  not found
stack traceback:
   1:  function `assert' [C]
   2:  main of file `...kaxDC Hub 0.3.3.0 build 15.25\scripts\NXS-3.lua' at line 40
Title:
Post by: GeNNeLL on 06 March, 2004, 10:32:21
hi NightLitch i back and i test you new release ;o]


hello Tarot

where you paste this file???
add this file in folder \scripts\
Title:
Post by: Tarot on 06 March, 2004, 11:00:06
i have paste the script in the script folder
like this
-------------------------------------
RULES.lua
NXS-3.lua
NXS-3.ini
ant the folder NXS-3
NXS-3_FAQ.txt
-------------------------------------
ant when i start ptokax i see this
No syntax errors in script file RULES.lua
Syntax error: assertion failed!  not found
stack traceback:
   1:  function `assert' [C]
   2:  main of file `...kaxDC Hub 0.3.3.0 build 15.25\scripts\NXS-3.lua' at line 40
Title:
Post by: GeNNeLL on 06 March, 2004, 12:58:13
Tarot

change format file rules.lua in .lua to .dat  ;o]]
Title:
Post by: Tarot on 06 March, 2004, 14:21:09
i have change format file rules.lua in .lua to .dat
the same

Syntax error: assertion failed! not found
stack traceback:
1: function `assert' [C]
2: main of file `...kaxDC Hub 0.3.3.0 build 15.25\scripts\NXS-3.lua' at line 40
Title:
Post by: Tarot on 06 March, 2004, 14:29:41
it make me  ?(
crazy
Title:
Post by: NightLitch on 06 March, 2004, 15:50:06
QuoteOriginally posted by Tarot
it make me  ?(
crazy

In that case doit like this, I'm mot home so can't do much more than this.

Download 3.0 and take the rules.dat from there.

LINK to NXS-3 -3.0 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.3.0.rar)

One other way that should work install 3.0 and the 3.2 over and replace all the rules.dat will be untouched.

/NL
Title:
Post by: Tarot on 06 March, 2004, 16:16:59
Thanks NightLitch and GeNNeLL.
fore the time the script is now running wel
Title:
Post by: NightLitch on 06 March, 2004, 18:55:17
QuoteOriginally posted by Tarot
Thanks NightLitch and GeNNeLL.
fore the time the script is now running wel

Gr8, Am so sorry I missed putting in that file... gonna categorize the files some better gonna put the rules.dat in a seperat folder in NXS-3 folder then it should be easy or maybe in INI-file.

/NL
Title:
Post by: Tarot on 06 March, 2004, 19:19:47
i think 2
all in one  in NXS-3 folder
Title: Hi...NightLitch!
Post by: WickeD on 06 March, 2004, 19:29:10
I miss you in Swenorth?s forum!  =(

Or do you want all sopport of NXS-3 here?


I know you are a very busy man!!!  

And thank?s for all time that you are spending on this fine script! And thank?s to your girlfriend to for allow you too work on all buggs and stuff!!  =)  

Keep up the great work you are doing!!

//WickeD
Title:
Post by: NightLitch on 06 March, 2004, 22:12:04
QuoteOriginally posted by WickeD
I miss you in Swenorth?s forum!  =(

Or do you want all sopport of NXS-3 here?


I know you are a very busy man!!!  

And thank?s for all time that you are spending on this fine script! And thank?s to your girlfriend to for allow you too work on all buggs and stuff!!  =)  

Keep up the great work you are doing!!

//WickeD

Am currently not home, visiting my mom, And have a losy computer here. I can sit the net but everytinh else is black dust. hehe...

When I come home on monday I will see to it, to make some updates.

/NL
Title:
Post by: kazi on 07 March, 2004, 17:21:59
It sure does looks nice, the only thing i am missing so far is:

** option to set an autom. redirect address  when the do not fulfill  enough slots/shares/hubs etc..

** the possibilty for OP's to get a vip or reg list.
  and that OP's have the ability to add Vips/Regs

**  when user is regged or a vip.. the user commands aren t showing up anymore, and also able to use.

**  and something else very weird, i have set min share to 10 GB, when a dc++ client comes in with 5 GB it allows it.  when a nmdc user comes in it will get disconnected with the message min share is 10 GB.

In the script i put now  minshare 1 GB  but everybody who cheks !share  gets the message  10Gb static share as minshare  

(also in hubscreen I set minshare to 1 GB)

Last thing.  the anti-adver doesn t work. :(


hope to hear soon.

Hope it s in the next release, keep me posted please

regards Kazi
Title:
Post by: NightLitch on 07 March, 2004, 19:12:46
QuoteOriginally posted by kazi
It sure does looks nice, the only thing i am missing so far is:

** option to set an autom. redirect address  when the do not fulfill  enough slots/shares/hubs etc..

** the possibilty for OP's to get a vip or reg list.
  and that OP's have the ability to add Vips/Regs

**  when user is regged or a vip.. the user commands aren t showing up anymore, and also able to use.

**  and something else very weird, i have set min share to 10 GB, when a dc++ client comes in with 5 GB it allows it.  when a nmdc user comes in it will get disconnected with the message min share is 10 GB.

In the script i put now  minshare 1 GB  but everybody who cheks !share  gets the message  10Gb static share as minshare  

(also in hubscreen I set minshare to 1 GB)

Last thing.  the anti-adver doesn t work. :(


hope to hear soon.

Hope it s in the next release, keep me posted please

regards Kazi

* About Reg/Vip list you have: !showregs / !showvips
* About adding vip/reg use: !adduser (reg/vip/op/mod/msr)
*And about that the command is not working can be, how your Profile.dat looks like post it here if you want
*About the share problem do you set it right. I have np anyone else have it ??? try above problem else.
*The antiadvertising should work more than 100% it sometimes trigger on simple messages that am trying to fix. post the INI file here so can I look at it or PM me.

/NL
Title:
Post by: kazi on 07 March, 2004, 20:04:11
i have sent you the files.

but it still is weird about the antispam that doesn t react at all

i have also noticed  users with less then max share  didn t get a  message why they were disconnected   they just got  ** disconnect **   is that something what can be done?

Title:
Post by: Nafigs on 07 March, 2004, 21:58:18
I get this error in v 3.2:(((

Syntax error: assertion failed!  NXS-3/log/kicklog.dat is not found.Generating new NXS-3/log/kicklog.dat. All is fine. Don'
stack traceback:
   1:  function `assert' [C]
   2:  function `LoadFromFile' at line 117 [file `NXS-3/data/Serialize.lua']
   3:  function `Main' at line 163 [file `D:\ppppppp\Ptokax\scripts\NXS-3.lua']

Help plzzz!!!
Title:
Post by: lynyrd on 07 March, 2004, 22:37:39
QuoteOriginally posted by kazi
i have sent you the files.

but it still is weird about the antispam that doesn t react at all

i have also noticed  users with less then max share  didn t get a  message why they were disconnected   they just got  ** disconnect **   is that something what can be done?



i beleive that the hubsofts antispam kicks in before the script does..try to change the chat limit value to eg 6000 msg in hubsoft...if i remember right
Title:
Post by: kazi on 07 March, 2004, 22:49:47
hi,

the problem is, when someone says something or giving an addres which should be kicked..  they are not kicked at all, they stay in the hub
Title:
Post by: NightLitch on 07 March, 2004, 22:51:44
QuoteOriginally posted by kazi
i have sent you the files.

but it still is weird about the antispam that doesn t react at all

i have also noticed  users with less then max share  didn t get a  message why they were disconnected   they just got  ** disconnect **   is that something what can be done?



They have client problem, nothing todo with the script.

Make sure they mark the right boxes, such as Get PM from Bot etc. That is that problem many in my hub had that also.

/NL
Title:
Post by: NightLitch on 07 March, 2004, 22:53:05
QuoteOriginally posted by kazi
hi,

the problem is, when someone says something or giving an addres which should be kicked..  they are not kicked at all, they stay in the hub

But their message/adver is cencored you get a "warning"/"report" about it ??

You have options to set the action for advert.

/NL
Title:
Post by: NightLitch on 07 March, 2004, 22:54:03
QuoteOriginally posted by lynyrd
QuoteOriginally posted by kazi
i have sent you the files.

but it still is weird about the antispam that doesn t react at all

i have also noticed  users with less then max share  didn t get a  message why they were disconnected   they just got  ** disconnect **   is that something what can be done?



i beleive that the hubsofts antispam kicks in before the script does..try to change the chat limit value to eg 6000 msg in hubsoft...if i remember right

Yes that's so right... sorry not for mention that, what lynyrd say's is right.

/NL
Title:
Post by: NightLitch on 07 March, 2004, 22:55:32
QuoteOriginally posted by Nafigs
I get this error in v 3.2:(((

Syntax error: assertion failed!  NXS-3/log/kicklog.dat is not found.Generating new NXS-3/log/kicklog.dat. All is fine. Don'
stack traceback:
   1:  function `assert' [C]
   2:  function `LoadFromFile' at line 117 [file `NXS-3/data/Serialize.lua']
   3:  function `Main' at line 163 [file `D:\ppppppp\Ptokax\scripts\NXS-3.lua']

Help plzzz!!!

you are missing that file from the script, try reinstall OR
just make an emty file in NXS-3/log/ named kicklog.dat  that should take care of your problem.

/NL
Title:
Post by: NightLitch on 07 March, 2004, 23:00:05
When Am gonna release NXS-3 4.0 Am gonna rebuild it and make it a little faster. I have noticed many things I can make better.

NXS-3 3.2 doesn't seam to have so many bugs so gonna release a fix version this week with following fixes:

* FreshStuff has a bug when only entering !album
* And some minior not to mention small bugs.
* Table recreation to plop so he can build a GUI for me from his X-Ray.

/NL
Title:
Post by: kazi on 07 March, 2004, 23:01:36
this is what i have:

-- Spam/Flood Protection / 1:on/0:off
SPC = 1    (think this is to activate)

and these are the last lines in the script..  or am i missing some lines?

-- Advertising triggers
ADVER =  {["dns2go"]=1, ["myftpsite"]=2, ["servebeer"]=3, ["mine.nu"]=4, ["ip.com"]=5, ["dynip"]=6,
       ["staticip"]=7, ["serveftp"]=8, ["ipactive"]=9, ["ip.org"]=10, ["servegame"]=11, ["ath.cx"]=12,
       ["dyndns"]=13, ["clanpimp"]=14, ["msn"]=15, ["ftp"]=16, ["www"]=17, ["hotmail"]=18,
       ["deftonzs.com"]=19, ["flamenap"]=20, ["icq"]=21, ["serveftp"]=22, ["myftp"]=23, ["d2g"]=24,
       ["hopto.org"]=25, ["orgdns"]=26
      }

PS: hubsoftware doesn;t have a anti spam.
and when a user says ip.com for instance..  he will not be kicked..  and stays in the hub
Title:
Post by: NightLitch on 07 March, 2004, 23:03:46
QuoteOriginally posted by kazi
this is what i have:

-- Spam/Flood Protection / 1:on/0:off
SPC = 1    (think this is to activate)

and these are the last lines in the script..  or am i missing some lines?

-- Advertising triggers
ADVER =  {["dns2go"]=1, ["myftpsite"]=2, ["servebeer"]=3, ["mine.nu"]=4, ["ip.com"]=5, ["dynip"]=6,
       ["staticip"]=7, ["serveftp"]=8, ["ipactive"]=9, ["ip.org"]=10, ["servegame"]=11, ["ath.cx"]=12,
       ["dyndns"]=13, ["clanpimp"]=14, ["msn"]=15, ["ftp"]=16, ["www"]=17, ["hotmail"]=18,
       ["deftonzs.com"]=19, ["flamenap"]=20, ["icq"]=21, ["serveftp"]=22, ["myftp"]=23, ["d2g"]=24,
       ["hopto.org"]=25, ["orgdns"]=26
      }

PS: hubsoftware doesn;t have a anti spam.
and when a user says ip.com for instance..  he will not be kicked..  and stays in the hub

you are missing a big part of the INI if those lines is the last ones...

/NL
Title:
Post by: NightLitch on 07 March, 2004, 23:04:38
Like the triggerbot section, Warn/Kick part if you not have rearanged them yourself.

/NL
Title:
Post by: kazi on 07 March, 2004, 23:06:07
i thought it was already a  weird end to the script..

but i dl from the link u give in this post somewhere

where can i get the full file then please?

sorry for being such a pain..  
Title:
Post by: DoN on 07 March, 2004, 23:21:54
Try this..

QuoteOriginally posted by NightLitch
(http://swenorth.myftp.org/network/nightlitch/nxs-3.jpg)
for PtokaX 0.3.3.0 & TD4  
Current Version: 3.2

Features:
               * Levels (Master/Moderator/Operator/VIP/REG/User)
               * Client Check (Slot/Hub/Version/Limiter)
               * Share Check
               * Spam Protection
               * Advertising Protection
               * On/Off Switches on most of the things
               * Commands for each level
               * UserInfo Database
               * Save UserInfo to file each 30 min
               * UserLog
               * Kick/Ban/Warn Counter
               * MaxWarn/MaxKick's = Kicked/banned
               * TopKickers
               * Multi Language
               * FreshStuff
               * Much Features....


 

DOWNLOAD HERE!    (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.3.2.rar)
Title:
Post by: kazi on 07 March, 2004, 23:56:59
thank you  got more now.   will run it  hopefully without any further wuestions (probably not hehe)

but in the settings.lua file   it does ens woth these lines

-- Advertising triggers
ADVER =  {["dns2go"]=1, ["myftpsite"]=2, ["servebeer"]=3, ["mine.nu"]=4, ["ip.com"]=5, ["dynip"]=6,
       ["staticip"]=7, ["serveftp"]=8, ["ipactive"]=9, ["ip.org"]=10, ["servegame"]=11, ["ath.cx"]=12,
       ["dyndns"]=13, ["clanpimp"]=14, ["msn"]=15, ["ftp"]=16, ["www"]=17, ["hotmail"]=18,
       ["deftonzs.com"]=19, ["flamenap"]=20, ["icq"]=21, ["serveftp"]=22, ["myftp"]=23, ["d2g"]=24,
       ["hopto.org"]=25, ["orgdns"]=26
      }

also in the new rar i just dl-ed.  is that okay?
Title:
Post by: NightLitch on 08 March, 2004, 00:00:12
the hole INI-file as it should be by default by me:

Part1

----==S=E=T=T=I=N=G=S==----

--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- General Settings ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-- Set Botname
BotName = "-NXS-3-"

-- Set Language
Language = "english"

-- Set HelpFile Language
HelpLang = "english"

-- Enable/Disable VipChat / 1:on/0:off
AllowVipChat = 1

-- Set Vip Chat Name
VipChatName = "-Vip-Chat-"

-- Set Prefix
Prefix1 = "!"

-- Set HubOwner
HubOwner = "[SU+]NightLitch"

-- Set HubAddress that will be shown instead of the ADVER advertising's.
HubAddress = "address.myftp.org"

-- Send Info Welcome Message to User / 1:on/0:off
SWelcome = 1

-- Send Info Welcome Message to Operators / 1:on/0:off
SWelcomeOP = 1

-- Don't Allow Double IP's / 1:on/0:off
DoubleIP = 1

-- Only Registered Users Can Download / 1:on/0:off
OnlyRegFromOps = 1

-- Max Lengh on Nicks
MaxLengh = 25

-- Min Lengh on Nicks
MinLengh = 4

-- Set Redirect Address / is for LowShare Redirect to.
RedirectAddress = {"lowaddress1.myftp.org","lowaddress2.myftp.org","lowaddress3.myftp.org","lowaddress4.myftp.org","lowaddress5.myftp.org",}

-- High Share Redirect Address
HighShareRedirectAddress = {"highaddress1.myftp.org","highaddress2.myftp.org","highaddress3.myftp.org","highaddress4.myftp.org","highaddress5.myftp.org",}

-- Send Msg in Main or PM ( 1:PM / 0:MAIN )
MPM = 0

-- Show Ban/TimeBan messages to Users / 1:on/0:off
SBM = 1

--Level Checks / 1:on/0:off ( For Checking Client settings/ Share/ Advertisings
LC = {
[0] = 0, -- Check Masters
[4] = 0, -- Check Moderator
[1] = 0, -- Check Operators
[2] = 0, -- Check VIPs
[3] = 1, -- Check REGs
[-1] = 1, -- Check Users
}

-- Spam/Flood Protection / 1:on/0:off
SPC = 1

-- more than x pms within 10 seconds cause a ban
MaxPM = 10

-- more than x mainchat msgs within 10 seconds cause a ban
MaxMain = 10

-- Check for Bad Clients / 1:on/0:off
CBC = 1

-- Check for Bad Isp's / 1:on/0:off
CBI = 1

-- MediaForce Check / 1:on/0:off
MFC = 1
MediaForceVersions = {"1.0.25"}
MediaForceShareAmount = {"18552221398"}

-- Auto Cleaning the Userinfo -file / 1:on/0:off
AutoClean = 1

-- How old userinfo:s can be before deleting.
WEEKS = 1

-- Store UserInfo DataBase / 1:on/0:off
UIDB = 1

-- Time until saving UserInfo to File in Min
UTIME = 30


--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- Share Settings ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-- Min Share in GB
SHC = {
[0] = "0", -- Set Masters Min Share
[4] = "0", -- Set Moderators Min Share
[1] = "0", -- Set Operators Min Share
[2] = "1", -- Set VIPs Min Share
[3] = "1", -- Set REGs Min Share
[-1] = "10", -- Set Users Min Share
}

-- Redirect if share to low / 1:on/0:off
RSC = 1

-- Set Max Share / 1:on/0:off
-- SMSC = 1

-- Max Share in GB
MSHC = {
[0] = "2000", -- Set Masters Max Share
[4] = "2000", -- Set Moderators Max Share
[1] = "2000", -- Set Operators Max Share
[2] = "1500", -- Set VIPs Max Share
[3] = "1000", -- Set REGs Max Share
[-1] = "500", -- Set Users Max Share
}

-- Redirect if share to high / 1:on/0:off
RHSC = 1
Title:
Post by: NightLitch on 08 March, 2004, 00:01:26
part2

--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- Client Settings ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-- Allow Clients / 1:on/0:off
AllowDCPP = 1 -- DC++
AllowODC = 1 -- oDC
AllowNMDC2 = 1 -- Neo Modus DC 2
AllowDCGUI = 1 -- DCGUI
AllowDCPRO = 1 -- DC:PRO
AllowBCDC = 1 -- BCDC++
AllowCZDC = 1 -- CZDC++
AllowPDC = 1 -- Phantom DC++
AllowIDC = 1 -- Italian DC++
AllowCDM = 1 -- DC++k CDM
AllowNOTAG = 0 -- No Tag Client ex: Neo Modus DC 1
AllowFAKE = 0 -- Fake Client (Fake Taging)

-- Client Settings
MinSlots = 2 -- Min Slots
MaxSlots = 15 -- Max Slots
SlotsPerHub = 2 -- Slots per Hub
MaxHubs = 8 -- Max Hubs for users
LockBW = 10 -- Min Bandwidh Lock

-- Allow Bandwidh Check / 1:on/0:off
AllowBW = 1

-- Version Checks
DCPPver = "0.241" -- DC++ Min. Version
ODCver = "5.0" -- oDC Min. Version
NMDC2ver = "2.02" -- Neo Modus DC 2 Min. Version
DCPROver = "0.2.2.10" -- DC:PRO Min. Version
DCGUIver = "0.2.20" -- DCGUI Min. Version
IDCver = "1.03" -- Italian DC++ Min. Version

-- Allow Connections  / 1:on/0:off
AllowSpeed = {
["28.8Kbps"] = 0,
["33.6Kbps"] = 0,
["56Kbps"] = 0,
["ISDN"] = 0,
["DSL"] = 1,
["Cable"] = 1,
["LAN(T1)"] = 1,
["LAN(T3)"] = 1,
["Satellite"] = 0,
}
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- Advertising Settings ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-- Set it for user to be warned/kicked/timebanned/banned for advertising / 0:Nothing /1:Warn/2:Kick/3:Timeban/4:Ban
ADKICK = 1

-- Ok Hubs that are allowed to be entered in hub
OKHUBS = {
["address.dyndns.org"] = 1,
["address.myftp.org"] = 1,
["address.myftp.org"] = 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." }

--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- Kick/Ban/Warn Settings ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-- Set Ban Time for TimeBan (Default)
 BanTime = 20
 
  -- Set BanTime Value to ( "m" = min(s), "h" = hour(s), "d" = day(s) )
 BanValue = "m"  

-- Max Warn until kicked
MaxWarn = 5

-- Max Kick until banned
MaxKick = 4

-- Ban or TimeBan after x Kicks is reached / 1=Ban / 0=TimeBan
-- TimeBan uses above Time Lines
BoTB = 1

-- Be able to Kick/Ban Operator / 1:on/0:off
KickOP = 0

-- Be able to Kick/Ban VIP user / 1:on/0:off
KickVIP = 0

-- Be able to Kick/Ban REG user / 1:on/0:off
KickREG = 1

--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- TriggerBot Settings ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-- Set TriggerBot On/Off / 1:on/0:off
TBC = 1

TRIGGERBOT = {
["codec"]="try search for ACEMCP593PRO.EXE or klcodec210f.exe. Should be a great packs of codecs.",
["dc++"]="Download DC++ from [URL]http://dcplusplus.sourceforge.net/[/URL]",
["odc"]="Download oDC++ from [URL]http://gempond.com/odc/[/URL]",
["forum"]="forum address here",
}

--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- FreshStuff Settings ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-- Max stuff shown on newalbums/entry
MaxNew = 20

-- you can add catagory's yourself ["trigger_name"]="catagory_name"
Types = {["movie"] = "Movies", ["music"]="Music", ["warez"]="Warez", ["game"]="Games"}


--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- Guardian Settings ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-- Set Guardian / 1:on/0:off / for checking for RIAA etc.
GUARDIAN = 1


--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- Txt Commands ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-- Add the extra commands here for text-files. change the cmd to the text-files name.
TXTCOM = {
["rules"] = function(curUser,data,cmd) showtext(curUser, cmd) end,
["network"] = function(curUser,data,cmd) showtext(curUser, cmd) end,
["cmd"] = function(curUser,data,cmd) showtext(curUser, cmd) end,
["cmd"] = function(curUser,data,cmd) showtext(curUser, cmd) end,
["cmd"] = function(curUser,data,cmd) showtext(curUser, cmd) end,
["cmd"] = function(curUser,data,cmd) showtext(curUser, cmd) end,
}

--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- Regme Command ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-- Allow Regme command / 1:on/0:off /
ARMC = 1


--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
---- BadFiles Settings ----
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
--Allow BadFile search / 1:on/0:off /
ABFS = 1


-- Bad Files
Files = {
["preteen"]="Please don't share preteen porn in here!",
["pluton svea"]="Pluton Svea ... We don't want any racist material in this hub!",
["midg?rds s?ner"]="Midg?rds s?ner ... We don't want any racist material in this hub!",
["odins ?nglar"]="Odins ?nglar ... We don't want any racist material in this hub!",
["AVSEQ01.dat"]="Dont share AVSEQ01.dat, useless files, remove!",
["underage"]="Please don't underage share porn in here!",
["r@ygold"]="Don't share child porn in here!",
["hl_res.dll"]="Please don't share installed games in here!",
["3dfxgl.dll"]="Please don't share installed games in here!",
["explorer.scf"]="Don't share your windows directory!",
["msimn.exe"]="Don't share Program Files!",
["qages"]="Don't share Fake share programs!",
["Dcpp"]="Don't share Fake share programs!",
["Qages DC Network Hacks"]="Don't share Fake share programs!",
["*.GETRIGHT"]="NO sharing of incomplete downloads",
["*.part.met"]="NO sharing of incomplete downloads",
["deer.ra"]="Don't Fake share!",
["*.vbs"]= "Don't Share .vob files larger then 300 mb!",
["_incomplete_"]="NO sharing of incomplete downloads",
["hmmapi.dll"]="Do not share installed games!",
["ntuser.dat"]="Do not share your user profile!"
}

/NL
Title:
Post by: kazi on 08 March, 2004, 00:02:40
yes that i have now,  but I also have a settings.lua file

or shouldn t that one be in here?
Title:
Post by: NightLitch on 08 March, 2004, 00:14:25
QuoteOriginally posted by kazi
yes that i have now,  but I also have a settings.lua file

or shouldn t that one be in here?

no
Title:
Post by: kazi on 08 March, 2004, 00:19:51
okay  took it out now.. thank you very much for you time.  i will go struggling a bit further with it..

only wondering how to activate the moderater part (do i have to create those groups in Ptokax?  en als the album sections  how can users get that?
Title:
Post by: kazi on 08 March, 2004, 00:38:58
If I delete settings.lua  then it doesn t work anymore

in what folder should the .ini file be? in the main ptokaz hubfolder  or in the N3 folder?
Title:
Post by: NightLitch on 08 March, 2004, 00:53:54
Do like this, make a clean Install from this version:

NXS-3 Version: 3.2 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.3.2.rar)

Profiles.dat should look like this:

0|Master|11111111111111111111000000000000
1|Operator|11111111111111111111000000000000
2|VIP|00000000000000000000000000000000
3|Reg|00000000000000000000000000000000
4|Moderator|10000000001000000000000000000000

/NL
Title:
Post by: Nafigs on 08 March, 2004, 13:42:11
Hi NightLitch! I have a problem:) in v 3.2 user help txt isnt cmd !regme :(((
Title:
Post by: Nafigs on 08 March, 2004, 16:29:11
Uptaime doesnt work, with !hubstats i get this   The hub has now been online : 0 months, 0 days, 0 hours, 17 minutes ( 17 min ). but actualy hub was online Uptime: 0 days, 17 hours, 5 minutes !!!
Title:
Post by: Dyzan on 08 March, 2004, 16:35:13
QuoteOriginally posted by Nafigs
Uptaime doesnt work, with !hubstats i get this   The hub has now been online : 0 months, 0 days, 0 hours, 17 minutes ( 17 min ). but actualy hub was online Uptime: 0 days, 17 hours, 5 minutes !!!

It seams if you restart the script. you allso reset the timmer. Correct me if I'm wrong, NL
Title:
Post by: Nafigs on 08 March, 2004, 16:42:55
No i think he shows hours in minutes becose when uptime was 15 hours he show 15 minutes:(((

Sorry about my english:)
Title:
Post by: Dyzan on 08 March, 2004, 16:50:11
Yepp, you have right. There is a bugg.
Title:
Post by: NightLitch on 08 March, 2004, 16:56:28
Thx for the noticed bugs. Gonna check them.

Maybe I will be able to release an new fix already tonight, well see...

/NL
Title:
Post by: kazi on 08 March, 2004, 19:10:38
Hello again,

reinstalled the whole script. Got moderators now aswell.

sill a question, in what folder do i put the .ini file?
it;s now directly in scripts folder.

also when i do !userinfo  i get the message:  *** UserStatistics are not running.

and with !help i get this:

8:55] Profile specific commands:
[18:55]    !ban () - permanently ban IP address of the , followed by kick. Reason is optional.
[18:55]    !banip - permanently ban IP address
[18:55]    !nickban - ban user's nick (if user is connected then he is kicked)
[18:55]    !unban - unban IP address or Nick
[18:55]    !getbanlist - display list of banned IP addresses
[18:55]    !clrtempban - clear tempban list
[18:55]    !clrpermban - clear permban list
[18:55]    !drop - silent kick with tempban
[18:55]    !getinfo - displays basic info on user with given nick
[18:55]    !op - give a temporal Op status to the for one session
[18:55]    !gag - the user cant post to mainchat anymore
[18:55]    !ungag - the user can post to mainchat again
[18:55]    !restart - restart hub
[18:55]    !restartscripts - restart scripting part from the hub
[18:55]    !addreguser - add registered user with specified profile
[18:55]    !delreguser - remove registered user with
[18:55]    !ipinfo - Show all on/offline users with that ip
[18:55]    !iprangeinfo - Show all on/offline users within that iprange
[18:55]    !userinfo - Show all visits of that user
[18:55]
[18:55] Global commands:
[18:55]    !me - speak in 3rd person
[18:55]    !help - this help page
[18:55]

yesterday I got for each level all the commands.
(then the settings.lua fil was in there too,  and now not)

and last question: is it okay that the "botname" of the main script is not in the userlist? (yesterday i got the botname in userlist)

ohh before I forget, when i am logged in as a user and I type !help, this is what i get:

19:08:20] The following commands are available to you:
[19:08:20]
[19:08:20] Profile specific commands:
[19:08:20]
[19:08:20] Global commands:
[19:08:20]    !me - speak in 3rd person
[19:08:20]    !help - this help page
[19:08:20]



but in the Client.commands.lua  says this should I get:
-- User Client Commands
function UserClientCommands(curUser)
   curUser:SendData("$UserCommand 255 7")
   curUser:SendData("$UserCommand 0 3")
   curUser:SendData("$UserCommand 1 3 Show available commands$<%[mynick]> "..Prefix1.."help|")
   curUser:SendData("$UserCommand 1 3 Hub rules$<%[mynick]> "..Prefix1.."rules|")
   curUser:SendData("$UserCommand 1 3 Show Network$<%[mynick]> "..Prefix1.."network|")
   curUser:SendData("$UserCommand 1 3 What's my IP address?$<%[mynick]> "..Prefix1.."myip|")
   curUser:SendData("$UserCommand 1 3 My Share$<%[mynick]> "..Prefix1.."share|")
   curUser:SendData("$UserCommand 1 3 Show MyInfo$<%[mynick]> "..Prefix1.."myinfo|")
   curUser:SendData("$UserCommand 1 3 Show HubInfo$<%[mynick]> "..Prefix1.."hubinfo|")
   curUser:SendData("$UserCommand 1 3 Show Reg's$<%[mynick]> "..Prefix1.."showregs|")
   curUser:SendData("$UserCommand 1 3 Show Vip's$<%[mynick]> "..Prefix1.."showvips|")
   curUser:SendData("$UserCommand 1 3 Show Staff$<%[mynick]> "..Prefix1.."showstaff|")
   curUser:SendData("$UserCommand 1 3 Away from Keyboard (afk)$<%[mynick]> "..Prefix1.."away %[line:Enter a reason]|")
   curUser:SendData("$UserCommand 1 3 Back to keyboard$<%[mynick]> "..Prefix1.."back|")
   curUser:SendData("$UserCommand 1 3 Show Away message's?$<%[mynick]> "..Prefix1.."showaways|")
   return 1
end


also the anti-spam is still not working:(
sorry for the trouble
Title:
Post by: NightLitch on 08 March, 2004, 19:22:17
What I mean clean Install is:

* ReInstall PtokaX
* Add Moderator Status or copy from above
* ReInstall NXS-3

Setup both as you want.


Skip all other files etc. above is the only thing you need to get it working ok.

Shouldn't be a problem.

/NL
Title:
Post by: kazi on 08 March, 2004, 19:30:32
well. thats what i did.

maybe because i use ptokax 0.3.2.6 td 4?

stupid question maybe..  but what shoul i be seeing in script editor at the bottom?

coz it doesn t show any scripts running

somehow the .ini file is not activated I think

r u sure the settings.lua file  must not exsist?  coz this is waht your script is saying:

     [ [ [ NXS-3 ] ] ]
--     for PtokaX 0.3.3.0
--      Version: 3.2
------------------------------------------------------
-- By: NightLitch 2004/03/02
------------------------------------------------------
-- Set the settings in NXS-3\settings.lua --
Title:
Post by: NightLitch on 08 March, 2004, 19:47:05
I tell you what, hold on for 1 hour and then 3.3 will come.

Then I will do a complete package with Profies.dat etc.

that should be enough...
Title:
Post by: kazi on 08 March, 2004, 19:52:21
Thank you, hope it will work then.

and when it works  i will surely recommend ur script to lots of others and how helpful you are  thank you again
Title:
Post by: NightLitch on 08 March, 2004, 22:02:32
New Version Out:

NXS-3 Version: 3.3 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.3.3.rar)

3.3 : Added after cleaning UserInfo deleted users store into files in deleted in UserInfo folder
Changed the tables in INI file for Kepp.
Fixed the uptime command
Fixed the regme command; added COMMAND to be able to set own command and it shows in help & cmd to.
Fixed the !kick/ban etc. from bot when kicking and the triggerbot interfered
Added MaxUpTime in Hubstats
Fixed a bug in Advertising Check

Containing all nececary files now!

Should work Good on TD4 to, But it is designed to PtokaX 0.330.

Enjoy!

*NOTE* File Updated Again; forgot to update the Commands file.

/NL
Title:
Post by: kepp on 08 March, 2004, 22:30:57
Thanks
Title:
Post by: NightLitch on 08 March, 2004, 22:34:59
Np m8, can't w8 to see the GUI.
Title:
Post by: Nafigs on 08 March, 2004, 22:58:30
Well everything works fine for me:) only one problem, NightLitch you again forgot about !showtimebans & !showtimeban :(((
Title:
Post by: kazi on 08 March, 2004, 22:58:53
this looks GOOODDDDDDDDDDDDDDDDDDD!!!!

thank you soo much!!

only !userinfo doesnt work. then i ll get    *** UserStatistics are not running.

!whois does work tho

minor detail...  i put rape in forbidden word....

someone with the song "I heard it through the grapevine" by CCR
Title:
Post by: f3rry on 09 March, 2004, 00:13:35
hi NightLitch,

Good to see the new version of NXS-3, but the TriggerBot doesn't work.

Hmmm Kazi,
The !userinfo is build in Ptokax, not in NXS-3.
Use !info for userinfo.
The whois works fine over here.
Title:
Post by: NightLitch on 09 March, 2004, 01:05:28
About:

* Triggerbot  ; Gonna fix it.
* Timeban list's not now, can add the time in the bans in BanFile cause there the Timeban store's

/NL
Title:
Post by: kazi on 09 March, 2004, 06:44:17
Hi al,

I get these messages in screen:

Syntax Error: attempt to call global `AppendFile' (a nil value)
Syntax Error: attempt to call global `AppendFile' (a nil value)
Syntax Error: attempt to call global `AppendFile' (a nil value)
Syntax Error: attempt to call global `AppendFile' (a nil value)
Syntax Error: attempt to call global `AppendFile' (a nil value)
Syntax Error: attempt to call global `AppendFile' (a nil value)
Syntax Error: attempt to call global `AppendFile' (a nil value)
Syntax Error: attempt to call global `AppendFile' (a nil value)

somthing i need to do?

tx
Title:
Post by: f3rry on 09 March, 2004, 11:17:04
Syntax Error: attempt to call global `AppendFile' (a nil value)

That error comes from MediaForce Check.
The file to write is not set, so what you can do is turn off the MediaForce Check.

NightLitch wil probably fix this in the next update.
Title:
Post by: NightLitch on 09 March, 2004, 11:33:03
QuoteOriginally posted by f3rry
Syntax Error: attempt to call global `AppendFile' (a nil value)

That error comes from MediaForce Check.
The file to write is not set, so what you can do is turn off the MediaForce Check.

NightLitch wil probably fix this in the next update.

aj aj aj, Forgot that, damn those "tiny" bugs, ;-)

/NL
Title:
Post by: NightLitch on 09 March, 2004, 15:05:07
New Update Out:

NXS-3 Version: 3.4 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.3.4.rar)

3.4 : Fixed Triggerbot
Changed the Advertising part some.
Added Time to Timban's in BanFile
Added max lenght of words in one message. "Anti Spam"

/NL
Title:
Post by: kazi on 09 March, 2004, 20:41:31
Very nice ,

maybe an idea for a next release?

to make an options for redirect when slots or number of allowed hubs is not right?

very good job sofar!
Title:
Post by: Tarot on 09 March, 2004, 21:07:32
hi  NightLitch

Ptokax   (UpTime: 0 days, 15 hours, 18 minutes)


NXS-3     The hub has now been online : 0 months, 0 days, 0 hours, 8 minutes ( 8 min ).

when you have script reset  stay the time ore start the uptime agane whit 0 . 0 .0 . 0
Title:
Post by: NightLitch on 09 March, 2004, 21:43:30
QuoteOriginally posted by Tarot
hi  NightLitch

Ptokax   (UpTime: 0 days, 15 hours, 18 minutes)


NXS-3     The hub has now been online : 0 months, 0 days, 0 hours, 8 minutes ( 8 min ).

when you have script reset  stay the time ore start the uptime agane whit 0 . 0 .0 . 0

I think I have fixed that to be accurate, but you never know. But know this, If you update the script when hub is running, then you can't expect the time to be right.

It looked like it worked for me.

The only time the counter resets now is when exit the hubsoft or if Am remember right just before start up to if there is no users in.

/NL
Title:
Post by: kepp on 09 March, 2004, 22:38:39
Would you like to get on MSN messenger Nightlitch...
Im off work all day tomorow so let's rock 'n' roll on a debug version!! :D
Title:
Post by: NightLitch on 09 March, 2004, 23:06:00
QuoteOriginally posted by kepp
Would you like to get on MSN messenger Nightlitch...
Im off work all day tomorow so let's rock 'n' roll on a debug version!! :D

I will come up in about 40min my GirlFriend is gonna use the computer. Hope you can w8, I will go up on MSN and notify how we will do.

/NL
Title:
Post by: daft009 on 10 March, 2004, 08:19:00
hi,

i've just switched over to PtokaX from nmdc for my little hub of about 110 users.

ive been using NXS-3 but was wondering about the
!albums feature.

how could i change it so all users can add to it
OR
how could i change it so i could add a username (as a field) to a listing too.

thanks.

daft
Title:
Post by: NightLitch on 10 March, 2004, 11:01:52
QuoteOriginally posted by daft009
hi,

i've just switched over to PtokaX from nmdc for my little hub of about 110 users.

ive been using NXS-3 but was wondering about the
!albums feature.

how could i change it so all users can add to it
OR
how could i change it so i could add a username (as a field) to a listing too.

thanks.

daft

Am Gonna rebuild the command section so you can set witch level to use witch command.

ex:

cmd|descr|level

or

cmd = {"descr",level"}

/NL
Title:
Post by: Nafigs on 10 March, 2004, 12:42:11
NightLitch HELP!!! What is this ---> [13:37] valiooo - ( 193.219.57.... ) from Company ( Institute of Mathematics and Informatics - Police Academy ) tried to login!  ?????
Title:
Post by: Woodster on 10 March, 2004, 12:57:25
it means exactly what it ses...

basically an unwanted company tried to enter your hub

Woody
Title:
Post by: Nafigs on 10 March, 2004, 13:04:26
OHO! Well what can i say.......NICE! :)))
Title:
Post by: angelsanges on 10 March, 2004, 14:28:01
why when I use !help command I receive the ptokax help instead of NXS help?

this is the error
Syntax Error: `for' table must be a table
Title:
Post by: angelsanges on 10 March, 2004, 14:29:59
problem solved :D
Title:
Post by: GeNNeLL on 10 March, 2004, 17:02:26
i dont now why, but i have this error
Syntax error: attempt to index local `vUser' (a nil value)
stack traceback:
   1:  function `KicksRegVipOp' at line 158 [file `NXS-3/data/Handlings.lua']
   2:  function `ToKickMsg' at line 999 [file `...ttings\Admin\Pulpit\Kopia HUB\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 514 [file `...ttings\Admin\Pulpit\Kopia HUB\scripts\NXS-3.lua']
Title:
Post by: NightLitch on 10 March, 2004, 17:39:49
QuoteOriginally posted by GeNNeLL
i dont now why, but i have this error
Syntax error: attempt to index local `vUser' (a nil value)
stack traceback:
   1:  function `KicksRegVipOp' at line 158 [file `NXS-3/data/Handlings.lua']
   2:  function `ToKickMsg' at line 999 [file `...ttings\Admin\Pulpit\Kopia HUB\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 514 [file `...ttings\Admin\Pulpit\Kopia HUB\scripts\NXS-3.lua']

hmm Gonna take a look at it...
Title:
Post by: kazi on 10 March, 2004, 18:57:18
I have got a question about the antispam.

when somen says  a word with "com" in it, he gets kicked by the script.

i.e.  welcome,  computer...  etc..  isn't there a possoibility scrpt only checks for the exact letters in de [forbiddenname]   and not also parts from that keyfield?
Title:
Post by: NightLitch on 10 March, 2004, 19:25:23
QuoteOriginally posted by kazi
I have got a question about the antispam.

when somen says  a word with "com" in it, he gets kicked by the script.

i.e.  welcome,  computer...  etc..  isn't there a possoibility scrpt only checks for the exact letters in de [forbiddenname]   and not also parts from that keyfield?

I notice now that many words was sensitive, so put a dot(.) infront of every adver. but I will do that to my next version.
Title:
Post by: Nafigs on 10 March, 2004, 20:04:21
Hi NightLitch!!! Can you add cmd where i can get users nick who was/is using that IP, there is one when user statistics running, like !userinfo or !ipinfo, that would be nice if you could do that:)
Title:
Post by: NightLitch on 10 March, 2004, 20:56:09
QuoteOriginally posted by Nafigs
Hi NightLitch!!! Can you add cmd where i can get users nick who was/is using that IP, there is one when user statistics running, like !userinfo or !ipinfo, that would be nice if you could do that:)

I will try to expand the userinfo so it logs different ip's to
Title:
Post by: angelsanges on 10 March, 2004, 22:48:46
bug in !mm whit:
-- more than x words and message not sent
MaxLen = 200

mass messages are not sent!
Title:
Post by: kazi on 10 March, 2004, 22:51:45
is also when user say more then 200 words.
users got kicked :)

i put max length to 500  problem is gone now



-- more than x words and message not sent
MaxLen = 500

Title:
Post by: angelsanges on 10 March, 2004, 23:15:44
yes...but there is a bug because I'm OP & It controls me
Title:
Post by: NightLitch on 10 March, 2004, 23:16:39
QuoteOriginally posted by kazi
is also when user say more then 200 words.
users got kicked :)

i put max length to 500  problem is gone now



-- more than x words and message not sent
MaxLen = 500



Am gonna fix this bug.

/NL
Title:
Post by: kazi on 10 March, 2004, 23:18:09
QuoteOriginally posted by angelsanges
yes...but there is a bug because I'm OP & It controls me

maybe u can control it  by setting this:

-- Be able to Kick/Ban Operator / 1:on/0:off
KickOP = 0

maybe it kicks OP s when this option  is activated
Title:
Post by: angelsanges on 11 March, 2004, 00:43:49
QuoteOriginally posted by kazi
QuoteOriginally posted by angelsanges
yes...but there is a bug because I'm OP & It controls me

maybe u can control it  by setting this:

-- Be able to Kick/Ban Operator / 1:on/0:off
KickOP = 0

maybe it kicks OP s when this option  is activated

no...this bug is on the max lenght message control...it is checking also OPS & Master (Stop spamming the chat!)
Title:
Post by: angelsanges on 11 March, 2004, 12:58:40
i hate the <> !!! what is that!?? :]
Title: Report!!
Post by: WickeD on 11 March, 2004, 13:25:33
The <> is for Anti Advertising reports!

And only OP/Mas/Mod can see it in the MainChat!

//WickeD
Title:
Post by: angelsanges on 11 March, 2004, 13:45:08
yes...but it does not function well...
Title: Hmmm!!
Post by: WickeD on 11 March, 2004, 14:59:06
Works wery good for mee!!

Have you made a clean installation of NXS-3?

It only shows <> when it triggers a Anti Advertising for mee!

//WickeD
Title:
Post by: Tarot on 11 March, 2004, 17:23:40
NightLitch is a great script only he use a loth of mem ant cpu

Mem 2866  gc 3210 by 211 users
Title:
Post by: NightLitch on 11 March, 2004, 17:39:54
Thing Am gonna fix & maybe rewrite some:

* The Antispam only for users
* Report On/Off for Advertising and maybe some other things.
* Rebuild the clean function for userinfo
* Try Rebuild the userinfo to be more smooth and maybe better Well se.

/NL
Title:
Post by: Dyzan on 11 March, 2004, 19:23:23
QuoteOriginally posted by Tarot
Mem 2866  gc 3210 by 211 users

Thats good stats. :D

I have seen up to 12 000 in mem and same in GC with up to 700 users. And a database as big as maybe 3 MB. But no lagg at all in the main-chat. The server is 100 % stabel. Thats something ;)

With a Celeron 1300

But maybe I have to say thanks to PtokaX 0.3.3.0 b15.25

/Dyzan
Title:
Post by: Nafigs on 11 March, 2004, 19:51:48
Hmmm this is normal??? The userinfo cleaner has been called. Every user who hasn't been in the hub for 1 weeks will be deleted from file. ???
Title:
Post by: NightLitch on 11 March, 2004, 20:33:35
QuoteOriginally posted by Nafigs
Hmmm this is normal??? The userinfo cleaner has been called. Every user who hasn't been in the hub for 1 weeks will be deleted from file. ???

yes
Title:
Post by: Dyzan on 11 March, 2004, 20:36:56
I must say. NL you have to check the Triggerbot and the antiadvertising ban/timeban/kick/cecure more. I found a lot of buggs there.

I won't install 3.4 before a fix is done.
Title:
Post by: GeNNeLL on 11 March, 2004, 21:35:08
this error
Syntax error: attempt to perform arithmetic on a nil value
stack traceback:
   1:  function `CheckShare' at line 862 [file `...ttings\Admin\Pulpit\Kopia HUB\scripts\NXS-3.lua']
   2:  function `DataArrival' at line 469 [file `...ttings\Admin\Pulpit\Kopia HUB\scripts\NXS-3.lua']


when i have 1200 users and more
Title:
Post by: NightLitch on 11 March, 2004, 22:15:11
QuoteOriginally posted by GeNNeLL
this error
Syntax error: attempt to perform arithmetic on a nil value
stack traceback:
   1:  function `CheckShare' at line 862 [file `...ttings\Admin\Pulpit\Kopia HUB\scripts\NXS-3.lua']
   2:  function `DataArrival' at line 469 [file `...ttings\Admin\Pulpit\Kopia HUB\scripts\NXS-3.lua']


when i have 1200 users and more

That was a funny bug, that should not even happend cause have done a nil check to... hmm... But gonna see what I can do.

Update out around midnight.

/NL
Title:
Post by: kazi on 11 March, 2004, 22:35:15
NL  can u also do something aginst this client?

this is also a fake prog used.

(http://www.xs4all.nl/~thefox/badclient.JPG)
Title:
Post by: angelsanges on 11 March, 2004, 23:07:03
Please insert a check to disable The Anti advert function...please please i'm heating <> it bugs my mind!! :D it report thing that aren't SPAM...
Title:
Post by: NightLitch on 12 March, 2004, 00:07:05
New Version:

NXS-3 Version: 3.5 (http://swenorth.myftp.org/network/nightlitch/files/NXS-3/nxs-3.v.3.5.rar)

3.5 : French Translation by: Tom_Sawyer
Swedish Translation by: WickeD
Fixed the spamming part some more, it skips ops.
Fixed some errors in triggerbot & advertising
Fixed the share part i hope..

Will make the Report On/Off in next version angelsanges.
And can maybe fix something in the client part to kazi.

/NL
Title:
Post by: angelsanges on 12 March, 2004, 00:17:22
it's fixed the max lenght check now?
Title:
Post by: NightLitch on 12 March, 2004, 00:50:15
QuoteOriginally posted by angelsanges
it's fixed the max lenght check now?

yes the spamming part yes.
Title:
Post by: Dyzan on 12 March, 2004, 01:42:21
Yepp, It works great now.
Title:
Post by: Nafigs on 12 March, 2004, 09:44:01
Well i have a problem with this part -- Set Ban Time for TimeBan (Default)
 BanTime = 5
 
  -- Set BanTime Value to ( "m" = min(s), "h" = hour(s), "d" = day(s) )
 BanValue = "h"  

-- Max Warn until kicked
MaxWarn = 3

-- Max Kick until banned
MaxKick = 3

-- Ban or TimeBan after x Kicks is reached / 1=Ban / 0=TimeBan
-- TimeBan uses above Time Lines
BoTB = 0

I tested it on 5h and then if i only kick user then he is temp banned on 5h and it is very stupid:( as i understad it has to be only if users are advertising but its not:(((

Sorry about my english, I hope you understad what did i mean:)
Title:
Post by: NightLitch on 12 March, 2004, 13:12:54
QuoteOriginally posted by Nafigs
Well i have a problem with this part -- Set Ban Time for TimeBan (Default)
 BanTime = 5
 
  -- Set BanTime Value to ( "m" = min(s), "h" = hour(s), "d" = day(s) )
 BanValue = "h"  

-- Max Warn until kicked
MaxWarn = 3

-- Max Kick until banned
MaxKick = 3

-- Ban or TimeBan after x Kicks is reached / 1=Ban / 0=TimeBan
-- TimeBan uses above Time Lines
BoTB = 0

I tested it on 5h and then if i only kick user then he is temp banned on 5h and it is very stupid:( as i understad it has to be only if users are advertising but its not:(((

Sorry about my english, I hope you understad what did i mean:)

huh, I don't quite understand you, but maybe.

You see you can not get time on TempBan that has a default in HubSoft.

And about Timeban Advertsing etc. The vals you insert on timeban here will be default for !timeban and will be the time the timeban advertising gets.

hope I got you some right. :-)

/NL
Title: Error!!
Post by: WickeD on 12 March, 2004, 15:35:29
If a user is offline and i type !info username, I get this error:


Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 864 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <41:file `NXS-3/data/COMMANDS.lua'> at line 41
   3:  function `GetCom' at line 607 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `DataArrival' at line 508 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']



Can you fix that NL?

//WickeD
Title:
Post by: NightLitch on 12 March, 2004, 15:48:44
QuoteOriginally posted by WickeD
If a user is offline and i type !info username, I get this error:


Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 864 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <41:file `NXS-3/data/COMMANDS.lua'> at line 41
   3:  function `GetCom' at line 607 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `DataArrival' at line 508 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']



Can you fix that NL?

//WickeD

Yes will fix it tomorrow...
Title:
Post by: BeeR on 12 March, 2004, 16:00:08
Hellou SIR NightLitch :]

Can you add a ISP function in NXS-3?
It would be nice to have the possibility
to run a hub with ISP-prefix like [ISP]Xxxxx

And a !addiprange command to fill peerguardian
with more banned ip-ranges

Best regards
Title:
Post by: NightLitch on 12 March, 2004, 17:51:49
QuoteOriginally posted by BeeR
Hellou SIR NightLitch :]

Can you add a ISP function in NXS-3?
It would be nice to have the possibility
to run a hub with ISP-prefix like [ISP]Xxxxx

And a !addiprange command to fill peerguardian
with more banned ip-ranges

Best regards

I will see what I can do. Am not home until tomorrow so progress in ice for now.. :-P Gonna party all night long know.

/NL
Title:
Post by: Dyzan on 12 March, 2004, 19:06:54
QuoteOriginally posted by WickeD
If a user is offline and i type !info username, I get this error:


Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 864 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <41:file `NXS-3/data/COMMANDS.lua'> at line 41
   3:  function `GetCom' at line 607 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `DataArrival' at line 508 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']



Can you fix that NL?

//WickeD

I don't get that message here. Have you turn down the hubsoft totaly and then overwriten all files with the new version. Could be that theres something differ from 3.2 to 3.5 database. So maybe a cleaning of all userinfo is nesesery.

/Dyzan
Title:
Post by: NightLitch on 12 March, 2004, 20:55:29
Ye, try what dyzan say's, I can look into it later if the problem still is there. Have a good one m8's.

Here it is party!

/NL
Title:
Post by: kazi on 12 March, 2004, 22:25:02
grrrrrr  with using the newest update i get this again:

Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)

enjoy your weekend :)
Title: Dyzan!
Post by: WickeD on 13 March, 2004, 14:56:01
QuoteOriginally posted by Dyzan
QuoteOriginally posted by WickeD
If a user is offline and i type !info username, I get this error:


Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 864 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <41:file `NXS-3/data/COMMANDS.lua'> at line 41
   3:  function `GetCom' at line 607 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']
   4:  function `DataArrival' at line 508 [file `...gram\ptokaX 0.330 build 15.25\scripts\NXS-3.lua']



Can you fix that NL?

//WickeD

I don't get that message here. Have you turn down the hubsoft totaly and then overwriten all files with the new version. Could be that theres something differ from 3.2 to 3.5 database. So maybe a cleaning of all userinfo is nesesery.

/Dyzan

No I have not tryed to restart the hubsoft! But I used NXS-3 v.3.4 before 3.5! And !info works on Offline users but not on Offline users that have been kicked/Warned in 3.5!

I have made a clean installation of 3.5!  3.4 worked fine for me, but not 3.5!

//WickeD
Title:
Post by: NightLitch on 13 March, 2004, 16:28:18
I will look at that WickeD when I get the time, have a enormus headic and haven't sleept well for some days.

But gonna check the script some more.

/NL
Title:
Post by: Dyzan on 13 March, 2004, 19:35:56
QuoteNo I have not tryed to restart the hubsoft! But I used NXS-3 v.3.4 before 3.5! And !info works on Offline users but not on Offline users that have been kicked/Warned in 3.5!

I have made a clean installation of 3.5!  3.4 worked fine for me, but not 3.5!

//WickeD

I still belive that you need to clean the hole userinfo.dat file and allso restart the hub compleatly in the same time. I don't get that message in any way! Have tried everything.

The only error I got so far is this:

Syntax error: attempt to index local `vUser' (a nil value)
stack traceback:
   1:  function `KicksRegVipOp' at line 159 [file `NXS-3/data/Handlings.lua']
   2:  function `ToKickMsg' at line 987 [file `E:\Temp mapp\0.330.b15.25.dbg\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 514 [file `E:\Temp mapp\0.330.b15.25.dbg\scripts\NXS-3.lua']

/Dyzan
Title: Dyzan!
Post by: WickeD on 14 March, 2004, 00:48:49
Yes i will try that one night when it is not so manny users in the hub!  But! i have not saved the old userinfo.dat file! I use the file that is in the NXS-3 v.3.5 So it must bee that I need to Restart the hubsoft! So i will try that and come back to you and NL!

Thz a lot my m8 for your help whit this problem Dyzan!

//WickeD
Title: Hmmm!!
Post by: WickeD on 14 March, 2004, 00:54:01
Is this the right way to write in Anti Adver:  
.dns2go.com

Or like this:
dns2go.com

//WickeD
Title:
Post by: Dyzan on 14 March, 2004, 01:06:13
QuoteOriginally posted by WickeD
Is this the right way to write in Anti Adver:  
.dns2go.com

Or like this:
dns2go.com

//WickeD

The last one seems right.
Title: Thx Dyzan!
Post by: WickeD on 14 March, 2004, 01:19:13
NL! Can you add: AutoDel Reg/VIP Users Unused Accounts On Weeks ?  In next update? Or next version?

//WickeD
Title:
Post by: NightLitch on 14 March, 2004, 02:14:40
QuoteOriginally posted by WickeD
NL! Can you add: AutoDel Reg/VIP Users Unused Accounts On Weeks ?  In next update? Or next version?

//WickeD

I will see what I can do.
Title:
Post by: NightLitch on 14 March, 2004, 14:17:57
QuoteOriginally posted by kazi
grrrrrr  with using the newest update i get this again:

Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)

enjoy your weekend :)

What caused this error ?? you have not given me a erro line where the error occurs in the script.

/NL
Title:
Post by: kazi on 14 March, 2004, 14:28:20
It is showing in de ptokax hub screen in edit scriptstab

no syntax errors in script file H:\Program Files\Ptokaxhub\scripts\NXS-3.lua

Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string

In the version before the last update it was gone  after installing the newest update  it came back
Title:
Post by: NightLitch on 14 March, 2004, 14:34:01
QuoteOriginally posted by kazi
It is showing in de ptokax hub screen in edit scriptstab

no syntax errors in script file H:\Program Files\Ptokaxhub\scripts\NXS-3.lua

Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string expected, got nil)
Syntax Error: bad argument #1 to `strfind' (string

In the version before the last update it was gone  after installing the newest update  it came back

hmm are you running any other scripts ?
Title:
Post by: kazi on 14 March, 2004, 14:38:25
Yes a script against mldonkeys  and those :FP: clients

it s the same scripts only search string different, but i have always had those 2 scripts running. without any probs.


 --// Ban the following words: mld, [ws], [replika]

forbiddenWords = { ":FP:" }



--// This function is fired at the serving start




--// This function is fired when a new user finishes the login

function NewUserConnected(curUser)

for key,checkWord in forbiddenWords do

if strfind(curUser.sMyInfoString, checkWord, 1, 1) then

SendToNick(curUser.sName, "<" ..botName .."> You are using unauthorized client software, please read the Rules section, Thankyou!")

SendToNick(curUser.sName, "<" ..botName .."> Disconnecting...")

curUser:Disconnect()

end

end

end
Title:
Post by: NightLitch on 14 March, 2004, 14:57:11
ok, does this script load before or after NXS-3
Title:
Post by: NightLitch on 14 March, 2004, 14:59:13
see this line on NXS-3 in the beginning:

forbiddenClients = {"_koala", "mldonkey", "mldc", "_om", "zearch", "XKing", "repika", "pepek", "moglo", "0.233B", "0.233A", "0.181fr", "0.241A", "0.24A"}

just put in your forbiddenWords = { ":FP:" }

in it:

forbiddenClients = {"_koala", "mldonkey", "mldc", "_om", "zearch", "XKing", "repika", "pepek", "moglo", "0.233B", "0.233A", "0.181fr", "0.241A", "0.24A", ":FP:"}

and you don't need your script.

/NL
Title:
Post by: kazi on 14 March, 2004, 15:37:04
okay i took both scripts out,  and added the :FP: in the searchstring. also the "mld"

but..  the ml donkeys are coming in now  and don t get kicked by the script.

forbiddenClients = {"_koala", "mldonkey", "mldc", "_om", "zearch", "XKing", "repika", "pepek", "moglo", "0.233B", "0.233A", "0.181fr", "0.241A", "0.24A", ":FP:", "mld"}

Title: Works fine for mee!
Post by: WickeD on 14 March, 2004, 15:53:13
That client check is working fine for mee! No clients in that line can enter my hub!


Do you have this on 1 ?

-- Check for Bad Clients / 1:on/0:off
CBC = 1

//WickeD
Title:
Post by: kazi on 14 March, 2004, 16:12:00
Yes I have set it on: 1

btw  you all having loads of mldonkeys trying to enter the hub?
Title: I think they trying to enter!!
Post by: WickeD on 14 March, 2004, 16:48:14
Yes I have mldonkeys trying to enter my hub! If I sett it on 0:off then I have mldonkeys in my hub! So I think it works for mee!


//WickeD
Title: Installation!!
Post by: WickeD on 14 March, 2004, 16:50:18
Have you made a clean installation of NXS-3 v.3.5 ?


And restarted your hubsoft ?

//WickeD
Title:
Post by: kazi on 14 March, 2004, 16:53:21
yes I did.

and then tok out my separate script agianst mldonkeys,  and added in the .lua file  the mld

and restarted scripts
Title: Okej!
Post by: WickeD on 14 March, 2004, 17:56:56
Try to restart your hubsoft after you tok out your separate script agianst mldonkeys!

Not only restart script!  Try that!   After that I can not help you eny more!   Then you most ask NL!

//WickeD
Title:
Post by: kazi on 14 March, 2004, 18:23:19
hum seems to work now.
sorry but I didn t think it was nesecarry to restart the hub, by only removing a script.

hope it stays this way:)

thank you.
Title:
Post by: kazi on 14 March, 2004, 22:15:23
well thought it was all okay, but they do slipp through somehow..   not all of them..  some.
Title:
Post by: NightLitch on 14 March, 2004, 22:21:42
QuoteOriginally posted by kazi
well thought it was all okay, but they do slipp through somehow..   not all of them..  some.

They may have a different tag maybe or there usually take some little time before they get disconnected, becouse the function is in NewUserConnected

/NL
Title:
Post by: kazi on 14 March, 2004, 22:25:09
okay thanx,  is it possible to create something to permban/ban someone who is not in the hub?  or retrieve by typing a username his ip?

i had that function in the scripts i used to use... it s handy to have that.
Title: TimeBan??
Post by: WickeD on 15 March, 2004, 19:18:29
When I type: !timeban [Kommunicera]Ny 7 d Du har en mycket d?lig client!! En Hacked Client! Fixa! Du ?r nu banlyst i 7dagar!!

Why do it show in mainchat like this:

<[Bot]??Angel??> [SU+]WickeD TidsBanlyser [Kommunicera]Ny, i: 7 minuter, Anledning: d Du har en mycket d?lig client!! En Hacked Client! Fixa! Du ?r nu banlyst i 7dagar!! - Klagom?l / Funderingar skickas med e-mail till: support@northside.se


And the user only did get a 7 min ban!


//WickeD
Title:
Post by: NightLitch on 15 March, 2004, 19:40:53
do you see your misstype here:


!timeban [Kommunicera]Ny 7 d Du har en mycket d?lig client!! En Hacked Client! Fixa! Du ?r nu banlyst i 7dagar!!


you have a space between 7  and d that is your problem.

becouse of that the timeban takes the default in your case is minutes.

/NL
Title: AAAAAAAaaaaaaa!!!! =)
Post by: WickeD on 15 March, 2004, 19:46:59
I see!!!  *lol*

Thx a lot my m8!!!

//WickeD
Title: Error!!
Post by: WickeD on 16 March, 2004, 10:55:27
I have a error!  And I use NXS-3 v.3.5


Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 491 [file `...am\ptokaX 0.330 build 15.25\scripts\3.NXS-3.lua']

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 491 [file `...am\ptokaX 0.330 build 15.25\scripts\3.NXS-3.lua']

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 491 [file `...am\ptokaX 0.330 build 15.25\scripts\3.NXS-3.lua']

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 491 [file `...am\ptokaX 0.330 build 15.25\scripts\3.NXS-3.lua']



//WickeD
Title:
Post by: NightLitch on 16 March, 2004, 16:46:20
QuoteOriginally posted by WickeD
I have a error!  And I use NXS-3 v.3.5


Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 491 [file `...am\ptokaX 0.330 build 15.25\scripts\3.NXS-3.lua']

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 491 [file `...am\ptokaX 0.330 build 15.25\scripts\3.NXS-3.lua']

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 491 [file `...am\ptokaX 0.330 build 15.25\scripts\3.NXS-3.lua']

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 491 [file `...am\ptokaX 0.330 build 15.25\scripts\3.NXS-3.lua']



//WickeD

ok notice my problem there thx WickeD.

/NL
Title:
Post by: NightLitch on 17 March, 2004, 20:56:50
So quiet here, is it only above problem that WickeD have or have you all abanddon my bot ^^ hehe

/NL
Title:
Post by: kazi on 17 March, 2004, 21:00:57
Hehe don t wanna be a pain,  i sure do like the script..  best I had so far, so I will keep using them.

only hope it s bossible to track a username in the hub with logon details  and ip, and the posibility to ban the name/ip even when user is not in hub.

and..  an option for redirect to another hub  when user has to less or too much slots / hubs?

maybe something for a next release  if u r still feeling great to build hehe
Title: Hi...NightLitch!
Post by: WickeD on 17 March, 2004, 21:22:08
My problem was only at that time! No more problem after that time!

The script is working fine!  =)

Wee are waiting for the next version!  *lol*

How do wee update the Guardian ip-number list? Is there a webpage to get the ip-numbers from?

And can you take a look at my wishes to the next NXS-3 version my m8?

Thx a lot for the best script there is!!!!!


NXS-3 RULES!!!!!!!!!!!!!!!!!!  *lol*

//WickeD
Title:
Post by: NightLitch on 17 March, 2004, 21:41:52
Hmm what I can do is adding a redirect from the redirect already given in LowShareRedirect & HighShare Redirect
gonna see what possibility I can dig up, becouse Kepp is working on a GUI for the script so I Am in particular w8ing for that to be released so I can Beta-Test it.

But gonna see what I can do for futher request's.

becouse I have 4 version left before 4.0 with GUI :-p
Title:
Post by: f3rry on 17 March, 2004, 21:51:31
Hi NightLitch,

QuoteSo quiet here, is it only above problem that WickeD have or have you all abanddon my bot ^^ hehe


No, we haven't left, but onley wait for a new version of NXS-3 LoL

2 of my hubs are running whit the script and i must say, it works great, no problems for now. Or must i say, 1 problem, i don't have anything to do anymore on my hubs, the script is far to good.

I'm working on the translation english to dutch ;-P

Greetings and keep it up
Title:
Post by: kazi on 17 March, 2004, 21:54:43
The only thing he doesn t stop btw.  are the stealth clients :(

i still need to manually check them
Title:
Post by: NightLitch on 17 March, 2004, 22:09:26
QuoteOriginally posted by kazi
The only thing he doesn t stop btw.  are the stealth clients :(

i still need to manually check them

Well the best way detecting them is with DC++k CDM

the only way's I know of detecting them is by faking hubs and had a detection earlier that detected ForceRedirect but inocent users where banned becouse of that.

/NL
Title:
Post by: kazi on 17 March, 2004, 22:13:56
I got a far better client to check it...

but maybe u can make a check on slotblockers?

as far as i know  a ndmc client don t give a list when slots are all taken  and a dc client they always give a list  even when all slots are taken.

dunno if i t s do-able

or....  make a check on the Lock and PK  with client  thats a way to find those stealth clients
Title:
Post by: NightLitch on 17 March, 2004, 22:17:07
QuoteOriginally posted by kazi
I got a far better client to check it...

but maybe u can make a check on slotblockers?

as far as i know  a ndmc client don t give a list when slots are all taken  and a dc client they always give a list  even when all slots are taken.

dunno if i t s do-able

or....  make a check on the Lock and PK  with client  thats a way to find those stealth clients

About slotblocker that is a problem too, you can not connect with a script/the hub to a client to check the slot.

haven't checked the $Lock so much but have heard things about it.

And you can not check the PK string in a script.

/NL
Title: INFO!
Post by: WickeD on 17 March, 2004, 23:21:47
The Guardian do work!!  I get this massage from NXS-3:

<[Bot]??Angel??> Burk - ( 128.39.43.17 ) fr?n f?retaget ( Norwegian Telecommunications Administration split 1 ) f?rs?kte komma in i hubben!

Anti Copy Company from Norway!


I think!!  Have eny one recived this massage from NXS-3 ???


Is ther a way to update the Guardian Ip-Numberlist???

//WickeD
Title:
Post by: kazi on 17 March, 2004, 23:57:00
yes there is.


give me ur email or msn and ill send you the p2p-guardian
Title: Okej!
Post by: WickeD on 18 March, 2004, 00:07:40
Is it you that update the list to Guardian script?  Or is there a webpage to d-load it from?

My e-mail: support@northside.se

//WickeD
Title:
Post by: kazi on 18 March, 2004, 00:13:15
i have sent it to you.

good luck  it s easy  it shows itselfs
Title: Hmmm!
Post by: WickeD on 18 March, 2004, 09:38:40
QuoteOriginally posted by kazi
i have sent it to you.

good luck  it s easy  it shows itselfs


I have not recived a e-mail from you!

Can you send it one more time?

Try this e-mail then!  dmzhub@hotmail.com

//WickeD
Title:
Post by: DoN on 18 March, 2004, 13:03:43
Or you can just pick it up from here....

PEER GUARDIAN (http://homepage.ntlworld.com/tim.leonard1/guarding.p2p)

Right Click and SAVE AS..


Or you can ge this .TXT file and save as .p2p

ANTI P2P (http://bluetack.co.uk/config/antip2p.txt)

Brgs
Title:
Post by: Cuj0 on 19 March, 2004, 18:33:09
Hi NightLitch!

Your script is cool  :D

How can i modify !help command ?
I want to delete 1 or more functions visually..

Please if u can reply me by email: cujozz@yahoo.it

thanks and sorry for (bad?) english  :D
Title:
Post by: NightLitch on 19 March, 2004, 19:05:59
QuoteOriginally posted by Cuj0
Hi NightLitch!

Your script is cool  :D

How can i modify !help command ?
I want to delete 1 or more functions visually..

Please if u can reply me by email: cujozz@yahoo.it

thanks and sorry for (bad?) english  :D

When I get the time I will rewrite the command & help part, so you can allow/deny your commands and set the level of command yourself, ex:
com   level  descr.
!help|user|show commands


/NL
Title:
Post by: kepp on 20 March, 2004, 03:03:54
QuoteOriginally posted by kazi
I got a far better client to check it...

but maybe u can make a check on slotblockers?

as far as i know  a ndmc client don t give a list when slots are all taken  and a dc client they always give a list  even when all slots are taken.

dunno if i t s do-able

or....  make a check on the Lock and PK  with client  thats a way to find those stealth clients

The $Lock and Pk= is generated by the hub,
Client sends as a response a $Key, but none of them are readable, lol!!
;)
Title:
Post by: kazi on 20 March, 2004, 08:05:03
No, u must compare them wth the client.


often persons who use those stealth clients  don't set it up right.  so you can detect them.

coz they don t have the proper Lock  or PK  according to the client they claim the use.
Title:
Post by: NightLitch on 20 March, 2004, 11:51:03
QuoteOriginally posted by kazi
No, u must compare them wth the client.


often persons who use those stealth clients  don't set it up right.  so you can detect them.

coz they don t have the proper Lock  or PK  according to the client they claim the use.

So you say we can script it ? In that case how... but I Am a little ?? in this... Don't think it can be done.
Title:
Post by: kepp on 20 March, 2004, 12:43:26
Can't be done..

The server sends a $Lock to the client, The client must respond with a $Key
AND

$ValidateNick |

so if you grab the key or the lock, then who's the user to kick?

Client -> Client i think works, (Im not sure about this)
but as soon as you download from someone
the client must send a $Key too.

And Pk= is ignored in most cases
Title:
Post by: kazi on 20 March, 2004, 12:53:53
right now I use a detection client

it shows of each user the Lock and PK

i.e.   nmdc users  have this: d@0Be@Lr_z.....................  and as PK: the same weird signs.

DC++ users have this: EXTENDEDPROTOCOLABCABCBACBABCABCABAC  AND AS pk: DCPLUSPLUS0.306ABCABC

someone who isn t setting it up right in his stealth  might have shown  in description: <++V:0.304,M:P,H:1/1/1,S4

but PK says: DCPLUSPLUS0.306ABCABC   so then u know hes using a fake client.

Other example is.  showing DC++tags,  but with a NMDC PK.


Hope i am more clear now
Title:
Post by: kepp on 20 March, 2004, 13:52:11
that is for Client -> Client

On connection Handshake to a hub it sends $Lock and Pk, Though, you can check ABCABCABC and son on there.
That is not untill another client connects to your client. then the client may send $Lock Pk=

Which cannot be controlled from within a lua script.
Title:
Post by: kepp on 20 March, 2004, 23:06:37
Nighty, You must grab the source code just in case!
Title:
Post by: kazi on 21 March, 2004, 00:01:31
QuoteOriginally posted by kepp
that is for Client -> Client

On connection Handshake to a hub it sends $Lock and Pk, Though, you can check ABCABCABC and son on there.
That is not untill another client connects to your client. then the client may send $Lock Pk=

Which cannot be controlled from within a lua script.

ok too bad it cannot be done :(
Title:
Post by: daft009 on 22 March, 2004, 14:57:09
hi NL,

i've been trying to modify the script a little but not getting anywhere (probably because i have no experience with lua scripting)

i need to make this mod asap.

i would like that non-registered users cannot download off registered users, vips, ops & masters.

right now its only stops them from downloading off ops.

it think i have to change something here:

elseif (strsub(data, 1, 15) == "$RevConnectToMe" and curUser.iProfile == -1) then
if OnlyRegFromOps==1 then
local _,_,towho = strfind(data, "$RevConnectToMe%s+%S+%s+(%S+)|")
if GetItemByName(towho) and GetItemByName(towho).bOperator then
curUser:SD(BotName,DLL1)
curUser:SD(BotName,DLL2)
return 1
end
end
elseif (strsub(data, 1, 12) == "$ConnectToMe" and curUser.iProfile == -1) then
if OnlyRegFromOps==1 then
local _,_,towho = strfind(data, "$ConnectToMe%s+(%S+)%s+.*|")
if GetItemByName(towho) and GetItemByName(towho).bOperator then
curUser:SD(BotName,DLL1)
curUser:SD(BotName,DLL2)
return 1
end
end
elseif (strsub(data, 1, 1) == "$" and curUser.iProfile==-1 and strfind(data, "ConnectToMe")) then
if OnlyRegFromOps==1 then
curUser:SD(BotName,DLL1)
curUser:SD(BotName,DLL2)
return 1
end

could you please tell me what i need to change it to.

thanks for your help. :D
Title:
Post by: NightLitch on 22 March, 2004, 18:08:33
I can add an table that will allow/deny download from specific "user" status.

/NL
Title: !addalbums
Post by: PiRaTe on 23 March, 2004, 11:07:34
1st of all great script.  :=]

I know it's me but how do i add albums using the !addalbums command ive tried !addalbums / music and a few more but i keep getting the message "I need to know the catagory to add it to!".

say i wanted to add the album "Elton John - Greatest Hits"  what do i type to do this....


Keep up the fantastic work


PiRaTe
Title:
Post by: zinden on 23 March, 2004, 11:16:47
Some Requests:

About deleting userinfo log can you make it delete it after days instead of weeks?

try to make some kind of command to add bad tags in a file....or try to make it more editable to add more DC++ mods in some kind of file

maybe add !rmkick nick  = remove a kicked user from temp ban list  (Brain master script has it)

maybe add !report nick reason   report users for bad share etc...



Regards Zinden
Title:
Post by: NightLitch on 23 March, 2004, 12:10:42
QuoteOriginally posted by zinden
Some Requests:

About deleting userinfo log can you make it delete it after days instead of weeks?

try to make some kind of command to add bad tags in a file....or try to make it more editable to add more DC++ mods in some kind of file

maybe add !rmkick nick  = remove a kicked user from temp ban list  (Brain master script has it)

maybe add !report nick reason   report users for bad share etc...



Regards Zinden

Sure I can change it into day instead of weeks.
The Tag thing I can look into.
about the remove Kick from Tempban-list that can't be done unless you have your own "tempbanlist" but gonna check Nerbos Brain Master.

/NL
Title:
Post by: PiRaTe on 23 March, 2004, 13:03:22
NightLitch what do i type to add a album?

Iv'e tried !addalbum but i keep getting message
"I need to know the catagory to add it to!".

can you give me an example please.

thank you!      sorry to be a pain!

PiRaTe
Title:
Post by: PiRaTe on 23 March, 2004, 13:41:08
if at first you don't succeed try, try again..

ok i sorted it guys / girls  (just incase)

just in case someone else has same difficulty heres an example how to add albums

!addalbum music elton john - greatest hits

just change the music to either movie, warez or game depending on what you are adding...


PiRaTe
Title:
Post by: kazi on 23 March, 2004, 19:43:03
NL,  what is wrong with this script please?


safeadd = {
-- ["myhub.com"]=1,
-- ["myhub.com"]=2,
-- ["myhub.com"]=3,
-- ["myhub.com"]=4,
}

trigs = {
-- ["dns2go"]=1,
-- ["myftpsite"]=2,
-- ["servebeer"]=3,
-- ["mine.nu"]=4,
-- ["ip.com"]=5,
-- ["dynip"]=6,
-- ["staticip"]=7,
-- ["serveftp"]=8,
-- ["ipactive"]=9,
-- ["ip.org"]=10,
-- ["servegame"]=11,
-- ["ath.cx"]=12,
-- ["dyndns"]=13,
-- ["clanpimp"]=14,
-- ["idlegames"]=15,
-- ["sytes"]=16,
-- ["uni.cc"]=17,
-- ["homeunix"]=18,
-- ["deftonzs.com"]=19,
-- ["flamenap"]=20,
-- ["www"]=21,
-- ["serveftp"]=22,
-- ["myftp"]=23,
-- ["d2g"]=24,
-- ["hopto.org"]=25,
-- ["orgdns"]=26,
-- ["d n s 2 g o "]=27,
-- ["m y f t p s i  t e "]=28,
-- ["s e r  v e b e e r "]=29,
-- ["m i n e . n u"]=30,
-- ["i p . c o m"]=31,
-- ["d y n i p "]=32,
-- ["s t a t i c i p "]=33,
-- ["s e r v e f t p "]=34,
-- ["i p a c t i v e "]=35,
-- ["i p . o r g "]=36,
-- ["s e r v e g a m e "]=37,
-- ["a t h . c x "]=38,
-- ["d y n d n s "]=39,
-- ["c l a n p i m p "]=40,
-- ["i d l e g a m e s "]=41,
-- ["s y t e s "]=42,
-- ["u n i . c c "]=43,
-- ["h o m e u n i x "]=44,
-- ["d e f t o n z s . c o m"]=45,
-- ["f l a m e n a p "]=46,
-- ["x s 4 a l l "]=47,
-- ["s e r v e f t p "]=48,
-- ["m y f t p "]=49,
-- ["ftp"]=50,
-- ["h o p t o . o r g "]=51,
-- ["o r g d n s "]=52,
-- ["msn "]=53,
-- ["m s n "]=54,
-- ["e-mail "]=55,
-- ["email "]=56,
-- ["icq "]=57,
-- ["http"]=58,
}

---------------------
-- Global Settings --
---------------------

Bot = "spammerslammer"

------------------
-- Data Arrival --
------------------

function DataArrival(user, data)

returndata = 0
founded = 0
safe = 1
allowedadd = 1
refusedadd = 1

if (strsub(data,1,1)=="<") then
data=strsub(data,1,strlen(data)-1)
s,e,to,cmd=strfind(data,"<(.*)>%s+(%S+)")
cmd=strlower(cmd)
s,e,cmd = strfind(data,"%b<>%s+(%S+)")

if user.bOperator then
if (cmd=="+allowedadd") then
user:SendData(Bot, allowedadd.." allowed addresses has been sended on the main chat or in pm")
returndata = 1

elseif (cmd=="+refusedadd") then
user:SendData(Bot, refusedadd.." refused addresses has been sended on the main chat or in pm")
returndata = 1
end
end

if user.bOperator then
else
for key,a in trigs do
if(strfind(strlower(data),key,5,1)) then
founded = 1
break
end
end
if founded == 1 then
for safekey,a in safeadd do
if(strfind(strlower(data),safekey,5,1)) then
safe = 1
break
end
end
end
if founded == 1 then
if safe == 1 then
allowedadd=allowedadd+1
else
returndata = 1
refusedadd=refusedadd+1
SendToOps(Bot, user.sName.." has been disconnected because of advertising: "..data )
user:SendData(Bot, "You have been disconnected because advertising")
user:Disconnect()
end
end
end
end

if(strsub(data, 1, 4) == "$To:") then
data=strsub(data,1,strlen(data)-1)
s,e,whoTo = strfind(data,"$To:%s+(%S+)")
s,e,To,from,cmd = strfind(data,"$To:%s+(%S+)%s+From:%s+(%S+)%s+$%b<>%s+(.*)")

if user.bOperator then
else
for key,a in trigs do
if(strfind(strlower(data),key,17,1)) then
founded = 1
break
end
end
if founded == 1 then
for safekey,a in safeadd do
if(strfind(strlower(data),safekey,17,1)) then
safe = 1
break
end
end
end
if founded == 1 then
if safe == 1 then
allowedadd=allowedadd+1
else
returndata = 1
refusedadd=refusedadd+1
SendToOps(Bot, user.sName.." has been disconnected because of advertising: "..data )
user:SendData(Bot, "You have been disconnected because advertising")
user:Disconnect()
end
end
end
end
return returndata
end

i.e.  the safespame function does not work, and not all of the values given it will kick on
Title:
Post by: NightLitch on 23 March, 2004, 20:02:18
Well Kazi, why not create an own Thread instead of posting it here.

My advise for you is use my Advertising Shield i created.

Or if it is help you want plz make an own thread for it.

Don't mean to be meen. :-)

/NL
Title:
Post by: kazi on 23 March, 2004, 20:09:12
Well, somehow  I cannot get it working in the main script

-- Acceptable trigs  what should i fill in here?

a complete url or just some xtentions?
Title:
Post by: NightLitch on 23 March, 2004, 20:21:56
Take a look at my latest Advertising bot or Plop's sneaky maybe you can come too a solusion.

but one thing...

have you tried remove the -- infront of the "advers"

that should make your script work in my eyes now.

Else if not... I can mybe look later. Working like he** on my advertising bot now. Soon gonna release the new one in Advertising Shield thread.

/NL
Title: !showstaff
Post by: PiRaTe on 23 March, 2004, 21:20:14
Not sure if its a bug but !showstaff doesn't seem to work in my hub. !showvips and !showregs works fine.

PiRaTE
Title:
Post by: NightLitch on 23 March, 2004, 21:22:24
QuoteOriginally posted by PiRaTe
Not sure if its a bug but !showstaff doesn't seem to work in my hub. !showvips and !showregs works fine.

PiRaTE

Your profiles.dat is wrong thats the problem.

download the newest version and copy that profiles.dat into the hubfolder.

/NL
Title: !showstaff
Post by: PiRaTe on 23 March, 2004, 21:54:33
Thank you Nightlitch, you were in the right area, it was an error on my part, i hadn't added all the new profiles to ptokax profile manager.

It works fine now thank you

And one of the best scripts i've used so far in my 4 years of running hubs.

PiRaTe
Title:
Post by: kazi on 23 March, 2004, 22:20:22
NL/.......  the !whois command...  can you make it also working for OPs?  now it s set to only master and moderators?  but when i make someone moderator can he still have the same rights as a normal OP?
Title:
Post by: kazi on 23 March, 2004, 22:24:18
ohh sorry  found it,  added it myself in the commands.lua

only wondering where the helpfile is, so i can set it in the txt file when OP s  type !help
Title:
Post by: NightLitch on 23 March, 2004, 23:16:07
QuoteOriginally posted by kazi
ohh sorry  found it,  added it myself in the commands.lua

only wondering where the helpfile is, so i can set it in the txt file when OP s  type !help

As I said erlier, Am trying to rebuild the command part, so you can set the command to the status you want.

/NL
Title: Hi NL!!! =)
Post by: WickeD on 25 March, 2004, 12:27:03
Can you add this: The user [AC-Net]XXXXXXX has been kicked 2 times.

When a user is kicked / Warned I want that to bee showed i mainchat whit the kick / Warn massage!

Can that bee added to next NXS-3 version my m8 ??

And have you looked in to the Ip-Script that I wanted ??

//WickeD
Title:
Post by: Woodster on 25 March, 2004, 15:29:55
Hi

Recommended via a friend a tried this script

Very Nice indeed :))

Q: How do i get messages shown on connection users via PM??

Woody
Title: Hi NL!!! =)
Post by: WickeD on 25 March, 2004, 16:22:56
This funktion do not work for me, It do not check users at all:

--Allow BadFile search / 1:on/0:off /
ABFS = 1


-- Bad Files
Files = {}
Files["preteen"]="Please don't share preteen porn in here!"




Can you take a look at that for me!

//WickeD
Title:
Post by: Dyzan on 25 March, 2004, 16:28:21
Hello again. Have some errors now to report to public 3.5 version.

With this userinfo:
["[Kommunicera]Ny"] = {
["LOGINS"] = 60,
["PROFILE"] = -1,
["ONLINE"] = "YES",
["IP"] = "81.172.162.119",
["TIME"] = "03/19/2004",
["MYINFO"] = "$MyInfo $ALL [Kommunicera]Ny <++ V:0.306,M:A,H:1/0/0,S:8>$ $LAN(T1)$$139586437120$|",
},

And if I do a !info on that user I got this error:

Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 864 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <41:file `NXS-3/data/COMMANDS.lua'> at line 41
   3:  function `GetCom' at line 607 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   4:  function `DataArrival' at line 531 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
-----------------------------------------------------------------------

Other errors I don't know where it come from:

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 490 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Syntax error: attempt to concat global `MyInfo' (a nil value)
stack traceback:
   1:  function `CleanUsers' at line 133 [file `NXS-3/data/Handlings.lua']
   2:  method `func' at line 245 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   3:  function `OnTimer' at line 200 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Good luck to hunt the buggs ;)
Title:
Post by: Dyzan on 25 March, 2004, 16:32:07
Hello again. Have some errors now to report to public 3.5 version.

With this userinfo:
["[Kommunicera]Ny"] = {
["LOGINS"] = 60,
["PROFILE"] = -1,
["ONLINE"] = "YES",
["IP"] = "81.172.162.119",
["TIME"] = "03/19/2004",
["MYINFO"] = "$MyInfo $ALL [Kommunicera]Ny <++ V:0.306,M:A,H:1/0/0,S:8>$ $LAN(T1)$$139586437120$|",
},

And if I do a !info on that user I got this error:

Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 864 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <41:file `NXS-3/data/COMMANDS.lua'> at line 41
   3:  function `GetCom' at line 607 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   4:  function `DataArrival' at line 531 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
-----------------------------------------------------------------------

Other errors I don't know where it come from:

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 490 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Syntax error: attempt to concat global `MyInfo' (a nil value)
stack traceback:
   1:  function `CleanUsers' at line 133 [file `NXS-3/data/Handlings.lua']
   2:  method `func' at line 245 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   3:  function `OnTimer' at line 200 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Good luck to hunt the buggs ;)
Title:
Post by: Dyzan on 25 March, 2004, 16:35:53
Hello again. Have some errors now to report to public 3.5 version.

With this userinfo:
["[Kommunicera]Ny"] = {
["LOGINS"] = 60,
["PROFILE"] = -1,
["ONLINE"] = "YES",
["IP"] = "81.172.162.119",
["TIME"] = "03/19/2004",
["MYINFO"] = "$MyInfo $ALL [Kommunicera]Ny <++ V:0.306,M:A,H:1/0/0,S:8>$ $LAN(T1)$$139586437120$|",
},

And if I do a !info on that user I got this error:

Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 864 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <41:file `NXS-3/data/COMMANDS.lua'> at line 41
   3:  function `GetCom' at line 607 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   4:  function `DataArrival' at line 531 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
-----------------------------------------------------------------------

Other errors I don't know where it come from:

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 490 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Syntax error: attempt to concat global `MyInfo' (a nil value)
stack traceback:
   1:  function `CleanUsers' at line 133 [file `NXS-3/data/Handlings.lua']
   2:  method `func' at line 245 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   3:  function `OnTimer' at line 200 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Good luck to hunt the buggs ;)
Title:
Post by: Dyzan on 25 March, 2004, 16:39:40
Hello again. Have some errors now to report to public 3.5 version.

With this userinfo:
["[Kommunicera]Ny"] = {
["LOGINS"] = 60,
["PROFILE"] = -1,
["ONLINE"] = "YES",
["IP"] = "81.172.162.119",
["TIME"] = "03/19/2004",
["MYINFO"] = "$MyInfo $ALL [Kommunicera]Ny <++ V:0.306,M:A,H:1/0/0,S:8>$ $LAN(T1)$$139586437120$|",
},

And if I do a !info on that user I got this error:

Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 864 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <41:file `NXS-3/data/COMMANDS.lua'> at line 41
   3:  function `GetCom' at line 607 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   4:  function `DataArrival' at line 531 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
-----------------------------------------------------------------------

Other errors I don't know where it come from:

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 490 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Syntax error: attempt to concat global `MyInfo' (a nil value)
stack traceback:
   1:  function `CleanUsers' at line 133 [file `NXS-3/data/Handlings.lua']
   2:  method `func' at line 245 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   3:  function `OnTimer' at line 200 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Good luck to hunt the buggs ;)
Title:
Post by: NightLitch on 25 March, 2004, 16:42:40
Ok, gonna take a look at the problem's.

And plz Moderators delete 2 of the triple same post Dyzan sended.

/NL
Title:
Post by: Dyzan on 25 March, 2004, 16:43:26
Hello again. Have some errors now to report to public 3.5 version.

With this userinfo:
["[Kommunicera]Ny"] = {
["LOGINS"] = 60,
["PROFILE"] = -1,
["ONLINE"] = "YES",
["IP"] = "81.172.162.119",
["TIME"] = "03/19/2004",
["MYINFO"] = "$MyInfo $ALL [Kommunicera]Ny <++ V:0.306,M:A,H:1/0/0,S:8>$ $LAN(T1)$$139586437120$|",
},

And if I do a !info on that user I got this error:

Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 864 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <41:file `NXS-3/data/COMMANDS.lua'> at line 41
   3:  function `GetCom' at line 607 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   4:  function `DataArrival' at line 531 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
-----------------------------------------------------------------------

Other errors I don't know where it come from:

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 490 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Syntax error: attempt to concat global `MyInfo' (a nil value)
stack traceback:
   1:  function `CleanUsers' at line 133 [file `NXS-3/data/Handlings.lua']
   2:  method `func' at line 245 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   3:  function `OnTimer' at line 200 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Good luck to hunt the buggs ;)
Title:
Post by: NightLitch on 25 March, 2004, 16:44:12
STOP! sending that!!!

it have come 4 times now!

/NL
Title:
Post by: NightLitch on 25 March, 2004, 16:46:26
Ok, gonna take a look at the problem's.

And plz Moderators delete 2 of the triple same post Dyzan sended.

/NL
Title:
Post by: Dyzan on 25 March, 2004, 16:47:12
Hello again. Have some errors now to report to public 3.5 version.

With this userinfo:
["[Kommunicera]Ny"] = {
["LOGINS"] = 60,
["PROFILE"] = -1,
["ONLINE"] = "YES",
["IP"] = "81.172.162.119",
["TIME"] = "03/19/2004",
["MYINFO"] = "$MyInfo $ALL [Kommunicera]Ny <++ V:0.306,M:A,H:1/0/0,S:8>$ $LAN(T1)$$139586437120$|",
},

And if I do a !info on that user I got this error:

Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 864 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <41:file `NXS-3/data/COMMANDS.lua'> at line 41
   3:  function `GetCom' at line 607 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   4:  function `DataArrival' at line 531 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
-----------------------------------------------------------------------

Other errors I don't know where it come from:

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 490 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Syntax error: attempt to concat global `MyInfo' (a nil value)
stack traceback:
   1:  function `CleanUsers' at line 133 [file `NXS-3/data/Handlings.lua']
   2:  method `func' at line 245 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   3:  function `OnTimer' at line 200 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Good luck to hunt the buggs ;)
Title:
Post by: Dyzan on 25 March, 2004, 16:50:58
Hello again. Have some errors now to report to public 3.5 version.

With this userinfo:
["[Kommunicera]Ny"] = {
["LOGINS"] = 60,
["PROFILE"] = -1,
["ONLINE"] = "YES",
["IP"] = "81.172.162.119",
["TIME"] = "03/19/2004",
["MYINFO"] = "$MyInfo $ALL [Kommunicera]Ny <++ V:0.306,M:A,H:1/0/0,S:8>$ $LAN(T1)$$139586437120$|",
},

And if I do a !info on that user I got this error:

Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 864 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <41:file `NXS-3/data/COMMANDS.lua'> at line 41
   3:  function `GetCom' at line 607 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   4:  function `DataArrival' at line 531 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
-----------------------------------------------------------------------

Other errors I don't know where it come from:

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 490 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Syntax error: attempt to concat global `MyInfo' (a nil value)
stack traceback:
   1:  function `CleanUsers' at line 133 [file `NXS-3/data/Handlings.lua']
   2:  method `func' at line 245 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   3:  function `OnTimer' at line 200 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Good luck to hunt the buggs ;)
Title:
Post by: Dyzan on 25 March, 2004, 16:54:45
Hello again. Have some errors now to report to public 3.5 version.

With this userinfo:
["[Kommunicera]Ny"] = {
["LOGINS"] = 60,
["PROFILE"] = -1,
["ONLINE"] = "YES",
["IP"] = "81.172.162.119",
["TIME"] = "03/19/2004",
["MYINFO"] = "$MyInfo $ALL [Kommunicera]Ny <++ V:0.306,M:A,H:1/0/0,S:8>$ $LAN(T1)$$139586437120$|",
},

And if I do a !info on that user I got this error:

Syntax error: attempt to perform arithmetic on local `vShare' (a nil value)
stack traceback:
   1:  function `DoInfo' at line 864 [file `NXS-3/data/FUNCTIONS.lua']
   2:  function <41:file `NXS-3/data/COMMANDS.lua'> at line 41
   3:  function `GetCom' at line 607 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   4:  function `DataArrival' at line 531 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
-----------------------------------------------------------------------

Other errors I don't know where it come from:

Syntax error: bad argument #1 to `strlen' (string expected, got nil)
stack traceback:
   1:  function `strlen' [C]
   2:  function `DataArrival' at line 490 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Syntax error: attempt to concat global `MyInfo' (a nil value)
stack traceback:
   1:  function `CleanUsers' at line 133 [file `NXS-3/data/Handlings.lua']
   2:  method `func' at line 245 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']
   3:  function `OnTimer' at line 200 [file `...\Temp mapp\0.330.b15.25.dbg\scripts\1.NXS-3.lua']

Good luck to hunt the buggs ;)
Title: Hi...NightLitch!
Post by: WickeD on 25 March, 2004, 18:02:14
What is this funktion?: LockBW = 10      -- Min Bandwidh Lock

//WickeD
Title:
Post by: Dyzan on 25 March, 2004, 18:05:45
Opps. Dam my internet line does not work well. exedentely spaming. sorry Mods. Remove some of the posts obove.

/Dyzan
Title:
Post by: NightLitch on 25 March, 2004, 18:50:55
QuoteOriginally posted by WickeD
What is this funktion?: LockBW = 10      -- Min Bandwidh Lock

//WickeD

It is if you want users to limit thier bandwidh.
Title: Thx NL!! =)
Post by: WickeD on 25 March, 2004, 18:57:54
And have you looked in to the Ip-Script that I wanted ??

//WickeD
Title: Thx NL!! =)
Post by: WickeD on 25 March, 2004, 19:01:40
And have you looked in to the Ip-Script that I wanted ??

//WickeD
Title: Aaaa!
Post by: WickeD on 25 March, 2004, 19:17:04
It is this Forum that is bad! That is why the massage is Cloned!!   =(

//WickeD
Title:
Post by: [SLUT]W??FY on 26 March, 2004, 16:21:09
NL , nice work m8, im trialing NXS-3 and i have to say im impressed, and the memory usage is good aswell, but i just have a couple of questions. what happened to !settings ?  and is their any master commands for remote altering of share / slots etc? or am i just being my usual dumb blonde self again :S  anyhow m8, keep it up.

greets from slutnet, peace out dc
Title:
Post by: NightLitch on 26 March, 2004, 16:40:39
QuoteOriginally posted by [SLUT]W??FY
NL , nice work m8, im trialing NXS-3 and i have to say im impressed, and the memory usage is good aswell, but i just have a couple of questions. what happened to !settings ?  and is their any master commands for remote altering of share / slots etc? or am i just being my usual dumb blonde self again :S  anyhow m8, keep it up.

greets from slutnet, peace out dc

Well there is no command's for setting the settings.

Maybe I can add it l8r.

/NL
Title:
Post by: NightLitch on 28 March, 2004, 21:24:18
Upcoming updates & big changes:

* new UserInfo built on with DC++k CDM for client Detection to get the DC++ Stealth better
* Gonna rebuild the engine some.

So gonna make a final update release until NXS-3 with DC++k CDM Version: 4.0

/NL
Title: Nice...NightLitch!!! =)
Post by: WickeD on 28 March, 2004, 22:15:14
Very nice my m8!

//WickeD
Title: Can you?
Post by: WickeD on 29 March, 2004, 15:12:55
Can you take a look at this problem to the Final Update that you will fix?

This funktion do not work for me, It do not check users at all:


--Allow BadFile search / 1:on/0:off /
ABFS = 1


-- Bad Files
Files = {}
Files["preteen"]="Please don't share preteen porn in here!"




//WickeD
Title:
Post by: NightLitch on 29 March, 2004, 18:57:40
translations welcome, some changes here now...

--------------------------------------------------------------------------------------------
---- ENGLISH LANGUAGE FILE ----
--------------------------------------------------------------------------------------------
--( Welcome Text )--
-------------------------------
WC1 = "Welcome [USER] !"
WC2 = "You are using [CLIENT] Version: [VER]."
WC3 = "You are Sharing [SHARE] Gb and [SLOT] Slot(s)."
WC4 = "You are in [HUB] Hub(s) as user."
WC5 = "You are in [HUB] Hub(s) as registered user."
WC6 = "You are in [HUB] Hub(s) as operator."
WC7 = "Your Bandwidh Limiter is [BW] kB/s"
WC8 = "You are in [MODE] Mode."
--------------------------------------------------------------------------------------------
--( General Command Text )--
----------------------------------------------
CmdErrorMsg = "*** Syntax error in command"
CmdErrorPar = " No parameter given."
CmdOnlineWrong = "[USER] is not online or wrong name..."
CmdNotKickBan = "You can't Kick or Ban an [OP] !!"
CmdKickSelf = "You can't Kick or Ban yourself... :-D "
CmdBuiltInError = "*** Command must be executed in main-chat"
ISPLine = " *** You are using an unauthorized ISP !"
BADCLine = " *** You are using an unauthorized client software !"
AWM1 = "Away Message:"
AWM2 = "You are no longer in away mode, because you are talking"
VIPLINE = "This Chat is for Vip's and higher..."
DBLIP = "You are already connected to the HUB with another nick."
DLL1 = "*** You must be a registered user in order to download from an Operator"
DLL2 = "*** Ask an Operator if you want to be a registered user..."
SpeedLine = "Your Connection Speed is not allowed here"
MediaForceMessage = "[UserName] was a searchbot most likely MediaForce and was temporarily banned. ( [UserIP] )"
Char1 = "Your nickname contain more than [MAX] characters."
Char2 = "Your nickname contain less than [MIN] characters."
GuardLine = "[USER] - ( [IP] ) from Company ( [COMP] ) tried to login!"
MsgAdd = "Current Welcome Message added for you:"
MXLine = "Stop spamming the chat!"
--------------------------------------------------------------------------------------------
--( Advertising )--
--------------------------
AD1 = "[USER] ( [IP] )  is [ACTION] becouse advertising [IN]: [ADVER]"
AD2 = "You are Warned for advertising [IN]: [ADVER]"
AD3 = "You are Warned and Disconnected for advertising [IN]: [ADVER]"
AD4 = "You are Kicked for advertising [IN]: [ADVER]"
AD5 = "You are Banned for advertising [IN]: [ADVER]"
AD6 = "You are Timebanned ( [TIME] [VAL] ) for advertising [IN]: [ADVER]"
--------------------------------------------------------------------------------------------
--( Client Check )--
----------------------------
CC1 = "You have too few slots open ( [SLOTS] ) Minimum slots is ( [MS] )."
CC2 = "You have too many slots open ( [SLOTS] ) Maximum slots is ( [MS] )."
CC3 = "You are in too many hubs ( [HUBS] ) Max Hubs is ( [MH] )."
CC4 = "You have not met the Minimum slots required/hub ( [SLOTS] ), You need to open ( [SPH] ) slots."
CC5 = "You are using [CLIENT] version ( [VERSION] )"
CC6 = "The oldest version allowed is [CLIENT] ( [VERSION] ), you may download the latest [CLI] at [DL]"
CC7 = "You are using a Bandwidh Locker, locked to ( [BANDW]  kB/s  ), Minimum is ( [BW] kB/s )."
--------------------------------------------------------------------------------------------
--( Share Check )--
-----------------------------
SC1 = " You do not meet the minimum required share of [SHARE] Gb"
SC2 = " You have met the requirements for Maximum share [SHARE] Gb"
--------------------------------------------------------------------------------------------
--( User Commands )--
----------------------------------
--( Away )--
AW1 = "No reason given"
AW2 = "You are being marked away! Reason: [ARG]"
AW3 = "[USER] is Away from the hub !  %T."
--------------------------------------------------------------------------------------------
--( Back )--
BK1 = "You are not in Away Mode..."
BK2 = "You are back !"
BK3 = "[USER] is Back to the hub !  %T!"
--------------------------------------------------------------------------------------------
--( Show Aways )--
SA1 = "User Away List"
--------------------------------------------------------------------------------------------
--( MyInfo )--
MI1 = "[USER] user info."
MI2 = "Your IP: [IP]"
MI3 = "You are using [CLIENT] Version: [VER]."
MI4= "You are Sharing [SHARE] Gb and [SLOT] Slot(s)."
MI5 = "You are in [HUB] Hub(s) as user."
MI6 = "You are in [HUB] Hub(s) as registered user."
MI7 = "You are in [HUB] Hub(s) as operator."
MI8 = "Your Bandwidh Limiter is [BW] kB/s"
MI9 = "You are in [MODE] Mode."
MI10 = "Warn(s): [WARNS] Time(s)"
MI11 = "Warn Reason: [REASON], Time: [TIME]"
MI12 = "Warned by: [OP]"
MI13 = "Kick(s): [KICKS] Time(s)"
MI14 = "Kick Reason: [REASON], Time: [TIME]"
MI15 = "Kicked by: [OP]"
MI16 = "Ban(s): [BANS] Time(s)"
MI17 = "Ban Reason: [REASON], Time: [TIME]"
MI18 = "Banned by: [OP]"
--------------------------------------------------------------------------------------------
--( Hub Info )--
HI0 = "Hub Info"
HI1 = "Hub Name:"
HI2 = "Hub Address:"
HI3 = "Redirect Adress:"
HI4 = "Description:"
HI5 = "Users Now:"
HI6 = "Max Users:"
HI7 = "Total Share:"
HI8 = "Hub Owner:"
--------------------------------------------------------------------------------------------
--( Reg List )--
RU1 = "Registered Users List"
--------------------------------------------------------------------------------------------
--( Vip List )--
VU1 = "Registered Vip List"
--------------------------------------------------------------------------------------------
--(Staff List ) --
SL1 = "Operator List"
SL2 = "Operator:"
SL3 = "Moderator:"
SL4 = "Master:"
--------------------------------------------------------------------------------------------
--( Show Share )--
SS1 = "Share limit is now [SHARE] GB (static) for your Level"
SS2 = "And you are sharing [SHARE] Gb"
--------------------------------------------------------------------------------------------
--( MyIP )--
ML = "Your IP is: "
--------------------------------------------------------------------------------------------
--( Operator Commands )--
--------------------------------------------------------------------------------------------
--( Kick )--
KT1 = "[USER] you have been kicked [MAXKICKS] time(s) and are now banned!"
KT2 = "[USER] has been kicked [KICKS] time(s) and is now banned!"
KT3 = "You are being Kicked by [OP] Because: [REASON]"
KT4 = "[OP] is Kicking [USER], Reason: [REASON]"
KT5 = "[USER] you have been kicked [MAXKICKS] time(s) and are now Time Banned!"
KT6 = "[USER] has been kicked [KICKS] time(s) and is now Time Banned!"
--------------------------------------------------------------------------------------------
--( Ban )--
BT1 = "You are being Banned by [OP] Because: [REASON]"
BT2 = "[OP] is Banning [USER], Reason: [REASON]"
--------------------------------------------------------------------------------------------
--( Kill )--
KLT1 = "You are being Killed by [OP] Because: [REASON]"
KLT2 = "[OP] is Killed [USER], Reason: [REASON]"
--------------------------------------------------------------------------------------------
--( Drop )--
DT1 = "User [USER] has been Dropped by [OP]"
--------------------------------------------------------------------------------------------
--( Warn )--
WT1 = "This is a Warning:"
WT2 = "Offline - Warn Message saved ..."
WT3 = "[OP] this is a Warning, Because: [REASON]"
WT4 = "[OP] is Warning [USER], Reason: [REASON]"
WT5 = "[USER] you have been warned [MAXKICKS] time(s) and are now kicked!"
WT6 = "[USER] has been warned [KICKS] time(s) and is now kicked!"
--------------------------------------------------------------------------------------------
--( Add User )--
AU1 = "You can't register user with ( [LVL] ) status... You don't have the privileges!!!"
AU2 = "[USER] Has been succesfully added as new registered user with level ( [LVL] )."
AU3 = "You have been added as registered user with lvl ( [LVL] ) your password is: ( [PASS] ) Reconnect and use that!!"
--------------------------------------------------------------------------------------------
--( Del User )--
DU1 = "(OP's eyes only!!!)"
DU2 = "You have just lost all your privileges!!!"
DU3 = "Revoked Master status for:"
DU4 = "just revoked Master status from:"
DU5 = "Revoked Moderator status for:"
DU6 = "just revoked Moderator status from:"
DU7 = "Revoked Operator status for:"
DU8 = "just revoked Operator status from:"
DU9 = "Revoked VIP status for:"
DU10 = "just revoked VIP status from:"
DU11 = "Revoked REG status for:"
DU12 = "just revoked REG status from:"
DU13 = "You can't delete a user that does not exist. The nick you entered is NOT registered."
DU14 = "You can NOT delete a user who has the same rank as you or higher."
--------------------------------------------------------------------------------------------
--( TimeBan )--
TL1 = "minute(s)"
TL2 = "hour(s)"
TL3 = "day(s)"
TL4 = "Wrong parameter given."
TL5 = "You are being TimeBanned by [OP], for: [NUM] [VALUE] , Because: [REASON]"
TL6 = "[OP] is TimeBanning [USER], for: [NUM] [VALUE], Reason: [REASON]"
--------------------------------------------------------------------------------------------
--( MassMsg to OPs )--
MOL = "Message: ( [MSG] ) , Is Sent to All Operators ..."
--------------------------------------------------------------------------------------------
--( MassMsg to Vips )--
MVL = "Message: ( [MSG] ) , Is Sent to All VIP's ..."
--------------------------------------------------------------------------------------------
--( MassMsg to Regs )--
MRL = "Message: ( [MSG] ) , Is Sent to All REG's ..."
--------------------------------------------------------------------------------------------
--( Read BanLog )--
RB1 = "Nick: ( [USER] ) IP: ( [IP] ) is found in the PermBan-list "
RB2 = "( [IP] ) is found in the PermBan-list "
RB3 = "not found in the banlist"
--------------------------------------------------------------------------------------------
--( UserInfo )--
UL1 = "User Info on:"
UL2 = "IP:"
UL3 = "Client:"
UL4 = "Share:"
UL5 = "Mode:"
UL6 = "Slots:"
UL7 = "is User in"
UL8 = "is Reg in"
UL9 = "is Op in"
UL10 = "Bandwidh Limiter:"
UL11 = "Connected:"
UL12 = "Logins:"
UL13 = "Last logged in:"
UL14 = "User not found"
--------------------------------------------------------------------------------------------
--( Online Users )--
OL1 = "Online Users"
OL2 = "Total Users Online:"
OL3 = "Max Users Counted:"
--------------------------------------------------------------------------------------------
-- END OF FILE --

I now it look's messy.. but gonna fix that l8r.

/NL
Title:
Post by: NightLitch on 31 March, 2004, 12:30:38
I will soon release NXS-3 Version 4.0 with GUI feature but have a little bug in the Low Share redirect & High Share redirect. but if you guys can live with that for a while then I release it, cause Kepp is the one fixing the GUI and he have some system problem...

/NL
Title: Nice NL! =)
Post by: WickeD on 31 March, 2004, 13:36:32
I can live whit that! =)

Can you take a look at my problem whit the Bad File Check and then release NXS-3 v.4.0 my m8 ??

//WickeD
Title: Hi...NightLitch!
Post by: WickeD on 01 April, 2004, 10:29:06
Can you fix this to next NXS-3? So I can Kick users that have VERY bad files / And Warn users that have bad files.

And I do not know if you have it in the script now! If not can you add it?: When user get Warn/Kick he/she get in the massage and it will get send in MainChet to, where the file is in he/she?s share! Like: Mix/Program/Norton/Autorun.inf


--Allow VERYBadFile search -- Kick -- / 1:on/0:off /
ABFS = 1


-- VERY Bad Files
Files = {}
Files["TeenPorn"]="TeenPorn...Do not share forbidden file in here"




--Allow BadFile search -- Warn -- / 1:on/0:off /
ABFS = 1


-- Bad Files
Files = {}
Files["Autorun.inf"]="Autorun.inf...Do not share UnZipped file in here"


//WickeD
Title:
Post by: NightLitch on 01 April, 2004, 12:48:51
See what I can do WickeD, I Am so into LUA 5 now for BCDC++ that forgot my fine project a little bit. ;-)

Next update will be when Kepp have got his system up and can finish the GUI.

/NL
Title: Hehe! =)
Post by: WickeD on 01 April, 2004, 14:23:33
That is okej my m8!  =)

I know you have a lot to do! And you have a life outside Lua to take care of to! So take it cool my m8!


//WickeD
Title:
Post by: DorianG on 01 April, 2004, 16:11:51
Hello NL i have traslated in italian your Bot :)
if it could interest you...

--------------------------------------------------------------------------------------------
---- FILE LINGUA ITALIANA ----
--------------------------------------------------------------------------------------------
--( Testo di Benvenuto )--
-------------------------------
WC1 = "Benvenuto [USER] !"
WC2 = "Stai utilizzando [CLIENT] Versione: [VER]."
WC3 = "Stai condividendo [SHARE] Gb e [SLOT] Slot(s)."
WC4 = "Sei connesso a [HUB] Hub(s) come utente."
WC5 = "Sei connesso a [HUB] Hub(s) come utente registrato."
WC6 = "Sei connesso a [HUB] Hub(s) come operatore."
WC7 = "La velocit? della tua connessione ? [BW] kB/s"
WC8 = "Sei connesso in [MODE] Mode."
--------------------------------------------------------------------------------------------
--( Testo Comandi Generali )--
----------------------------------------------
CmdErrorMsg = "*** Hai sbagliato a digitare il comando"
CmdErrorPar = " No parameter given."
CmdOnlineWrong = "[USER] non ? online o hai sbagliato a digitare il nick..."
CmdNotKickBan = "Non puoi Kickare o Bannare un [OP] !!"
CmdKickSelf = "Non puoi Kickarti o Bannarti... :-D "
CmdBuiltInError = "*** Il comando deve essere eseguito in main-chat"
ISPLine = " *** Stai utilizzando un ISP non autorizzato!"
BADCLine = " *** Stai utilizzando in client software non autorizzato!"
AWM1 = "Messaggio d'assenza:"
AWM2 = "Non sei stato impostato come Assente, perch? stai parlando"
VIPLINE = "Questa Chat ? solo per Vip e superiori..."
DBLIP = "Sei gi? connesso a HUB con un altro nick."
DLL1 = "*** Devi essere un utente registrato per poter scaricare da un Operatore"
DLL2 = "*** Chiedi a un Operatore si ti pu? registrare..."
SpeedLine = "La tua connessione non ? permessa qui"
MediaForceMessage = "[UserName] era un Searchbot molto probabilmente MediaForce ed ora ? stato temporanemante bannato. ( [UserIP] )"
Char1 = "Il tuo nick contiene pi? di [MAX] caratteri."
Char2 = "Il tuo nick contiene meno di [MIN] caratteri."
GuardLine = "[USER] - ( [IP] ) from Company ( [COMP] ) tried to login!"
MsgAdd = "Messaggio di Benvenuto aggiunto per voi:"
MXLine = "Stop spamming the chat!"
--------------------------------------------------------------------------------------------
--( Pubblicit? )--
--------------------------
AD1 = "[USER] - [IP] ha fatto della pubblicit? con questo messaggio: [MSG]"
AD2 = "User ? stato cacciato per pubblicit? non autorizzata"
AD3 = "Sei stato cacciato per aver fatto pubblicit? non autorizzata !"
AD4 = "Pubblicit? censurata, spiacente."
AD5 = "User ? stato avvertito per pubblicit? non autorizzata"
AD6 = "User ? stato bannato temporaneamente per pubblicit? non autorizzata"
AD7 = "User ? stato bannato per pubblicit? non autorizzata"
AD8 = "Sei stato avvertito di non fare pubblicit? non autorizzata!"
AD9 = "Sei stato bannato temporanemante per pubblicit? non autorizzata!"
AD10 = "Sei stato bannato per pubblicit? non autorizzata !"
--------------------------------------------------------------------------------------------
--( Blocco Client )--
----------------------------
CC1 = "Hai pochi slots aperti ( [SLOTS] ) Il minimo numero di slots aperti concesso ? ( [MS] )."
CC2 = "Hai troppi slots aperti ( [SLOTS] ) Il massimo numero di slots aperti concesso ? ( [MS] )."
CC3 = "Sei connesso a troppi hubs ( [HUBS] ) Il massimo ? ( [MH] )."
CC4 = "Non hai impostato correttamente il numero degli slots ( [SLOTS] ) in rapporto con gli hubs aperti, Devi aprire ( [SPH] ) slots."
CC5 = "Stai utilizzando [CLIENT] Versione ( [VERSION] )"
CC6 = "La versione pi? vecchia concessa ? [CLIENT] ( [VERSION] ), puoi scaricare l'ultimo [CLI] su [DL]"
CC7 = "Stai usando un limitatore di banda ( [BANDW]  kB/s  ), il minimo ? ( [BW] kB/s )."
--------------------------------------------------------------------------------------------
--( Blocco Share )--
-----------------------------
SC1 = " Non condividi abbastanza, il minimo richiesto ? [SHARE] Gb"
SC2 = " Condividi troppo, il massimo richiesto ? [SHARE] Gb"
--------------------------------------------------------------------------------------------
--( Comandi Utenti )--
----------------------------------
--( Assente )--
AW1 = "Non ? stata lasciata una motivazione"
AW2 = "Sei stato messo in modalit? assente! perch?: [ARG]"
AW3 = "[USER] non ? presente nell'hub !  %T."
--------------------------------------------------------------------------------------------
--( Ritorno )--
BK1 = "Non sei pi? in modalit? assente..."
BK2 = "Sei tornato !"
BK3 = "[USER] ? tornato nell'hub !  %T!"
--------------------------------------------------------------------------------------------
--( Mostra gli Assenti )--
SA1 = "Lista Utenti Assenti"
--------------------------------------------------------------------------------------------
--( MyInfo )--
MI1 = "[USER] info utente."
MI2 = "Il tuo IP: [IP]"
MI3 = "Stai usando [CLIENT] Versione: [VER]."
MI4= "Stai condividendo [SHARE] Gb e [SLOT] Slot(s)."
MI5 = "Sei connesso a [HUB] Hub(s) come utente."
MI6 = "Sei connesso a [HUB] Hub(s) come utente registrato."
MI7 = "Sei connesso a [HUB] Hub(s) come operatore."
MI8 = "La velocit? della tua connessione ? [BW] kB/s"
MI9 = "Sei connesso in [MODE] Mode."
MI10 = "Avvertito(i): [WARNS] Volta(e)"
MI11 = "Avvertito(i) e Motivo: [REASON], Time: [TIME]"
MI12 = "Avvertito da: [OP]"
MI13 = "Kick(s): [KICKS] Time(s)"
MI14 = "Kick e Motivo: [REASON], Time: [TIME]"
MI15 = "Cacciato da: [OP]"
MI16 = "Ban(s): [BANS] Time(s)"
MI17 = "Ban e Motivo: [REASON], Time: [TIME]"
MI18 = "Bannata da: [OP]"
--------------------------------------------------------------------------------------------
--( Hub Info )--
HI0 = "Info Hub"
HI1 = "Nome Hub:"
HI2 = "Indirizzo Hub:"
HI3 = "Indirizzo Redirect:"
HI4 = "Descrizione:"
HI5 = "Utenti Connessi:"
HI6 = "Massimo Utenti:"
HI7 = "Totale Condiviso:"
HI8 = "Hub Owner:"
--------------------------------------------------------------------------------------------
--( Reg List )--
RU1 = "Lista Utenti Registrati"
--------------------------------------------------------------------------------------------
--( Vip List )--
VU1 = "Lista Utenti Vip"
--------------------------------------------------------------------------------------------
--(Staff List ) --
SL1 = "Lista Operatori"
SL2 = "Operatori:"
SL3 = "Moderatori:"
SL4 = "Master:"
--------------------------------------------------------------------------------------------
--( Mostra Share )--
SS1 = "Il limite di Share ? [SHARE] GB (static) per la tua categoria"
SS2 = "E stai condividendo [SHARE] Gb"
--------------------------------------------------------------------------------------------
--( MyIP )--
ML = "Il tuo IP ?: "
--------------------------------------------------------------------------------------------
--( Comandi Operatori )--
--------------------------------------------------------------------------------------------
--( Kick )--
KT1 = "[USER] sei stato cacciato [MAXKICKS] volta(e) e ora sei stato bannato!"
KT2 = "[USER] ? stato cacciato [KICKS] volta(e) e ora ? stato bannato!"
KT3 = "Sei stato cacciato da [OP] Perch?: [REASON]"
KT4 = "[OP] ha cacciato [USER], Motivo: [REASON]"
KT5 = "[USER] sei stato cacciato [MAXKICKS] volte(e) e ora sei stato Bannato Temporaneamente!"
KT6 = "[USER] ? stato cacciato [KICKS] volta(e) e ora ? stato Bannato Temporaneamente!"
--------------------------------------------------------------------------------------------
--( Ban )--
BT1 = "Sei stato bannato da [OP] perch?: [REASON]"
BT2 = "[OP] ha bannato [USER], perch?: [REASON]"
--------------------------------------------------------------------------------------------
--( Kill )--
KLT1 = "Sei stato Killed da [OP] perch?: [REASON]"
KLT2 = "[OP] ha Killed [USER], perch?: [REASON]"
--------------------------------------------------------------------------------------------
--( Drop )--
DT1 = "L'utente [USER] ? stato Droppato da [OP]"
--------------------------------------------------------------------------------------------
--( Warn )--
WT1 = "Questo ? un avvertimento:"
WT2 = "Offline - Messaggio di avvertimento salvato ..."
WT3 = "[OP] questo ? un avvetimento, perch?: [REASON]"
WT4 = "[OP] ha avvertito [USER], perch?: [REASON]"
WT5 = "[USER] sei stato avvertito [MAXKICKS] volta(e) e ora sei stato cacciato!"
WT6 = "[USER] ? stato avvertito [KICKS] volta(e) e ora ? stato cacciato!"
--------------------------------------------------------------------------------------------
--( Add Utenti )--
AU1 = "Non puoi registrare un utente su ( [LVL] ) livello... Non hai il permesso!!!"
AU2 = "[USER] E' stato aggiunto con successo come nuovo utente registrato con il livello ( [LVL] )."
AU3 = "Sei stato aggiunto come utente registrato con il livello ( [LVL] ) la ta password ?: ( [PASS] ) Esci e rientra con la Password!!"
--------------------------------------------------------------------------------------------
--( Del Utenti )--
DU1 = "(Solo gli Operatori possono vederlo!!!)"
DU2 = "Hai perso tutti i tuoi privilegi!!!"
DU3 = "Revocato lo stato di Master perch?:"
DU4 = "Revocato lo stato di Master a:"
DU5 = "Revocato lo stato di Moderator perch?:"
DU6 = "Revocato lo stato di Moderator a:"
DU7 = "Revocato lo stato di Operator perch?:"
DU8 = "Revocato lo stato di Operator a:"
DU9 = "Revocato lo stato di VIP perch?:"
DU10 = "Revocato lo stato di VIP a:"
DU11 = "Revocato lo stato di REG perch?:"
DU12 = "Revocato lo stato di REG a:"
DU13 = "Non puoi togliere un utente che non esiste. Il nick che hai digitato non esiste."
DU14 = "Non puoi togliere un utente che ha il tuo stesso livello o ? superiore."
--------------------------------------------------------------------------------------------
--( TimeBan )--
TL1 = "minuto(i)"
TL2 = "ora(e)"
TL3 = "giorno(i)"
TL4 = "Wrong parameter given."
TL5 = "Sei stato Bannato Temporaneamente da [OP], per: [NUM] [VALUE] , perch?: [REASON]"
TL6 = "[OP] ha Bannato Temporaneamente [USER], per: [NUM] [VALUE], perch?: [REASON]"
--------------------------------------------------------------------------------------------
--( MassMsg a OPs )--
MOL = "Messaggio: ( [MSG] ) , Viene spedito a tutti gli Operatori ..."
--------------------------------------------------------------------------------------------
--( MassMsg a Vips )--
MVL = "Messaggio: ( [MSG] ) , Viene spedito a tutti i VIP's ..."
--------------------------------------------------------------------------------------------
--( MassMsg a Regs )--
MRL = "Messaggio: ( [MSG] ) , Viene spedito a tutti i REG's ..."
--------------------------------------------------------------------------------------------
--( Read BanLog )--
RB1 = "Nick: ( [USER] ) IP: ( [IP] ) is found in the PermBan-list "
RB2 = "( [IP] ) is found in the PermBan-list "
RB3 = "not found in the banlist"
--------------------------------------------------------------------------------------------
--( UserInfo )--
UL1 = "User Info on:"
UL2 = "IP:"
UL3 = "Client:"
UL4 = "Share:"
UL5 = "Mode:"
UL6 = "Slots:"
UL7 = "? Utente in"
UL8 = "? Reg in"
UL9 = "? Op in"
UL10 = "Bandwidh Limiter:"
UL11 = "Connesso:"
UL12 = "Logins:"
UL13 = "Ultimo logged in:"
UL14 = "Utente non trovato"
--------------------------------------------------------------------------------------------
--( Utenti Online )--
OL1 = "Utenti Online"
OL2 = "Totale Utenti Online:"
OL3 = "Max Utenti Connessi:"
--------------------------------------------------------------------------------------------
-- END OF FILE --

;)
Title: Hi...NightLitch!
Post by: WickeD on 14 April, 2004, 06:05:28
When a user get max kick?s and get PermBan, the user?s info get then erased, so when I do !info Username, the info is Gone! Do you know why?

//WickeD
Title:
Post by: [NL]trucker on 14 April, 2004, 10:21:35
dutch language file


========================================

--------------------------------------------------------------------------------------------
---- Nederlandse Taal FILE ----
--------------------------------------------------------------------------------------------
--( WelKom Text )--
-------------------------------
WC1 = "Welkom [USER] !"
WC2 = "Je gebruikt[CLIENT] Versie: [VER]."
WC3 = "Je deelt [SHARE] Gb and [SLOT] Slot(s)."
WC4 = "Je bent in [HUB] Hub(s) as user."
WC5 = "JE bent in [HUB] Hub(s) as registered user."
WC6 = "Je bent in [HUB] Hub(s) as operator."
WC7 = "Je Bandwidh Limiter is [BW] kB/s"
WC8 = "Je bent in [MODE] Mode."
--------------------------------------------------------------------------------------------
--( General Commando Text )--
----------------------------------------------
CmdErrorMsg = "*** Syntax error in commando"
CmdErrorPar = " Geen parameter opgegeven."
CmdOnlineWrong = "[USER] is niet online of verkeerde naam..."
CmdNotKickBan = "Je kunt geen [OP] kicken of bannen!!"
CmdKickSelf = "Je kunt niet jezelf kicken of bannen... :-D "
CmdBuiltInError = "*** Commando moet uitgevoerd worden in het hoofdvenster"
ISPLine = " *** Je gebruikt een verboden ISP !"
BADCLine = " *** Je gebruikt een niet toegestane client software !"
AWM1 = "Afwezigheids bericht:"
AWM2 = "Je bent niet langer in afwezigheids-mode, omdat je weer praat"
VIPLINE = "Deze Chat is for Vip's en hoger..."
DBLIP = "Je bent al verbonden met deze hub met een andere naam."
DLL1 = "*** Je moet een geregristreerde gebruiker zijn om te kunnen downloaden van een Operator"
DLL2 = "*** Vraag een Operator Als je een geregristreerde gebruiker wilt worden..."
SpeedLine = "Je verbindings snelheid is niet geoorloofd hier"
MediaForceMessage = "[UserName] was een zoekbot hoogst waarschijnlijk  MediaForce en is nu

tijdelijk geband  ( [UserIP] )"
Char1 = "Je gebruikersnaam  heeft meer dan [MAX] characters."
Char2 = "Je gebruikersnaam heeft minder dan [MIN] characters."
GuardLine = "[USER] - ( [IP] ) van bedrijf ( [COMP] ) probeerde om in te loggen!"
MsgAdd = "huidig Welkomst bericht toegevoegd voor jou:"
MXLine = "Stop met spamming de chat!"
--------------------------------------------------------------------------------------------
--( Adverteren )--
--------------------------
AD1 = "[USER] ( [IP] )  is [ACTION] wegens adverteren van [IN]: [ADVER]"
AD2 = "Je bent gewaarschuwd wegens adverteren [IN]: [ADVER]"
AD3 = "Je bent gewaarschuwd en verwijderd wegens adverteren [IN]: [ADVER]"
AD4 = "Je bent er uit geschopt wegens adverteren van [IN]: [ADVER]"
AD5 = "Je bent nu geband wegens adverteren van [IN]: [ADVER]"
AD6 = "Je bent tijdelijk geband voor:( [TIME] [VAL] ) wegens adverteren van [IN]: [ADVER]"
--------------------------------------------------------------------------------------------
--( Client Check )--
----------------------------
CC1 = "Je hebt te weinig open slots ( [SLOTS] ) Minimum slots is ( [MS] )."
CC2 = "Je hebt teveel open slots ( [SLOTS] ) Maximum slots is ( [MS] )."
CC3 = "JE bent in teveel hubs ( [HUBS] ) Max Hubs is ( [MH] )."
CC4 = "Je hebt niet het minimum aantal slots open per verbonden hub ( [SLOTS] ), Je moet open

hebben ( [SPH] ) slots."
CC5 = "Je gebruikt [CLIENT] versie ( [VERSION] )"
CC6 = "De oudst toegestane versie is [CLIENT] ( [VERSION] ), Je kunt de nieuwste versie [cli]

downloaden van: [DL]"
CC7 = "Je gebruikt een Bandwidh Locker, locked op ( [BANDW]  kB/s  ), Minimum is ( [BW] kB/s )."
--------------------------------------------------------------------------------------------
--( Share Check )--
-----------------------------
SC1 = " Je voldoet niet aan de minimum sharelimiet van [SHARE] Gb"
SC2 = " Je hebt de maximun sharelimiet bereikt [SHARE] Gb"
--------------------------------------------------------------------------------------------
--( Gebruiker Commandos )--
----------------------------------
--( Afwezig )--
AW1 = "Geen reden opgegeven"
AW2 = "Je word als Afwezig weergegeven met reden : [ARG]"
AW3 = "[USER] is niet meer aanwezig in de hub !  %T."
--------------------------------------------------------------------------------------------
--( Terug )--
BK1 = "Je bent niet in de afwezigheids-modus..."
BK2 = "Je bent terug  !"
BK3 = "[USER] is terug in de hub  !  %T!"
--------------------------------------------------------------------------------------------
--( laat Afwezigen zien )--
SA1 = "User Afwezigheids lijst"
--------------------------------------------------------------------------------------------
--( Myn Info )--
MI1 = "[USER] Gebruikers informatie."
MI2 = "Jouw IP: [IP]"
MI3 = "Je gebruitk [CLIENT] Version: [VER]."
MI4= "Je deelt [SHARE] Gb en [SLOT] Slot(s)."
MI5 = "Je bent in [HUB] Hub(s) als gebruiker."
MI6 = "Je bent in [HUB] Hub(s) als geregistreerd gebruiker."
MI7 = "Je bent in [HUB] Hub(s) als operator."
MI8 = "Jouw Bandwidh Limiter is [BW] kB/s"
MI9 = "Je bent in [MODE] Mode."
MI10 = "Gewaarschuwd: [WARNS] Time(s)"
MI11 = "Reden van waarschuwing was:[REASON], Time: [TIME]"
MI12 = "Je bent gewaarschuwd door:   [OP]"
MI13 = "Verwijderd:   [KICKS] Time(s)"
MI14 = "Verwijderd omdat:   [REASON], Time: [TIME]"
MI15 = "Verwijderd door :   [OP]"
MI16 = "Permanent verwijderd:   [BANS] Time(s)"
MI17 = "Permanent verwijderd omdat:   [REASON], Time: [TIME]"
MI18 = "Permanent verwijderd door :   [OP]"
--------------------------------------------------------------------------------------------
--( Hub Info )--
HI0 = "Hub Info"
HI1 = "Hub Name:"
HI2 = "Hub Adres:"
HI3 = "Doorverwijzings adres:"
HI4 = "Omschrijving:"
HI5 = "Totaal aantal gebruikers Nu:"
HI6 = "Maximum Gebruikers:"
HI7 = "Totaal Share:"
HI8 = "Hub Eigenaar:"
--------------------------------------------------------------------------------------------
--( Reg Lijst )--
RU1 = "Geregistreerde gebruikers lijst"
--------------------------------------------------------------------------------------------
--( Vip Lijst )--
VU1 = "Geregistreerde Vip,s Lijst"
--------------------------------------------------------------------------------------------
--(Staf Lijst ) --
SL1 = "Operator Lijst"
SL2 = "Operator:"
SL3 = "Moderator:"
SL4 = "Meester:"
--------------------------------------------------------------------------------------------
--( laat Share zien )--
SS1 = "Share limiet is nu [SHARE] GB (statisch) voor jouw Level"
SS2 = "En je shared nu: [SHARE] Gb"
--------------------------------------------------------------------------------------------
--( MyIP )--
ML = "Je eigen IP is: "
--------------------------------------------------------------------------------------------
--( Operator Commandos )--
--------------------------------------------------------------------------------------------
--( verwijderen)--
KT1 = "[Gebruiker] Je bent verwijderd  [MAXKICKS] keer en je bent nu permanent verwijderd!"
KT2 = "[Gebruiker] Is verwijderd [KICKS] time(s) en is nu permanent verwijderd!"
KT3 = "Je bent verwijderd door[OP] Wegens: [REASON]"
KT4 = "[OP] Heeft verwijderd [USER], Omdat: [REASON]"
KT5 = "[USER] Je bent verwijderd  [MAXKICKS] keer en je bent nu tijdelijk verwijderd!"
KT6 = "[USER] is verwijderd [KICKS] time(s) en is nu tijdelijk verwijderd!"
--------------------------------------------------------------------------------------------
--( permanent verwijderen )--
BT1 = "Je bent permanent verwijderd door [OP] omdat: [REASON]"
BT2 = "[OP] heeft [USER] permanent verwijderd, omdat: [REASON]"
--------------------------------------------------------------------------------------------
--( Doden )--
KLT1 = "Je word Gedood door [OP] Omdat: [REASON]"
KLT2 = "[OP] Heeft Gedood [USER],Omdat: [REASON]"
--------------------------------------------------------------------------------------------
--( Drop )--
DT1 = "Gebruiker [USER] is gedropt door [OP]"
--------------------------------------------------------------------------------------------
--( Waarschuwen)--
WT1 = "Dit is een waarschuwing:"
WT2 = "Niet aanwezig - Waarschuwing bewaart ..."
WT3 = "[OP] Dit is een Waarschuwing omdat: [REASON]"
WT4 = "[OP] Waarschuwt [USER], Omdat: [REASON]"
WT5 = "[USER] Je bent gewaarschuwd [MAXKICKS] maal en je word nu verwijderd!"
WT6 = "[USER] is gewaarschuwd [KICKS] keer en is nu verwijderd!"
--------------------------------------------------------------------------------------------
--( Gebruiker toevoegen )--
AU1 = "Je kunt geen gebruiker regristreren met ( [LVL] ) status... Je hebt daar niet de

bevoegdheid toe!!!"
AU2 = "[USER] Is succesvol geregistreerd met level ([LVL] )."
AU3 = "Je bent geregristreerd met lvl ( [LVL] ) Je passwoord is: ( [PASS] ) Reconnect en gebruik

dat!!"
--------------------------------------------------------------------------------------------
--( Gebruiker verwijderen )--
DU1 = "(Alleen voor OP,s!!!)"
DU2 = "Je bent nu al je privileges kwijtgeraakt !!!"
DU3 = "Ingetrokken Meester status wegens:"
DU4 = "We hebben net de status van meester ingetrokken van :"
DU5 = "Ingetrokken Moderator status wegens:"
DU6 = "We hebben de status van Moderator ingetrokken van:"
DU7 = "Ingetrokken Operator status wegens:"
DU8 = "We hebben de status Operator ingetrokken van:"
DU9 = "ingetrokken VIP status wegens:"
DU10 = "We hebben net de  VIP status ingetrokken van:"
DU11 = "ingetrokken REG status wegens:"
DU12 = "we hebben net de REG status ingetrokken van:"
DU13 = "Je kunt geen gebruiker verwijderen die niet bestaat. De Naam die je ingevoerd hebt is

niet geregristreerd."
DU14 = "Je kunt geen gebruiker verwijderen met dezelfde status als jezelf of hoger."
--------------------------------------------------------------------------------------------
--( Tijdelijk verwijderen) --
TL1 = "minuut(en)"
TL2 = "uur(en)"
TL3 = "dag(gen)"
TL4 = "Verkeerde invoer."
TL5 = "Je bent nu Tijdelijk verwijderd door [OP], voor de duur van : [NUM] [VALUE] , Omdat:

[REASON]"
TL6 = "[OP] heeft tijdelijk verwijderd  [USER], voor de duur van: [NUM] [VALUE], Omdat: [REASON]"
--------------------------------------------------------------------------------------------
--( Massabericht voor OPs )--
MOL = "Bericht: ( [MSG] ) , Is gestuurd naar alle Operators ..."
--------------------------------------------------------------------------------------------
--( Massabericht naar Vips )--
MVL = "Bericht: ( [MSG] ) , Is gestuurd naar Alle VIP's ..."
--------------------------------------------------------------------------------------------
--( Massabericht naar Regs )--
MRL = "Bericht : ( [MSG] ) , Is gestuurd naar Alle REG's ..."
--------------------------------------------------------------------------------------------
--( Lezen van de verwijderde personen Log )--
RB1 = "Naam: ( [USER] ) IP: ( [IP] ) is gevonden in de Permanente Ban-lijst "
RB2 = "( [IP] ) is gevonden in de Permanente Ban-lijst "
RB3 = "Niet gevonden in de banlijst"
--------------------------------------------------------------------------------------------
--( Gebruiker Info )--
UL1 = "User Info over:"
UL2 = "IP:"
UL3 = "Client:"
UL4 = "Share:"
UL5 = "Mode:"
UL6 = "Slots:"
UL7 = "is User in"
UL8 = "is Reg in"
UL9 = "is Op in"
UL10 = "Bandwidh Limiter:"
UL11 = "verbonden met:"
UL12 = "Logins:"
UL13 = "Lalaatste keer aanwezig:"
UL14 = "User niet gevonden"
--------------------------------------------------------------------------------------------
--( Aanwezige Gebruikers )--
OL1 = "Online gebruikers"
OL2 = "Totaal aantal gebruikers aanwaezig:"
OL3 = "Maximum  aantal gebruikers geteld:"
--------------------------------------------------------------------------------------------
-- END OF FILE --

========================================
Title:
Post by: NightLitch on 14 April, 2004, 10:50:19
QuoteOriginally posted by WickeD
When a user get max kick?s and get PermBan, the user?s info get then erased, so when I do !info Username, the info is Gone! Do you know why?

//WickeD

It's a bug Am trying to resolve all errors in NXS-4 before I release it, but all I can not resolve without your help.  :D
Title:
Post by: Tarot on 17 April, 2004, 23:09:58
hi NL

what can i do whit this error

Syntax error: bad argument #1 to `gsub' (string expected, got nil)
stack traceback:
1: function `gsub' [C]
2: function `Advertising' at line 1127 [file `E:\Hub soft\0.330.b15.25.dbg\scripts\NXS-3.lua']
3: function `DataArrival' at line 459 [file `E:\Hub soft\0.330.b15.25.dbg\scripts\NXS-3.lua']

i have the script running on
This hub is running PtokaX DC Hub 0.3.3.0 build 15.25 [debug]
----Server info----
proliant ml330 G2
mhz = "1,5ghz PIII" Intel Xeon
HD = 3 x 78 gig
ram = "512 mb 133 DDR ram"
connection = "8192/1024
os = "Windows 2003 server"
Title: Hi...NightLitch!
Post by: WickeD on 25 April, 2004, 08:11:11
Hi my m8!  

How is it going whit the NXS-4 ?

I miss you here at the Lua-Forum!

Have a nice one!

//WickeD
Title:
Post by: NightLitch on 30 April, 2004, 14:59:29
Sorry for not been here, have had much todo in my life.

BUT!!!

Must tell that after rebuild NXS-4 with a friend we have optimized it more than I could dream of.

the script is built up with mini modules for functions and commands.

The Parsing of commands is something I never have seen before. Must thank my friend Shunt for it.

NXS-4 will be released but I don't know when.

I hope to get a own section here in the forum for it so it will be easier to keep track of the bugs, requests, news etc.

Hopefully I will be in here more next week.

Have a good one all of you, take care / NightLitch
Title:
Post by: Marecki on 02 May, 2004, 04:19:05
Hi

I have with version such problem NXS -3 v4.0 !! Here following with them:

No syntax errors in script file NXS-3.lua
Syntax error: bad argument #2 to `random' (interval is empty)
stack traceback:
   1:  function `random' [C]
   2:  function `CheckShare' at line 808 [file `...rator\Pulpit\0.330.b15.25.dbg\scripts\NXS-3.lua']
   3:  function `DataArrival' at line 454 [file `...rator\Pulpit\0.330.b15.25.dbg\scripts\NXS-3.lua']

It is though correct version to to can not improve?
Title:
Post by: kazi on 02 May, 2004, 19:34:02
Hiyah,

seems that even when i set allow vip chat = 0   it still works for OP s and VIPS  this chat.

also  somehow it s not possible anymore  for OPs  to unban, the ban part does work tho
It s possible to !unban   not to !unban

Hope soon the new version is out.

tx
Title:
Post by: Sudds on 29 May, 2004, 14:05:26
Hey id just like to say NXS is a grate script but i dont like the GUI and it crashes my pc alot anyone elese have this problem?
Sudds
Title:
Post by: Dyzan on 30 May, 2004, 02:28:15
Yes, the Gui is a lile bit unstabel.

The update that I'm working on, are based on the old NXS-3 3.5. No Gui, but a .ini file to edit manual. =)

More to come soon...
Title:
Post by: Nafigs on 03 June, 2004, 18:33:45
Grrrr i cant save changes maded in the GUI :((( changed the max slots from 0 to 99 , saved it all and tryed to login but i get only this all the time You have to many slots open, maximum is 0 slot(s) open. HELP !!!!!
Title:
Post by: Dyzan on 03 June, 2004, 20:55:41
Look in Gui dir and open the files and change it by manual.
Title: Hello
Post by: GeNNeLL on 03 June, 2004, 23:59:16
I rewring gui for this script in c++. If you will be interesting test my work then send to me email.
My address: gennell@o2.pl   8)  :))
Title:
Post by: GeNNeLL on 05 June, 2004, 20:33:33
this is test version my gui , i dont check all options yet ;o]]   Guiv.0.1.rar (http://free.of.pl/w/warezhub/nxs-4v0.1.rar)
Title: Syntax Error
Post by: KraZyWoLf on 06 June, 2004, 04:19:07
I installed Guiv.0.1 and came up with these errors.

Syntax Error: attempt to call field `UnegBot' (a nil value)
Syntax Error: attempt to call field `UnegBot' (a nil value)

I am new to this...is this my error ?
Title:
Post by: GeNNeLL on 06 June, 2004, 12:07:45
hmmm edit NXS-4.lua and change line 174

from
   frmHub:UnegBot(VipChatName)

to
   frmHub:UnregBot(VipChatName)
Title: nxs
Post by: LYKEN on 06 June, 2004, 13:11:42
hi ther im a hub owner but new to the forum
but i just have to say nxs is the best script i have used
is ther any chance though of some right klick comands
being part of what i now call me baby 8)
that would be the cream on the cake
and make it stand above the rest

any hows m8 keep up the good wrk
and im happy to test all new scripts u bring to use lowly script users who cant wright them :D  ;)
Title:
Post by: Dyzan on 06 June, 2004, 13:43:16
Nice Gui. Keep up the good work. NXS-3 3.8 is soon here. But without the gui offcource.
Title: fixed
Post by: KraZyWoLf on 06 June, 2004, 14:45:50
QuoteOriginally posted by KraZyWoLf
I installed Guiv.0.1 and came up with these errors.

Syntax Error: attempt to call field `UnegBot' (a nil value)
Syntax Error: attempt to call field `UnegBot' (a nil value)

I am new to this...is this my error ?

Once I enabled the VipChat the error went away :) thanks :)
Title:
Post by: Nafigs on 10 June, 2004, 18:14:21
Hmmm in this gui when there is turned on a " Check for bad files" the n just admins can connect to hub, users get disconnected :(