determinate determinate

Author Topic: ¤ Guarding ¤  (Read 26619 times)

0 Members and 1 Guest are viewing this topic.

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
¤ Guarding ¤
« on: April 01, 2005, 08:22:27 pm »
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
« Last Edit: April 01, 2005, 11:21:28 pm by kepp »
Guarding    

Herodes

  • Guest
(No subject)
« Reply #1 on: April 02, 2005, 01:14:04 am »
good features it seeesss.. but it hates installers, it _hates_ installers!! It want's its precious archivess, its preciouss....

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
New update
« Reply #2 on: April 02, 2005, 01:02:51 pm »
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
Guarding    

Offline ruudie

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
(No subject)
« Reply #3 on: April 02, 2005, 01:23:54 pm »
i get this
You are not authorized to view this page
when i want to download the rar file

Herodes

  • Guest
(No subject)
« Reply #4 on: April 02, 2005, 01:35:11 pm »
Quote
Originally 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 ;)

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
(No subject)
« Reply #5 on: April 02, 2005, 01:46:14 pm »
Ruudie, Sorry, forgot toset permission of the rar archive
Guarding    

Offline bastya_elvtars

  • Administrator
  • Forum God
  • *****
  • Posts: 3 795
  • Karma: +172/-7
  • The rock n' roll doctor
    • The LawMaker & FreshStuff3 Site
(No subject)
« Reply #6 on: April 02, 2005, 03:20:56 pm »
You probably want to upload the script to the archive.  8)

Offline ruudie

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
(No subject)
« Reply #7 on: April 02, 2005, 06:34:47 pm »
thx kepp

looks pretty good, i will test it, maybe i'm going to use it for my hubs.

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
(No subject)
« Reply #8 on: April 02, 2005, 09:16:56 pm »
I appreciate it ruudie, come with sugegstions bugreports if any :)
Guarding    

Offline zinden

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +3/-0
    • Xion++
(No subject)
« Reply #9 on: April 03, 2005, 10:13:18 am »
need some info:

Code: [Select]

["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
« Last Edit: April 03, 2005, 10:38:34 am by zinden »
Xion++ - Where it all begins
http://www.zinden.net

Offline zinden

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +3/-0
    • Xion++
(No subject)
« Reply #10 on: April 03, 2005, 10:57:27 am »
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...
« Last Edit: April 03, 2005, 10:59:03 am by zinden »
Xion++ - Where it all begins
http://www.zinden.net

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
(No subject)
« Reply #11 on: April 03, 2005, 11:44:50 am »
Quote
Originally posted by zinden
need some info:

Code: [Select]

["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

Quote
Originally 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
Guarding    

Offline zinden

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +3/-0
    • Xion++
(No subject)
« Reply #12 on: April 03, 2005, 06:58:29 pm »
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   :)
« Last Edit: April 03, 2005, 06:59:49 pm by zinden »
Xion++ - Where it all begins
http://www.zinden.net

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
(No subject)
« Reply #13 on: April 03, 2005, 08:14:53 pm »
Yup, thank you and will be added :)
Guarding    

Offline zinden

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +3/-0
    • Xion++
(No subject)
« Reply #14 on: April 03, 2005, 09:57:05 pm »
is there any way to easy change from using prefix + to instead use ! as prefix?

i would rather have "!" as prefix.......
Xion++ - Where it all begins
http://www.zinden.net

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
(No subject)
« Reply #15 on: April 05, 2005, 09:18:46 pm »
-------------------
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
Guarding    

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
NEW UPDATE
« Reply #16 on: April 09, 2005, 08:42:12 pm »
Code: [Select]

-------------------
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
Guarding    

Offline BeeR

  • Lord
  • ***
  • Posts: 287
  • Karma: +2/-0
(No subject)
« Reply #17 on: April 10, 2005, 02:58:02 am »
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 :]
A cold BeeR is stunning !!

Offline Typhoon™

  • Global Moderator
  • Lord
  • *****
  • Posts: 400
  • Karma: +22/-3
  • PGE Developer
    • PGE Homepage
(No subject)
« Reply #18 on: April 10, 2005, 09:33:57 am »
Quote
Originally 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™



Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
(No subject)
« Reply #19 on: April 10, 2005, 09:52:38 am »
Quote
Originally posted by Typhoon™
Quote
Originally 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 :)
Guarding    

Offline BeeR

  • Lord
  • ***
  • Posts: 287
  • Karma: +2/-0
(No subject)
« Reply #20 on: April 10, 2005, 11:39:46 pm »
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
A cold BeeR is stunning !!

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
(No subject)
« Reply #21 on: April 11, 2005, 05:37:42 pm »
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
Guarding    

Offline zinden

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +3/-0
    • Xion++
(No subject)
« Reply #22 on: April 12, 2005, 06:03:32 pm »
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.
Xion++ - Where it all begins
http://www.zinden.net

Offline juda

  • Fulll Member
  • ****
  • Posts: 74
  • Karma: +0/-0
@@@@
« Reply #23 on: April 12, 2005, 10:02:24 pm »
*
 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"] = " ",
      [0] = 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"] = "[] []",
      [0] = 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....
juda

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
(No subject)
« Reply #24 on: April 13, 2005, 07:34:14 am »
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 :)
Guarding    

Offline zinden

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +3/-0
    • Xion++
(No subject)
« Reply #25 on: April 13, 2005, 08:39:42 pm »
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    ;)
Xion++ - Where it all begins
http://www.zinden.net

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
(No subject)
« Reply #26 on: April 13, 2005, 10:41:09 pm »
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
Guarding    

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
AS PROMISSED
« Reply #27 on: April 15, 2005, 01:57:17 pm »
Code: [Select]

------------------------------------
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
« Last Edit: April 15, 2005, 03:01:17 pm by kepp »
Guarding    

Offline Madman

  • Scripter
  • Emperor
  • ******
  • Posts: 1 322
  • Karma: +75/-1
(No subject)
« Reply #28 on: April 15, 2005, 03:03:15 pm »
found a typo.... ;)

line 435
Code: [Select]

OpDisconnected = UserDiconnected

should be
Code: [Select]

OpDisconnected = UserDisconnected
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
(No subject)
« Reply #29 on: April 15, 2005, 03:09:02 pm »
Danke, will be fixed
Guarding    

Offline NightLitch

  • Global Moderator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +16/-0
*** Link doesn't work
« Reply #30 on: April 15, 2005, 03:29:46 pm »
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
//NL

Offline LiqUiD~TrolL

  • Triple Ace
  • **
  • Posts: 160
  • Karma: +0/-0
(No subject)
« Reply #31 on: April 15, 2005, 03:40:51 pm »
hi all you guys =)


kepp the link is dead plz fix it bro
________<>________


            -=@_ psydream-land.no-ip.org _@=-


             
http://www.psychedelicdreams.bravehost.com

Offline Madman

  • Scripter
  • Emperor
  • ******
  • Posts: 1 322
  • Karma: +75/-1
(No subject)
« Reply #32 on: April 15, 2005, 04:10:26 pm »
Quote
Originally 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...
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 796
  • Karma: +2/-0
(No subject)
« Reply #33 on: April 15, 2005, 05:48:22 pm »
It's back up and link shall be ready for clicks
Guarding    

Offline BeeR

  • Lord
  • ***
  • Posts: 287
  • Karma: +2/-0
(No subject)
« Reply #34 on: April 16, 2005, 01:59:11 am »
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.
A cold BeeR is stunning !!

 

determinatedeterminate