PtokaX forum

Archive => Archived 5.0 boards => Finished Scripts => Topic started by: kepp on 01 April, 2005, 20:22:27

Title: ? Guarding ?
Post by: kepp on 01 April, 2005, 20:22:27
NEW SCRIPT AVAILABLE ( Guarding )

   Commands :

   +vote      -   Let users vote out other users ( protected )
   +ban      -   Ban a user
   +timeban   -   Ban a user for a specific amount of time
   +topchat   -   Shows the 10 top most active in main
   +topkickers   -   Shows the 10 top most active on the kick button
   +addtopic   -   Adds a topic
   +deltopic   -   Deletes a topic
   +startcycle   -   Starts the topic cycle ( topic is shifting automatically )
   +stopcycle   -   Stops the topic cycle
   +addrequest   -   Adds  request
   +delrequest   -   Deletes a request
   +links      -   Shows the hub links
   +addlink   -   Adds a link
   +addlinktable   -   Adds a link category
   +warn      -   Warns a user x times then ban
   +kennylize   -   User speaks as kenny in Southpark
   +mute      -   Mute a user, user is not allowed to speak in main
   +passwordlist   -   Gets a list of passwords of all registered users
   +mypass      -   Shows your password
   +addbadshare   -   Adds a fakeshare
   +showbadshares   -   Show all fake-shares
   +myinfo      -   Shows some information about yourself
   +getinfo   -   Get info by online name or offline
   +showwarns   -   Show all warnings
   +showkicks   -   Show all kicks
   +addtmpop   -   Adds a temporarily OP
   +reloadsettings   -   Use instead of restartscripts when changing settings
   +searchuserdb   -   Search the offline user database table for name
   +kick      -   Kick a user
   +mass      -   Send a mass message to everyone

   This + plenty more useful / unuseful commands
   which is up to you to decide ;)

   Some "highlights" of Guarding

   1. As configurable as possible
   2. Inteligent Fake-share check, Auto adding of them
   3. Download blocker
   4. Run as chat hub only
   5. Enable / Disable commands for each profile
   6. Anti-Advertise
   7. Extend the offline user database with users country
      Not sure bout functionality
   8. Allow / Disallow clients
   9. Minshare, Maxshare, Minslots, Maxslots, Maxhubs
      Set diferent values for each profile
   10. Dynamic share, automatically raise share according to user amount

   and bla bla bla....
   The only way you see what it actually is, is by checking it out
   and please if found, report bugs / Spelling missatkes in this Thread


* Edit : Redownload if downloaded, fixed gui error on startup
Title:
Post by: Herodes on 02 April, 2005, 01:14:04
good features it seeesss.. but it hates installers, it _hates_ installers!! It want's its precious archivess, its preciouss....
Title: New update
Post by: kepp on 02 April, 2005, 13:02:51
Yup, i hate them too, but for simplicity i have one, Besides, my signature now has a rar file if you find it easier to unpack the content

New version btw, some small critical fixes

-------------------
Guarding V: 0.1.5 B
-------------------
*   Fixed so it actually does disable the user database if set to disable it
*   Badwords filtering pm was left out, added back
*   Same goes for Anti Advertise on PM Check
*   Hopefully fixed error using +getinfo and retrieveing offline users, Thanks voy
*   Script now includes GeoIP, BUT, must be extended from within GUI
Title:
Post by: ruudie on 02 April, 2005, 13:23:54
i get this
You are not authorized to view this page
when i want to download the rar file
Title:
Post by: Herodes on 02 April, 2005, 13:35:11
QuoteOriginally posted by ruudie
i get this
You are not authorized to view this page
when i want to download the rar file
confirmed ... thx for releasing as archive too kepp ;)
Title:
Post by: kepp on 02 April, 2005, 13:46:14
Ruudie, Sorry, forgot toset permission of the rar archive
Title:
Post by: bastya_elvtars on 02 April, 2005, 15:20:56
You probably want to upload the script to the archive.  8)
Title:
Post by: ruudie on 02 April, 2005, 18:34:47
thx kepp

looks pretty good, i will test it, maybe i'm going to use it for my hubs.
Title:
Post by: kepp on 02 April, 2005, 21:16:56
I appreciate it ruudie, come with sugegstions bugreports if any :)
Title:
Post by: zinden on 03 April, 2005, 10:13:18
need some info:

["Downloadblocker"] = {
["Enabled"] = 1;
["Prevent"] = {[0] = {[0] = 1, [1] = 1, [2] = 1, [3] = 1, [-1] = 1},
[1] = {[0] = 1, [1] = 1, [2] = 1, [3] = 1, [-1] = 1},
[2] = {[0] = 1, [1] = 1, [2] = 1, [3] = 1, [-1] = 1},
[3] = {[0] = 1, [1] = 1, [2] = 1, [3] = 1, [-1] = 1},
[-1] = {[0] = 0, [1] = 0, [2] = 1, [3] = 1, [-1] = 1}
},
["Message"] = "You are not athourized to download from any [PROFILENAME]!",
},


how is that setup?
i want to have it that you need to be reg to download from anyone......and guest cant download at all....

Edit: Nevermind, better to use the Guarding.exe to set up the script instead, so this is solved now  LOL
Title:
Post by: zinden on 03 April, 2005, 10:57:27
How to clear the Topkicker log?
I looked as hard as i can.....cant seem to find where to clear the topkicker log...........


found it:
i opened Hubstat.tbl   and looked there...and under "8" i found the topkickers stats....so cleared it...
Title:
Post by: kepp on 03 April, 2005, 11:44:50
QuoteOriginally posted by zinden
need some info:

["Downloadblocker"] = {
["Enabled"] = 1;
["Prevent"] = {[0] = {[0] = 1, [1] = 1, [2] = 1, [3] = 1, [-1] = 1},
[1] = {[0] = 1, [1] = 1, [2] = 1, [3] = 1, [-1] = 1},
[2] = {[0] = 1, [1] = 1, [2] = 1, [3] = 1, [-1] = 1},
[3] = {[0] = 1, [1] = 1, [2] = 1, [3] = 1, [-1] = 1},
[-1] = {[0] = 0, [1] = 0, [2] = 1, [3] = 1, [-1] = 1}
},
["Message"] = "You are not athourized to download from any [PROFILENAME]!",
},


how is that setup?
i want to have it that you need to be reg to download from anyone......and guest cant download at all....

Edit: Nevermind, better to use the Guarding.exe to set up the script instead, so this is solved now  LOL

Yea, The gui for the purpose of easier editing :)
It's not finished and yet has alot of things to be done

QuoteOriginally posted by zinden
How to clear the Topkicker log?
I looked as hard as i can.....cant seem to find where to clear the topkicker log...........


found it:
i opened Hubstat.tbl and looked there...and under "8" i found the topkickers stats....so cleared it...

You are right, i am missing a command to clear the topkickers and topchat, thanks
Title:
Post by: zinden on 03 April, 2005, 18:58:29
well i looked really hard this time :)
Seems i cant find a Register command like:
!register nickname password
Only !regme and a delete registered users.....
seems i cant find how to add a operator or a master either...

can it be added because i dont want to mix up inbuilt commands with script commands.....

Edit: or add vips   :)
Title:
Post by: kepp on 03 April, 2005, 20:14:53
Yup, thank you and will be added :)
Title:
Post by: zinden on 03 April, 2005, 21:57:05
is there any way to easy change from using prefix + to instead use ! as prefix?

i would rather have "!" as prefix.......
Title:
Post by: kepp on 05 April, 2005, 21:18:46
-------------------
Guarding V: 0.1.6 B
-------------------
*   Screw the client "check fake-share", guarding does it all, thanks RatcomTyphoon for telling!
*   Release system rewritten from scratch, "Sort of" as FreshStuff
   Commands removed are +addrelease, +delrelease, +showreleases
   Commands added are +addalbumtype, +delalbumtype, +showalbumtypes, +addalbum
   +delalbum, +albums
*   Rewrote the mass rotuine, more robust with less code, Now able to send mass message to
   proifle desired :)
*   +cleartopkickers Command added, clears all top-kickers, request by Zinden, Added
   +cleartopchat command aswell
*   +register command, Request by Zinden, thanks, Was missing :) ( Hope it works OK )
*   Added option to choose which prefix to use, Request by Zinden :-O


If you have allready made all settings its a pain to
remake them, therefore, if downloaded, copy your old Settings.ini to the path were the exe is located.
Same goes for the settings files you have set up.
Etc: Hubstats.tbl, Fakreshare.tbl and so forth
Make sure to put the old files in correct paths, otherwise you may end up with errors!
Nuff said, I will try to come up with a nice solution to this problem :)

Have fun and report bugs, post requests :)
Regards Kepp
Title: NEW UPDATE
Post by: kepp on 09 April, 2005, 20:42:12
-------------------
Guarding V: 0.1.7 B
-------------------
* Fixed the kick command to work with the client side kick aswell
* sendad command now takes an argument, main / pm
* Added some more comments to GUI
* Added the advanced bad file search by NL, options to check each profile
disable, enable and so forth, 3 more commands, add, del, show
* Fixed something i missed upon adding configurable prefix, Context menu were still using '+'
* Intergrated total hubtime in user database + command to show ones session time
* getinfo command now fixed so it clears the user database from memory
* Added commands to follow fails instead of taking it granted ( Prevents messy main for all )
plus less bandwitdh, Idea from Sentinel by Ratcom_Typhoon
* Should now be pretty safe to keep the old Settings.ini and some old Settings files
so no re-entering is needed

Fixed alot, please report bugs / feature requests..
Comments ( Good or Bad )

Maybe you noticed a new thread at "Finsihed Script" section, That was the same as this reply just pressed wrong button, and i don't know hoto delete, sorry!! i feel so stupid..
anyway..
Enjoy
Title:
Post by: BeeR on 10 April, 2005, 02:58:02
Hi

did try your bot Guarding V: 0.1.7 (Winrar)  but ,,
after several chrashes in Giu i gave up
otherwise its looks nice so -

keep up the good work :]
Title:
Post by: Typhoon on 10 April, 2005, 09:33:57
QuoteOriginally posted by BeeR
Hi

did try your bot Guarding V: 0.1.7 (Winrar)  but ,,
after several chrashes in Giu i gave up
otherwise its looks nice so -

keep up the good work :]

so please post the crash reports , found in GUIHelper/errorlog.txt
so the bugs can be fixed..

Typhoon?
Title:
Post by: kepp on 10 April, 2005, 09:52:38
QuoteOriginally posted by Typhoon?
QuoteOriginally posted by BeeR
Hi

did try your bot Guarding V: 0.1.7 (Winrar)  but ,,
after several chrashes in Giu i gave up
otherwise its looks nice so -

keep up the good work :]

so please post the crash reports , found in GUIHelper/errorlog.txt
so the bugs can be fixed..

Typhoon?

Yup, It's the errors i want, this last version contains an extra log file just for errors if they occur, that way i can minimze them or remove them, I've had several reports of gui errors since last night, but i had no idea were they came from, that's why i suggest sending an the error log or perhaps tell atleast what happended
and where it happened and what did you do at the time it happened :)
Makes it lot easier for me, That's why i still keep it Beta btw :)
Title:
Post by: BeeR on 10 April, 2005, 23:39:46
Hi

i did a new test today and it crashed again and no errors in the logfile ,,
it seems to crash when i do a forbidden save (missed some values before saving)
but there are another thing that gives me headache :]
when i configured GUI and saved it ,, start the hub ,, and return to GUI -
its not the same configuration in GUI that i saved before ,,
i did look in Settings.ini and the other files it shows another config from what i saved before and
its impossible to deaktivate checks on VIP's
Title:
Post by: kepp on 11 April, 2005, 17:37:42
Thank you beer, now you pointed me to a direction
Saving settings and values aren't saved etc!
Makes it a lot easier to fix and will be fixed before friday!
No requests will be added at all, only error fixing stuff + some beta tests at some friends hubs then i'll hopefully be finsihed with a none beta version this friday!
Regards kepp
Title:
Post by: zinden on 12 April, 2005, 18:03:32
Syntax G:\Ptokax Xbox\scripts\Guarding.lua:1306: bad argument #1 to `find' (string expected, got nil)

My first bug report  :)

and under GUIhelper i found this:

[20:15:1]:   ( CheckUpdates )   -   An exception occurred during a WebClient request.

[20:25:58]:   ( CheckUpdates )   -   An exception occurred during a WebClient request.

[10:1:18]:   ( CheckUpdates )   -   Ett undantag intr?ffade under en WebClient-beg?ran.
Title: @@@@
Post by: juda on 12 April, 2005, 22:02:24
*
 Hay!!!Very good m8!!!I like it...I try all big scripts,but this is what I want....Great !
 Here is some my errors that I find...
__________________________________________________________________________________________________________________

