determinate determinate

Author Topic: ¤ Guarding ¤  (Read 28690 times)

0 Members and 1 Guest are viewing this topic.

Offline Hoke

  • Junior Member
  • **
  • Posts: 22
  • Karma: +0/-0
(No subject)
« Reply #280 on: August 08, 2005, 11:16:15 am »
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)
Owner of Fin Action

Offline Ubikk

  • Triple Ace
  • **
  • Posts: 154
  • Karma: +0/-0
(No subject)
« Reply #281 on: August 08, 2005, 04:07:56 pm »
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:

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 794
  • Karma: +2/-0
(No subject)
« Reply #282 on: August 08, 2005, 05:34:09 pm »
Quote
Originally posted by Psycho_Chihuahua
also uploaded to the Scriptdb and added a translated Gui in German  :D


Upload, Yes, Translation, never :)

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

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

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Administrator
  • Emperor
  • *****
  • Posts: 1 071
  • Karma: +112/-1
  • I am wherever i want to be
    • PtokaX Luaboard
(No subject)
« Reply #283 on: August 08, 2005, 08:04:04 pm »
Quote
Originally posted by kepp
Quote
Originally 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
PtokaxWiki ¦PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Offline EMIN3M

  • Fulll Member
  • ****
  • Posts: 54
  • Karma: +1/-0
(No subject)
« Reply #284 on: August 09, 2005, 01:56:23 am »
I’m getting Connection Timeouts on the site, any one else have problems?

Cheerz Em :))
Quote
\"so you can be quick,
jump the candlestick,
burn your back,
and fuck Jill on a hill,
but you still ain\'t Jack.\"
-EMINEM

Offline Honey

  • Junior Member
  • **
  • Posts: 16
  • Karma: +0/-0
(No subject)
« Reply #285 on: August 09, 2005, 06:45:15 pm »
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
« Last Edit: August 09, 2005, 08:13:38 pm by Honey »

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Administrator
  • Emperor
  • *****
  • Posts: 1 071
  • Karma: +112/-1
  • I am wherever i want to be
    • PtokaX Luaboard
(No subject)
« Reply #286 on: August 09, 2005, 07:13:39 pm »
Quote
Originally 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
PtokaxWiki ¦PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 794
  • Karma: +2/-0
(No subject)
« Reply #287 on: August 09, 2005, 08:26:08 pm »
Quote
Originally posted by Psycho_Chihuahua
Quote
Originally posted by kepp
Quote
Originally 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

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


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

Offline Jerry

  • Member
  • ***
  • Posts: 47
  • Karma: +0/-0
(No subject)
« Reply #288 on: August 09, 2005, 10:05:26 pm »
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!

Offline yoonohoo

  • Forum Ace
  • *****
  • Posts: 79
  • Karma: +0/-0
(No subject)
« Reply #289 on: August 21, 2005, 04:22:08 am »
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
« Last Edit: August 21, 2005, 04:31:57 am by yoonohoo »

It might be simple for you but rocket science for me...

Offline EMIN3M

  • Fulll Member
  • ****
  • Posts: 54
  • Karma: +1/-0
(No subject)
« Reply #290 on: September 08, 2005, 11:49:31 pm »
Hi, any updates kepp?

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

Cheerz Em :))
Quote
\"so you can be quick,
jump the candlestick,
burn your back,
and fuck Jill on a hill,
but you still ain\'t Jack.\"
-EMINEM

Offline Snoris

  • Double Ace
  • *
  • Posts: 122
  • Karma: +3/-0
Problem
« Reply #291 on: September 17, 2005, 05:40:47 pm »
Code: [Select]

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

Got this when I tried +topchat

Code: [Select]

*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....

Code: [Select]

*EDIT*2

+set - Set settings by raw, will display error on prokax error textbox if any error

Prokax    ;)
Code: [Select]

*EDIT*3

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

Code: [Select]

*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...

Code: [Select]

*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....

Code: [Select]

*EDIT*6

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


Dont know when this occured....
« Last Edit: September 18, 2005, 10:45:56 am by Snoris »

Offline Snoris

  • Double Ace
  • *
  • Posts: 122
  • Karma: +3/-0
KEPP
« Reply #292 on: September 19, 2005, 10:53:19 pm »
Has anyone seen him??Dead or alive    :P

Offline voy

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
(No subject)
« Reply #293 on: September 20, 2005, 06:18:04 pm »
Nott sen kepp sens i got V0.4B and it was about 2weaks ago..

Offline Hoke

  • Junior Member
  • **
  • Posts: 22
  • Karma: +0/-0
(No subject)
« Reply #294 on: September 20, 2005, 08:08:35 pm »
Quote
Originally posted by Snoris

Code: [Select]

[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
Code: [Select]

-- 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
« Last Edit: September 20, 2005, 08:19:01 pm by Hoke »
Owner of Fin Action

Offline Snoris

  • Double Ace
  • *
  • Posts: 122
  • Karma: +3/-0
Thx..
« Reply #295 on: September 21, 2005, 03:20:04 pm »
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 )
   --------------------------------------------------------------------------------------------------------------


Code: [Select]

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

Offline Typhoon™

  • Global Moderator
  • Lord
  • *****
  • Posts: 399
  • Karma: +22/-3
  • PGE Developer
    • PGE Homepage
(No subject)
« Reply #296 on: September 21, 2005, 06:37:02 pm »
Quote
Originally 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 )
   --------------------------------------------------------------------------------------------------------------


Code: [Select]

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™



Offline voy

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
(No subject)
« Reply #297 on: September 21, 2005, 06:53:11 pm »

Offline Snoris

  • Double Ace
  • *
  • Posts: 122
  • Karma: +3/-0
Thx AGAIN ;)
« Reply #298 on: September 21, 2005, 09:20:14 pm »
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   ;)
« Last Edit: September 21, 2005, 09:22:20 pm by Snoris »

Offline Hoke

  • Junior Member
  • **
  • Posts: 22
  • Karma: +0/-0
(No subject)
« Reply #299 on: September 22, 2005, 05:49:46 am »
Quote
Originally 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
Owner of Fin Action

Offline Snoris

  • Double Ace
  • *
  • Posts: 122
  • Karma: +3/-0
Missing Kepp
« Reply #300 on: October 06, 2005, 02:18:28 pm »
Still no word from Kepp anyone???

Offline CyberChris

  • Junior Member
  • **
  • Posts: 12
  • Karma: +0/-0
Re: ¤ Guarding ¤
« Reply #301 on: August 18, 2006, 02:32:17 pm »
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

Offline Typhoon™

  • Global Moderator
  • Lord
  • *****
  • Posts: 399
  • Karma: +22/-3
  • PGE Developer
    • PGE Homepage
Re: ¤ Guarding ¤
« Reply #302 on: August 20, 2006, 10:52:17 am »
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 ..



Offline CyberChris

  • Junior Member
  • **
  • Posts: 12
  • Karma: +0/-0
Re: ¤ Guarding ¤
« Reply #303 on: August 20, 2006, 06:22:58 pm »
Thanks for info Typhoon™

CyberChris

 

determinate determinate