PtokaX forum

Archive => Archived 4.0 boards => Finished Lua 4 scripts => Topic started by: bastya_elvtars on 05 September, 2004, 18:16:24

Title: LawMaker
Post by: bastya_elvtars on 05 September, 2004, 18:16:24
I have wrote this bot in my spare time just 2 learn lua. It was meant to be a combination of  share/slot/hub/limit checking (---> table and pattern matching) but the ideas kept coming, and it grew to a big security bot, having 100 commands available (afaik :)). I will release it as I know it is good, as I had no internet to test it properly, i just cloned myself =). Now I have to test it, and the moment its as bugfree as possible, i will release it.
                                                                                       CHANGELOG
------------------------------------------------------------------ lawmaker 0.6 -----------------------------------------------------------------
                                                                            Exam done! WEEEEEEEEEE!
                                                                            hehe 100 commands reached
                                                                            hehe#2 new headphone ---> more willing 2 script

changed: mute extended a bit, added some surprise again :o)
changed: all variables and tables that are global have been made local wherever possible (should introduce a lot of speed and resource usage improvement)
changed: multiple entries can be deleted from releases, news & other shit with a single command (finally found the sense in tezlo's idea, thx m8)
changed: extended scripted banlist retrieving a bit, it is damn ugly i know but gonna cosmetise...
added: faked hubcount detection, possibility to enable/disable banning in config (this is 100 per cent accurate, fake version tag scanner would not be)
added: notification on bot ban in main enable/disable
added: ability to list random kicks, and to delete
added: possibility of deleting registered users, lol i forgot this - if you happen to study microbiology, you will find out why I did :D
added: rightclick support, enable/disable available in config, follows the levels like help
added: offline messaging system
added: user cleaner by plop, julian date and regusers parsing has been modified [using  RabidWombat's juliandate, why use 2 jdates in the same script? (sorry tezlo)]
fixed: now you can really use !showimmuned
fixed: included the things in help i forgot :(
fixed: uptime parsing was a bit idiot, because it started 2 count days only if uptime was more than 2 days
------------------------------------------------------------------ lawmaker 0.5 -----------------------------------------------------------------
                                                                           Fucking major nonrelease
                                                                           Has been put on ice. Back in september.

changed:slot/hub/limit part made easier to config. the !slothublimit table has been made nicer, too, and maby some CPU time saving will occur (removed a lot of strfind's and tonumber's).
changed: some little code cleanup again, now sends the site on max kicks too if enabled, and on anti-hammer ban
changed: prefix parsing, from now on, {prefix} (prefix) and [prefix] are accepted. Should be enough!
changed: now clients below 0.240 (aka the ones with old-style tag) are supported too, but its strongly disrecommended to allow them. (Thx Herodes for dc++Blue and oDC Moa clients that allowed testing.) - AFAIK these old dc clients are self-blocked because of their age, but added support for safety. The DC++ tag <++ V:v,M:m,H:g/r/o,S:s> is fully supported, i think the <++ V:v,M:m,H:g,S:s> (old-style) is as well, but better leave the mindcppversion set to 0.240 or higher, as the old tag can make the script crash.
changed: myinfo parsing rearranged, maybe lowering resource usage (the most used feature is the mynfo parsing, especially with dc++ 0.401, those clients send myinfo every minute :P)
changed: files with .dat extension go to a separate folder called dats.
changed: opchat now optimized (at last i found the upvalue part in lua book lol)
added !perminvite, so you can invite users for perm. (VIPs only) - to imitate KVIP profile in YHub
added XtremeMOTD (written by me hehe), so MOTD will show after the welcome text, and it can be disabled individually. The default motd in ptokax should be flushed.
added anti-hammer: if a user reconnects x times, he will b banned for y minutes. Gets reset every 15 minutes. Originally from consolemoon by [NL]Pur
added: !ver (bot version) and !showimmuned
added too big share detection
added DC@f?++, DC:PRO support, RevConnect, MS++V and oDC Classic (<5.3) support
added: PM and MAIN environment detection, bots reply to user based on the environment  - try i. e. !myip in PM to the bot and in main (opchat commands /!invite and !remove/ have to be typed in main or in PM with the opchat bot, altho main bot accepts them too but opchat will reply =D)
added protection against unknown connection types (i dont think if there are any lol)
fixed a bug on client check
fixed: hidden/bad dcgui tag scanner scanned only properly tagged dcguis lol
fixed: "Modem" connection type now supported (grr ppk)
fixed: emote showed only the 1st word (im sorry, but a DC hub bot is really hard to test w/o internet... =D)
fixed: help, i stuffed it up somehow *snif snif*
fixed monologue, after sending message, it resets counter to 0 instead of 1
------------------------------------------------------------------ lawmaker 0.4 -----------------------------------------------------------------
changed uptime parsing method, from marvellous userwelcome bot by RabidWombat (greatest idea i have ever seen)
changed: re-enabled dc++ builtin kick, but it triggers the scripted kick (nil reason is supported too) hehe
changed: myinfo parsing part has been highly optimized for speed and resource usage, also simplified
changed config and user level check algorithm a bit on connect / myinfo parsing (my own routine sucked, so i grabbed CB's one)
changed: made hub/slot/limit part a bit simpler in config.lua
added some surprise... ;)
added: !hubinfo command, shows basic info on the hub
added monologue by plop, bit rewritten =)
added incorrect active IP check on search, ripped from loginbot 0.03 by Mutor
fixed: nick check bug that allowed nicks like abcd[123]efg, when the desired one would be [123]abcdefg
fixed away bug, now really reads away.dat (grr mistypes)
fixed some mistypes in configfile, extended the comments a bit
fixed: ShowOnEntry of freshstuff  has sense from now on :D
------------------------------------------------------------------ lawmaker 0.31 bugfix -------------------------------------------------------
fixed the bug that muted users only for a second
fixed some tiny bugs in command parsings
fixed the !me bug and the bug that did not execute commands properly in opchat
changed !redirectall, now addy can be given as an optional parameter
changed: added !redirectall into help, i have forgotten that
changed: some little code cleanup
changed: upgraded mute bot now every muted users have a separate timer, works fine
------------------------------------------------------------------- lawmaker 0.3 ------------------------------------------------------------------
 where we  are now? - 75 admin commands, about 60-65 op,  26 regular user cmds
changed: commands are case insensitive
changed !drop command is disabled, cause ops can kick masters with it, this is a security hole i guess
added !showbannedranges, shows in PM. (oooops, fixed the never-saving bug in rangeban)
added !afk/!away and !back, with date support and !amiaway to see if you are away...
added !showbanlist grabbing PermBan.dat, more comfortable to see in PM than in main, or not? ;)
added !hubstats, now you can see those hubstats that are saved lol
added !uptime, measures script uptime since restart
added !myip command
added +me and /me support, has been put into opchat as well
added hubstats saving feature from DarkMind by Tuben
added plop freshstuff 3.3, l8r versions are overconfusing :P
added guestbook-like crap, 3 ones (guestbook, news bulletin, requests, can be renamed)
added textfile support, 5 text-showing cmds
---------------------------------------------------------------- 0.2 lawmaker from now on -------------------------------------------------------
changed !op command is disabled from now on
added possibility to execute commands PMed to bot
added !immune and !delimmune, which makes a user pass ALL checks except nick check
added mass message and shit like that, banner from channelbot
added random kick messages, stored in a file, can be added new ones. :D
added !nuke, a perm ban cmd, sends website/mail for complaints, builtin !ban triggers nuke
added !tban, like in a. i.(!tban ) - sends website/mail for complaints if enabled
added !rangeban and !rangeunban (now i confess: i wanted to make a completely yhub-like bot.)
added !kickuser, autoban on certain number of kicks for certain hours (like in yhub), kicks get saved, get reset when user reaches the maximum and gets banned
added Mute - thx kepp & Typhoon™
added Warn - thx klownietklowniet, [NL]Pur, gg3k, Freed
added Help, with channelbot-like user levels
added opchat with invitation possible, thx tezlo
added see rules on  hub/slot/(H/S)ratio/limit with command !slothublimit ---> gives an ugly table, like x-hub
--------------------------------------------------------------- 0.1 slothublimit.lua ---------------------------------------------------------
added hub/slot/(H/S)ratio/limit check by connection type -- this was the original purpose lol
added op clients - you can set which client(s) can only be used by ops
added welcome text, which shows all info on the user
added IP clone check, thx Mutor
added fake share check, thx plop for list :)
added client check, currently not supporting NMDC and DC:PRO, complete support for oDC, DCGUI, StrongDC++, DCDM++, DC++k CDM, rmDC++, recognizes 13 DC++-based clients and disconnects unrecognized tags - thx plop, Optimus & Herodes (for the client collection)
added tezlo's $UserIP function
added nick prefix and bad char check in nick, thx Mutor & plop (for the array :P)

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