--- GUI ERRORS ---


 - GENERAL CHECKS - Checking profile on/off and than save....work ok
                    Enable profile check on/off don`t work after save...can`t check off any profile check

 
 - BAD SHARE - When I want to add or delite bad share number and save.....GUI chrash (close)

               !!! IF ADD OR REMOVE BAD SHARE TRUE THE RIGHT CLICK COMMAND ,WORK GOOD !!!


 - ANTI ADVERTISE - If commands and settings set true the hub work ok,
                    but when seting true GUI,delite all addresses and leave just OK address(myftp.)
                    Can`t change this in GUI....

                        !!! IF ADD OR REMOVE ADDRESS TRUE THE RIGHT CLICK COMMAND ,WORK GOOD !!!
                    If add or delite OK address and BAD address work good,only whan I use command   !showbadadv
                     don`t want to show list of bad advertise address...


 - CLIENTS - Don`t save changes in GUI...


__________________________________________________________________________________________________________________

--- RIGHT CLICK ERRORS ---in file  CommandLevels.tbl


_________________________________________________________________________________________
   ["register"] = {
      [1] = 1,
      [2] = 1,
      [3] = 1,
      [-1] = 1,
      ["Help"] = "      -   Register a user with given profile & password",
      ["Args"] = " ",
      
  • = 1,
  • ["UserCommand"] = "$UserCommand 1 3 Guarding\\Others\\Mass$<%[mynick]> +massall %[line:Mode (pm / main)] %[line:Message]||",

    ERROR-wrong ["UserCommand"]
    _________________________________________________________________________________________
       ["addlink"] = {
          [1] = 1,
          [2] = 1,
          [3] = 1,
          [-1] = 1,
          ["Help"] = "      -   Add a link to specified table",
          ["Args"] = "[] []",
          
  • = 1,
  • ["UserCommand"] = "$UserCommand 1 3 Guarding\\Add Commands\\Add link$<%[mynick]> +addlink %[line:Link]||",

    ERROR- forget to add  %[line:Table name] in the end....
    _________________________________________________________________________________________

    --- OTHER ERRORS ---

     +cleartopkickers ...................Command clears all top-kickers ok,but when I look +topkickers dont`t work anymore...(not show nothing and delite all top kickers)

     +cleartopchat ......................The same error as in top-kickers....
    Title:
    Post by: kepp on 13 April, 2005, 07:34:14
    Thanks alot, you will receive an update as soon as posible, fixing pretty much everything at the moment, better error handling in case of errors, wrong inputs etc
    And thanks juda for the post, that makes it also easier to debug it :)
    Title:
    Post by: zinden on 13 April, 2005, 20:39:42
    Hello, i just wondered why you changed mass message?

    this is how it used to be:

    [20:38] <-Guarding->
    MASS MESSAGE FROM Zinden

    This is a testing message



    This is how it looks like now:

    [20:38] <-Guarding-> This is a testing message


    it was alot better in older version    ;)
    Title:
    Post by: kepp on 13 April, 2005, 22:41:09
    Yup, sorry about that, rewrote it to handle multi mass, old style will come back next version :)
    And im pretty sure next version will be released tomorow, Alot of fixing :P
    Title: AS PROMISSED
    Post by: kepp on 15 April, 2005, 13:57:17
    ------------------------------------
    Guarding V: 0.1.8 EFB (Error Fixing)
    ------------------------------------
    * Fixed more descripted follow messages
    * Fixed the topic change adding endpipe at the end
    * Changed the global tMode table to a local, taking action is faster than before
    * Fixed, help generated menu still containing '+' as prefix even though '!' is selected
    * Fixed so most of the custom function now are accessible via Guarding 'class'
    * Fixed follow command showing command in main
    * Fixed commands syntax prompt still shwoing '+' no matter if prefix was '!'
    * Fixed delbadsearch command, parsing of two arguments which is not needed, caused error too
    * Changed the way the myinfo command sends data, goes in main instead of pm, less outgoing data
    * Fixed so Denied & OK Advertising tables aren't saved unless needed
    * Fixed so Badwords table is not saved unless needed
    * fixed delalbumtype, was spelled wrong and therefore din't work
    * fixed delbadword, same as above, misspelled and cause error if use
    * Easier to maintain CommandLevels if edit manual
    * fixed some gui setings, only allows numbers at some certain places etc to prevent errors
    * Bad share section in GUI crashed when hitting Save, misspelled table cause, thanks Juda for report
    * General Checks section in GUI enabled, assigned instead of saving values to table,  Thanks Juda for report
    * Anti Advertise section in GUI saved OKHubs as the Denied table, thereby a conflict and errors, Thanks Juda
    * Client settings weren't saved at all, Thanks Juda for report!
    * Error GUI Class now changed a little to display a little more appropriated date in case of errors
    * Windows ar no shifted in GUI with a different control, Will later draw it myself but for now it works OK
    Reason due to change was because it hide a small portion of each window being maximized
    * Fixed an issue in dynamic share routine, Hawk mentioned it, thanks :D
    * Fixed problem user getting banned for fakesharing when sharing nothing at all
    * Thanks juda for some reports on Right Click Error
    * Topchat / topkickers command were failed to execute if both we cleared due to not re-creating table
    * added color configurable GUI, Choose your own custom style for the GUI ;)
    * Fixed a string.find error deleting a user record from database, LastIN property for the julian date
    to work was removed some time ago
    * Custom textfiles are now loaded up into cont menu aswell

    Big update and still Beta, GUI has been improved on errors and saving and some other candy :)
    Right click on gui and configure the gui colors yourself!
    Like said, big update, clean install, have fun, report bugs, requests, post comments, let me keep it going :)

    BTW, please tell me if link is working, having dificulties setting up a new rule

    *EDIT*
    My server will be down from 3:00 PM GMT+1 -> 5:00 PM GMT+1 due to moving around of furnitures
    Title:
    Post by: Madman on 15 April, 2005, 15:03:15
    found a typo.... ;)

    line 435
    OpDisconnected = UserDiconnected
    should be
    OpDisconnected = UserDisconnected
    Title:
    Post by: kepp on 15 April, 2005, 15:09:02
    Danke, will be fixed
    Title: *** Link doesn't work
    Post by: NightLitch on 15 April, 2005, 15:29:46
    Fix your server kepp...

    I can't download your the latest release... I need to have a peek at your work mate   :D

    Looking good btw.

    Guess I need to give out Thor soon to give some competition hehe...  8)

    but fix the link now...

    // NL
    Title:
    Post by: LiqUiD~TrolL on 15 April, 2005, 15:40:51
    hi all you guys =)


    kepp the link is dead plz fix it bro
    Title:
    Post by: Madman on 15 April, 2005, 16:10:26
    QuoteOriginally posted by kepp
    My server will be down from 3:00 PM GMT+1 -> 5:00 PM GMT+1 due to moving around of furnitures

    so for another hour it will be dead...
    Title:
    Post by: kepp on 15 April, 2005, 17:48:22
    It's back up and link shall be ready for clicks
    Title:
    Post by: BeeR on 16 April, 2005, 01:59:11
    Gui still crash (( frmCommandLevels:LoadCommands ) - [string "chunk"]:1: attempt to call a nil value)

    and when i click on detailbutton it shows this text:

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.Exception: [string "chunk"]:1: attempt to index global `CmdLvls' (a nil value)
       at LuaInterface.Lua.DoString(String chunk)
       at Guarding.frmComandLevels.lstProfiles_SelectedIndexChanged(Object sender, EventArgs e)
       at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
       at System.Windows.Forms.ListBox.set_SelectedIndex(Int32 value)
       at Guarding.frmComandLevels.frmComandLevels_Load(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.2300
        CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
    ----------------------------------------
    Guarding
        Assembly Version: 0.0.1.0
        Win32 Version: 0.0.1.0
        CodeBase: file:///C:/Testhub/scripts/Guarding.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.2300
        CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
    ----------------------------------------
    System
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.2300
        CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.2300
        CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just in time (JIT) debugging, the config file for this
    application or machine (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:


       


    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the machine
    rather than being handled by this dialog.
    Title:
    Post by: kepp on 16 April, 2005, 09:04:10
    I don't know what you have been doing before you get it!
    According to the error CmdLvls dosen't exists
    if you open CommandLevels.tbl, then look for CmdLvls = {
    at the very top, is it the same name?

    I have no problems here with Command levels
    Title:
    Post by: zinden on 16 April, 2005, 15:51:53
    No syntax errors in script file Guarding.lua
    Syntax Guarding/Commands.tbl:2014: attempt to compare number with string
    Syntax G:\Ptokax\scripts\Guarding.lua:443: bad argument #1 to `sub' (string expected, got nil)
    Syntax Guarding/Commands.tbl:2014: attempt to compare number with string


    I know +regme password is broken, i think its that one that causes my errors....

    well keep up the good work  :)
    and....can you fix so Zion++ can enter the hub too?
    That client cant enter even if you are a operator.
    Title:
    Post by: kepp on 16 April, 2005, 16:21:19
    Yup, thank you, i will fix that, Zion++, i've ever heard about it, i'll take a look at it and see :)
    Title: Hay from me again !!!
    Post by: juda on 16 April, 2005, 17:57:41
    Ye!!!Good work...Found another error...
    Other things work for me good..I tested almost all...and I tell you this is the ultimate script for me...I just wait for +regme fix and than I will put it on my hub !!! By from Slovenija

    *
    _____________________________________________________________________________________________________________________          
    --- GUI ERRORS ---

      -GENERAL- Error on the (SAVE) OP;VIP & REG Chat...If I made any change on chat,don`t save the changes...
                 All other settings can be change and save ok...

      -ANTI ADVERTISE- Now change and (SAVE) work ok...just when I open this settings again,all addresses are delited...
                        On the list just stay -  BAD-kick-ass.com    OK-music-heaven.servemp3.com

    _____________________________________________________________________________________________________________________          

    --- RIGHT CLICK ---

      Please another check for this right click commands:

      - restarthub
      - unhideme
      - sendad  
    _____________________________________________________________________________________________________________________          

    --- OTHER ERRORS ---


      !regme xxxx   - command don`t work !!!
                      I get this Syntax error:  Syntax Guarding/Commands.tbl:2014: attempt to compare number with string


      !showbadadv   - command don`t work and don`t get any Syntax error...

    _____________________________________________________________________________________________________________________
    Title:
    Post by: zinden on 16 April, 2005, 17:59:04
    http://virus27.free.fr/

    There is the client.....no fake or anything like that.
    More like a Operator client. Well it is a operator client like idc++
    Title: NEW UPDATE
    Post by: kepp on 16 April, 2005, 20:19:04
    -----------------
    Guarding V: 0.1.9
    -----------------
    * Added the speed Modem to the list of speeds
    * Added the client Zion++ to the list of clients
    * Fixed chat error reported by Zinden, Thanks
    * Fixed some small things in user level table, thanks Juda for report
    * Fixed +showbadadv, thanks Juda for report, forgot to remove prefix before change 4-5 versions back
    * Fixed regme error caused by gui saving Minimum pass value as string
    * Fixed Anti Advertise in gui setting lua table to nil, therefore only last address was saved

    Enyoy, Report Bugs / Errors  :D
    ***
    Buttons styles in gui will be implented later
    Title:
    Post by: zinden on 18 April, 2005, 15:02:21
    I got a error bug, but i have no idea how the error appeared:

    Syntax G:\Ptokax\scripts\Guarding.lua:462: attempt to concatenate global `Prefix' (a nil value)
    Title:
    Post by: kepp on 18 April, 2005, 17:19:38
    Thank you, will be fixed in 0.2 release
    Title:
    Post by: zinden on 19 April, 2005, 19:16:38
    About using Zion++ we get this:
    - [19:14:10] <-Guarding-> You are being disconnected due to unknown speed setting!

    and about topkickers...how does it work?
    i kicked 8 ppl and it saved to file after 5 kicks (that i config)
    but im not in topkickers list.......
    and best one has 3 kicks.......
    i used +kick command, not inbuilt kick.

    Topkickers = kicked users?
    Well would be much nicer to see which op that kicks most instead  :P
    Title:
    Post by: kepp on 20 April, 2005, 19:50:33
    Zinden, i'll take a closer look into the Zion++ speed settings
    It should work with other speeds though

    About the topkicker, i haven't noticed any problems
    It logs the amount you as an operator kick, no the amount of users kicks...
    I'll take a closer look at that too, may be some bug!
    It dosen't matter which kick command you use, inbuilt or
    the script one, it logs them both!

    Thanks so far, really appreciate it :D
    Title: NEW UPDATE
    Post by: kepp on 20 April, 2005, 20:42:43
    ---------------
    Guarding V: 0.2
    ---------------
    * Fixed prefix error reported by Zinden when using the inbuilt client kick command
    * Fixed topkicker logging reported by Zinden, Indeed it logged some users BEING kicked
    * Took another close look at topkicker logging and noticed in some cases was added twice
    * Operator disconnection routine now works due to misspell, thanks ( PLEASE REMIND ME OF WHO REPORTED IT )
    * Forgot to add "Wireless" connection, Zion++ failed to login if it was used, Thanks Zinden for report

    New update, just some fixes in script

    You can replace most files with your old ones ( One version back ), except for Settings.ini, Guarding.lua, Commands.tbl

    Have fun, you know the drill about bugs and... yea
    Enjoy
    Title:
    Post by: zinden on 20 April, 2005, 21:54:42
    before release 0.20 the topkickers only registered if you kicked with inbuilt kick, And if you kicked them by that, they didnt get kicked....only message appeared in mainchat and the user was still in the hub.

    and if you kicked with +kick from script they got kicked, but it didnt registered in topkickers..........
    Title:
    Post by: kepp on 20 April, 2005, 23:00:09
    QuoteOriginally posted by zinden
    before release 0.20 the topkickers only registered if you kicked with inbuilt kick, And if you kicked them by that, they didnt get kicked....only message appeared in mainchat and the user was still in the hub.

    and if you kicked with +kick from script they got kicked, but it didnt registered in topkickers..........

    The reason of why it didn't kick when using the inbuilt was as
    stated in changelog an error attempting to find a prefix which didn't exist, that is fixed :)
    topkickers should work just OK now aswell as saving of them
    Please report more about it if you find something weird about it
    Title:
    Post by: zinden on 22 April, 2005, 08:18:31
    take a peak in rightclick and under "others" then mass.
    it want me to write profilename then Register name.....
    must be a typo there  8)

    Request: add a command like "+upgrade user op"
    upgrading a registered user, or a vip to operator status.
    Title:
    Post by: zinden on 22 April, 2005, 09:49:35
    ok, seems like Zion++ cant get in  ;(
    - [09:34:54] *** Connected
    - [09:34:57] <-Guarding-> This hub is running PtokaX DC Hub 0.3.3.0 build 16.09 (UpTime: 0 days, 13 hours, 55 minutes)
    - [09:34:58] <-Guarding-> You are being disconnected due to unknown speed setting!
    - [09:34:58] *** Disconnected

    Well i did some resource and find out that he is using netlimiter from: http://www.netlimiter.com
    and when he uses Zion++ and netlimiter it instead of having DSL, Cable, T1, T3 or something in connection speed it haves instead:  NetLimiter [25 kB/s]
    or any ** kB/s  Thats why he cant enter.....
    Can you make it so ppl can enter anyway if they use Netlimiter? or a option to let them thru or not?
    and maybe config if only vip and above can enter with it?


    And he tried to remove the netlimiter and enter hub, but he gets disconnected everytime he tries to enter with Zion++
     Thats the tag.....


    [09:54:14] *** Connecting to *******...
    - [09:54:18] *** Connected
    - [09:54:22] <-Guarding-> This hub is running PtokaX DC Hub 0.3.3.0 build 16.09 (UpTime: 0 days, 14 hours, 14 minutes)
    - [09:54:24] *** Stored password sent...
    - [09:54:40] <-Guarding-> # Type +help in main to get available commands for you!

    - [09:54:43] *** Disconnected

    so something is weird.....
    Title:
    Post by: zinden on 22 April, 2005, 10:18:09
    damn, i even get disconnected without any script at all with Zion++.
    so i dont know how to make that client to enter hub, when i dont even get why i cant enter  :(
    Title:
    Post by: kepp on 22 April, 2005, 10:34:04
    Zinden, i've reported this bug to PPK, for some reason when running the hub some clients, not all get disconnected for no reason.
    At first when i noticed i debuged Guarding, nothing was found
    Then i thought, hey, maybe it's another script, so i removed my own bot and ran another script, Still got disconnected, then i removed all, and still same thing!
    Im just saying i have experinced it before, and a hub restart helps, although it sucks :(

    you know, You can disable the modem check to let him in
    and i will add so it can be done so by profile :)

    About your request of upgrade, +register OP OldReggedUser Password : does the same
    Title: NEW UPDATE
    Post by: kepp on 22 April, 2005, 15:56:28
    -----------------
    Guarding V: 0.2.1
    -----------------
    * Added profile check to Modems
    * Register was the "Mass" command in Others section of right click, thanks Zinden for report
    * Clients can now be added / deleted from withing gui ;)
    * Topics can now also be added / deleted from within gui
    * When there are new updates available you will be able to download and get info about it from GUI

    Small update :)
    Zinden, Zion++ can enter at mine now, and if using a netlimiter that chnages the speed of the client
    you can now disable the modem check for each profile

    Added a Check Updates menu too.
    If clicked upon it will check for new updates and if there are new one it will be dispalyed with info :)
    Enyoy :D
    Title: request
    Post by: kbeh273300 on 23 April, 2005, 20:41:46
    nice work kepp :)

    i saw that it only disconnects for checks like minshare , is it posable you could add options to redirect on checks ?
    Title:
    Post by: BeeR on 24 April, 2005, 01:46:27
    QuoteOriginally posted by kbeh273300
    nice work kepp :)

    i saw that it only disconnects for checks like minshare , is it posable you could add options to redirect on checks ?

    yes plz ,, rd on all checks (hubs/slots/share/clients)

    and add minversion on clients and a stringban
    (nick.tag and descriptioncheck) also with an option to rd

    a bot to send random textfiles in main with timevalue
    and a netfounderprofile is nice 2

    Best regards :]
    Title:
    Post by: kepp on 24 April, 2005, 10:27:27
    Sure will add options to redirect, ban or whatever people wants :)

    Min version for clients will be added aswell, thanks :)
    The random textfiles can be modified easily to use the current routine by grabbing textfiles randomly in "txt" folder
    And sure will support it :)

    I was thinking about supporting any profile when i first started Guarding, i never got it to work then!
    However, i am still thinking of a good way to support
    any profile for Guarding..
    but for now i'll consider the netfounder profile to be added
    Title:
    Post by: BeeR on 24 April, 2005, 12:29:16
    QuoteOriginally posted by kepp
    Sure will add options to redirect, ban or whatever people wants :)

    Min version for clients will be added aswell, thanks :)
    The random textfiles can be modified easily to use the current routine by grabbing textfiles randomly in "txt" folder
    And sure will support it :)

    I was thinking about supporting any profile when i first started Guarding, i never got it to work then!
    However, i am still thinking of a good way to support
    any profile for Guarding..
    but for now i'll consider the netfounder profile to be added

    nice nice :]
    i forgott to add rd on passive and socket connection
    rd on all checks (hubs/slots/share/clients/clientversions/passive-socks)
    rightclick on all hubsettings/command??
    (i havent seen any rightclick - if there is any)
    Title:
    Post by: kepp on 24 April, 2005, 16:53:31
    BeeR, you need to activate it in GUI
    i think it's under Advanced, "Send User Context Menu" or similiar.. ;)
    Title:
    Post by: zinden on 25 April, 2005, 12:33:31
    a bug report:
    when using http://czdcplusplus.no-ip.org  CZDC++ 0.666
    and you want to kick in search window to get the file path and filename, but that doesnt add to topkickers file.
    and its inbuilt "kick with filename(s)" from CZDC++

    I made a own search kick inside the file CommandLevels.tbl instead  :))
    Title:
    Post by: kepp on 25 April, 2005, 21:19:11
    QuoteOriginally posted by zinden
    a bug report:
    when using http://czdcplusplus.no-ip.org  CZDC++ 0.666
    and you want to kick in search window to get the file path and filename, but that doesnt add to topkickers file.
    and its inbuilt "kick with filename(s)" from CZDC++

    I made a own search kick inside the file CommandLevels.tbl instead  :))

    Unfortunately your adding will not do much at all :)
    However, thanks alot for report, i will check that feature of CZDC++ and see why it dosen't trigger.

    An update is planned at friday, and as i allways *cough* keep my promisses you can expect to get latest from the GUI itself :D  ( unless there ain't bugs in that routin too ) lol

    Anyway, have alot to fix, So enjoy and thank you all for keeping me informed of bugs and REALLY I DO appreciate that you can bare with them :)
    Title:
    Post by: zinden on 26 April, 2005, 13:36:09
    QuoteUnfortunately your adding will not do much at all
    ["kickinc"] = {
    [1] = 1,
    [2] = 0,
    [3] = 0,
    [-1] = 0,
    ["Help"] = " - Kick a user for 2880 Minute(s)",
    ["Args"] = "[] ",
    [0] = 1,
    ["UserCommand"] = "$UserCommand 1 4 Guarding\\Selected file\\Kick for incomplete files$<%[mynick]> [PREFIX]kick %[nick] Do not share any incomplete files at all.   File: %[file]||",
    },



    Well thats how i made a own command inside "CommandLevels.tbl"

    and it works to kick with it, and it adds to topkickers too. And no errors about making the command in a wrong way...
    Title:
    Post by: EMIN3M on 28 April, 2005, 17:01:48
    HI, i got this error

    Syntax ...\Desktop\EMIN3M WORLD\scripts\Guarding.lua:1424: bad argument #1 to `lower' (string expected, got nil)


    Great script btw keep up the good work :)
    Title:
    Post by: kepp on 28 April, 2005, 22:31:55
    Thanks Emin3m, that will be fixed too :)
    Title:
    Post by: kepp on 29 April, 2005, 22:43:23
    By tomorow morning Guarding is being updated..
    it was promissed today but a big change changed that :P
    one of them is that Guarding no longer will be updated with an extra profile....

    If you need 1,2,3,4,5 or maybe 20 diferent profiles Guarding and the GUI will support it, and settings can be configured for each :-O
    Title: NEW UPDATE AVAILABLE
    Post by: kepp on 30 April, 2005, 13:33:07
    -------------------
    Guarding V: 0.2.2 B
    -------------------
    * Fixed some misspleing in script, string 'date' ended up 'os.date' in some cases
    * Warnings are now counted for each warn delivered
    * Added more options to Client check, Dynamic Check, Passive Check, Max Slots Check,
    Max Hubs Check, Min Share Check, Min Slots Check, Max Share Check and Bad Search Check..
    Options such as wether to ban / redirect / timeban and disconnect ;)
    * Added minimum client version check and maximum client version check, very powerfull
    with ability to disable for each client added + several kick methods of user :)
    * Added timed randomed textbot requested by BeeR + my own idea of only sending file content to specified
    profiles ;)
    * Changed output headers, looks nicer now, mostly for show commands
    * Fixed error in Anti-Advertise check in PM, thanks voy and Emin3m for report
    * Added support for ANY profile, Guarding can now allow you to create a new profile
    whatever you like, all you need todo is tell Guarding of the new profile and guarding
    changes its core by itself, 2 commands, +addnewprofile , +delprofile
    due to these changes Guarding is back to BETA but soon out of it again i hope :D

    You know the drill bout bugs and requests and stuff :)
    Enjoy
    Title: error
    Post by: EMIN3M on 01 May, 2005, 10:30:45
    HI, i got a error with the GUI, when i hit the save botton on the advance tab the GUI closes.


    [01 May 2005 08:20:20]:   ( frmDownloadBlocker:btnSave_Click )   -   Key cannot be null.
    Parameter name: key


    Apart from that the GUI works good :)
    Title: Request
    Post by: EMIN3M on 01 May, 2005, 10:44:06
    Request to add a command to change the redirect addys on max hub, max slots ect....

    Cheerz :)
    Title:
    Post by: kepp on 01 May, 2005, 22:00:52
    Thanks, will be fixed + adding of diferent redirect addresses for diferent settings, requested by voy :)
    Title:
    Post by: BeeR on 02 May, 2005, 07:20:01
    request some more stuff !!

    socket 5 connection (disconnect/redir)
    stringban (disconnect/redir)
    rightclick (profiles on/off in command levels)

    MVH :]
    Title:
    Post by: kepp on 02 May, 2005, 17:23:52
    QuoteOriginally posted by BeeR
    request some more stuff !!

    socket 5 connection (disconnect/redir)
    stringban (disconnect/redir)
    rightclick (profiles on/off in command levels)

    MVH :]

    Socket5 connections + more will be added aswell :)
    stringban? Could you explain this BeeR, i know you mentioned it last time :)

    There is rightclick, do you mean you want me to add feature
    so you can disable the rightclick for each profile??
    If so sure will
    Title:
    Post by: BeeR on 02 May, 2005, 20:51:25
    QuoteOriginally posted by kepp
    QuoteOriginally posted by BeeR
    request some more stuff !!

    socket 5 connection (disconnect/redir)
    stringban (disconnect/redir)
    rightclick (profiles on/off in command levels)

    MVH :]

    Socket5 connections + more will be added aswell :)
    stringban? Could you explain this BeeR, i know you mentioned it last time :)

    There is rightclick, do you mean you want me to add feature
    so you can disable the rightclick for each profile??
    If so sure will
    Tjena Kepp
    Yes thats correct - i want to block all profiles (not myself :]) from usin rightclick to save some bandwidth

    Stringban checks users that connects (nick,tag and description)
    If i add a word, LDC++, then new users with LDC++ client is blocked/redirected or
    If i add no-ip, stringban block/redir users who is advertizing in description

    Stringban is a very handy tool to keep your hub free from shit
    A command could look like this - !sban (!sban )
    and sends that reason to the user when connecting

    i hope you understand what i mean now :]
    Best Regards
    Title:
    Post by: kepp on 02 May, 2005, 21:01:26
    QuoteOriginally posted by BeeR
    QuoteOriginally posted by kepp
    QuoteOriginally posted by BeeR
    request some more stuff !!

    socket 5 connection (disconnect/redir)
    stringban (disconnect/redir)
    rightclick (profiles on/off in command levels)

    MVH :]

    Socket5 connections + more will be added aswell :)
    stringban? Could you explain this BeeR, i know you mentioned it last time :)

    There is rightclick, do you mean you want me to add feature
    so you can disable the rightclick for each profile??
    If so sure will
    Tjena Kepp
    Yes thats correct - i want to block all profiles (not myself :]) from usin rightclick to save some bandwidth

    Stringban checks users that connects (nick,tag and description)
    If i add a word, LDC++, then new users with LDC++ client is blocked/redirected or
    If i add no-ip, stringban block/redir users who is advertizing in description

    Stringban is a very handy tool to keep your hub free from shit
    A command could look like this - !sban (!sban )
    and sends that reason to the user when connecting

    i hope you understand what i mean now :]
    Best Regards

    Rightclick blocking for each profile is fixed ;)

    Ah, yup, i understand, the only thing i will not support in it is  the client check as you can allready add your own clients and choose what todo if found, however, the command will be added, and it will check nick, email and description and auto ban users according to your setup

    Thanks :)
    Title:
    Post by: BeeR on 02 May, 2005, 22:03:01
    the only thing i will not support in it is the client check as you can allready add your own clients and choose what todo if found

    well,, i only allow dc++ from 0.401 in my hub
    and want to block versions between 0.401 and 0.674 like
    *0.40325 ,, 0.402 .. 0.4031 and other versions that not exists*
    so stringban on tags is very useful tool
    Title:
    Post by: kepp on 02 May, 2005, 22:10:53
    yup, you do have a point there, would require so much more to code if i were to add aceptions on clients check and it would be slower, tag check it may be too :)
    Title:
    Post by: EMIN3M on 03 May, 2005, 01:23:07
    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1527: bad argument #3 to `gsub' (string or function expected)

    Hi, i got this error and not to sure how i got it :S
    Title: About the GUI
    Post by: Josecar on 03 May, 2005, 15:48:57
    Forgivme for my ignorance (and my english), till the moment I had no find a way of savig the commands levels in the GUI.
    Title:
    Post by: kepp on 03 May, 2005, 17:43:27
    Jose, they are automatically saved when you are done editing and shiftin to new profile,
    therefor for an example, if you edit vip and decide only to edit vip, just choose
    another profile and your VIP settings are saved.
    Im also happy to say that im writing somewhat of a help file
    to get you going with script
    and GUI ;)

    Thanks EMIN3M for error :)
    Title:
    Post by: Josecar on 03 May, 2005, 18:08:45
    Thanks Keep for your fast response. I just have proved that.  And my congratulations for Guarding,
    till now i'ts the best I?ve seen in terms of size-peformance, and is my guess it will take a great share
     of the space of other bots much more spread (and compiled) in no long time.
    Title: ABOUT NOT COMPILED BOTS
    Post by: Josecar on 03 May, 2005, 19:42:33
    And the intrest in not compiled bots,  despite what some people thinks,
     besides learning, off course, is something  that nobody seems to see: Compiled bots
     can?t be TRANSLATED. If the bot is not  compiled, you can translate all messages and
     use it in hubs whose users don't understand  english.
    So long you don't mess with the code,  the bot will do it fine.  So, there is no need
    of programming giant boots multi-language.
    Title:
    Post by: 6Marilyn6Manson6 on 03 May, 2005, 20:07:11
    kepp.. don't compile it.. please :)
    Title:
    Post by: bastya_elvtars on 03 May, 2005, 20:49:54
    QuoteOriginally posted by Josecar222000
    So long you don't mess with the code,  the bot will do it fine.  

    But many do.
    Title:
    Post by: kepp on 03 May, 2005, 22:38:15
    I will never compile any script.
    I MAY recomend some time to compile due to speed.
    But the compilation is then up to each user

    And btw, i appreciate you like it Jose and all others that
    uses it, really keeps my spirit up to keep working on it :D

    Version 0.2.2 is badly written and contains many bugs
    such as Advanced can't be saved, Chatbots wont be configured correctly
    for new profiles and welcome messages still only allows the 4 standard profiles...

    im working on 0.2.3 which is 90% done :)
    you can then set diferent redirect addresses for
    each setting, Welcome message core re-written (More options)

    Enable / Disabling of right click for each profile ( to save bandwidth if wanted )

    + alot more bugfixes and 1-2 commands :D

    I hope you can live with these bugs til i would say Thursday  ;)
    Title:
    Post by: Josecar on 04 May, 2005, 03:08:55
    QuoteOriginally posted by bastya_elvtars
    QuoteOriginally posted by Josecar222000
    So long you don't mess with the code,  the bot will do it fine.  

    But many do.

    Yes, many do it. But not always for bad. An example: in my hub, not only masters an ops can register, vips can do also. But the +register command in Kepp bot allows anybody whth access to that command to register any profile. So, a vip could register a master, an a op too, like te bot is now. Whithout this lines in the correct place, I could not use the bot.

    if ((user.iProfile == 2) or (user.iProfile == 1)) and ((string.lower(v) == "operator") or  (string.lower(v) == "master") or (string.lower(v) == "vip")) then
                            user:SendData(sBot,"Can't register a "..v);
                            return 1;
                        end
    One only person cant preview all. Hope Kepp include some like that, better of course, in his next version, but if not, I am lucky because the bot is not compiled.  Is that kind of thing "mess with the code" ??
    Title:
    Post by: bastya_elvtars on 04 May, 2005, 03:22:34
    You are absolutely right, but this should be done through cvs/svn, I do not know either...

    Anyway, you are not messing with the code, you did well.
    Title:
    Post by: kepp on 04 May, 2005, 06:37:33
    I could fix that with an exception of what profile may register
    who in Command Options
    Title:
    Post by: BuRzO on 04 May, 2005, 17:51:37
    Kepp your bot in

    fantastic fantastic fantastic !!!!!

    Don't compile it :D

    I've only one problem..

    this is the error..

    Guarding.lua:462: attempt to concatenate global `Prefix' (a nil value)

    I'm not a scripter... how I can resolve this problem?

    thx!!!
    Title: NEW VERSION
    Post by: kepp on 04 May, 2005, 21:02:32
    QuoteOriginally posted by BuRzO
    Kepp your bot in

    fantastic fantastic fantastic !!!!!

    Don't compile it :D

    I've only one problem..

    this is the error..

    Guarding.lua:462: attempt to concatenate global `Prefix' (a nil value)

    I'm not a scripter... how I can resolve this problem?

    thx!!!

    I belive it is fixed, if not it will be in next version since lines has changed and there are quite a few places were the error could have occured!

    Anyway, new version available :D

    -----------------
    Guarding V: 0.2.3
    -----------------
    * Fixed error in BotINFO arrival attempting to concatenate a nil value when sending response, Thanks voy for report
    * Added kick / warn logging security, if hub is being restarted kicks / warns are now saved
    * Further preventing of errors in PM section added
    * Fixed error, GUI closing on saving advanced settings, wrong spelled table cause
    * Cleaned up amongst some code in GUI
    * Fixed chatbots in GUI now accepts the new profiles added
    * Fixed Mode in badsearches only contained Timeban, Thanks voy for report
    * Fixed bug not saving Profiles table after unregistering, thanks voy for report
    * Fixed Modems mode missed one mode, ( Redirect )
    * Hopefully fixed error reported by Emin3m
    * Fixed so all buttons and checkboxes changes style depending on OS
    * Welcome messages are now rewritten to work with the all profiles, added option to decide how to send it
    * Added posibility to add different redirect messages for diferent checks, requested by Voy :)
    * Changed routine of sending User Context, can now be configured to turn on / off for each profile, request by BeeR
    * Fixed so Hub-advertise file now can take a few parameters
    * Added a simple help file in Guarding folder, read that if you don't understand a part in GUI, if not there ask at forum
    * Added description ban + 3 commands, showdescrban, adddescrban, deldescrban; Ban user on specified action if found, Requested by BeeR

    Have fun and bugs / errors / comments, post them here!
    Enjoy

    *EDIT*
    I've had some problems with server and dynamic host
    client, should be fine to get it now
    Title:
    Post by: BeeR on 05 May, 2005, 00:47:46
    Hellou kepp

    a small thing ,,
    if i set redirect on unreg and check profile:
    must i write the rdadress or is guarding usin prokax rdadress?
    Title:
    Post by: Josecar on 05 May, 2005, 00:51:11
    I most be the foolest guy in world, sure it is a little thing, but can't make work userDB, not in previous versions, not now.
    People log in, people log out, and nothingh keeps saved in the userDB.
    If anybody can give me any idea, I'll be grateful, have tried all what was at my reach.
    userDB is enabled, etc.
    Title:
    Post by: EMIN3M on 05 May, 2005, 01:04:38
    Hi, 1st a dumb question, what files do i need to replace to update the script so it will keep all the same settings?
     
    +

    Request to add a command to change the redirect addys on all checks?

    +

    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:421: attempt to index field `UserContext' (a nil value)
    Syntax ...\EMIN3M WORLD\scripts\Rotating Message.lua:105: attempt to call global `FileExist' (a nil value)

    +

    Where did the right click menu go? :S

    KOOOL script by the way very very nice!!! :D:D:D
    Title:
    Post by: kepp on 05 May, 2005, 11:45:20
    QuoteOriginally posted by BeeR
    Hellou kepp

    a small thing ,,
    if i set redirect on unreg and check profile:
    must i write the rdadress or is guarding usin prokax rdadress?

    If empty and redirect is enabled it uses PtokaX indeed

    QuoteOriginally posted by Josecar222000
    I most be the foolest guy in world, sure it is a little thing, but can't make work userDB, not in previous versions, not now.
    People log in, people log out, and nothingh keeps saved in the userDB.
    If anybody can give me any idea, I'll be grateful, have tried all what was at my reach.
    userDB is enabled, etc.

    It may be a bug im not aware of, thanks for report :)

    QuoteOriginally posted by EMIN3M
    Hi, 1st a dumb question, what files do i need to replace to update the script so it will keep all the same settings?

    +

    Request to add a command to change the redirect addys on all checks?

    +

    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:421: attempt to index field `UserContext' (a nil value)
    Syntax ...\EMIN3M WORLD\scripts\Rotating Message.lua:105: attempt to call global `FileExist' (a nil value)

    +

    Where did the right click menu go? :S

    KOOOL script by the way very very nice!!! :D:D:D

    Ussually all files in Settings folder is replaceable :)
    Settings.ini is only replaceable when i mention it
    at my "NEW Version" post
    Text files are also replacable allways in txt etc

    I will consider adding them, can't promise anything..

    About the errors, only the first one belongs to Guarding
    and that error shows why you wont get the right click menu.
    You will have an update in 1-3 hours at most, i would say around 13:42 latest GMT + 1
    Title: NEW UPDATE
    Post by: kepp on 05 May, 2005, 14:45:08
    -----------------
    Guarding V: 0.2.4
    -----------------
    * Fixed error in gsub function checking speeds, Thanks voy for report
    * Fixed attempt to index field `UserContext' reported by Emin3m
    * Rewrote the user db saving rotine, users must be logged in for x amount of minutes before save

    Clean install is required, changed some folder and text position

    Have fun :)
    Title:
    Post by: EMIN3M on 05 May, 2005, 17:47:53
    Thanks for the update :)

    Got 2 problems

    1. I cant disable the vip chat, every time i untick it, save the settings, close the tab, then open the tab again it will be ticked :S

    2. The redirect checks are not working, i set it to redirect min share but the users just get disconnected instead

    You are being redirected because: You have not met the minimum share required of 10 GB!
    *** Disconnected

    Other then them the script is working good, no errors so far :D:D:D
    Title:
    Post by: Josecar on 05 May, 2005, 18:23:51
    Thanks Kepp for the upgrade and dedication. Hope
    userDB saves data now, it was driving me crazy.
    Title:
    Post by: Rulle on 05 May, 2005, 18:24:08
    Hello, using Ptoxak 17.03 and Guarding 0.2.4.
    I wonder if i can make chatbot that also unregged can enter, sort of like a pm-to-ops.
    I wonder if i can disable the bot commenting microsoft after every restart ?
    Also, does anti-advertising only work among users, not user-op?
    If I am Hide, I can not download filelist, is this so?
    Anyway, prog is all in all looking very nice  :D
    Title:
    Post by: kepp on 05 May, 2005, 18:58:48
    QuoteOriginally posted by Rulle
    Hello, using Ptoxak 17.03 and Guarding 0.2.4.
    I wonder if i can make chatbot that also unregged can enter, sort of like a pm-to-ops.
    I wonder if i can disable the bot commenting microsoft after every restart ?
    Also, does anti-advertising only work among users, not user-op?
    If I am Hide, I can not download filelist, is this so?
    Oh, and i don't see any hubadvertising, I set it for 20 minutes and edited the Hubad.txt but i see nothing..
    Anyway, prog is all in all looking very nice  :D

    Yes Rulle, i may add such bot for non regged users, or make it possible with current ones.

    Yes, you can disable evrything, it's under Advanced section in GUI, 'Send restart message' or something like that
    disable it and you won't receive any messages at restarting

    Anti Advertising: If a user sends a forbidden address to an Operator the user will be kicked
    even though the itention was not so.
    I will probably add an excption for this too in next or the
    version after that..

    If you are hiding yourself you are just hiding your name in
    everybody elses list, you are still able to download
    and other users can download from you if they find you in Search

    About the Hubad part i can only see one reason, Did you restart scripts after saving? and to be really sure it ain't a bug start up GUI and check so it actually did save
    the time Interval. I have absolutely no problem at all
    and as far as im concern not my tester either

    QuoteOriginally posted by EMIN3M
    Thanks for the update :)

    Got 2 problems

    1. I cant disable the vip chat, every time i untick it, save the settings, close the tab, then open the tab again it will be ticked :S

    2. The redirect checks are not working, i set it to redirect min share but the users just get disconnected instead

    You are being redirected because: You have not met the minimum share required of 10 GB!
    *** Disconnected

    Other then them the script is working good, no errors so far :D:D:D
    To answer your first problem it is indeed not saving, none of them are, Thanks for report, Hope you can survive it til later today or early tomorow

    And the 2nd, Last night i got this report too, i checked, re-checked, but couldn't get it to work, i reported a possible bug to PPK.
    But as i look closer today with no tired eyes i see
    a very hard to located bug :)
    So, it's Fixed :D
    Title: NEW CRITICAL VERSION
    Post by: kepp on 05 May, 2005, 22:33:22
    2nd update today, im sorry about that..
    it has to be done due to a very stupid bug in gui...
    If you started to loose users i hope you thought of
    the modems not being saved correctly, had to be modified
    manually...

    Anyway, it's fixed + bug reported by Emin3m :D

    -----------------
    Guarding V: 0.2.5
    -----------------
    * Fixed problem bot not redirecting but disconnecting at checks
    * Fixed very critical bug in gui that forced modems not to be saved
    users were disconnected all the time

    EVERYTHING is replaceable, no need to loose your current settings.
    EVERYTHING except for Guarding.lua and Commands.tbl
    :D

    I hope you haven't experienced problems and i hope you solved it manually in 0.2.4

    Enjoy your evning

    * SERVER IS GOING DOWN FOR 5 MINUTES at 10:45 PM
    Title: nice work :)
    Post by: EMIN3M on 05 May, 2005, 23:34:11
    Great update kepp every thing working good so far.

    Thanks for all the hard work you put in :D

    O i had replace the gui aswell in order to make it save. :S
    Title:
    Post by: kepp on 05 May, 2005, 23:36:24
    QuoteOriginally posted by EMIN3M
    Great update kepp every thing working good so far.

    Thanks for all the hard work you put in :D

    O i had replace the gui aswell in order to make it save. :S

    Yea lol, otherwise it would have been bad
    Title:
    Post by: Rulle on 06 May, 2005, 01:49:34
    Yeah, thanks for reply, everything is fine now :)
    QuoteOriginally posted by kepp
    EVERYTHING is replaceable, no need to loose your current settings.
    EVERYTHING except for Guarding.lua and Commands.tbl!
    This mean I only replace thiose 2 files then? And setting is still here? :D
    And is here someway I can make bots and chatvots hidden for regular users, I want no zerosharers in hub?
    How make it deliver PM massage at entrance for txtfile?
    Oh, and how came kickcommand must bea + and why not !? I always use! but it works not here?
    Title:
    Post by: kepp on 06 May, 2005, 02:01:53
    QuoteOriginally posted by Rulle
    Yeah, thanks for reply, everything is fine now :)
    QuoteOriginally posted by kepp
    EVERYTHING is replaceable, no need to loose your current settings.
    EVERYTHING except for Guarding.lua and Commands.tbl!
    This mean I only replace thiose 2 files then? And setting is still here? :D
    And is here someway I can make bots and chatvots hidden for regular users, I want no zerosharers in hub?
    How make it deliver PM massage at entrance for txtfile?
    Oh, and how came kickcommand must bea + and why not !? I always use! but it works not here?

    Yes, for this version it is, although i still recomend that you take an extra look in GUI settings so it all fits :)

    No, there is no way yet to hide chat bots from regular users
    I will add it though as my nr1 priority is saving bandwitdh :)

    "I want no zeroshares in hub?"
    Please explain this, did you set minshare? :)

    Sending PM upon connection from file, yea, i can consider adding that to next version :)

    Either you use the inbuilt kick command by the client
    which uses '!' as a prefix or you just change the prefix for all commands in the GUI ( General Form )
    Title:
    Post by: Rulle on 06 May, 2005, 02:11:27
    Thankyou for reply (very fast too :D) I hope i dont kill you with all my questions :)
    QuoteOriginally posted by kepp
    "I want no zeroshares in hub?"Please explain this, did you set minshare?  
    Oh, sorry, I just meant the bots :P Sharelimit works fine here.
    I am gonna try install new guardning script now. Oh wait, just 1 more thing, like a request i guess, it is to chat as other nick, like in RC or in y.hub (!say nick blalbla).
    Ok, thaths all for now I think, thanks for your programming and answers!
    Title:
    Post by: kepp on 06 May, 2005, 02:26:34
    say command, yea sure, that i quite funny :-)
    Sure will add
    Title:
    Post by: BeeR on 06 May, 2005, 03:21:42
    QuoteOriginally posted by kepp
    say command, yea sure, that i quite funny :-)
    Sure will add

    HI kepp
     i still miss RD-option in advanced setting on theese 2 things:

    socket connection
    stringban (no need to perm/timeban if i dont allow some clientversions or bad words in description)

    and random textbot in gui to enable/disable and timevalue - botname(maybe)

    and i like your ide of restartmess ,, you could much fun with that :]]
    Title:
    Post by: zinden on 06 May, 2005, 15:26:55
    well here goes once more:
    About Z++..........

    Well a guest entered hub with Zion++ and he stayd.
    i made him a Master and voila, he couldent use Z++ anymore....just disconnects all the time.
    I checked in Clients and i use same as guests uses and have same for Masters.....

    Can you check how to fix it?
    Title:
    Post by: kepp on 06 May, 2005, 17:26:28
    I cannot fix it, it's not a problem in script, it's related to PtokaX :(

    And BeeR, must of it is fixed / added :)
    Title:
    Post by: BeeR on 06 May, 2005, 17:40:10
    And BeeR, must of it is fixed / added :)


    In Gui ??

    Sorry for being a pain in the a** :]
    Title:
    Post by: kepp on 06 May, 2005, 17:52:21
    QuoteOriginally posted by BeeR
    And BeeR, must of it is fixed / added :)


    In Gui ??

    Sorry for being a pain in the a** :]

    Yea, in gui, lol, you're not a pain :P

    Anyway, did a little research Zion++
    and it turns out it's a very buggy client.

    This is me testing Zion++
    This may say you nothing but this is the login sequence
    The client want to get the list of users infostring twice
    + he sends his own twice for no reason at all
    so, what happens when your friend get disconnected
    is that Deflood in PtokaX is stopping it which is no more than right :D

    I would recomend you to recomend your friend to get another client ;) or if you can live with flooding raise the value for $GetNickList flood in PtokaX

    [17:35] (127.0.0.1) > $Supports UserCommand NoGetINFO NoHello UserIP2 TTHSearch QuickList BotList ClientID SecuredExecutor GetZBlock|
    [17:35] (127.0.0.1) > $Key d??? A ????0S?r??A?&rAB?PQ/%DCN096%/c? ??B '?C?/%DCN096%/|
    [17:35] (127.0.0.1) > $MyINFO $ALL dude $ $LAN(T3)$$12955543281$|
    [17:35] dude (127.0.0.1) > $GetNickList|
    [17:35] dude (127.0.0.1) > $MyPass 123|
    [17:35] dude (127.0.0.1) > $MyINFO $ALL dude $ $LAN(T3)$$12955543281$|
    [17:35] dude (127.0.0.1) > $GetNickList|
    [17:35] x User removed: dude (Socket 1328)
    Title:
    Post by: EMIN3M on 07 May, 2005, 14:25:20
    Hi, i got this syntax

    Syntax Guarding/Commands.tbl:1519: attempt to index field `Drop' (a nil value)

    :S
    Title:
    Post by: kepp on 07 May, 2005, 14:38:46
    Thanks, Fixed :D
    Title:
    Post by: zinden on 08 May, 2005, 09:07:30
    error:
    Syntax Guarding/Commands.tbl:1386: attempt to compare number with nil

    problably from rightclick command:
    (guarding/select user/timeban)


    Keep up the good work kepp  :)


    Request:
    How about add +immune user ?
    That will immune a user from checking share, slots, client, getting kicked, getting banned etc....
    Title:
    Post by: zinden on 08 May, 2005, 22:35:47
    i think there is a bug about putting 2 ops names in to one.
    ive seen few operators gets their name merged into one like:
    suzuki and pebblo becomes: SuzukiPebblo in userlist.
    and im not the only one that have seen it, few other operators been spotted it too.
    no error in script.....but something is making it show like that.
    Never happened before, only after i started to use Version 0.25
    Title:
    Post by: EMIN3M on 09 May, 2005, 01:02:35
    Yep i get this too

    Syntax Guarding/Commands.tbl:1386: attempt to compare number with nil
    Title:
    Post by: kepp on 09 May, 2005, 17:41:20
    The error repoted by you two is fixed :)

    Has anyone else noticed Zindens problem ?
    Sorry Zinden, that bug, IF in Guarding can be anywhere.
    I need more specific details as What commands did they use
    when it happens, Next time it happens ask those involved if they have used any commands recently, or if they just Logged in / Logged out;

    I have not noticed anything here;
    And beside that i also found a bug of Total Hub Session for each user, It's not being saved
    No need to report :)
    Title:
    Post by: Rulle on 09 May, 2005, 21:03:42
    Hello Kepp, i been using your Guarding0.2.5 script and it works fine, but i still have a copuple of questions and suggestiopns here:
    Can i in settings make both ! and + commands work togeherer?
    Would be nice if kick command could come to OP chat, and also; number of previous kicks.
    And one more thing is that inside gui i get error when clicking certain places, for example: View>>Welcome massages and i think somewhere else too, get unhandled exception.
    Oh, and about downloadblocker, I have one OP being passive, and he have problems downloading when downloadblocker is on, is there any possibility to fix?
    Title:
    Post by: kepp on 09 May, 2005, 21:23:40
    QuoteOriginally posted by Rulle
    Hello Kepp, i been using your Guarding0.2.5 script and it works fine, but i still have a copuple of questions and suggestiopns here:
    Can i in settings make both ! and + commands work togeherer?
    Would be nice if kick command could come to OP chat, and also; number of previous kicks.
    And one more thing is that inside gui i get error when clicking certain places, for example: View>>Welcome massages and i think somewhere else too, get unhandled exception.
    Oh, and about downloadblocker, I have one OP being passive, and he have problems downloading when downloadblocker is on, is there any possibility to fix?

    Anything is possible to fix, You mean like multi prefixes?
    Sorry, it wont be added, That is due to the fact that i
    have configure whole script to use one :)
    You may choose which though :P

    Kick messages in OP Chat, yea, i could do that, or add the messages in follow part, probably will be added for those
    that follows.. :)

    The GUI is indeed buggy, im fixing and error handlers in this release too :)

    Does your OP receive any message when trying to download?
    Title:
    Post by: Rulle on 09 May, 2005, 21:39:46
    QuoteOriginally posted by kepp
    Does your OP receive any message when trying to download?
    Not more than connection times out, and when script is off it works again..
    QuoteOriginally posted by kepp
    add the messages in follow part, probably will be added for those
    that follows..
    I am sorry, what does this mean ?(
    Anyway, thanks for answering, and thanks for the great script!
    Title:
    Post by: kepp on 10 May, 2005, 17:13:20
    I will look into it Rulle
    Title: NEW Version AVAILABLE
    Post by: kepp on 10 May, 2005, 22:28:20
    -----------------
    Guarding V: 0.2.6
    -----------------
    * Rewrote a little of Socket connection settings, now configurable to set mode and allow / disallow each state
    * Added mode compatability to stringban, Disconnect, Redirect, Timeban etc
    * Added the hilarious say command :S
    * Rewrote mass-message code, removed 4 commands added 1, more powerfull and faster; code requires 17.02
    * Added Guarding indetification at pinger response
    * Fixed chat bots infos are not sent to users not allowed to use them :)
    * Fixed error in drop command, Thanks Emin3m :)
    * More bw saving, if user is hiden he / she is not visible in search and cannot be downloaded from
    * Improved a little in Speed & Connection code
    * Fixed so if user fails nothing at all at the validation of his Infostring it is now a faster process
    * Added option to send file upon connection, configurable for each profile + option to send user info
    * Fixed timeban error reported by Zinden, + now shows in correct format, if entered wrong it goes by default
    * Fixed junk data sent to main, follow routine
    * Fixed bug in Disconnection of user not storing offline user info
    * Changed, Answer bot info option no longer an option

    Zinden, your immune will be added in next version
    and i still haven't found any problem of what you reported
    zinden, keep me informed if it happens again

    Rulle, Like answered to Zinden, If i find whats wrong
    it will be fixed til next version; As i have my settings now
    i can download from other operators and i have an operator downloading from me atm, so i see no problem

    I also re-checked the code a couple of times;
    I belive it's either your end or his or perhaps you didn't set
    it up Allright ??

    Well anyway, back to this versions details;

    None replaceable files:
    Settings.ini
    Guarding.lua
    Commands.tbl
    CommandLevels.tbl
    GUI (exe)

    Replaceable files:
    All others ;)

    and yea btw, does the updating in the GUI works?
    if someone could try it out for me i would be pleased :)

    Enjoy evning
    Title:
    Post by: Rulle on 11 May, 2005, 02:00:01
    Hey, many thanks for script :D
    Well, my question before was actually regarding the downlopad blocker, it works fine for me, but, when it is running, one of the ops in the hub cant download anything from anyone. I have it set so unregged shouldnt be able to download. Op is in Passive mode.
    Well, gonna try out scrpt now, g'nite :)
    Title:
    Post by: EMIN3M on 11 May, 2005, 04:52:14
    Hi, Thanx for another kool update :))

    Does the updating in the GUI works? Yup it does Gr8 work kepp :D

    Just had a idea, would it be possible for the script to send a message to the hub owner when there is a new update available? Would be a sweet feature  8)

    keep up the goooood work  :]
    Title:
    Post by: kepp on 11 May, 2005, 07:00:25
    QuoteOriginally posted by Rulle
    Hey, many thanks for script :D
    Well, my question before was actually regarding the downlopad blocker, it works fine for me, but, when it is running, one of the ops in the hub cant download anything from anyone. I have it set so unregged shouldnt be able to download. Op is in Passive mode.
    Well, gonna try out scrpt now, g'nite :)

    Is there by any chance you've added a new profile to Guarding??
    Cause when you do everything resets to 0 for that new profile in the GUI ??


    QuoteOriginally posted by EMIN3M
    Hi, Thanx for another kool update :))

    Does the updating in the GUI works? Yup it does Gr8 work kepp :D

    Just had a idea, would it be possible for the script to send a message to the hub owner when there is a new update available? Would be a sweet feature 8)

    keep up the goooood work :]

    Thanks for telling, hm, yea its possible, i don't know if its any good though..
    I'll take a look at it, would indeed be a nice feature
    Title:
    Post by: BeeR on 11 May, 2005, 07:06:13
    QuoteOriginally posted by EMIN3M
    Hi, Thanx for another kool update :))

    Does the updating in the GUI works? Yup it does Gr8 work kepp :D

    Just had a idea, would it be possible for the script to send a message to the hub owner when there is a new update available? Would be a sweet feature  8)

    keep up the goooood work  :]


    Maybe its a good ide to kepp (ops sorry :]) keep the script small to save resources ,,
    think its not *to hard* to check manual 2-3 times/week for updates
    Title:
    Post by: kepp on 11 May, 2005, 07:27:47
    QuoteOriginally posted by BeeR
    Maybe its a good ide to kepp (ops sorry :]) keep the script small to save resources ,,
    think its not *to hard* to check manual 2-3 times/week for updates

    I can't say its that small but i sure do everything to keep mem at a decent level, speed-performance, outgoing data
    to be controlled, such as the follow commands taken from
    Sentinel, you must enter it to receive failing messages

    And yea BeeR, if i get it to work it will be done Automatically or Manually ( Configurable ) :)
    Title:
    Post by: zinden on 11 May, 2005, 10:04:19
    hello a request coming:


    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ( USER INFO ) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    Personal Information:
    ---------------------------------
    ? Status : Online
    ? Name : [SilentService]
    ? IP : 127.0.0.1
    ? Country : Not yet extended
    ? Email :
    ? Description : If u leave the hub your dl will be disconnected!!!
    ? Connection : DSL
    ? Share Size : 89313819688 Byte(s)
    ? Share Size : 83.18 GB(s)
            ?       Kicked: 2 times
            ?       Last kick message: Dont share incomplete files.
            ?       Warned: 0 times
            ?       Banned: 0 times
            ?       Min shared: 1.45 GB
            ?       Max shared: 43 GB
            ?       Current Share: 17.3 GB
            ?       Average Share: 21 GB (approx)

    Client Information:
    ----------------------------
    ? Client Name : DC++
    ? Client Version : 0.674
    ? Total Hubs : 5 Hub(s)
    ? Normal Hubs : 3 Hub(s)
    ? Registered Hubs : 0 Hub(s)
    ? Operator Hubs : 2 Hub(s)
    ? Total Slots : 3 Slot(s)
    ? Tag : <++ V:0.674,M:A,H:3/0/2,S:3>

    Hub Time Info:
    -----------------------
    ? Session: 0 Month(s), 0 Day(s), 9 Hour(s) and 6 Minute(s)
    ? Total: 0 Month(s), 0 Day(s), 0 Hour(s) and 0 Minute(s)

    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ( END ) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



    As you see i would like to have kick info and share info available in +getinfo nickname
    maybe it takes too much resources, but i wanted to send a request about it anyway :)

    if you build it right, you can problably get the script not to use alot of resources. Because i tried before a script called Sentinel (build by typhoon) and he got a info like that and it doesnt take alot of resources.

    and i havent seen that bug yet about adding 2 nicknames into 1 again. But as soon i see it again, im gonna try to get as much info i can.


    And keep up the good work !
    Title:
    Post by: kepp on 11 May, 2005, 11:27:11
    Yea zinden, Sentinel also prints file sizes and stuff..
    You want me to intergrate with kicks & warns ans stuff like that, i sure will do, and it dosen't take anything at all as its
    half way there anyway :P

    Maybe chat position while im on it :)
    Title:
    Post by: EMIN3M on 11 May, 2005, 13:54:50
    Hi,

    The gui tells me theres a new update (Guarding V: 0.2.6) but when i download it and test the update thing it keeps telling me theres a new update  ?(
    Title:
    Post by: kepp on 11 May, 2005, 15:08:53
    QuoteOriginally posted by EMIN3M
    Hi,

    The gui tells me theres a new update (Guarding V: 0.2.6) but when i download it and test the update thing it keeps telling me theres a new update  ?(

    Yup, thanks for report, forgot to change Version in GUI source :)
    Title:
    Post by: zinden on 11 May, 2005, 18:10:28
    woohoo, my lovely hub is the MAN with Guarding script !!!

    immune command coming, kick info coming in userinfo.........

    well what can  i say than awesome scripting by Kepp

    :)

    request, got some lazy ops in my hub, they still miss +upgrade nick master    command.
    i asked about it before, and if a remembered right you said i can use +register command instead.
    But dont i need to rewrite the password if i use +register command?
    and if you add a upgrade command i dont need to get hold of their password if they are reg already.......
    Title:
    Post by: BeeR on 11 May, 2005, 18:52:54
    I must be blind ,, dumb and deaf

    where the heck is settings for stringban in Gui??
    Title:
    Post by: kepp on 11 May, 2005, 20:08:40
    QuoteOriginally posted by zinden
    woohoo, my lovely hub is the MAN with Guarding script !!!

    immune command coming, kick info coming in userinfo.........

    well what can  i say than awesome scripting by Kepp

    :)

    request, got some lazy ops in my hub, they still miss +upgrade nick master    command.
    i asked about it before, and if a remembered right you said i can use +register command instead.
    But dont i need to rewrite the password if i use +register command?
    and if you add a upgrade command i dont need to get hold of their password if they are reg already.......

    Thanks, either i will change +register to ignore taking password as an argument if registered
    or i will as you said add an update command

    QuoteOriginally posted by BeeR

    I must be blind ,, dumb and deaf

    where the heck is settings for stringban in Gui??

    You are not blind, dumb or deaf..
    I am the one that is dumb and blind forgetting to include
    it in GUI :)
    Will be fixed in next version
    Title:
    Post by: EMIN3M on 12 May, 2005, 05:22:12
    Hi, I Got this error with the latest version of your script

    Syntax Guarding/Commands.tbl:2171: attempt to index field `vote' (a nil value)
    Title:
    Post by: kepp on 12 May, 2005, 06:36:42
    Thanks, update today or tomorow with fixes and some requests
    Title:
    Post by: Rulle on 12 May, 2005, 16:05:58
    QuoteOriginally posted by kepp
    Is there by any chance you've added a new profile to Guarding??
    Cause when you do everything resets to 0 for that new profile in the GUI ??
    I dunno, dont think so, but this guy has had this problem with other downloadblockers I tred as well,.. But no big deal, dunno why it doesn't work for him, but in all script works really nice :)
    I wonder about if hubadd can be shown only for certain class users, so regged dont have to see it over and over for example.
    Title:
    Post by: Hoke on 12 May, 2005, 17:27:50
    Hi Kepp small request
    is it posiple ? you add kick, (warn, bans) infom to kicker if not in main.

    i done it this way in kick funktion

    user:SendData(sBot,"You have kicked user: "..victim.sName.." because : "..sReason)

    it just because we all make mistakes even Ops  :]
    it is easy way to check kick went in right user and reason.


    ps. nice work
    Title:
    Post by: kepp on 12 May, 2005, 18:44:57
    QuoteOriginally posted by Hoke
    Hi Kepp small request
    is it posiple ? you add kick, (warn, bans) infom to kicker if not in main.

    i done it this way in kick funktion

    user:SendData(sBot,"You have kicked user: "..victim.sName.." because : "..sReason)

    it just because we all make mistakes even Ops  :]
    it is easy way to check kick went in right user and reason.


    ps. nice work

    Yup will be added :)
    Thanks


    Also in next update i've done it like this:
    If you kick / ban / vote / warn a user
    you and your operators will not get notified about it unless
    they sign up to follow the messages by typing
    +follow pm/main

    This is because scripts ussually send kick info to all operators which is not needed if they don't want to..
    But yea, to notify the kicker, i can add that :)
    Title:
    Post by: BeeR on 12 May, 2005, 19:12:08
    it just because we all make mistakes even Ops :]
     
    I dont [[:

    there is so much i would like to see in your bot kepp ,,
    dont know where to start requesting
    Title:
    Post by: kepp on 12 May, 2005, 19:36:50
    QuoteOriginally posted by BeeR
    there is so much i would like to see in your bot kepp ,,
    dont know where to start requesting

    Make a list of all request and post them, i appreciate it :)
    Ofcorse not all can be added ( Depends on what )

    What am i missing that others don't have?? lol
    :D
    Anyway, Post them :D
    Title:
    Post by: EMIN3M on 13 May, 2005, 01:10:47
    Hi,

    1st - I?m not sure about the vote command, only I can use it and it works. If some one else uses it, it don?t work, think i'm doing some thing wrong coz I don?t get any errors. Is there a list of allowed users who can use it or some thing?

    EDIT: Got this error when testing the vote command (hope it helps)
    Syntax Guarding/Commands.tbl:2171: attempt to index field `vote' (a nil value)

    2nd - A request, I asked for this one b4 I think. A command to change all redirects addresses? Would help me out VERY VERY much?  Would be nice if you could add that one :D

    3rd - Option to allow more then 1 vote on the same user more then once?

    4th - BIG thanks for the script, VERY nice so far ;)  8)
    Title:
    Post by: kepp on 13 May, 2005, 07:39:32
    QuoteOriginally posted by EMIN3M
    Hi,

    1st - I?m not sure about the vote command, only I can use it and it works. If some one else uses it, it don?t work, think i'm doing some thing wrong coz I don?t get any errors. Is there a list of allowed users who can use it or some thing?

    EDIT: Got this error when testing the vote command (hope it helps)
    Syntax Guarding/Commands.tbl:2171: attempt to index field `vote' (a nil value)

    2nd - A request, I asked for this one b4 I think. A command to change all redirects addresses? Would help me out VERY VERY much?  Would be nice if you could add that one :D

    3rd - Option to allow more then 1 vote on the same user more then once?

    4th - BIG thanks for the script, VERY nice so far ;)  8)

    To answer Nr 1:

    The vote command shall be allowed for everyone to use.
    That's the idea of it anyway

    A = Me
    B = Eminem

    B Types "+vote A"
    What happens now is that I (a) get an anonymous warning, i don't know from who, all i know is that somebody dosen't like me for my share or anything else!

    If B then try to vote again on any user he's not allowed to until his time is greater than Votetime (720 minutes by default)

    The error you reported has allready been fixed which may cause it not to work properly.


    Answer to 2nd request:
    Yea, i can add a command to change all redirect addresses
    in Guarding :D


    Ansert to 3rd request:
    Read answer at 1st;

    This is Allowed:

    UserA: +vote UserB
    UserC: +vote UserB

    Now UserB will have 2 votes by 2 diferent users
    If UserA voted again he would be refused because he have allready voted..

    So the 3rd we can forget: if your ittention is too allow all of your users to vote on UserA several times in a row you
    may aswell enable the warn command for them ;)

    4th:
    Thanks EMIN3M, Reason of why you perhaps don't get vote to work properly may be as stated above the error
    which i have fixed..

    so retry next version and see it in action
    Title:
    Post by: kepp on 13 May, 2005, 22:51:04
    -----------------
    Guarding V: 0.2.7
    -----------------
    * Fixed error in vote routine reported by Emin3m, Thanks
    * Hopefully fixed error in HubINFO sending routine + fixed bug including an '$' at the last part
    * Added some user status to getinfo / myinfo command, requested by Zinden
    * Added Zindens request of an upgrade command to update allready registered users :)
    * Immune command added to secure immuned users from various checks and kicks + removed a few
    checks in Command Options as they are not needed now when immune is implented!
    * Removed some sending configuration in Command Options, To receive notifications of kicks / bans etc
    you must be in the list of followers that follows those messages :)
    * Fixed so the bot actually is showing up in Hub-list
    * Fixed follow messages in share routines to display with more than 2 numbers after decimal point
    * Fixed so votes on users and those voting so it saves and therefore script restarts wont reset it :)

    None Replaceable Files:
    Settings.ini
    Main script (Guarding.lua)
    CommandLevels.tbl
    Commands.tbl

    Everything else is replaceable ;)

    I promissed an update and here goes, it solves some errors that has been reported.
    and don't be pissed off if your request is not in this..
    I've allready started on next version which will contain a few of them :)

    Enjoy your evning
    Title:
    Post by: zinden on 14 May, 2005, 11:55:52
    got a error:
    Syntax G:\Ptokax\scripts\Guarding.lua:1328: attempt to index field `?' (a nil value)

    problably from +myinfo   because that one wont work.
    And userinfo nick command was removed?
    i cant find it anymore  :)

    and about: +searchuserdb string
    how does that work?
    i tried +searchuserdb Zinden when im in without any results.
    even tried +searchuserdb Zi    with no results..
    Title: NEW UPDATE Avaialble
    Post by: kepp on 14 May, 2005, 12:49:46
    Sorry, Was an error in kick routine :)

    Everything is replaceable except for Guarding.Lua and Commands.tbl
    Title:
    Post by: TommyGun on 14 May, 2005, 21:47:35
    Nice script. Good job :)
    Title:
    Post by: kepp on 14 May, 2005, 22:14:03
    Thanks and Welcome to board Tommy
    Title: the register command in guarding
    Post by: Josecar on 14 May, 2005, 23:21:08
    I still can't understand why the register command is still the same, such as an operator can register anybody (or himself)
     as master, and if the register command is allowed to vips, the same.  After so many minor and major things corrected,
     so many bugs fixed, the bot  being every day better...
    Title:
    Post by: BeeR on 14 May, 2005, 23:33:34
    Did you get my mail with requests kepp??
    Title:
    Post by: kepp on 14 May, 2005, 23:34:14
    QuoteOriginally posted by Josecar222000
    I still can't understand why the register command is still the same, such as an operator can register anybody (or himself)
     as master, and if the register command is allowed to vips, the same.  After so many minor and major things corrected,
     so many bugs fixed, the bot  being every day better...

    Josecar, it's will be fixed, i will add an exception or something to it!

    The reason i haven't fixed it before is because Guarding
    (The only bot) that supports you to add whatever profiles
    you like, and therefore diferent profile indexes.
    I as a developer lost the ability to control such things.
    although you can fix them.

    I have no idea what i shall do with this command atm.
    If i should provide a configurable exception
    or perhaps rewrite them to smaller parts such as:
    regmaster
    regop
    regvip
    regreg

    Perhaps you can see that here's another issue:
    If you decide someday to add 3 new profiles; those too
    must be regable via command..

    It will be fixed, i just don't know when, sorry
    Title:
    Post by: TommyGun on 14 May, 2005, 23:44:07
    QuoteOriginally posted by kepp
    Thanks and Welcome to board Tommy

    Can i get the vote kick script separate?

    Thanks in advance

    With your copyrights ofcourse
    Title:
    Post by: kepp on 14 May, 2005, 23:48:23
    QuoteOriginally posted by TommyGun
    QuoteOriginally posted by kepp
    Thanks and Welcome to board Tommy

    Can i get the vote kick script separate?

    Thanks in advance

    With your copyrights / website link in the file :)

    Maybe some day ;)

    BeeR, Nope, To which e-mail did you send it too?
    I checked all my 3 to be sure but nothing from you :(
    Title:
    Post by: TommyGun on 14 May, 2005, 23:49:11
    Okay. Respect :)
    Title:
    Post by: kepp on 14 May, 2005, 23:51:28
    If you are lucky there will be a post in Finished scripts LUA 5 Section of it tomorow :)
    Enjoy evning for now
    Title:
    Post by: BeeR on 14 May, 2005, 23:54:57
    QuoteOriginally posted by kepp
    If you are lucky there will be a post in Finished scripts LUA 5 Section of it tomorow :)
    Enjoy evning for now

    Did send u a new mail from your mailbutton below
    Title:
    Post by: kepp on 15 May, 2005, 00:33:18
    QuoteOriginally posted by BeeR
    QuoteOriginally posted by kepp
    If you are lucky there will be a post in Finished scripts LUA 5 Section of it tomorow :)
    Enjoy evning for now

    Did send u a new mail from your mailbutton below

    Thanks, and you have now a answers to some of them :)
    Title: again about register command
    Post by: Josecar on 15 May, 2005, 02:28:39
    Thanks Kepp for your fast response
     The first time i saw Guarding, the one thing that I more admired of it, was the simple and also powerful
     conception (the table with the commands, the other with its levels, etc).  Maybe (and forgive me if this
     sound like a criticism) the main problem after that is that you have not keep it simple.  So I suspect that not
     only the register command will be a problem  because of variable profiles, there will be many other things
     complicated due this also. Things will be going more complex when adding features, etc.  I myself used to be
     a programmer year ago, and I suspect this only thing has gave you near the same hard work than
     the all the primitive bot.  Forgive me again if I dare to give you some like a suggestion, even knowing that is little
     possibility you like it after all those work. I?ve seen here o so sombody that ends his posts with this:
     "errare umanum est, perseverare autem diabolicum".  And risking your dislike, my thinking is that those capabilities
     of support to add whatever profiles and the hard work behind that (and work coming), do not have balance
     with the use that people will do of it.  So..  maybe the answer, though painful, is go back to the simple,
     and this  include simple profiles, the natives of Ptokax or may be one more, fixed.  Forgive again for daring be
    critic about that point. I want to remark that, no matter this, all the bot  is magnific. Sorry the poor english.
    Title:
    Post by: zinden on 15 May, 2005, 10:57:35
    User Status:
       ---------------------
       ?   user has been kicked 1 time(s)!
       ?   user has been warned 0 time(s)! r
       ?   users own welcome message is: ""
       ?   user is this active in mainchat with his total of 158 posts!
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ( END ) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    i would like to have why they got kicked...the kicking message would also show in +getinfo nick
    it doesnt do that now...only how many times they got kicked.
    Title:
    Post by: kepp on 15 May, 2005, 12:25:49
    QuoteOriginally posted by Josecar222000
    Thanks Kepp for your fast response
     The first time i saw Guarding, the one thing that I more admired of it, was the simple and also powerful
     conception (the table with the commands, the other with its levels, etc).  Maybe (and forgive me if this
     sound like a criticism) the main problem after that is that you have not keep it simple.  So I suspect that not
     only the register command will be a problem  because of variable profiles, there will be many other things
     complicated due this also. Things will be going more complex when adding features, etc.  I myself used to be
     a programmer year ago, and I suspect this only thing has gave you near the same hard work than
     the all the primitive bot.  Forgive me again if I dare to give you some like a suggestion, even knowing that is little
     possibility you like it after all those work. I?ve seen here o so sombody that ends his posts with this:
     "errare umanum est, perseverare autem diabolicum".  And risking your dislike, my thinking is that those capabilities
     of support to add whatever profiles and the hard work behind that (and work coming), do not have balance
     with the use that people will do of it.  So..  maybe the answer, though painful, is go back to the simple,
     and this  include simple profiles, the natives of Ptokax or may be one more, fixed.  Forgive again for daring be
    critic about that point. I want to remark that, no matter this, all the bot  is magnific. Sorry the poor english.

    Thanks..
    Im a programmer too, yea, not only lua.
    I would never attempt to proceed with an idea if i didn't know it was simple, belive me, i spent 10 days atleast
    figuring out howto do this Multi-Profile thing for Guarding.
    Fortunately i had a very good structure from the very begining in Settings.ini and CommandLevels.tbl

    I would say about 60 lines + code, and each line is readable an understandable by others

    + GUI Source in C# i lost a couple of 100 lines due to the change, A little more complicated to read profiles up but hey, that brings knowledge :)

    About when adding features and so forth it's just as easy for me now to add it as it was way before it was implented :)

    Anyway, your register is removed, and replaced by better
    commands, no arguments of which profile to register is
    necesary


    And Zinden, last reason of kicks will be showed :)
    Title: hi
    Post by: kbeh273300 on 18 May, 2005, 03:54:19
    this is probly a stupid mistake on my part but...for some reason enything said in opchat is doubled is this a bug or do i have a setting set wrong ?
    [20:53] <[UTB][UKN]kbeh273300> 1
    [20:53] <[UTB][UKN]kbeh273300> 1
    [20:53] <[UTB][UKN]kbeh273300> 2
    [20:53] <[UTB][UKN]kbeh273300> 2
    Title:
    Post by: kepp on 18 May, 2005, 07:46:19
    Is it the opchat of PtokaX or the one Guarding has, and also make sure that they aren't named the same otherwise there's a conflict.
    I will look into it :)
    Title:
    Post by: zinden on 18 May, 2005, 08:45:16
    yepp, you cant use ptokax own opchat and opchat from guarding, that will make all message come out twice.
    Just disable opchat in Ptokax hubsoft and only use opchat from guarding. That will fix the problem  :D

    How do i know? been there, done that, fixed it   :D
    Title:
    Post by: kepp on 18 May, 2005, 11:16:09
    Yup, I tested it this morning to be sure, no problem.. so there sure
    is a conflict! :)
    Title: hehe
    Post by: kbeh273300 on 19 May, 2005, 02:24:40
    thanks guys :)  the script is comeing along great , one thing i was thinking about is i didnt see a cmd to reg a user on the right click menue for (selected user) kinda through me off hehe :) also maybe an upgrade reged user cmd and a getinfo cmd would be great :)
    Title:
    Post by: EMIN3M on 19 May, 2005, 04:22:36
    Hi,

    Got this error a few times

    [01:07] Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:622: attempt to call global `TakeAction' (a nil value)

    Also checked my User/Chat and found this?

    [18:12] !beersamllpic|
    [18:12] !beersamllpic|
    [18:12] !beersamllpic|
    [18:12] !beersamllpic|
    [18:12] !beersamllpic|
    [18:12] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] ouch, I clicked once|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|

    Whats all that about lol ???
    Title:
    Post by: kepp on 19 May, 2005, 07:44:21
    QuoteOriginally posted by EMIN3M
    Hi,

    Got this error a few times

    [01:07] Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:622: attempt to call global `TakeAction' (a nil value)

    Also checked my User/Chat and found this?

    [18:12] !beersamllpic|
    [18:12] !beersamllpic|
    [18:12] !beersamllpic|
    [18:12] !beersamllpic|
    [18:12] !beersamllpic|
    [18:12] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] ouch, I clicked once|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|
    [18:14] !beersamllpic|

    Whats all that about lol ???

    Thanks for error Eminem!
    Whatever bot you are running that prints those "pictures"
    need to be re-checked, I entered your hub, checked the menu, Clicked to send a picture and it sure did
    just too many times, so your hub must be very laggy or theres a "small" bug in that bot :D

    At the time i noticed something was wrong i sent a message to main..
    yea right, that message was long gone, lol

    * EDIT
    --------
    When i entered your hub this morning i sent you a pm
    by the time i was about to leave the soldier bot sends yet another beer picture, 2-3 if im not misstaken
    Title:
    Post by: kepp on 19 May, 2005, 07:46:39
    QuoteOriginally posted by kbeh273300
    thanks guys :)  the script is comeing along great , one thing i was thinking about is i didnt see a cmd to reg a user on the right click menue for (selected user) kinda through me off hehe :) also maybe an upgrade reged user cmd and a getinfo cmd would be great :)

    Yup, i've had reports on it, will be changed
    Title:
    Post by: BlueDragon on 19 May, 2005, 14:44:31
    i can't download the file why??

    if you can keep...

    upload it in my site..

    http://crazyhub.no-ip.com/lanheses/ (http://crazyhub.no-ip.com/lanheses/)
    Title:
    Post by: kepp on 19 May, 2005, 14:58:41
    QuoteOriginally posted by BlueDragon
    i can't download the file why??

    if you can keep...

    upload it in my site..

    http://crazyhub.no-ip.com/lanheses/ (http://crazyhub.no-ip.com/lanheses/)

    I don't know why, as far as im concerned it's up running..
    Title:
    Post by: 6Marilyn6Manson6 on 19 May, 2005, 15:02:43
    QuoteOriginally posted by BlueDragon
    i can't download the file why??

    if you can keep...

    upload it in my site..

    http://crazyhub.no-ip.com/lanheses/ (http://crazyhub.no-ip.com/lanheses/)


    I'm not have problem with download of file.. probabilly you have problem with your firewall ^^
    Title:
    Post by: BlueDragon on 19 May, 2005, 15:14:59
    i download it with DAP and i have it now..
    tks
    Title:
    Post by: BlueDragon on 19 May, 2005, 15:25:15
    guardian.exe doesn't works.. sorry
    Title:
    Post by: Madman on 19 May, 2005, 15:59:38
    QuoteOriginally posted by kepp
    QuoteOriginally posted by EMIN3M
    Hi,

    Also checked my User/Chat and found this?

    [18:12] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] !beersamllpic|
    [18:13] ouch, I clicked once|

    Whats all that about lol ???
    Whatever bot you are running that prints those "pictures"
    need to be re-checked, I entered your hub, checked the menu, Clicked to send a picture and it sure did
    just too many times, so your hub must be very laggy or theres a "small" bug in that bot :D

    I tried with both Gurdain and FunScript V7.1 and only with FunScript 7.1

    It still was only sent 1 time.. not all those times... just 1... :/
    Title:
    Post by: kepp on 19 May, 2005, 16:13:18
    QuoteOriginally posted by BlueDragon
    guardian.exe doesn't works.. sorry

    Install the .NET framework
    Title:
    Post by: EMIN3M on 19 May, 2005, 23:51:36
    QuoteI tried with both Gurdain and FunScript V7.1 and only with FunScript 7.1

    It still was only sent 1 time.. not all those times... just 1... :/

    Yep me 2, i've also had my ops test it and it only sends once for them aswell.

    Is this a Gurdain or FunScript V7.1 problem?

    I think it must just be you kepp LOL
    Title:
    Post by: kepp on 20 May, 2005, 00:12:16
    QuoteOriginally posted by EMIN3M
    QuoteI tried with both Gurdain and FunScript V7.1 and only with FunScript 7.1

    It still was only sent 1 time.. not all those times... just 1... :/

    Yep me 2, i've also had my ops test it and it only sends once for them aswell.

    Is this a Gurdain or FunScript V7.1 problem?

    I think it must just be you kepp LOL

    No, as a matter of fact it is not, Me and Madman has spent all day trying to find this "Conflict" as we thought it was.
    It's a client bug in BCDC that makes it happen, Madman also put a testhub up so we could try there instead of flooding your hub :P
    And guess what, same thing there for me..
    I didn't event press the menu, just browsed it and it started spamming..

    This is FunScript problem but could aswell have been Guarding
    so my rightclick source will be changed to work with this buggy BCDC++ 670b ;)
    Title:
    Post by: EMIN3M on 20 May, 2005, 00:45:51
    Ohh kool nice work, glad you worked out the problem :)

    Do you know if there will be a fix for Fun script?

    Thanx EMIN3M :)
    Title:
    Post by: kepp on 20 May, 2005, 06:54:56
    QuoteOriginally posted by EMIN3M
    Ohh kool nice work, glad you worked out the problem :)

    Do you know if there will be a fix for Fun script?

    Thanx EMIN3M :)

    yea, According to madman there will be!
    though it's not really a hurry, it seems to be the client im using only, and maybe some version lower than this that im not aware of
    Title:
    Post by: Hoke on 20 May, 2005, 22:49:38
    I have some trouble in client checks, if DCDM (0,045) is denied i can go in hub whitout eny other checks when i am user and
    if i am VIP then it disconnects me but no fail messages come through

    but if I "!follow" I see what is wrong and it reports even that "user" been disconnected but user stays in hub ( no chare/ slot checks)

    and yes i tryed this hub connection (adsl) and other connection (cable) so it is not that.
    clien maby ? just tryed same DC++ client and all worked ok

    all other things seams to be ok

    have anybody else this same ?

    ps. PtokaX is 17,05 and 17,08
     Guarding V: 0.2.2 and V: 0.2.8
    Title:
    Post by: kepp on 20 May, 2005, 23:27:23
    QuoteOriginally posted by Hoke
    I have some trouble in client checks, if DCDM (0,045) is denied i can go in hub whitout eny other checks when i am user and
    if i am VIP then it disconnects me but no fail messages come through

    but if I "!follow" I see what is wrong and it reports even that "user" been disconnected but user stays in hub ( no chare/ slot checks)

    and yes i tryed this hub connection (adsl) and other connection (cable) so it is not that.
    clien maby ? just tryed same DC++ client and all worked ok

    all other things seams to be ok

    have anybody else this same ?

    ps. PtokaX is 17,05 and 17,08
     Guarding V: 0.2.2 and V: 0.2.8

    Im getting confused here, could you perhaps explain this
    a little better? sorry
    Title:
    Post by: Hoke on 21 May, 2005, 13:41:59
    QuoteOriginally posted by kepp
    QuoteOriginally posted by Hoke
    I have some trouble in client checks, if DCDM (0,045) is denied i can go in hub whitout eny other checks when i am user and
    if i am VIP then it disconnects me but no fail messages come through

    but if I "!follow" I see what is wrong and it reports even that "user" been disconnected but user stays in hub ( no chare/ slot checks)

    and yes i tryed this hub connection (adsl) and other connection (cable) so it is not that.
    clien maby ? just tryed same DC++ client and all worked ok

    all other things seams to be ok

    have anybody else this same ?

    ps. PtokaX is 17,05 and 17,08
     Guarding V: 0.2.2 and V: 0.2.8

    Im getting confused here, could you perhaps explain this
    a little better? sorry

    No problem, my english is realy bad and i now it :-)
    Title: NEW VERSION AVAILABLE
    Post by: kepp on 21 May, 2005, 13:53:06
    -------------------
    Guarding V: 0.2.9 B
    -------------------
    * Fixed total uptime of user probably saving it OK now
    * Fixed so there are 2 different follow methods, 1 to follow fails amongst users connecting to hub
    and one to follow kick / ban / warn messages etc, followprocess and unfollowprocess is used
    to follow fail messages on connecting users
    * Saving x in UserDB routine now configurable from GUI
    * Fixed error in random text display
    * Added posibility requested by Rulle to set which porifles shall receive the Hub-advertise
    * Fixed problem in Antiadvertise, no errors whatsoever, didn't work at all, Thanks voy for report
    * Fixed getinfo command not retriving info from users in offline database :)
    * Fixed saving of users not being connected ( users that failed MyINFO validation )
    * Fixed so yellow tooltips are displayed on all options + a simple information in the form were you Enable / Disable commands
    * Deleted 2 commands, +delwarn & +delkick ( used to delete specified user from the list ) Unecesary commands
    * Added slot ratio check, configurable for each profile, requested by Voy
    * Added logging of last reason in Kick / warns for use in getinfo and myinfo command, Requested by Zinden
    * Changed a little spelling misstake in Download blocker default message and immune command, Thanks Zinden for report
    * Fixed problem deleting a request, Thanks Zinden for report
    * Rewrote a part of the Text routines of Guarding, each file is now configurable for use
    * Changed directory name from 'txt' to 'Text' :D
    * Added a Howto of howto setup new profiles for Guarding, located in 'Information' folder
    * Fixed saving of offline users to database at OnExit ( Script restart or stop button )
    * Fixed error reported by EMIN3M at stringban, didn't perform action on user
    * Fixed problem on loading User DB, 'require()' for this dosen't work

    Clean install required, except for some files in Settings folder.
    Things that have been reported the last 2 days will be fixed in next version hopefully :)
    Title:
    Post by: BeeR on 21 May, 2005, 15:14:55
    Hi kepp

    Guarding looks better and better :]

    2 things:
    1: where do i set timevalue for random textbot in GUI ??
    2: how to create textfiles in GUI [texts] dont seems to work or
    i do somethig wrong (as usual) !!
    Title:
    Post by: kepp on 21 May, 2005, 21:26:17
    QuoteOriginally posted by BeeR
    Hi kepp

    Guarding looks better and better :]

    2 things:
    1: where do i set timevalue for random textbot in GUI ??
    2: how to create textfiles in GUI [texts] dont seems to work or
    i do somethig wrong (as usual) !!

    1:  In Advanced tab, Interval textbox
    2: I disabled the creation of textfiles for now ( Just an idea i had )
    Will be enabled and working in next version i suppose :)
    Title:
    Post by: BeeR on 21 May, 2005, 21:41:01
    QuoteOriginally posted by kepp
    QuoteOriginally posted by BeeR
    Hi kepp

    Guarding looks better and better :]

    2 things:
    1: where do i set timevalue for random textbot in GUI ??
    2: how to create textfiles in GUI [texts] dont seems to work or
    i do somethig wrong (as usual) !!

    1:  In Advanced tab, Interval textbox
    2: I disabled the creation of textfiles for now ( Just an idea i had )
    Will be enabled and working in next version i suppose :)

    okidoki
    i found random textbot - i sad before i'm blind :>
    can u fix so textfiles shows ??? correct
    it shows your activetext without ??? when i read that file in GUI

    ---------------------------------------------------------------------------
    Att stlla in DC++ eller oDC i active mode med router eller brandvgg
    ===========================================================
     
    Router eller brandvgg
    ----------------------------------
    01. Skriv in ett nummer i portfltet, frslagsvis 1412.
    02. Tillt svl TCP som UDP-trafik in och ut p den valda porten.
    03. Om du har bde router och en mjukvarubrandvgg mste du tillta trafiken i bda.
    04. Om du har flera datorer kopplade till routern stll in olika portar fr dem, t.ex. 1412, 1413, 1414 osv.
     
    Om du fortfarande inte lyckas f active mode att fungera
    ----------------------------------------------------------------------------------
    01. Kontrollera att du inte glmt ngot i instruktionerna eller har skrivit fel.
    02. Ls manualen till din router.
    03. Kontrollera tillverkarens hemsida.
    04. Ls router-guiden p http://www.portforward.com/routers.htm
    05. Om du har en D-Link 604 ls guiden p http://forum.directconnect.se/showthread.php?t=597
    06. Om du har en annan router se om den finns med p http://www.gangefors.com/adc/
    ---------------------------------------------------------------------------
    Title:
    Post by: kepp on 21 May, 2005, 22:27:13
    QuoteOriginally posted by BeeR
    QuoteOriginally posted by kepp
    QuoteOriginally posted by BeeR
    Hi kepp

    Guarding looks better and better :]

    2 things:
    1: where do i set timevalue for random textbot in GUI ??
    2: how to create textfiles in GUI [texts] dont seems to work or
    i do somethig wrong (as usual) !!

    1:  In Advanced tab, Interval textbox
    2: I disabled the creation of textfiles for now ( Just an idea i had )
    Will be enabled and working in next version i suppose :)

    okidoki
    i found random textbot - i sad before i'm blind :>
    can u fix so textfiles shows ??? correct
    it shows your activetext without ??? when i read that file in GUI

    ---------------------------------------------------------------------------
    Att stlla in DC++ eller oDC i active mode med router eller brandvgg
    ===========================================================
     
    Router eller brandvgg
    ----------------------------------
    01. Skriv in ett nummer i portfltet, frslagsvis 1412.
    02. Tillt svl TCP som UDP-trafik in och ut p den valda porten.
    03. Om du har bde router och en mjukvarubrandvgg mste du tillta trafiken i bda.
    04. Om du har flera datorer kopplade till routern stll in olika portar fr dem, t.ex. 1412, 1413, 1414 osv.
     
    Om du fortfarande inte lyckas f active mode att fungera
    ----------------------------------------------------------------------------------
    01. Kontrollera att du inte glmt ngot i instruktionerna eller har skrivit fel.
    02. Ls manualen till din router.
    03. Kontrollera tillverkarens hemsida.
    04. Ls router-guiden p http://www.portforward.com/routers.htm
    05. Om du har en D-Link 604 ls guiden p http://forum.directconnect.se/showthread.php?t=597
    06. Om du har en annan router se om den finns med p http://www.gangefors.com/adc/
    ---------------------------------------------------------------------------

    Yup, will be fixed :)
    Title:
    Post by: Josecar on 21 May, 2005, 23:11:18
    Kepp congratulations by your new effort.  I continue
    thinking that Guarding is the one script better designed than I
     have seen in lua.  And although I have not seen much,
    seriously doubt that a better design exists.  But still I maintain the hope that some day
     will be a BASIC-Guarding or something, for those of us who we are happy
     with the elementary thing....
    Title:
    Post by: kepp on 22 May, 2005, 01:05:09
    QuoteOriginally posted by Josecar222000
    Kepp congratulations by your new effort.  I continue
    thinking that Guarding is the one script better designed than I
     have seen in lua.  And although I have not seen much,
    seriously doubt that a better design exists.  But still I maintain the hope that some day
     will be a BASIC-Guarding or something, for those of us who we are happy
     with the elementary thing....

    I put alot effort into Guarding, that's for sure.
    A "basic" Guarding i doubt. Guarding is not "basic"
    Guarding is for newbies  aswell as experienced users
    in my oppinion!
    The "advanced" feature of adding any profile a user desire to Guarding
    was for me a challenge to figure out howto perform, and to let users choose WHAT profiles they want, instead of be stricted to them and hopefully also show other scripters how i made it! :)

    The GUI itself, yea, it is not very well structured nor easy to understand some parts, and that is bad planning from the very beggining :(
    Title:
    Post by: Josecar on 22 May, 2005, 06:08:57
    Perhaps my poor English lends itself to being misinterpreted.  I meant that my hope
     was perhaps some day would be two Guarding, not that guarding would be basic, for example
     BASIC-Guarding and advanced-Guarding, Guarding-pro, something like that.
     Anyway it was only an idea,  not even something that deserved an answer. Thanks, Kepp.
    Title:
    Post by: EMIN3M on 23 May, 2005, 01:40:31
    Hi,

    Right click commands not working, and got this error

    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1585: attempt to index field `?' (a nil value)

    EDIT: Another error, Text Randomizer not working.

    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1219: attempt to index global `oFile' (a nil value)

    Thanx EMIN3M :))
    Title:
    Post by: kepp on 23 May, 2005, 05:32:56
    QuoteOriginally posted by EMIN3M
    Hi,

    Right click commands not working, and got this error

    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1585: attempt to index field `?' (a nil value)

    EDIT: Another error, Text Randomizer not working.

    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1219: attempt to index global `oFile' (a nil value)

    Thanx EMIN3M :))

    Thanks Eminem
    Title: Randomizer
    Post by: Josecar on 23 May, 2005, 18:26:44
    QuoteOriginally posted by EMIN3M

    EDIT: Another error, Text Randomizer not working.


    Thanx EMIN3M :))

    May be the tex randomizer is not working because of this:

    local sContent = Guarding:LoadTextFile("Guarding/Settings/Text/Randomizer/"..tRandomText[ran]);

    on line 386. You can simply put there the correct
    access : "Guarding/Text/Randomizer/"
    Let's save Kepp some searching.
    Title:
    Post by: EMIN3M on 24 May, 2005, 08:49:26
    Hi, error report

    Syntax Guarding/Commands.tbl:1462: attempt to index field `?' (a number value)

    Thanx Josecar222000 :))
    Title:
    Post by: EMIN3M on 24 May, 2005, 14:44:20
    error report

    Syntax Guarding/Commands.tbl:1458: attempt to compare number with table

    thanx EMIN3M :)
    Title:
    Post by: kepp on 24 May, 2005, 17:24:06
    QuoteOriginally posted by EMIN3M
    error report

    Syntax Guarding/Commands.tbl:1458: attempt to compare number with table

    thanx EMIN3M :)

    Thanks, lol, they will all be fixed :)
    Title:
    Post by: EMIN3M on 29 May, 2005, 04:19:54
    Hi kepp hows it going, any updates?

    If you need any beta testers i can help if you like? :D

    Thanx EMIN3M :))
    Title:
    Post by: kepp on 29 May, 2005, 09:16:39
    QuoteOriginally posted by EMIN3M
    Hi kepp hows it going, any updates?

    If you need any beta testers i can help if you like? :D

    Thanx EMIN3M :))

    Yup, no betas yet, just error fixings :)
    Thanks for letting me know though :D

    You will have a public update in about 2 hours
    Title: NEW VERSION
    Post by: kepp on 29 May, 2005, 10:01:29
    ---------------
    Guarding V: 0.3
    ---------------
    * Fixed error reported by Emin?m in Random textbot
    * Fixed error reported by Emin?m in kick command
    * Fixed Text problem not loading ??? etc

    Just error fixing today, i have a todo list but will start at that today :)

    OK; so the only thing you need to replace is the GUI and the Guarding.lua, everything else you can keep ;)
    Enjoy
    Title: Some error
    Post by: Jarod on 29 May, 2005, 12:47:55
    Hi Kepp, hi guys.. :D

    There are some Error in the latest release:

    When i start hub:

    [12:42] Syntax E:\Ptokax\0.3.3.0.b17.08.nt.dbg\scripts\Guarding.lua:1587: attempt to index field `?' (a nil value)


    When i type +help:

    [12:45] Syntax E:\Ptokax\0.3.3.0.b17.08.nt.dbg\scripts\Guarding.lua:1611: attempt to index field `?' (a nil value)


    Guarding is very very good "Bot".. great Idea! :))

    Good work Kepp  ;)

    Byez.
    Title:
    Post by: yoonohoo on 29 May, 2005, 13:12:06
    I create new profile and I can enter the commands manually but the rightclick isn't working.
    As I'm testing this is the only script launched.
    Where can I change this and make the rightclick show up?

    Many thanks
    Title:
    Post by: EMIN3M on 29 May, 2005, 16:31:58
    Hi, thanx for the update kepp :D

    Error report on l8est version

    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1587: attempt to index field `?' (a nil value)
    Title:
    Post by: kepp on 29 May, 2005, 17:11:32
    QuoteOriginally posted by EMIN3M
    Hi, thanx for the update kepp :D

    Error report on l8est version

    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1587: attempt to index field `?' (a nil value)

    Hmm, same as before..
    Ok, thanks
    Title:
    Post by: BeeR on 29 May, 2005, 20:17:32
    QuoteOriginally posted by kepp
    QuoteOriginally posted by EMIN3M
    Hi, thanx for the update kepp :D

    Error report on l8est version

    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1587: attempt to index field `?' (a nil value)

    Hmm, same as before..
    Ok, thanks

    hi kepp

    whats that error eminem shows ??
    any big or serious that stops me from start use Guarding in my main hub ??
    Title:
    Post by: EMIN3M on 30 May, 2005, 01:07:41
    Hi, more errors :((

    Syntax Guarding/Commands.tbl:1462: attempt to index field `?' (a number value)

    Syntax Guarding/Commands.tbl:1458: attempt to compare number with table


    @ BeeR i think that error mite be the right click commands, not to sure tho will have to check with kepp.
    Title:
    Post by: BeeR on 30 May, 2005, 06:32:15
    QuoteOriginally posted by EMIN3M
    Hi, more errors :((

    Syntax Guarding/Commands.tbl:1462: attempt to index field `?' (a number value)

    Syntax Guarding/Commands.tbl:1458: attempt to compare number with table


    @ BeeR i think that error mite be the right click commands, not to sure tho will have to check with kepp.

    Hmm ,, i think i wait little more to sir kepp fix the errors :]
    Title:
    Post by: yoonohoo on 30 May, 2005, 12:15:34
    I'm getting this error:
    Syntax H:\_Hubs\_411a\scripts\Guarding.lua:436: attempt to index field `?' (a nil value) Only happens to newly created profiles. I did follow instructions to setup new profile. This is my profiles.lst file:

    ReggedProfiles = {
       [1] = "Operator",
       [2] = "VIP",
       [3] = "Reg",
       [4] = "NetFounder",
       [-1] = "Unreg",
       
    • = "Master",
    }

    Also in the program when clicked on welcome messages it opens an error windows

    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Guarding.frmWelcomeMessages.frmWelcomeMessages_Load(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Thank you
    Title:
    Post by: zinden on 30 May, 2005, 14:31:45
    need to add a DC++ mod:

       ?   Description : {2/2} [2M/600K] PC Gamers
       ?   Connection : DSL
       ?   Share Size : 0 Byte(s)
       ?   Share Size : 0.00 GB(s)

       Client Information:
       ----------------------------
       ?   Client Name :
       ?   Client Version :
       ?   Total Hubs : 0 Hub(s)
       ?   Normal Hubs : 0 Hub(s)
       ?   Registered Hubs : 0 Hub(s)
       ?   Operator Hubs : 0 Hub(s)
       ?   Total Slots : 0 Slot(s)
       ?   Tag :


    to get hold of the dc++ go to:
    http://dc.peerweb.org/

    and btw, i started out to work on my dc++ mod page at: http://dcmods.no-ip.org  but remember kepp its a beta page so far. Not done yet.


    Edit:
    [18:14] Syntax Guarding/Commands.tbl:1494: attempt to compare number with table

    i warned a user few hours ago....then i warned same user and got that error.
    Title:
    Post by: kepp on 30 May, 2005, 18:21:14
    The first two errors reported by you Eminem are fixed allready..
    It's when kicking, I have no error here at all..
    Did you replace Guarding.lua & Commands.tbl? in this new version?

    IM very sorry if i didn't mention to replace Commands.tbl aswell :(
    Anyway, that means there are no new errors and its OK for you to use BeeR, the only error is when registering new profile in THE GUI, im fixing that atm*

    TAKE care all!!
    Title:
    Post by: EMIN3M on 31 May, 2005, 03:20:18
    Hi,

    I just replaced Guarding.lua, Commands.tbl and the only error im getting now is:

    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1587: attempt to index field `?' (a nil value)

    Thanx EMIN3M :)
    Title:
    Post by: zinden on 31 May, 2005, 10:37:29
    clear tempban, permban and    tempunban

    i miss them, where did they go?
    well i still got them in inbuilt ptokax but didnt Guarding had them too?

    Can all commands that is inbuilt in to ptokax be added in rightclick commands?
    and my error as i wrote before:

    [18:14] Syntax Guarding/Commands.tbl:1494: attempt to compare number with table

    i warned a user few hours ago....then i warned same user and got that error.

    dont know if you saw it or not  :D
    Title: NEW UPDATE AVAILABLE
    Post by: kepp on 05 June, 2005, 14:57:48
    New update available, Clean install required
    except for all files in Settings folder

    -----------------
    Guarding V: 0.3.1
    -----------------
    * Hopefully fixed error upon generating User Context ( Reported by Emin3em twice )
    * Fixed saving of values registering new profile reported by yonoohoo, thanks :)
    * Fixed error typing help, reported by Jarod
    * Fixed error and problem in saving Welcome messages in GUI thanks Yonoohoo for report :)
    * File sending & info sending rewritten a bit to enable / disable for each profile, ( Shall be considered to use as an MOTD )
    * Changed the help info arrival to display the right prefix
    * Added a pm-to-ops bot, enable / disable options
    * Added message to process followers to notify about Unknown clients when they get disconnected for it, Unknown disconnection didn't work
    * Fixed multiple follow fails in Show commands of Context menu
    * Fixed problem with permission of files in Textfolder not parsing it correctly, failed regging new profile
    * Fixed identification of guarding appending to PtokaX Description field, now it does not
    * Fixed error in GUI adding new Text files, Special thanks to Emin3m and Voy
    * Changed Download blocker enable checkbox wasen't visible, Special thanks to Emin3m

    You know the drill ;)
    Title: PmToOps
    Post by: Josecar on 06 June, 2005, 06:47:17
    greetengs Kepp, guarding is already a great bot

    But about the new feature

    for sending PM to ops, very useful, I've seen

    that in many hubs. But there is no need of register

    the bot or something like that in order to use it?
    Title:
    Post by: kepp on 06 June, 2005, 07:52:02
    QuoteOriginally posted by Josecar222000
    greetengs Kepp, guarding is already a great bot

    But about the new feature

    for sending PM to ops, very useful, I've seen

    that in many hubs. But there is no need of register

    the bot or something like that in order to use it?

    Lol, Thanks, hehe
    Title:
    Post by: Jarod on 06 June, 2005, 09:45:33
    Great work Kepp!!
    Guarding works since yesterday, without any error.

    Wowwwwwwwwwwwww :D
    Title:
    Post by: kepp on 06 June, 2005, 10:56:10
    QuoteOriginally posted by Jarod
    Great work Kepp!!
    Guarding works since yesterday, without any error.

    Wowwwwwwwwwwwww :D

    WOW, 1 day without error, lol
    my goal is a couple of weeks so i guess we are on our way
    hehe

    Zinden:

    I may consider adding them, they have never been in Guarding as far as i remember
    Title:
    Post by: Jarod on 06 June, 2005, 12:48:49
    :(  :(  :(

    Ohps....

    Guarding works great under XP, but under 2k it has some errors...

    Request:

    ? Is possible to change Name for Right Click "Guarding" with the name of Bot?

    ? Is possible to personalize Right Click Menu?

    ? Could you add a box where we can specify a TAG for regme command?


    Thanks and bye.  ;)

    Jarod?.
    Title:
    Post by: Jarod on 06 June, 2005, 12:59:40
    A little little bug...

    When Ptokax Starting, Guarding's Description doesn't start!

    If i restart scripts, it start!  ;(

    Byez.
    Title:
    Post by: kepp on 06 June, 2005, 15:31:10
    QuoteOriginally posted by Jarod
    A little little bug...

    When Ptokax Starting, Guarding's Description doesn't start!

    If i restart scripts, it start!  ;(

    Byez.

    First thing first what you need to know is that GUARDING is a script.
    Guarding works when script starts, that's how it is.
    When PtokaX starts up i do not belive it starts scripts

    And 2:
    You said you were running Guarding GUI fine in XP
    but in 2k you have some errors, I have 2k and it runs just fine, my tester Voy who told me about this post is also
    running 2k and it works fine.

    In case you get errors ost them here, they are most
    likely regular errors ( things i've done wrong in code )
    Title:
    Post by: Jarod on 06 June, 2005, 15:43:41
    Hemm, tehere is an incomprehension..

    When i start up Ptokax, GUARDING run fine..
    but some things are not loaded.. for example Description in nicklist for BOT.

    Then... I have win 2k and XP.

    In win 2k i've some problems instead in XP i've not problem..

    Bah, i will re-install Win 2k and will try again....  :]

    Byez  8)
    Title:
    Post by: kepp on 06 June, 2005, 19:04:07
    QuoteOriginally posted by Jarod
    Hemm, tehere is an incomprehension..

    When i start up Ptokax, GUARDING run fine..
    but some things are not loaded.. for example Description in nicklist for BOT.

    Then... I have win 2k and XP.

    In win 2k i've some problems instead in XP i've not problem..

    Bah, i will re-install Win 2k and will try again....  :]

    Byez  8)

    Sorry, all im saying is that i really doubt problems other than
    errors on 2k, if you have big issues under 2k but none at all under XP then send em a bug report :)
    The only os i think Guarding.exe won't work in is Win95
    due to some API code, but compatible with 98 and later

    And about the description of bot, i will take a closer look
    Title:
    Post by: Jarod on 07 June, 2005, 09:48:17
    QuoteSorry, all im saying is that i really doubt problems other than errors on 2k, if you have big issues under 2k but none at all under XP then send em a bug report :)

     :(  :(  :(  My pc, where running 2k is dead today...  :(  :(  :(

    Well, i've another PC with XP and, so, i will use that for a couple of day.

    Bugs are solved untill then.  :]  :]

    Thanks and bye.

    Jarod.
    Title:
    Post by: BeeR on 07 June, 2005, 18:17:50
    Hi kepp

    about bots ,,

    pm2ops is not shown when enabled
    op-chat's: description/connection and mail is not shown in userlist
    Title:
    Post by: Jarod on 08 June, 2005, 10:16:29
    QuoteHi kepp

    about bots ,,

    pm2ops is not shown when enabled
    op-chat's: description/connection and mail is not shown in userlist

    I underwrite.

    Another error:

    [10:00] Syntax E:\Ptokax\0.3.3.0.b17.09\scripts\Guarding.lua:1397: attempt to concatenate global `NormalHubs' (a nil value)


    Byez.  8)

    Jarod
    Title:
    Post by: zinden on 08 June, 2005, 14:32:54
    Got a error?????
    [14:24] <-Guarding-> Next time you math.log in the message you entered will be shown to you!
    [14:24] *** Disconnected
    [14:24] *** Connecting to **********...
    [14:24] *** Connected
    [14:24] *** Stored password sent...
    [14:24] <-Guarding-> This hub is running PtokaX DC Hub 0.3.3.0 build 17.09 [debug] (UpTime: 1 days, 20 hours, 7 minutes)
    [14:24] <-Guarding-> $Quit [SilentService]
    [14:24] <-Guarding-> # Type +help in main to get available commands for you!
    [14:24] <-Guarding->

    Welcome to PC Gamers

    and in customewelcome.tbl

    WelcomeMessages = {
       ["Zinden"] = "you got damn lazy ones",
       ["T1000"] = "Welcome to T1000, obselete master of machines",
       ["Kepp"] = "HAHAHHAHHAHAH",
       ["[1.1mBit]TheOne"] = "Welcome to TheOne server for all your multimedia & gaming needs",
    }


    i added in bad words "ss" and becomes instead  "[SilentService]"

    Can that make my custome welcome gets broken?

    using latest Guarding 0.31
    Title:
    Post by: kepp on 11 June, 2005, 08:21:36
    QuoteOriginally posted by Jarod
    :(  :(  :(

    Ohps....

    Guarding works great under XP, but under 2k it has some errors...

    Request:

    ? Is possible to change Name for Right Click "Guarding" with the name of Bot?

    ? Is possible to personalize Right Click Menu?

    ? Could you add a box where we can specify a TAG for regme command?


    Thanks and bye.  ;)

    Jarod?.

    1. As it is now no it ain't, How about that i've added it :) Next release
    2. Yes, but i will not support it and you will have todo manually
    3. Hmm, yea maybe, can't promise anything
    Title:
    Post by: kepp on 11 June, 2005, 08:30:50
    QuoteOriginally posted by zinden
    Got a error?????
    [14:24] <-Guarding-> Next time you math.log in the message you entered will be shown to you!
    [14:24] *** Disconnected
    [14:24] *** Connecting to **********...
    [14:24] *** Connected
    [14:24] *** Stored password sent...
    [14:24] <-Guarding-> This hub is running PtokaX DC Hub 0.3.3.0 build 17.09 [debug] (UpTime: 1 days, 20 hours, 7 minutes)
    [14:24] <-Guarding-> $Quit [SilentService]
    [14:24] <-Guarding-> # Type +help in main to get available commands for you!
    [14:24] <-Guarding->

    Welcome to PC Gamers

    and in customewelcome.tbl

    WelcomeMessages = {
       ["Zinden"] = "you got damn lazy ones",
       ["T1000"] = "Welcome to T1000, obselete master of machines",
       ["Kepp"] = "HAHAHHAHHAHAH",
       ["[1.1mBit]TheOne"] = "Welcome to TheOne server for all your multimedia & gaming needs",
    }


    i added in bad words "ss" and becomes instead  "[SilentService]"

    Can that make my custome welcome gets broken?

    using latest Guarding 0.31

    Hm, nope it cannot, [SilentSerrvice] must be a user..
    Anyway, about the $Quit.. that is a bug that is fixed ;)
    Title:
    Post by: BeeR on 12 June, 2005, 17:45:22
    Hi kepp :]

    1 days, 4 hours, and 13 math.minutes. <-- hub uptime (typing error ?)
    no commands working in pm to hub's bot

    about rightclick :
    can you add restartscripts command and
    add guarding name in its own field??
    (guardingname is located in my own user commands i made)

    i made a textfile named ????????? and rightclick
    shows this name on the file:  ?????????    :]
    Title:
    Post by: yoonohoo on 12 June, 2005, 19:06:01
    Every time I use cmd text files the cmd is sent to all users appearing in mainchat (+network, +rules, etc) all others cmd are ok. How can I change this?

    Thanks
    Title:
    Post by: BeeR on 13 June, 2005, 07:31:15
    QuoteOriginally posted by yoonohoo
    Every time I use cmd text files the cmd is sent to all users appearing in mainchat (+network, +rules, etc) all others cmd are ok. How can I change this?

    Thanks
    have you ticked (send textfiles in PM)  in ptokax --> option ??
    all my textfiles is send in a PM and not in main
    Title:
    Post by: yoonohoo on 13 June, 2005, 11:15:57
    Quotehave you ticked (send textfiles in PM) in ptokax --> option ??
    Yes it's ticked. But that's not the prob...

    The message (text file) appears only in the user PM. It's the cmd itself that's appears in all users main. This only happen with the following cmd:

    function Guarding:GenerateUserMenu(Profile)
    local sMsg = "$UserCommand 1 7 ||";
    local tmp = "";
    for i,v in CmdLvls do
    if (v[Profile] ~= 0) then
    tmp = string.gsub(v.UserCommand, "%[PREFIX]",Settings.Prefix);
    sMsg = sMsg..tmp;
    end
    end
    -- Files
    local FileCmd = "$UserCommand 1 3 Guarding\\Text files\\Show [FILE]$<%[mynick]> [PREFIX][FILE]||"
    for i,v in tTextfiles do
    tmp = "";
    local s,e,FileName = string.find(i,"(%S+)%.%S+");
    if (FILES[FileName]) then
    if (FILES[FileName][Profile] == 1) then
    tmp = string.gsub(FileCmd,"%[PREFIX]",Settings.Prefix);
    tmp = string.gsub(tmp,"%[FILE]",FileName);
    sMsg = sMsg..tmp;
    end
    end
    end
    return sMsg;
    end


    Thanks
    Title:
    Post by: Krysalis on 13 June, 2005, 11:39:10
    While trying to retrieve the URL: [URL]http://kepp.servebeer.com:81/Guarding.rar[/URL]

    The following error was encountered:

    Access Denied.
     

    Cant download
    Title:
    Post by: zinden on 13 June, 2005, 12:04:13
    works to download for me.
    Title:
    Post by: yoonohoo on 15 June, 2005, 21:12:14
    Any1 has any idea why?
    See my post above.
    Thanks
    Title:
    Post by: kepp on 16 June, 2005, 18:13:02
    Sorry guys, i've had som comp problems lately..
    testing Linux, even found soem errors with DCGUI that has been fixed...

    Yes, the Server is down and will be down until next time i come here and anounce a new update..
    Unfortunately, I have lost GUI sources of Guarding Bot and Sentinel written by Ratcom Typhoon,
    We are solving this as we speak.
    I would say that a new version probably is available at Sunday, about 75 % chance..
    Sorry

    ** BTW **
    *********

    I need some testers, i have 3 atm, i would like some more..
    If anyone is intrested, please send me a PM, You will receive a version before everyone else and in case of errors report to me asp so i can fix them and release to all :)
    Title: Small detail for the next version
    Post by: Josecar on 16 June, 2005, 22:43:43
    The minimum share check works ok, but this [2] on line 719 of Guarding.lua leads to

    followprocess to give bad information. I know is a small detail, hope be helpful.

    SendProcessLog("# "..UserName.." has been disconnected because of not meeting Minimum share of
     ("..Settings.Minshare.Check[UserProfile][2]..") ("..string.format("%0.2f",minShare)..")!");
    Title:
    Post by: kepp on 19 June, 2005, 00:08:42
    Thanks Jose...
    I have bad news and good news...
    The GUI is being re-written from scratch..
    More user friendly if you ask me :)
    Bad thing is that it will not be released tomorow.
    I will first release to testers, fix alot of bugs / rewrite a little, optimize etc..
    So if you look at it the bright side it may not be as bad afterall :D

    Ciao and Goodnight
    Title: Unban and Tempunban commands
    Post by: Josecar on 19 June, 2005, 18:28:23
    I hope sincerely the next version will include commands like unban and tempunban,

    they are very necessary for the operators.

    Thanks in advance for your consideration, Kepp.
    Title:
    Post by: kepp on 22 June, 2005, 18:16:17
    QuoteOriginally posted by Josecar222000
    I hope sincerely the next version will include commands like unban and tempunban,

    they are very necessary for the operators.

    Thanks in advance for your consideration, Kepp.

    Allready added :)
    Title:
    Post by: yoonohoo on 23 June, 2005, 16:07:05
    Is there a command to undo immune users? I couldn't find...
     ?(
    Editing the tbl file will do the trick but I was just wondering if there was 1 or not.
    Thanks
    Title: about pinger
    Post by: Josecar on 23 June, 2005, 21:49:23
    Kepp:

    Guarding.lua line 1072

    if (Settings.Minshare.Enabled == 1) then
    minShare = Settings.Minshare.Check[-1][1]*1024*1024;

    If you have the minshare enabled, these lines make the hublistpinger inform your minshare is 1 MB always.

    Hope I had spare you some work.
    Title:
    Post by: kepp on 27 June, 2005, 22:46:32
    You sure did jose
    Yonohoo, no, i don't think there is one available, ofcorse it will be added..
    Thanks for patience..
    GUI & Script is comming along great..
    In a week or two testsers will get a version from me.
    Scripts is not compiled and GUI source will be available when released, ( For those who wants to learn )
    Title: Only Ideas
    Post by: Josecar on 28 June, 2005, 14:53:07
    Without a doubt the Gui will be magnificent, and very useful for the hubowners when they have access to the server.

    But if you should control a hub that is in a Swedish server, for example, you cannot use the Gui.

    It would be very useful a command "+Set" and a "+Showsettings", then you can make it.

    That you could make something as this:  "+Set Settings.Badsearch.Enabled 1" or "+Set Settings.Badsearch.Enabled on".
     That would be great.

    It is only an idea, the Guarding is very good just as it is and you are very generous giving that code
     to the dc world, and if it cannot be, patience.
    Title:
    Post by: BeeR on 30 June, 2005, 07:00:54
    Strange ?!?

    Redirect/disconnect on min-share dont work (i can connect with lower share then scripted minshare)

    Redirect on client min-version dont work (disconnect does)
    Title:
    Post by: Hoke on 01 July, 2005, 05:38:21
    what client you have ?
    DC++ works ok but dcdm goes through at least min share and min slot checks.

    cript do not report eny errors
    Title: update?
    Post by: EMIN3M on 07 July, 2005, 21:30:47
    Hi, any udates or news on this kool script?
    Title: Why !?!
    Post by: [?X?]???B?? on 07 July, 2005, 23:10:05
    Why,this download link not work.
    I try download it with GetRight 6,DAP 7,FlashGet 1.65,Save Target As but dont work.
    Please kepp tell me why ! ?(
    Title:
    Post by: zinden on 08 July, 2005, 17:25:52
    im also waiting for a update on script  :)
    Still need any beta testers, then im here for you  :P
    Title:
    Post by: Loading on 08 July, 2005, 18:20:33
    the link to download the file is broken to me

    :(


    Best regards

    Loading
    Title:
    Post by: Hoke on 09 July, 2005, 09:27:21
    While we wait for update
    you can find latest Guardian from here.


    Link removed
    Title:
    Post by: EMIN3M on 25 July, 2005, 16:38:46
    Hi, is this gr8 script dead? I would h8 to see this 1 die :'(

    Bug: [02:43] Syntax Guarding/Commands.tbl:625: attempt to index local `v' (a number value)

    Thanx Em
    Title: NOT DEAD!!!
    Post by: kepp on 26 July, 2005, 22:18:09
    It's not dead, lol..
    Im closer to a new release now...
    Tomorow i'll release a beta to testers and see how it goes..
    Vacation and all, good weather, sorry to say but i do have a life beside this computer :P

    Anyway, Its soon to be released
    Title: SOON!!
    Post by: kepp on 27 July, 2005, 11:32:04
    Testers will have a new version in their mail in 3-4 hours..
    They will then run it as they use to, and as they step on bugs
    those will be reported..

    For me to find bugs easier i would also like to explain howto report them:

    AS MUCH DETAILS AS POSSIBLE IS VERY APPRECIATED!!!
    :-O

    Anyway, as i wrote, testers will get one soon...
    i will wait 1-2-3-4 days and fix errors / bugs they report.
    Then i will release..
    Title:
    Post by: yoonohoo on 27 July, 2005, 16:34:23
    That's good news! :P

    Waiting for the great news, that is the release date... :D
    Title:
    Post by: kepp on 27 July, 2005, 17:03:56
    QuoteOriginally posted by yoonohoo
    That's good news! :P

    Waiting for the great news, that is the release date... :D

    Well, you have a 25% chance to guess the right day of the release day :-O
    Title:
    Post by: yoonohoo on 02 August, 2005, 00:38:40
    In that case it's today  :D
    or could it be tomorow?
    Title: ?
    Post by: EMIN3M on 03 August, 2005, 01:07:37
    hmmm im guessing today maybe :D lol
    Title:
    Post by: zinden on 03 August, 2005, 11:05:54
    I cant stand it no more !!!!!

    I need a newer Guarding before i explode!!

    Keep up the good work Kepp, we are here for you.
    Take your time to make it a good script.
    Title:
    Post by: Ubikk on 03 August, 2005, 11:14:43
    Please Kepp.. have mercy on our souls... we're so anxious over here :)
    Title: OK OK OK
    Post by: kepp on 04 August, 2005, 14:18:59
    To give you all a little preview of what has happening im now
    releasing the first public, not fully finished, some things may be missing that i havent thought of.. anyway

    ----------------------
    Guarding V: 0.3.3 BETA
    ----------------------
    * Added CPU, Connection, Memory field to GUI
    * Fixed spelling misstake in hubuptime command, reported by BeeR
    * Added support to send commands in PM to bot :)
    * Fixed name problem causing 2 "Guarding menus" to be shown, 1 for text and 1 for original commands, Thanks BeeR
    * Changed writing of Minshare & Maxshare process logging, Thanks Jose
    * Added unban (IP / Name) and tempunban (IP / Name)
    * Fixed wrong minshare info sent to hublist-pingers
    * WROTE A NEW GUI FROM START... Lost old sources :(    (Hopefully better and easier to understand)

    ----------------------
    Guarding V: 0.3.4 BETA
    ----------------------
    * Fixed error due to the topic cycle, table empty caused nil, Tahnks voy for report
    * changed Tempop command now take a password as an argument, optional
    * Removed the impleneted GeoIP in offline user database
    * Fixed several issues of the offline user database, rewrote most of it and ended up 40 lines less code
    * Removed the session uptime calculation, will be logged when logged to the offline database
    * Changed to outgoing data in myinfo and getinfo commands if values are nil

    ----------------------
    Guarding V: 0.3.5 BETA
    ----------------------
    * Fixed several errors that was caused by the removal of the old Uptime logging
    * Fixed an error user not being in the temorarily database, accessing field was '?'

    -----------------
    Guarding V: 0.3.6
    -----------------
    * Changed the restart messages implented in Guarding to another requirement of Guarding, 3 new commands, add, del, show
    * Changed the script look, now categorized in sections
    * Changed mem handling of tables not needed
    * Added command, showsettings, Shows all settings
    * Added the set command requested, By Who?;;   RAW commands, for advanced users only, IF the code typed is not OK an error will be displayed
    * Added more hub advertise properties, see help in gui for more info
    * Added a command, showhubstatus, show some status of hub, files and records, uptime.exe is now optional but provided
    * Fixed error upon saving Requests
    * Changed some output style in commands, Will finish this as i keep updating...
    * Fixed errors in records counting of HubStat table

    I think i have configured it right, Link shall now work again
    and point you to 2 directories called Script and GUI,   The guarding script + gui is in script folder while the GUI sources are located in the GUI folder...

    You know the drill, errors, spelling misstakes, opinions, they are all very welcome :)

    Ciao and i hope i saved some soul :-O
    Title:
    Post by: Honey on 05 August, 2005, 00:53:11
    Hello guys,

    I use Guardian V0.3.6B and I have this problem:
    [00:37] Syntax C:\PtokaX\scripts\Guarding.lua:1479: attempt to index field `?' (a number value)
    In this line: HubStat[1][Mode] = HubStat[1][Mode] + 1;
    What is wrong?

    Thank you in advance for help!

    EDIT:
    OK Kepp, thanks.
    Title:
    Post by: kepp on 05 August, 2005, 00:57:10
    Unless i don't get any other error reports til tomorow i will release
    yet another version that fixes the one you mentioned and another that also has been reported...
    Title: Bug
    Post by: EMIN3M on 05 August, 2005, 02:17:52
    Hi kepp glade to see the new version looks kool, good work :))

    Just 2 errors so far


    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1470: attempt to compare nil with number

    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1479: attempt to index field `?' (a number value)

    I get loads of them errors all the time :S

    Thanx Em

    *EDIT*

    + Every time I un tick [OP-CHAT] close and save it auto ticks it self :/
    Title: NEW VERSION
    Post by: kepp on 05 August, 2005, 12:30:19
    -----------------
    Guarding V: 0.3.7
    -----------------
    * Fixed an error that often came, counting of disconnects etc failed, Thanks voy for report
    * Fixed a another counting error, thanks voy
    * Fixed error warning a user, Thanks voy
    * Fixed strange output at several commands if command failed because user weren't online
    * Changed the user Context, they are now placed in a diferent file for those who want to edit it to fit their need
    Reduces memory of script since a "smart" menu remember has been implented

    About your problem with op-chat Eminem som e values
    such as Bots / Commands etc requires a little diferent method to save

    To save a bot, choose the bot you want to edit, when your done, Choose another bot, it saves it then..
    Same goes for the commands, choose a command, edit, to save choose another, same thing for rules...
    Everything else that are "GLOBAL" are saved either directly or saved when you exit and get the prompt
    Title:
    Post by: Ubikk on 05 August, 2005, 13:57:14
    The link in your signature doesn't work :D

    QuoteThe following error was encountered:

        * Access Denied.
    Title:
    Post by: kepp on 05 August, 2005, 14:16:01
    Hmmm, I can't see that any other people have had any problems entering Ubikk, try again, If it dosen't work then post again, i'll check settings and firewall so i havent blocked your IP.. lol
    Title:
    Post by: zinden on 05 August, 2005, 17:52:11
    [17:50] <-Guarding-> Syntax : +followprocess
    [17:50] <-Guarding-> The mode must be either Main or PM!

    ok, that makes sence, but how to turn it off?
    Thats my question   :D
    Title:
    Post by: zinden on 05 August, 2005, 18:03:54
    tiny request too:
     +hideshare [on/off]   -   Toggle hide share (when hidden showing zero bytes plus)

    anything you want to add?
    Title:
    Post by: kepp on 05 August, 2005, 18:06:59
    How about unfollowprocess?
    Anyway, about your request, sure will do, though
    i do not recomend it as PtokaX will send out the original Infostring while i send out a false
    Title:
    Post by: zinden on 05 August, 2005, 20:29:43
    +unfollowprocess worked fine :)
    didnt spot it in +help section though
    Title:
    Post by: Jerry on 05 August, 2005, 20:30:22
    Hi kepp,


    Just I have 3 errors:

    [20:03] Syntax C:\PtokaX\scripts\Guarding.lua:1481: attempt to perform arithmetic on field `?' (a nil value)
    [20:03] Syntax C:\PtokaX\scripts\Guarding.lua:579: attempt to index field `?' (a nil value)
    [20:03] Syntax C:\PtokaX\scripts\Guarding.lua:1481: attempt to perform arithmetic on field `?' (a nil value)
    [20:04] Syntax C:\PtokaX\scripts\Guarding.lua:1481: attempt to perform arithmetic on field `?' (a nil value)
    [20:04] Syntax C:\PtokaX\scripts\Guarding.lua:579: attempt to index field `?' (a nil value)
    [20:04] Syntax C:\PtokaX\scripts\Guarding.lua:1481: attempt to perform arithmetic on field `?' (a nil value)
    [20:04] Syntax C:\PtokaX\scripts\Guarding.lua:1012: attempt to index field `?' (a nil value)

    And on and on these errors time after time ;(  ?(

    Thanx Jerry
    Title:
    Post by: EMIN3M on 06 August, 2005, 01:38:49
    Hi kepp im still getting this error

    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1472: attempt to compare nil with number

    Is there some thing im doing wrong?
    Title: ?
    Post by: (-=TrIp-iN-SuN=-) on 06 August, 2005, 04:57:25
    how i closed info bot becose in 1 min it's type me info hub and i want to closed i del this file Hubad.txt and it's type me error i don't this text all 1 min and i can't find how to closed this same one can to help?
    Title:
    Post by: kepp on 06 August, 2005, 11:21:44
    Thanks for error report, update soon

    Trip: You cannot delete the hubad, it's a part of Guarding
    and is required ( I'll probably add check for it later )
    To turn it off you simply disable it in GUI ;)
    Title:
    Post by: kepp on 06 August, 2005, 11:44:15
    Jerry, i've been lookin up all the errors you posted..
    It seems to me you haven't updated to Guarding 0.3.7 yet
    If that's the case they are allready fixed i hope :-O
    Title:
    Post by: zinden on 06 August, 2005, 12:02:52
    my error:
    [00:00] Syntax G:\Ptokax\scripts\Guarding.lua:1240: bad argument #1 to `find' (string expected, got nil)

    using Version 0.37
    Title:
    Post by: kepp on 06 August, 2005, 15:39:13
    ^^ Fixed, will result in clearing the database totally
    Title: NEW VERSION
    Post by: kepp on 06 August, 2005, 16:10:01
    -------------------
    Guarding V: 0.3.8 B
    -------------------
    * Fixed reported error from Eminem, Hopefully fixed it, Min version / Max version check of some clients whos version is nil failed
    * Fixed error when shifting topic, Pointer was set never reset, Thanks to all who reported it
    * Fixed error in stopcycle command, thanks Voy for report
    * Fixed, Hopefully, error in generating the context menu for the first time ;)
    * Fixed issue offline users not being cleaned, date was missing from table

    I hope this version is a begining for me to start taking requests of new things
    I want to minimize errors and such before i do that

    The Offline user Database must be cleared out
    Title:
    Post by: EMIN3M on 06 August, 2005, 19:07:46
    Error

    Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1480: attempt to compare nil with number
    Title: ?
    Post by: (-=TrIp-iN-SuN=-) on 07 August, 2005, 02:42:04
    why it's type me this error? Syntax Guarding/Commands.tbl:1265: attempt to index field `?' (a number value). when i check top kickers

    or why it's type me this error? Syntax Guarding/Commands.tbl:1243: attempt to index field `?' (a number value). when i check top chat?
    Title:
    Post by: (-=TrIp-iN-SuN=-) on 07 August, 2005, 17:05:18
    SAME ONE CAN TO HELP ME WITH THIS?
    Title: NEW VERSION
    Post by: kepp on 08 August, 2005, 05:05:17
    -------------------
    Guarding V: 0.3.9 B
    -------------------
    * Fixed 2 errors reported by Trip - N - Sun, thanks alot :)
    * Hopefully fixed error of Eminems, will re-write the client check core soon :)

    User DB must be wiped yo use the one provided
    Title:
    Post by: Psycho_Chihuahua on 08 August, 2005, 09:20:46
    also uploaded to the Scriptdb and added a translated Gui in German  :D
    Title:
    Post by: Hoke on 08 August, 2005, 11:16:15
    Kepp have you forget to update cript version number in cript ?

    however i download latest from your pages link "GuardingV0.3.9 B.rar" but cript info says "This hub is running Guarding V: 0.3.8 ( Developed by Kepp )"

    in any case i found something:
    !topchat =  Syntax Guarding/Commands.tbl:1249: attempt to index field `?' (a number value)
    Title:
    Post by: Ubikk on 08 August, 2005, 16:07:56
    I've just updated my script to 0.3.8 version... it looks very nice, but there's only one problem I've noticed so far.. I just can't change the Op-chat bot's name..  if I try changing the name, saving the settings an reopen the GUI... the old name [OP-CHAT] appears instead... any idea on what can I do to save this setting? :rolleyes:
    Title:
    Post by: kepp on 08 August, 2005, 17:34:09
    QuoteOriginally posted by Psycho_Chihuahua
    also uploaded to the Scriptdb and added a translated Gui in German  :D

    Upload, Yes, Translation, never :)

    QuoteOriginally posted by Hoke
    Kepp have you forget to update cript version number in cript ?

    however i download latest from your pages link "GuardingV0.3.9 B.rar" but cript info says "This hub is running Guarding V: 0.3.8 ( Developed by Kepp )"

    in any case i found something:
    !topchat = Syntax Guarding/Commands.tbl:1249: attempt to index field `?' (a number value)

    Yep, sometimes that happens, i fixed the errors 4:30 this morning, due to work

    And thanks for error report

    QuoteOriginally posted by Ubikk
    I've just updated my script to 0.3.8 version... it looks very nice, but there's only one problem I've noticed so far.. I just can't change the Op-chat bot's name.. if I try changing the name, saving the settings an reopen the GUI... the old name [OP-CHAT] appears instead... any idea on what can I do to save this setting?

    I have explained this before, since im not finished with the tooltips yet, to SAVE thos sort of values that shifts
    you must choose another..
    Etc:

    If you Enter a new name for OP-CHAT then change to VIP-CHAT..
    When you do your OP-CHAT will be saved, etc, or vica verca.. I will however try to find another way of saving these things soon
    Title:
    Post by: Psycho_Chihuahua on 08 August, 2005, 20:04:04
    QuoteOriginally posted by kepp
    QuoteOriginally posted by Psycho_Chihuahua
    also uploaded to the Scriptdb and added a translated Gui in German  :D

    Upload, Yes, Translation, never :)


    I dont mind doin that  :D  :D
    Title:
    Post by: EMIN3M on 09 August, 2005, 01:56:23
    I?m getting Connection Timeouts on the site, any one else have problems?

    Cheerz Em :))
    Title:
    Post by: Honey on 09 August, 2005, 18:45:15
    Hi Kepp,

    I have two problems:

    1. This bug -> Syntax C:\PtokaX\scripts\Guarding.lua:1195: bad argument #1 to `open' (string expected, got nil)

    2. Guarding don't show MOTD to users even if I this function I have Enabled!
     What is wrong?

     Thank you in advance

    P.S.
    I have: Guarding V 0.3.8
    Title:
    Post by: Psycho_Chihuahua on 09 August, 2005, 19:13:39
    QuoteOriginally posted by EMIN3M
    I?m getting Connection Timeouts on the site, any one else have problems?

    Cheerz Em :))

    no problems here - both sites running fine
    Title:
    Post by: kepp on 09 August, 2005, 20:26:08
    QuoteOriginally posted by Psycho_Chihuahua
    QuoteOriginally posted by kepp
    QuoteOriginally posted by Psycho_Chihuahua
    also uploaded to the Scriptdb and added a translated Gui in German  :D

    Upload, Yes, Translation, never :)


    I dont mind doin that  :D  :D

    Too much hassle for you i suppose

    QuoteOriginally posted by EMIN3M
    I?m getting Connection Timeouts on the site, any one else have problems?

    Cheerz Em :))

    Could be because i had computer off last night to get some decent sleep before work..
    Most likely to happen this night aswell..


    QuoteOriginally posted by Honey
    Hi Kepp,

    I have two problems:

    1. This bug -> Syntax C:\PtokaX\scripts\Guarding.lua:1195: bad argument #1 to `open' (string expected, got nil)

    2. Guarding don't show MOTD to users even if I this function I have Enabled and don't show OPs joining to the hub even if I have Enabled this function and set: Send to all!

    What is wrong?

    Thank you in advance

    P.S.
    I have: Guarding V 0.3.8

    Thanks for the error report, im working on an update as we speak.
    At the 2nd issue: Thanks, i will take a closer look into it ;)
    Title:
    Post by: Jerry on 09 August, 2005, 22:05:26
    Hello guys,

    Please how can i set up the CleanUsers Function to 3 weeks -> that the users that has not been online for more than 3 weeks will be deleted!

     Thank you in advance for help!
    Title:
    Post by: yoonohoo on 21 August, 2005, 04:22:08
    Kepp,
    In tab actions the option replace, from the antiad dropdown menu,  is missing.

    In user connection if I disable the welcome message (clear the box) for 1 of the profiles I cannot move on to another profile because the menu is greyed out.

    An now a suggestion: would not be more functional, in commands, to pick a profile and then allocate the commands to that profile? Similar to previous version. And adding a clear and fill button.

    Thanx
    Title:
    Post by: EMIN3M on 08 September, 2005, 23:49:31
    Hi, any updates kepp?

    The only version i have running bug free is Guarding V: 0.3.1 DEBUG

    Cheerz Em :))
    Title: Problem
    Post by: Snoris on 17 September, 2005, 17:40:47
    [17:38] Syntax Guarding/Commands.tbl:1249: attempt to index field `?' (a number value)

    Got this when I tried +topchat
    *EDIT*1
    [17:46:38] Your total calculated uptime is in Months: 0, Days: 0, Hours: 0, Minutes: 0

    Not working  ;)


    Otherwise this script is probably the best script I've ever seen....

    *EDIT*2

    +set - Set settings by raw, will display error on prokax error textbox if any error
    Prokax    ;)
    *EDIT*3

    I think a block against kicking the master would be nice   =)
    *EDIT*4

    Voting on a person with a higher level aint a good idea...Can it be arranged??

    *More testing on this script with more request*
    I just love this one....
    I want to know aswell other peoples statistic on their hub with this script...I?m planning on having it on a 2000+ user hub...
    *Edit*5

    [21:50:22] [telia}rokka has received 1 vote(s), 4 vote(s) left to gain a 600 minute(s) kick!
    [21:50:29] [telia}rokka has received 2 vote(s), 3 vote(s) left to gain a 600 minute(s) kick!
    [21:52:02] [telia}rokka has received 3 vote(s), 2 vote(s) left to gain a 600 minute(s) kick!
    [21:55:02] [telia}rokka has received 4 vote(s), 1 vote(s) left to gain a 600 minute(s) kick!

    1 person shouldnt be able to vote more than 1 time at 1 person....
    *EDIT*6

    [23:16] Syntax Guarding/Commands.tbl:441: attempt to index global `v' (a nil value)

    Dont know when this occured....
    Title: KEPP
    Post by: Snoris on 19 September, 2005, 22:53:19
    Has anyone seen him??Dead or alive    :P
    Title:
    Post by: voy on 20 September, 2005, 18:18:04
    Nott sen kepp sens i got V0.4B and it was about 2weaks ago..
    Title:
    Post by: Hoke on 20 September, 2005, 20:08:35
    QuoteOriginally posted by Snoris

    [17:38] Syntax Guarding/Commands.tbl:1249: attempt to index field `?' (a number value)

    Got this when I tried +topchat
    in commands.lua find these lines and remove extra  [1]
    like this
    -- FIX OUTPUT
    ["topchat"] =
    function(user,data)
    if (Denial("topchat",user) == 1) then return 1 end
    local Index = tablesorting(HubStat[6]);
    local sMsg = "";
    if (Index.n < 1) then
    sMsg = sMsg.."\r\n There is no statistic of any topchatters yet...";
    else
    for i=1,Index.n do
    sMsg = sMsg.."\r\n "..i..". "..Index[i].." => "..HubStat[COLOR=red][1][/COLOR] [6][Index[i]];
    if (Settings.Commands.Topchat.Amount <= i) then break end
    end
    end
    local Structure = "";
    Structure = Structure.."\r\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ( TOP CHAT ) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\r\n";
    Structure = Structure..sMsg;
    Structure = Structure.."\r\n\r\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ( END ) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-"
    user:SendPM(sBot,Structure);
    return 1;
    end,


     !myhubtime works here ok:
     Your total calculated uptime is in Months: 0, Days: 10, Hours: 15, Minutes: 45
    Title: Thx..
    Post by: Snoris on 21 September, 2005, 15:20:04
    Thx for ur help..

    I still dont get the right uptime for my self..
    And I have another problem...



       =====================================================================================================
       ? Hub statistics for Haninge F?r Alle
       -------------------------------------------------------------------------------------------------------------
       ? Server is running on: Microsoft Windows XP [Version 5.1.2600]
       ? Uptime of server: Unknown
       ? Hub-software: PtokaX 0.3.3.21
       ? Script running: Guarding 0.3.8 ( Written by Kepp )
       --------------------------------------------------------------------------------------------------------------


    function Guarding:GetSystemUptime()
    os.execute("uptime > uptime.txt");
    local hFile = io.open("uptime.txt","r");
    local str = "";
    if (hFile) then
    local line = hFile:read();
    while line do
    str = str..line;
    line = hFile:read();
    end
    hFile:close();
    os.remove("uptime.txt");
    local _,_,str = string.find(str, "for: (.*)");
    return str or "Unknown";
    end
    end

    I know this code generates the system uptime..But where should I put "uptime.txt"??
    Or should it be generated by itself??
    Thx
    Title:
    Post by: Typhoon on 21 September, 2005, 18:37:02
    QuoteOriginally posted by Snoris
    Thx for ur help..

    I still dont get the right uptime for my self..
    And I have another problem...



       =====================================================================================================
       ? Hub statistics for Haninge F?r Alle
       -------------------------------------------------------------------------------------------------------------
       ? Server is running on: Microsoft Windows XP [Version 5.1.2600]
       ? Uptime of server: Unknown
       ? Hub-software: PtokaX 0.3.3.21
       ? Script running: Guarding 0.3.8 ( Written by Kepp )
       --------------------------------------------------------------------------------------------------------------


    function Guarding:GetSystemUptime()
    os.execute("uptime > uptime.txt");
    local hFile = io.open("uptime.txt","r");
    local str = "";
    if (hFile) then
    local line = hFile:read();
    while line do
    str = str..line;
    line = hFile:read();
    end
    hFile:close();
    os.remove("uptime.txt");
    local _,_,str = string.find(str, "for: (.*)");
    return str or "Unknown";
    end
    end

    I know this code generates the system uptime..But where should I put "uptime.txt"??
    Or should it be generated by itself??
    Thx

    do you have a correctly placed uptime.exe in your windows system32 folder ??
    if not just get it from microsoft.com and place it in system32 then the above function will handle the rest, it makes the uptime.txt file and reads it and then deletes the file again and return the data from the file at the end...
    my best guess is a missing uptime.exe

    Typhoon?
    Title:
    Post by: voy on 21 September, 2005, 18:53:11
    you can find the file here..


    http://www.microsoft.com/downloads/details.aspx?FamilyID=bc18ffdb-d6fe-400b-b892-94783ae44c91&displaylang=en
    Title: Thx AGAIN ;)
    Post by: Snoris on 21 September, 2005, 21:20:14
    Well...Didnt know that there was a file like that   =)
    Very nice tool indeed   =)
    Thx again   :)
    More questions will come...and here is one right now   ;)

    The offline user database...I have never seen anything in that section...Something I have done wrong/forgot??

    Thx in advance...Again   ;)
    Title:
    Post by: Hoke on 22 September, 2005, 05:49:46
    QuoteOriginally posted by Snoris


    The offline user database...I have never seen anything in that section...Something I have done wrong/forgot??



    works like this:

    Your search of (ho) gave these matches :

       hoki
       Hoepes
       Hoopo
       Houmeri
       HOmerRUllezTime3
       hoopolihoo
       Holmez
       Hobituui
       hohottaja
       HomeStar
       Hood
       hoover
       hooperhyper
       honey
       HoLO
       hoocee
       HomerSimpson
       hoi
       HoleInOne
       homerson
    Title: Missing Kepp
    Post by: Snoris on 06 October, 2005, 14:18:28
    Still no word from Kepp anyone???
    Title: Re: ? Guarding ?
    Post by: CyberChris on 18 August, 2006, 14:32:17
    Hi people !!
    Project  ? Guarding ? is ending ??
    :-\   ... What a pity ..
    I would request some elements for that script , (I'm total noobie in scripting !!)
    Adding  last X lines of chat at connection
    Adding TeamBot (For see reg/vip/op/master/All..)

    Regards ,

    CyberChris
    Title: Re: ? Guarding ?
    Post by: Typhoon on 20 August, 2006, 10:52:17
    well there's plenty of other AIO scripts in finished section of this board..

    and about the mysterious Kepp
    1) he is still alive
    2) he's also very busy at work and another thing called a life ( what ever the hell that is )
    3) it's possible that he will be back sooner or later :)


    cheers ..
    Title: Re: ? Guarding ?
    Post by: CyberChris on 20 August, 2006, 18:22:58
    Thanks for info Typhoon?

    CyberChris