0.4.0.0b
 

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

0.4.0.0b

Started by PPK, 11 March, 2008, 20:24:39

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PPK

http://www.ptokax.org/files/0.4.0.0b.7z

Quote from: Changes
Added: Hub name to PtokaX window caption.
Added: Max connected users limit from same IP + profile permission for that.
Added: Core.GetUsers returning online users with given IP.
Added: Minimum reconnect time + profile permission for that.
Fixed: Initial temp ban year in gui was always 2007 instead of actual year.
Rewriten: Nick hashtables (for userlist, reglist, nickbanlist) for better performance.
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Psycho_Chihuahua

PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Jusper

useful things added. Thanx!

baba.runner

Hi PPK

I have alittle problem in 4.0.0b
I have alittle script for changeing temporarly the nicks in Mainchat and one of the first lines of the script is
Bot = SetMan.GetString(21)

Now when the hub is nor started and I tick the script in script-window I get this error:
attempt to index global 'SetMan' (a nil value)

When the Hub is started and I then tick the script, it works fine.

Is this now a PX problem or a scripting error. If it is a scripting error please tell me what I  have to change.

Thx in advance for your assistance.

KR
baba.runner

PPK

It is scripting error, don't use PtokaX api outside functions because when hub is not running then there is no api and script that is trying to call it outside functions showing errors.
In this case fix will be something like..
local Bot

function OnStartup()
    Bot = SetMan.GetString(21)
end
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

baba.runner

Quote from: PPK on 17 March, 2008, 12:43:00
It is scripting error, don't use PtokaX api outside functions because when hub is not running then there is no api and script that is trying to call it outside functions showing errors.
In this case fix will be something like..
local Bot

function OnStartup()
    Bot = SetMan.GetString(21)
end


Thank you very much PPK

that works fine now.

I toke the Lua5.1.1 script and converted it with Hungarista's converter. So I did not know about those issues.

Thank again.

Kind Regards baba.runner

SMF spam blocked by CleanTalk