well i wanted to wait till september when i finished 0.2, but the ideas came... lua scripting is like eating candyies: you simply cant finish
note that about 75% of this script has been written from scratch, and i had no internet, so i had to run 10 clients lol
Title:
Post by: zinden on 11 September, 2004, 17:02:11
Where can i download it?
I dont see any download from here anyway....
And i dont want to go to a hub to get it....
Title:
Post by: bastya_elvtars on 11 September, 2004, 17:07:21
It is currently in development stage, as i had no internet at home, so i have to test it for a few weeks before release. In that hub you just see if its good 4 u or not, and PM me suggestions, so we can discuss it in realtime, which i lke better. I will release it as it gets 'free' from bugs, and as the resource usage is made as low as possible. I hope you understand me all.
Title:
Post by: REBEL on 12 September, 2004, 11:19:12
Hi bastya_elvtars
Saw the LawMaker working on your Hub,
Looked very good as a user,
on the user side i dont know of anything else to suggest.
On the OPs side i have found the commands mostley used are timeban, kickban which gets nick and ip,kick,
some other op commands are never used like banip, ban nick,

As you know i will allways try things. So please do let me know when you realese it.
Keep up the good work. and take a break now and again,so you dont burn ya self out :)


Take Care  REBEL
Title:
Post by: bastya_elvtars on 12 September, 2004, 17:10:52
I have had many questions related 2 this subject. So: I wanna release it, but new and new bugs occur. So before trying to send it to others, i want to make it as bug-free as possible. The hardest part is the client check part, it always introduces new and new things to fix - note that i originally made this script without internet. Wit many thanx to Typhoon, i could get rid of some annoying bugs, and that fatal bug that crashed the whole script. Now I am gonna add some (atleast basic) logging part, and a whois, then i will send it to beta testing i guess.

I hope you can understand that i want you good when i dont release it immediately.

;)
Title:
Post by: bastya_elvtars on 13 September, 2004, 20:13:21
Quote[20:15] ------------------------------------------------------------
[20:15] Current stats:
[20:15] ------------------------------------------------------------
[20:15] Version: PtokaX DC Hub 0.3.3.0 build 15.25 [debug] built on Dec 15 2003 18:48:35
[20:15] Uptime: 1 days, 5 hours, 20 minutes
[20:15] Users (Max/Peak/Logged) : 2000 / 107 / 95
[20:15] Unknown commands: 1 x
[20:15] PM commands: 478 x
[20:15] Key commands: 48019 x
[20:15] MyINFO commands: 54187 x
[20:15] ValidateNick commands: 48016 x
[20:15] GetINFO commands: 1046140 x
[20:15] Password commands: 26 x
[20:15] Version commands: 47596 x
[20:15] UserIP commands: 18 x
[20:15] GetNickList commands: 47542 x
[20:15] Search commands: 12709 x
[20:15] SR commands: 23917 x
[20:15] CTM commands: 11647 x
[20:15] RevCTM commands: 3050 x
[20:15] ------------------------------------------------------------
[20:15] CPU usage (60 seconds average): 100.0%
[20:15] MEM usage: 1714 kB
[20:15] ------------------------------------------------------------
[20:15] SendRestsPeak: 3
[20:15] RecvRestsPeak: 3
[20:15] Listing end.
Title:
Post by: bastya_elvtars on 14 September, 2004, 02:25:39
CHANGELOG
------------------------------------------------------------------ lawmaker 0.7 RC
-----------------------------------------------------------------
added: offline userinfo and database with cleaner (thx NightLitch)
changed: LastSeen and userinfo parsing ---> DAMN lowered resource usage
fixed bug in Warn
fixed: MaxKicks bug
fixed: builtin kick bug
Title:
Post by: bastya_elvtars on 14 September, 2004, 02:56:24
now im gonna add a userinfo database, some logging part, the whois, and i think we can start testing.

-- EDIT

I think we are all getting close 2 release, lawmaker is way stable, needs little resources and most thingies added.
Title:
Post by: bastya_elvtars on 15 September, 2004, 20:48:03
Okay, who would like to be a beta tester, PM me or find me on testhub and will get an unredistributable, compiled RC version. The number of testers is limited, i dunno what will b the max ppl who get it.
Title:
Post by: Psycho_Chihuahua on 15 September, 2004, 21:01:21
sure i'd love to test it

i aint got so many Users though (about 50 regular Users at the moment)

+ their all German speaking lol
Title:
Post by: bastya_elvtars on 15 September, 2004, 21:48:29
Sorry, no language support atm...

it would be hard 2 write and my main profile is not computering. This needs lot of time, altho help would be appreciated on it.

PM me the hub address and the hub name if you wanna test it.
Title:
Post by: Psycho_Chihuahua on 15 September, 2004, 22:17:43
hmm well i did a german Translation for THoR 2.0 including all Files that had any sort of message shown, so i guess i'd be able to translate it to German if you need it.

