? Guarding ? - Page 12
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

? Guarding ?

Started by kepp, 01 April, 2005, 20:22:27

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

EMIN3M

Error

Syntax ...\EMIN3M WORLD\scripts\Guarding.lua:1480: attempt to compare nil with number
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

(-=TrIp-iN-SuN=-)

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?

(-=TrIp-iN-SuN=-)

SAME ONE CAN TO HELP ME WITH THIS?

kepp

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

Psycho_Chihuahua

also uploaded to the Scriptdb and added a translated Gui in German  :D
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

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)
Owner of Fin Action

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? :rolleyes:

kepp

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
Guarding    

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
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

EMIN3M

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

Honey

#285
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

Psycho_Chihuahua

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
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

kepp

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

Jerry

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!

yoonohoo

#289
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

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

EMIN3M

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

Snoris

#291
[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....

Snoris

Has anyone seen him??Dead or alive    :P

voy

Nott sen kepp sens i got V0.4B and it was about 2weaks ago..

Hoke

#294
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
Owner of Fin Action

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

Typhoon

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?




Snoris

#298
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   ;)

Hoke

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
Owner of Fin Action

SMF spam blocked by CleanTalk