Maybe a LUA bug
 

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

Maybe a LUA bug

Started by Thor, 02 April, 2006, 22:53:52

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thor

I use 0.3.4.0 and our hub is on server, so i made an ALL-IN-ONE setting script, which handle all frmHub and deFlood object. When i made, i think i found two bug. The first is: the banmesssage addmessage cant set up by script... it says everything ok, but it didn't do anything ::) And the second is in the deFlood: the Scripting-Interface.txt says: settings is the following eg.: SetChat(action, count, time) But when i did the script, and i tested, i found a little changing, because the correct syntax is: SetChat(time,action, count). And a LUA request: the autoregister to the hublist can set by script, but the value doesn't ask from the hub (eg: frmHub:SetAutoRegister(0/1)    if possible). Just because my script get all settings from the hub, and it would be good, that it display it :) Thanks

Thor

Sorry, it was my mistake, i thought to frmHub:GetAutoRegister() ... i posted the script: http://forum.ptokax.org/index.php?topic=5904.0 Please somebody see it, and correct the banmessage-addmessage setting, thanks :)

PPK

Fixed SetBanMsgAddMsg, added GetAutoRegister and no bug found in SetChat  ::)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Thor

It seems i cant speak :D So. The setting is ok, but the getting-action wrong...
Setting: action,counter,time
Getting: time, action, count

I get the settings by this: (copied from the settings.lua)
fMainchat = ""
		for i,v in deFlood:GetChat() do
		fMainchat = fMainchat..v.."\t"
		end

And fMainChat return with: time, action, count.
Btw I tried this script with PtokaX 0.3.3.4d0 and many deFlood value got nil, i can't start the script...? ??? What can be the problem? The ReadMe.txt says it use LUA 5.02

Thor


Psycho_Chihuahua

Hungarista - it seems the Settings.lua File you uploaded to the scriptdb iis not there, could you send it to me as PN so that i can fix it please?

Thnx
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Thor

http://ptxscriptdb.psycho-chihuahua.net/download.php?view.229 I download it, so it works great. Please somebody answer me, why it don't works under PtokaX 0.3.4.0d0 (: thanks

6Marilyn6Manson6

Quote from: Hungarista on 05 April, 2006, 16:32:38
http://ptxscriptdb.psycho-chihuahua.net/download.php?view.229 I download it, so it works great. Please somebody answer me, why it don't works under PtokaX 0.3.4.0d0 (: thanks

It is in hubngarian :S. Translate it in english please ;)

bastya_elvtars

Quote from: 6Marilyn6Manson6 on 05 April, 2006, 17:48:36

It is in hubngarian :S. Translate it in english please ;)

That's why it's under Localized section in case you didn't notice.
Everything could have been anything else and it would have just as much meaning.

bastya_elvtars

Everything could have been anything else and it would have just as much meaning.


6Marilyn6Manson6

Hungarian is script made of Hungarista :D. Translate it in english :P

Thor

I do it, but it is very large, and the helpfile also, so it take long time to do. But it is in progress...

6Marilyn6Manson6

Quote from: Hungarista on 07 April, 2006, 12:49:01
I do it, but it is very large, and the helpfile also, so it take long time to do. But it is in progress...

Thanks, when finish english version.. please post it :D

SMF spam blocked by CleanTalk