Well i'd have to do so for the Hub i'd intend to test it on.
Thats the irony of living in the central of German speaking Europe. So I try to help by translating good scripts to german.
Title:
Post by: bastya_elvtars on 17 September, 2004, 00:23:59
QuoteOriginally posted by Psycho_Chihuahua
hmm well i did a german Translation for THoR 2.0 including all Files that had any sort of message shown, so i guess i'd be able to translate it to German if you need it.

Well i'd have to do so for the Hub i'd intend to test it on.
Thats the irony of living in the central of German speaking Europe. So I try to help by translating good scripts to german.

no need if no1 wanna test it :D

saying again: PM me your hub name and address if u wanna become a beta tester.
Title:
Post by: bastya_elvtars on 17 September, 2004, 16:55:32
well, i decided to make a public beta release instead, there are known bugs (not major), but...

so get it now, enjoy please

Lawmaker 0.7 RC 0.330 version (http://rnrdoctor.sytes.net/lawmaker.zip)
Title:
Post by: [=robbase=] on 17 September, 2004, 19:45:30
Hello mate,

Great lookin script.... gave it a spin earlier.. nice!

1 thing I noticed is that it's temp banning users, I asume these are ppl that aint passing the connection/slot/hub rules?

I would love to get a copy of the right click script aswell, so I could personalise it a small bit

Keep up mate!

 :D
Title:
Post by: bastya_elvtars on 17 September, 2004, 20:35:10
QuoteOriginally posted by [=robbase=]
1 thing I noticed is that it's temp banning users, I asume these are ppl that aint passing the connection/slot/hub rules?
 :D

that is because of hammering

f***ing donkey and nmdc reconnect aggressively

x reconnects in 15 mins causes a timeban, see config file

on the right click: ill make it a module, so u can customise it.
Title:
Post by: REBEL on 17 September, 2004, 20:54:45
Hi bastya_elvtars

sorry ive been away and just noticed you have released the Lawmaker :)
now ive unzipped it to the scripts folder in Ptokax.
configured everything, but restart scripts on hub and it does not show up.
but did notice a couple of bits in the main script of Ptokax.
as im useing TD4 or is this script only compatable with higher.
Title:
Post by: bastya_elvtars on 17 September, 2004, 21:10:03
forgot to say

it works with TD4 as well, only !topic does not work

as i have much time, i will add a topic support and release a separate testdrive version, or something that omits this.

it must work with testdrive although.
Title:
Post by: Robban on 18 September, 2004, 01:45:17
Your links does not works ;)
Title:
Post by: bastya_elvtars on 18 September, 2004, 01:55:03
QuoteOriginally posted by Robban
Your links does not works ;)

Sorry, i cannot properly install omnihttpd as service, windows is simply refusing to start it, and i keep fprgetting to start it manually. If i fix this prob, the link will br 24/7 online.

----------- EDIT

i found a bug in lawmaker, it stored 4500 users' info in 3 days cause of many donkeys/others disconnected. Now this is fixed, script updated, please DL it again!
Title:
Post by: Robban on 18 September, 2004, 02:45:05
I get this messages all the time then I try to connect. I have try 3 diffret clients to join but none works (fulDC,DC++,DCDM)

[02:45:09] This hub is running PtokaX DC Hub 0.3.2.6 TestDrive 4  (UpTime: 0 hours, 50 minutes)
[02:45:09] *** Stored password sent...
[02:45:09] Invalid, hidden or missing tag!!! Please get DC++ or an appropriate mod, or DC:PRO! Linux users get DCGUI...
[02:45:09] Disconnects...
[02:45:09] *** Disconnected


Can I shut this function off?
Title:
Post by: bastya_elvtars on 18 September, 2004, 02:53:18
ok, i have 2 go for 3 days, but on monday i will start testing it on TD4, as i had no facility 2 test it.
Title:
Post by: bastya_elvtars on 19 September, 2004, 09:30:15
DAMN

there was a st00pid mistype so the link did not work at all. From my signature u can get it now, plus I updated so it works for DCGUI ---> multiplies the limit amount with the no. of slots, so it reports and takes in count the whole b/w limit (thx Nyufszi & MaciLaci)
Title:
Post by: REBEL on 19 September, 2004, 11:55:21
Hi bastya_elvtars
ive got the script to work in the TD4 and DLd your latest update, as suggested above.
But im getting the same error as Robban.

Hub-Security> This hub is running PtokaX DC Hub 0.3.2.6 TestDrive 4  (UpTime: 0 hours, 0 minutes)
*** Stored password sent...
Invalid, hidden or missing tag!!! Please get DC++ or an appropriate mod, or DC:PRO! Linux users get DCGUI...
Disconnects...
*** Disconnected

ive tried all my client.
Title:
Post by: 6Marilyn6Manson6 on 19 September, 2004, 13:52:38
HI bastya_elvtars. Error in LawMaker. In help of OPerator and SuperOperator you see:


!addkick             Deletes a random kick message.


but for this command you use   !delkick

Rename   !addkick             Deletes a random kick message.     in     !delkick             Deletes a random kick message.

bye bye
Title:
Post by: REBEL on 20 September, 2004, 11:21:39
Hi bastya_elvtars

im also getting this error when i start the hub in the scripts editor.

No syntax errors in script file C:\Program Files\PtokaX-RE\scripts\lawmaker_0.7_comp.lua
Syntax Error: table index is nil
Syntax Error: table index is nil

And still cant connect to the hub, just wondering if this syntex error is the cause of it.
so if there is anyway i can carry on testing this for you do let me know please as its no trouble for me to keep changing things and testing.
Title:
Post by: bastya_elvtars on 21 September, 2004, 08:59:45
seems its impossible to run lawmaker on td4, but i really don't know what the problem can be as 15.18 does not difeer so much in its lua engine from td4

Quote[09:09] This hub is running PtokaX DC Hub 0.3.2.6 TestDrive 4  (UpTime: 0 hours, 3 minutes)
[09:09] Invalid, hidden or missing tag!!! Please get DC++ or an appropriate mod, or DC:PRO! Linux users get DCGUI...
[09:09] Disconnects...
[09:09] *** Disconnected

and

Quote[09:09] *** Connecting to rnrdoctor.sytes.net...
[09:09] *** Connected
[09:09] This hub is running PtokaX DC Hub 0.3.3.0 build 15.18 [debug]  (UpTime: 3 days, 8 hours, 14 minutes)
[09:09] the rock n' roll doctor's laboratory - This hub is running LawMaker 0.7 RC by bastya_elvtars (the rock n' roll doctor)
[09:09] This client (DC++k CDM) is for operators only.
[09:09] Disconnects...
[09:09] *** Connection reset by server

see the difference - there is something f***ing wrong in TD4, cause the hub security message does not appear either. But it HAS to be sent BEFORE client check starts, so i do not understand.
Title:
Post by: REBEL on 21 September, 2004, 11:01:04
Hi bastya_elvtars

read your post. so i thought i go back and see if i could find a prob in script or td4

dont know if this is off help to you,I loaded this part of the script in script editer,

lawmaker_0.7_comp.lua

Syntax Error: unexpected end of file in `Lua@    ?[????A'

not unless it means that this line is ok for PtokaX DC Hub 0.3.3.0 build 15.18 [debug]

and needs changing for the TD4

I might have this wrong as im not good with scripts, just a idea.
Title:
Post by: bastya_elvtars on 21 September, 2004, 13:37:38
Now it supports TD4 too, many thx to plop for his help.

Also there are some minor fixes.

Also fixed iDC++ issue, it was my idiotism, forgot to return the client type and version number. :DDDD

Enjoy LawMaker and ask any questions here!

--- edit ---

link in my signature, and in the post updated, now its lawmaker.zip
Title:
Post by: bastya_elvtars on 21 September, 2004, 14:51:10
QuoteOriginally posted by REBEL
Hi bastya_elvtars

read your post. so i thought i go back and see if i could find a prob in script or td4

dont know if this is off help to you,I loaded this part of the script in script editer,

lawmaker_0.7_comp.lua

Syntax Error: unexpected end of file in `Lua@    ?[????A'

not unless it means that this line is ok for PtokaX DC Hub 0.3.3.0 build 15.18 [debug]

and needs changing for the TD4

I might have this wrong as im not good with scripts, just a idea.

script is compiled. no editing possible.
Title:
Post by: REBEL on 21 September, 2004, 20:42:54
Hi bastya_elvtars

Ive loaded the Lawmaker into TD4 succesfully :)
the Ops from my hubs are having fun with it and say what a great script it is, and tell you for a first big script like this how fantastic it is. :)

The only client so far that the OPs use and have no commands (except for redirect & kick )is Odc.
unless its something ive not set .

Im running it on a temporary hub and later i will install it on one of my bigger hubs. Running good so far
the hub addy is rockabillyexpress.no-ip.org:1411
if you want to look :)
Title:
Post by: Psycho_Chihuahua on 21 September, 2004, 20:45:09
Getting a couple of Errors on 0.330 build 15.25 with your 0.7
Syntax error: attempt to compare nil with number
stack traceback:
   1:  function `SplitTimeString' at line 131 [file `lawmaker_0.7.lua']
   2:  function `GetUpTime' at line 86 [file `lawmaker_0.7.lua']
   3:  function `showuptime' at line 2525 [file `lawmaker_0.7.lua']
   4:  function `parsecmds' at line 4240 [file `lawmaker_0.7.lua']
   5:  function `DataArrival' at line 4049 [file `lawmaker_0.7.lua']

Syntax error: attempt to compare nil with number
stack traceback:
   1:  function `SplitTimeString' at line 131 [file `lawmaker_0.7.lua']
   2:  function `GetUpTime' at line 86 [file `lawmaker_0.7.lua']
   3:  function `parsestats' at line 2468 [file `lawmaker_0.7.lua']
   4:  function `hubinfo' at line 2762 [file `lawmaker_0.7.lua']
   5:  function `parsecmds' at line 4258 [file `lawmaker_0.7.lua']
   6:  function `DataArrival' at line 4049 [file `lawmaker_0.7.lua']

Syntax error: attempt to compare nil with number
stack traceback:
   1:  function `SplitTimeString' at line 131 [file `lawmaker_0.7.lua']
   2:  function `GetUpTime' at line 86 [file `lawmaker_0.7.lua']
   3:  function `parsestats' at line 2468 [file `lawmaker_0.7.lua']
   4:  function `showhubstats' at line 2546 [file `lawmaker_0.7.lua']
   5:  function `parsecmds' at line 4242 [file `lawmaker_0.7.lua']
   6:  function `DataArrival' at line 4049 [file `lawmaker_0.7.lua']

Syntax error: attempt to compare nil with number
stack traceback:
   1:  function `SplitTimeString' at line 131 [file `lawmaker_0.7.lua']
   2:  function `GetUpTime' at line 86 [file `lawmaker_0.7.lua']
   3:  function `showuptime' at line 2525 [file `lawmaker_0.7.lua']
   4:  function `parsecmds' at line 4240 [file `lawmaker_0.7.lua']
   5:  function `DataArrival' at line 4049 [file `lawmaker_0.7.lua']

havent tested everything yet, will get back later
Title:
Post by: bastya_elvtars on 21 September, 2004, 20:50:08
send me your error.log in email please
Title:
Post by: Psycho_Chihuahua on 21 September, 2004, 20:54:56
nothing in there besides this
21.09.2004 20:01:27 - Serving stopped (UL:54894, DL:3215)
21.09.2004 20:01:42 - Serving started
21.09.2004 20:01:43 - [ERR] UDP Socket bind error: 10048
21.09.2004 20:02:21 - Serving stopped (UL:13006, DL:801)
21.09.2004 20:16:54 - Serving started
21.09.2004 20:16:55 - [ERR] UDP Socket bind error: 10048
Title:
Post by: bastya_elvtars on 21 September, 2004, 21:51:06
This is exactly what i wanted to see. Thx!

--- edit

fixed i think. will release RC2 tonight i hope.
Title:
Post by: Psycho_Chihuahua on 22 September, 2004, 00:03:52
ya mean this would have been enough?

[ERR] UDP Socket bind error: 10048
Title:
Post by: bastya_elvtars on 22 September, 2004, 00:10:29
LawMaker 0.7 RC2 released!

STRONGLY RECOMMENDED TO REFRESH!

Get it from my signature.

Lowered CPU by removing many useless loops - now really light!
Fixed unmute
Fixed uptime hopefully (contained 2 bugs)
help text fixed
added an option to use 1 address for every redirect, and that is the default ptokax addy thx B.E.S.T. for idea)

QuoteOriginally posted by Psycho_Chihuahua
ya mean this would have been enough?

[ERR] UDP Socket bind error: 10048

nope, the time format was enuf. :D
Title:
Post by: bastya_elvtars on 22 September, 2004, 22:42:40
RC2hotfix released

fixed some issues with uptime parsing

thx to REBEL for his patience and testing
Title:
Post by: REBEL on 22 September, 2004, 23:24:21
Hi bastya_elvtars

And big thanks to you I am getting a great script to use on my hubs :)
Without your brainwork and time that wouldnt be possible, thank you i will always try to help.

A Happy REBEL & my recomendation for LawMaker.
keep up the great work buddy.
Title:
Post by: bastya_elvtars on 23 September, 2004, 00:01:56
QuoteOriginally posted by REBEL
Hi bastya_elvtars

And big thanks to you I am getting a great script to use on my hubs :)
Without your brainwork and time that wouldnt be possible, thank you i will always try to help.

A Happy REBEL & my recomendation for LawMaker.
keep up the great work buddy.

i made this to make users happy

after bug fixing there will be brand new features, so be patient!

i am glad 2 see ya happy
Title:
Post by: Psycho_Chihuahua on 23 September, 2004, 01:28:09
hey gr8t work there bastya

hmm.. could you pack the right click menu into 1 folder instead of having them all open?

Like
Right click --> LawMaker --> rest of functions

Thnx
Title:
Post by: bastya_elvtars on 23 September, 2004, 02:21:14
nice idea, will do in next beta. post me errors please , i will add new functions cause it seems bugfree i guess
Title:
Post by: REBEL on 23 September, 2004, 22:54:50
Hi bastya_elvtars
still getting a few of these Syntax Error: table index is nil
but otherwise it seems to be running ok :)

would it be possible in the script to allow or not allow NMDC and Mac users, as i have quite a few on my other hubs.
Keep up the good work buddy :)
Title:
Post by: bastya_elvtars on 23 September, 2004, 23:16:19
QuoteOriginally posted by REBEL
Hi bastya_elvtars
still getting a few of these Syntax Error: table index is nil
but otherwise it seems to be running ok :)

would it be possible in the script to allow or not allow NMDC and Mac users, as i have quite a few on my other hubs.
Keep up the good work buddy :)

nmdc v1 users should be immuned

nmdc v2 hmm gonna add support but gotta test first, and im afraid to install .net 1.1 cause it can cause trouble in windows ;)

best way is 2 immune them

btw feature requests here pleaseeeeeeeeee :D
Title:
Post by: bastya_elvtars on 26 September, 2004, 23:52:02
sorry folks, some1 stole my RAM, so a few days holiday... this does not mean you cannot bomb me with questions/suggestions/bugreports. Maybe this week i can come back, and continue working... Have fun with LawMaker till then...

:(
Title:
Post by: bastya_elvtars on 28 September, 2004, 00:36:19
Me and the webserver are finally back... you can download LM agan, and thx to Psycho_Chihuahua, there will be a multilanguage soon. The GUI is the harder part... but i hope i will have some luck after this damn unlucky week... I will keep up the work, if you realy like it.
Title:
Post by: REBEL on 28 September, 2004, 00:51:09
Good im glad to hear that,
I certainly like it bastya_elvtars  :)

arh would it be possible to add a anti advertise feature,
where you can set which profile can advertise and who cant ....please.

Keep up the good work  :)
Title:
Post by: bastya_elvtars on 28 September, 2004, 01:03:50
Quotearh would it be possible to add a anti advertise feature,
where you can set which profile can advertise and who cant ....please.

yes, definitely, but then need 2 develop an own antiadv, cause i really do not like 2 steal others' ones.
Title:
Post by: bastya_elvtars on 28 September, 2004, 02:47:46
released RC3

added a whois function, and fixed some command levels, i simply forgot 2 include them

i am really sick, i dont know what will the ultrasound result in, but i really wanna make this all shit gall bladder issue finished. Wish me luck!
Title: So sorry!
Post by: WickeD on 28 September, 2004, 07:57:31
Good luck my m8!
Title:
Post by: REBEL on 28 September, 2004, 09:38:21
ahha itsa me

DLd release RC3 but it wont unzipp,
diagnostic message says unexpected end of archive
ok :)
Title:
Post by: bastya_elvtars on 04 October, 2004, 02:58:09
well, i know no1 cares 2 much (hope i am wrong  :D ) but i still decided 2 release RC4 version, upgraded the range banner in it, and some tiny bugs... enjoy, find the link in my sig.

Users who are using RC3: open your config.lua, and insert this (ideal 2 insert below builtinred value):
clone_todo=1 -- 1 to disconnect, 2 to notify operators

checkops_ipranges=1 -- 1 to check if an Operator belongs to a banned ip range.
Title:
Post by: REBEL on 04 October, 2004, 09:52:30
hi bastya_elvtars

dont worry buddy im here.. ive upgraded mine.
hope all goes well with yourself.
 :)
Title:
Post by: bastya_elvtars on 04 October, 2004, 11:33:19
QuoteOriginally posted by REBEL
hi bastya_elvtars

dont worry buddy im here.. ive upgraded mine.
hope all goes well with yourself.
 :)

damn i simply cannot install omnihttpd as service, so i will switch back 2 apache soon, then you can always dl off me, cause i wont forget 2 start it ;)

aaaah thx im right atm, i will continue lawmaker, put a logging into it, and then... RELEASEEEEEEEEEEEEEEE! ;)
Title:
Post by: bastya_elvtars on 13 October, 2004, 02:05:15
added !/+/# command prefix support (i. e. #help or +nuke)

if u ned more then feel free to post ;)

*** edit

started 2 build logging part as well

please,

REQUESTS HERE!
Title:
Post by: bastya_elvtars on 17 October, 2004, 22:39:04
bastya_elvtars: i wanna request a lagtest

ok, then i make it

Lagtest put in lawmaker, no release yet, cause logging is beta and unfinished. enjoy rc3 till that

also edited the user menu, looks like this:

(http://rnrdoctor.sytes.net/riteclk.jpg)

umm, and it is an individual module now, will make as customizable as possible
Title:
Post by: bastya_elvtars on 20 October, 2004, 02:47:09
RC5 released  

No logging yet, but there are updates, added a lagtest, command prefixes support (+ ! #) and cleaned up the code, changed the rightclick and turned it into an individual module (will make it easy to config in next ver.), and fixed a lot of tiny bugs. TD4 users can still experience a "Table index is nil" error, which might be in connecion with userinfo somehow, maybe i relied on OnExit() too much. Gonna fix it later, as i have more time.

Oh, and it has to be completely reinstalled if you upgrade!

Enjoy!
Title:
Post by: zinden on 20 October, 2004, 16:03:42
got a big problem:

Your active mode IP setting is incorrect! Please update your Active IP address to: 192.168.123.1 and restart your client!

i cant enter my hub from no-ip addy so i use my own ip.

and i write in my real ip in dc++ settings, then the bot gets crazy saying im using wrong ip :)

Anyway to fix it somehow?
i dont want to be passive or use my router ip  lol
Title:
Post by: Psycho_Chihuahua on 20 October, 2004, 16:42:56
if it's on the same puter use 127.0.0.1
Title:
Post by: bastya_elvtars on 20 October, 2004, 18:23:06
or if u use bcdc dcdm or phantomdc leave it blank and check the "allow hubs to set client's active mode IP" feature
Title:
Post by: zinden on 20 October, 2004, 18:42:04
Your active mode IP setting is incorrect! Please update your Active IP address to: 127.0.0.1 and restart your client!

:(   any other suggestions?

There must be a way to let thru op and above to have different ip than the dc script sences?

or disable it?
Title:
Post by: zinden on 20 October, 2004, 20:02:14
about rightclick commands to make users superops.
It doesnt make superops (master) just makes operators.

But if you type manually it works to make superops (master)


And i love the script
Title:
Post by: bastya_elvtars on 20 October, 2004, 22:32:00
Yea, ok, both will be done...

umm... added checkactivelevel requested by Zinden

will fix the rightclick isuue, if you look at the file, u will understand the error ;)
Title:
Post by: bastya_elvtars on 21 October, 2004, 12:48:48
for td4 users:

delete the

ips.dat
lastseen.dat
myinfo.dat

from the dats folder, then in theory no more table index is nil errors will occur, this must have been due to a mistype.
Title:
Post by: zinden on 21 October, 2004, 16:25:49
Request:
Is there a way to make a vipchat? (with enable/disable)

maybe fix some intro/outro messages for vips and above? (make custom ones if possible)

topkickers stats.


Hopefully any of those may be added some day  :)
Title:
Post by: bastya_elvtars on 21 October, 2004, 18:24:30
yea, was thinkin of both vipchat and intro/outro...

hmm, topkickers... not a hard 1, will add some time ;)

*** edit ***

now i am currently writing a logging part, that will be included in next beta. After it, i will add ALL requested features, til now i simply added what I thought is important, so please do requests, they are very useful for me (and if you request, i se you know the script  :D )
Title:
Post by: zinden on 21 October, 2004, 21:40:24
1 more request    :)

about must be registered to be able to download from vip and above.
nonreg can download from other nonreg

and im eager to get the update about that ip thingy :)
really hate to be passive when i dont really need to be it.
Title:
Post by: bastya_elvtars on 21 October, 2004, 21:55:05
downloadblocking will never be implemented, there are separate scrips out there for this purpose...

about IP: dont fill the ip field, or set it to your current ip, or try $UserIP
Title:
Post by: zinden on 21 October, 2004, 22:01:46
abput ip:
im behind a router, so my ip on computer is 192.****
and the same computer has ptokas running.

so if i use dc++ settings and type external ip then the scripts yells at me and disconnect me.
if i dont type any ip in dc++ settings then i cant search or download.
i must type my external ip to get active in dc to work.

So at this moment im forced to be passive because im in my own hub  :(

I hope you can fix it......
Title:
Post by: bastya_elvtars on 21 October, 2004, 22:08:44
fill in the searching ip correctly too!
Title:
Post by: zinden on 22 October, 2004, 14:03:25
i use DC PRO   or LDC++  
neither of them can be filled in a ip for searching
Title:
Post by: bastya_elvtars on 22 October, 2004, 14:36:48
QuoteOriginally posted by zinden
i use DC PRO   or LDC++  
neither of them can be filled in a ip for searching

i had the same with dcpro. gonna fix then

***edit ***

gonna remove this whole crap... dcdm++ does the job itself
Title:
Post by: zinden on 24 October, 2004, 20:41:32
thank you bastya_elvtars

getting very annoing to get disconnected from my own hub :)

I hope i see a update real soon....
I try to be active without searching :)  atleast i get filelists.... but as soon my dc++ searches by its own i get disconnected. Turn that thing off too, so atleast im active without be able to search my own hub  lol

Sounds kinda funny
Title:
Post by: bastya_elvtars on 24 October, 2004, 21:26:00
http://rnrdoctor.sytes.net/lawmaker_0.7_RC5_hotfix.lua

just download this file and replace the lawmaker0.7_comp.lua to this

fixed the version nuber and removed the active/passive thingies as they are already included in DCDM++

also fixed the "add a superop" thingy

zip updated too ;) only the main lua file and the usercommands.lua have 2 b replaced!
Title:
Post by: zinden on 29 October, 2004, 20:03:25
Found a error:

Syntax error: attempt to index global `victim' (a nil value)
stack traceback:
   1:  function `dowarn' at line 951 [file `lawmaker_0.7.lua']
   2:  function `parsecmds' at line 4241 [file `lawmaker_0.7.lua']
   3:  function `DataArrival' at line 4172 [file `lawmaker_0.7.lua']


well got few of those ones, around 4-6
Title:
Post by: zinden on 31 October, 2004, 08:16:27
More bugs ;)


---------------------------2004-10-30 19:59:10---------------------------
Exception 'EZeroDivide' in module PtokaX.exe at 000723C8
Floating point division by zero



http://board.univ-angers.fr/thread.php?threadid=2541&boardid=8&styleid=1&sid=1665999c9aabeb5aabfeda904064a20c

Read that thread too  :)
And im only using lawmaker as script... This isnt first time i get the error

I hope you can find the error in script.....
The script is kinda compiled so its hard to find the error by myself.
Title:
Post by: bastya_elvtars on 06 November, 2004, 20:59:03
QuoteOriginally posted by zinden
More bugs ;)


---------------------------2004-10-30 19:59:10---------------------------
Exception 'EZeroDivide' in module PtokaX.exe at 000723C8
Floating point division by zero



http://board.univ-angers.fr/thread.php?threadid=2541&boardid=8&styleid=1&sid=1665999c9aabeb5aabfeda904064a20c

Read that thread too  :)
And im only using lawmaker as script... This isnt first time i get the error

I hope you can find the error in script.....
The script is kinda compiled so its hard to find the error by myself.

gonna release a new RC with vipchat and op announce, but gonna try finding those bugs too, the warn part may be buggy, i keep forgetting, but trying 2 do it right now :P
Title:
Post by: bastya_elvtars on 11 November, 2004, 11:03:10
OK guys, what i have worked on is done:

LawMaker 0.7 released  

reinstall completely please!

new features:

special operator announce and leave messages (try it, hard 2 describe here)

fixed many performance-related issues

added vipchat with possibility to enable/disable.

Starting work on LM0.8, the following features are planned:

Logs

Metatable functioning

Multilanguage may be done

I am planning a GUI as well, but i must get my friend 2 write it :P

And more...

[edit]

please test the script, there can be errors, altho it is running error-free here but who knows. Thx for all the people who tested it before, and the ones who will test it in the future!
Title:
Post by: zinden on 12 November, 2004, 15:52:53
3 bugs discovered:


Syntax error: attempt to index a nil value
stack traceback:
   1:  function `scanmyinfo' at line 237 [file `lawmaker_0.7.lua']
   2:  function `checkhubsslots' at line 276 [file `lawmaker_0.7.lua']
   3:  function `DataArrival' at line 3939 [file `lawmaker_0.7.lua']


must be as it says in error, about max hubs.
i put it as: max 10 hubs at same time.
But users gets in with more than that.


Edit:

Syntax error: bad argument #1 to `getn' (table expected, got nil)
stack traceback:
   1:  function `getn' [C]
   2:  function `OpDisconnected' at line 3798 [file `lawmaker_0.7.lua']

Edit again:

Syntax error: attempt to concat local `nick' (a nil value)
stack traceback:
   1:  function `DataArrival' at line 3989 [file `lawmaker_0.7.lua']


Found that too  :)
Title:
Post by: zinden on 14 November, 2004, 19:56:48
A request.

Is it possible to add offline info?
or atleast something so i can get why a user got kicked.
if i kick a user, i want to have a command so i can see why he got kicked


I hope its a request you can add  :)
Title:
Post by: bastya_elvtars on 14 November, 2004, 21:02:55
QuoteOriginally posted by zinden


Syntax error: attempt to index a nil value
stack traceback:
   1:  function `scanmyinfo' at line 237 [file `lawmaker_0.7.lua']
   2:  function `checkhubsslots' at line 276 [file `lawmaker_0.7.lua']
   3:  function `DataArrival' at line 3939 [file `lawmaker_0.7.lua']



This must be caused by a weird connection type, or a corrupted myinfo, gonna take a look.

QuoteOriginally posted by zinden

Edit:

Syntax error: bad argument #1 to `getn' (table expected, got nil)
stack traceback:
   1:  function `getn' [C]
   2:  function `OpDisconnected' at line 3798 [file `lawmaker_0.7.lua']


yea, stupid mistype, fixed


QuoteOriginally posted by zinden


Edit again:

Syntax error: attempt to concat local `nick' (a nil value)
stack traceback:
   1:  function `DataArrival' at line 3989 [file `lawmaker_0.7.lua']


Found that too  :)

hmm, this 1 is related 2 builtin kick somehow, this needs testing. PM me your hub address. (i do not want op status or whatever just take a look)

BTW THX for the reports, more & more please! :)

*** edit ***

about the request: yes, i am planning it. As soon as it1s ready, you will know!
Title:
Post by: zinden on 16 November, 2004, 21:16:34
My Requests:

1: Topkickers  = So i can see which ops that actually kicks and some ops compete on this  :)   (include vips if they can kick)

2: Offline info  = To see why a user been kicked etc..

3: Feature from Y-Hub to get trace kick = If a user gets kicked he must somehow modify his share before he can enter again (dont know if its possible in lua)   <--- The most requested by my ops/vips

4: antiadvertise = can be good if someone advertises to all users in pm ( disable/enable button for it )

5: Fake username in mainchat = can be fun for ops/masters   and also maybe put in !con and !coff  thats for get pm message who use fake username command. (!con = commandon !coff = command off)

6: make immune better = if you use immune, then that user cant be kicked because he is immuned

7: Flood command / Nuke command = only for masters and good for fake users that are totally ignoring your kicks etc....

8: Tip of the day = a good tip shows everyday for users like: if you dont get any hits when search for "Age of empires 2 - Age of kings" try instead to search only "Age of empires" ( or maybe tip links for good sites)

9: Upgrade Status = upgrade maybe a op to master, reg to vip etc...

10: Invisible = Makes a user invisible to the rest ( i know this caused problems before on td4, but how about 0.3.3.0 ptokax? )


Well atleast thats what i call a Request post :)
those first 3 ones is for me most importent ones.
Title:
Post by: bastya_elvtars on 16 November, 2004, 21:26:32
1: maybe later, but yes, sure

2: working on it

3: hmm so the same share amount wont let him reenter? Not hard 2 do, but not everyone gets kicked 4 bad share

4: later

5: i do not like it, possible attack area for flooders and can be abused as well

6: yea, why not (will b optional thou)

7: to flood a user? No way

8: a hub ad at certain  timestamps? or what?

9 yea, ok, not bad

10: very easy
Title:
Post by: zinden on 16 November, 2004, 21:57:36
i forgot the most importent one after offline info.

About clear 1 user from tempban log.
like: !clear nick
<-LawMaker-> Nick is cleared from tempban
And i know the script needs to create a own tempban log and from that one it cleans 1 user that has been tempban.

I usually got long tempban minutes.
That would be very good for operators to let in 1 user that been kicked and they dont need to clear the whole tempban log all the time. That kinda annoying.

Seems like no script got this feature so i hope you will be the first one to make it  ;)
Title:
Post by: bastya_elvtars on 16 November, 2004, 22:20:23
QuoteOriginally posted by zinden
i forgot the most importent one after offline info.


About clear 1 user from tempban log.
like: !clear nick
<-LawMaker-> Nick is cleared from tempban
And i know the script needs to create a own tempban log and from that one it cleans 1 user that has been tempban.

I usually got long tempban minutes.
That would be very good for operators to let in 1 user that been kicked and they dont need to clear the whole tempban log all the time. That kinda annoying.

Seems like no script got this feature so i hope you will be the first one to make it  ;)

this cannot be done, as ptokax does not save tempban list file, only the perm. It will be done in next ptokax release, or dunno if its already done, PPK could answer.
Title:
Post by: bastya_elvtars on 22 November, 2004, 11:17:02
lawmaker 0.8 test1 coming soon

logging part done. only bans will be logged, ips are already being logged. In the logs there can be search, logs can be cleared too.

userinfo rewritten, will use bigger memory but absolutely no CPU. It will not use more than average 15M with 300 users.

also kicks / bans wont stuff up the main any longer. will add a kickwatch command for ppl who are curious
Title:
Post by: bastya_elvtars on 24 November, 2004, 22:22:05
This is now a beta version available for public. tested on 300+ user hubs with no major issues. this may be harder to config (reinstall please), and.. what else? enabled logging, can be searched right from DC++, also kicks can only be seen by those who sign up..

====================================

IMPORTANT: PLEASE DELETE THE FOLLOWING  3 files from scripts/lawmaker/dats folder:

ips.dat

lastseen.dat

myinfo.dat


OTHERWISE THE SCRIPT WON'T LOAD
====================================

this version uses more memory than the others (about 30M in average on a 300 user hub) but MUCH less cpu.

download HERE (http://rnrdoctor.sytes.net/lawmaker_0.8_RC1_test.zip)

i cant rewrite my sig somehow... :S

also news is that i started 2 build a separate lawmaker website... coming soon, but busy a bit these days.

take care!
Title:
Post by: zinden on 06 December, 2004, 18:56:27
Hello, ive been getting some weird errors.


Syntax error: attempt to index global `immunelist' (a nil value)
stack traceback:
   1:  function `DataArrival' at line 4134 [file `lawmaker_0.8_zinden.lua']


Syntax error: attempt to index global `immunelist' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 4090 [file `lawmaker_0.8_zinden.lua']


Problably i used a weird dc but anyway it shouldent give errors   :))
Title:
Post by: bastya_elvtars on 06 December, 2004, 19:36:30
QuoteOriginally posted by zinden
Hello, ive been getting some weird errors.


Syntax error: attempt to index global `immunelist' (a nil value)
stack traceback:
   1:  function `DataArrival' at line 4134 [file `lawmaker_0.8_zinden.lua']


Syntax error: attempt to index global `immunelist' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 4090 [file `lawmaker_0.8_zinden.lua']


Problably i used a weird dc but anyway it shouldent give errors   :))

new beta is on the way...
Title:
Post by: zinden on 06 December, 2004, 19:46:04
about that error, it destroys the rightclick commands and opchat too  :(

so i cant hardly wait for an update  :))
Title:
Post by: bastya_elvtars on 07 December, 2004, 01:23:07
ok done

if runs smoothly at zinden, we can release the new beta.

but suggestions needed as i am out of ideas.
Title:
Post by: zinden on 07 December, 2004, 17:18:38
It runs perfect, no errors yet.
And some ideas....well how about:

Add in mass message who wrote the mass message

Immune, make also immune against get kicked.

offline info :)  Well this takes a bit resources, but maybe a addon script for lawmaker? (while you at it, add kick info in offline info)  he he

More DC++ mods in settings to allow more tags. Like accept dc pro tag etc...

Self register as 1/0  on off setting (if on, a message appear in mainchat that "user" has registered himself

and if a op reg a user, a message appear too


Well just tiny things, except the offline info :)
i hope you get some ideas
Title:
Post by: bastya_elvtars on 07 December, 2004, 19:31:31
mass: done

offline info: its already in. try an offline nick with !userinfo

kick info? there are logs, kicks arent logged (well, dont set kicktime to 1 hour, just 5 mins. there is ban on 3 kicks and its logged - i won't add such feature, it would make loads of logs.)

DC:PRO tag is supported. Dunno about new versions, but i made a full support even at start

"More DC++ mods" <--- like what? I will not add any unpublic clients to waste RAM. Ask the developer of XR++ to make it public, then i will support it.

selfreg: nice idea, but you did not want it before.

"and if a op reg a user, a message appear too" - ok, not hard
Title:
Post by: zinden on 07 December, 2004, 21:13:18
About Reg, was more for kaotkbliss :)  thats why i wanted a off settings too.

dont know about this, but how about add in description {reg} if a user is registered in hub. A script can add a tag in description depending if he is reg/vip/op/master.
maybe takes memory, but if not, then i wouldent mind seeing that in feature.

Last thing i wouldent mind to see is:
about adding links to sites, like !link http://www.altavista.com Alstavista search engine

then i type maybe !addy search

-LawMaker- Found 1 link in database
http://www.altavista.com

That looks cool and could be very usefull to alot of ppl


Well seems i just type alot of crap, but atleast i try to come up with new stuff  :P

So keep up the good job and continue to make the script even better.
Title:
Post by: bastya_elvtars on 07 December, 2004, 21:21:05
adding the tag in description would mean that at least twice as much bandwidth would be used. Son i won't add, as i do not wanna make this script for users with a few Mbits b/w.

The !link: hmm it will be in dc++ i guess

gonna look @ it
Title:
Post by: kaotkbliss on 13 December, 2004, 14:28:11
hey there bastya, was wondering if I could get a script that has only the nifty hubstats (the peak usercount, share, memory etc.) from lawmaker.
Title:
Post by: bastya_elvtars on 13 December, 2004, 14:55:30
QuoteOriginally posted by kaotkbliss
hey there bastya, was wondering if I could get a script that has only the nifty hubstats (the peak usercount, share, memory etc.) from lawmaker.

the whole routine is to be rewritten, so yes, cause i try out new routines in separate scripts.

if you are lucky, i will release it this year ;)
Title:
Post by: bastya_elvtars on 21 December, 2004, 04:04:21
in the last week we tested lawmaker under a big load

ptokax ate about max 5% of CPU time and ram usage was quite acceptable too, thou i cannot say it cause i fully tweaked my windows mem management :)

at least we can say that it is wuite stable.

the only question is:

should i leave this kickwatcher there, or make a separate !silentkick feature and make dc++ builtin kick a setting where you can define if  its silent or not - i will in no way kill random kick messages, but do not wanna kill the mainchat too.

now rc1 test 4 seems stable and gives excellent results :

QuoteAlltime peak user count : 741 users. (Time: Saturday the 18th of December, 17:38:39 Year 2004)

will release after ome aditional testing and your opinions on this kick.

later i will add useruptime, extend the stats and some more tiny things ;)

cheers and wish you all a merry christmas, gonna be off for christmas.
Title:
Post by: zinden on 21 December, 2004, 18:11:33
i wouldent mind to make the kicks all silent if you manage to add kick info inside the !info (meaning maybe using little more cpu, but maybe a on/off thingy for it?

As you know, we got alot of kicking messages in my hub. Would be nice to keep it totally clean  :]
Title:
Post by: bastya_elvtars on 22 December, 2004, 00:18:44
ok gonna ad a kicklog then in new year

fiat voluntas tua :)(ask skrollster to translate this :P)
Title:
Post by: bastya_elvtars on 03 January, 2005, 02:13:00
really sorry for not being able to serve my scripts now, will resolve in 1-2 days. also i started to make that damn lawmaker site now. i hope i can get it up and running soon and we can discuss lawmaker, but i cannot test it and new features cannot be added :(

hope you like the bot. it has been optimized a few thou, hope a new beta will come soon. till then have fun with it.
Title:
Post by: zinden on 09 January, 2005, 18:11:53
i need a fresh copy of the latest build script  :))

got one to give me?
well i will be hanging around my mail and wait for a script to pop up  :]
Title:
Post by: bastya_elvtars on 09 January, 2005, 19:59:07
Hard, hard. Maybe my DC career is near an end, this is fututre yet, but whatever...

The latest release does not contain any add-ons, i had 9 exams for 7 weeks in total, so patience is a must in this case, even if the DC++ punishment won't be that strict. There are no features you requested, basically i just updated the performance of the core and fixed some tiny bugs. We can say it passed the test. I just have no web server to put it on, gonna upload to plop.
Title:
Post by: bastya_elvtars on 14 January, 2005, 03:40:36
It's uploaded to plop's site, but no refresh occured since then. Please keep refreshing http://www.plop.nl/ptokaxbots/bastya_elvtars.php !  :]

download from here: http://lua.uknnet.com/attachment.php?attachmentid=82&sid=
(i forgot this be4 :P)
Title:
Post by: bastya_elvtars on 07 February, 2005, 11:02:22
The source code is available for the meantime, however only translators/scripters should be interested, regular (regular=the nicest in the world  :D ) lawmaker users should be satisfied with the compiled version - ask in email please.
Title:
Post by: bastya_elvtars on 27 February, 2005, 23:29:22
OK, guys, i see public px test versions are available for new ptokax. It's a pity i could not rewrite lawmaker for lua5, but i need to hurry now it seems. Sorry for this inconvenience.