PtokaX 0.5.0.0 released...
 

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

PtokaX 0.5.0.0 released...

Started by PPK, 24 December, 2012, 01:12:41

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PPK

New PtokaX is here :P Major changes are IPv6 support, Lua api allowing to change users info (description, connection, tag etc.) and of course Lua 5.2.x support. Except that have few minor new things (User is not disconnected when have wrong ip in command, but ip is replaced with correct one when it is possible. New command to reg user without password, user is asked for password by hub), many bugfixes and minor changes.

This version use new IP to Country database. Get it from http://software77.net/geo-ip/?DL=1&x=Download for IPv4 and http://software77.net/geo-ip/?DL=7&x=Download for IPv6. Unpack content of archives to PtokaX_dir/cfg/  (or PtokaX_config_dir/cfg/) 8)

Compile guides are in PtokaX Wiki http://wiki.ptokax.org/doku.php?id=guides

Lua extension libs compatible with Windows version are available in Extensions for PXLUA part of board (Look for sticky topics. You need libs compatible with PtokaX build 376 and higher ;)).

Win32 GUI with Lua 5.2.1
Win64 GUI with Lua 5.2.1
Win32 service/console with Lua 5.2.1
Win64 service/console with Lua 5.2.1

Win32 GUI with Lua 5.1.5
Win64 GUI with Lua 5.1.5
Win32 service/console with Lua 5.1.5
Win64 service/console with Lua 5.1.5

UniX source (was tested on Linux/FreeBSD/Haiku)

Quote from: Full changelog...
Added: Core.SetUserInfo call to Lua api.
Added: IDs 28 - 42 for Core.GetUserValue Lua api call (see Lua API docs).
Added: IPv6 support to sockets.
Added: IPv6 support to bans and range bans.
Added: IPv6 country database support.
Added: IPv6 client to client connections support.
Added: IPv6 search support.
Added: IP64 and IPv4 protocol extensions support.
Added: Check for IPv4 connection for user connected to hub by IPv6.
Added: IPv4 client connection support for users connected to hub by IPv6 when IPv4 connection check success.
Added: IPv4 search support for users connected to hub by IPv6 when IPv4 connection check success.
Added: Setting for manual IPv4 and IPv6 addresses.
Added: Both IP addresses to !getinfo command for users with IPv6 and IPv4 connection available.
Added: Both IP addresses to !myip command for users with IPv6 and IPv4 connection available.
Added: Core.GetHubIPs to Lua API.
Added: tUser.tIPs to Lua API.
Added: Missing end line dots on some hub commands reply (thx Alexey for report).
Added: RegUser hub command. OP need to provide online nick and profile. Hub will ask user for password and after password is entered then user is added to registered users.
Added: IP in $Search and $ConnectToMe commands is replaced with correct one when user send wrong IP.
Added: Smart searching for IPv6 users with IPv4 support.
Added: IP2Country now work for 6to4 and Teredo connections.
Added: IP2Country.Reload to Lua api.
Added: RegMan.AddReg now support second syntax RegMan.AddReg(sNick, nProfileNumber). That way user is asked for password and registered after he send it.
Added: Users connected with IPv6 using 6to4 or teredo tunneling have automatically IPv4 active connection available without need to support any protocol extension.
Added: Targets to makefile.
Added: Lua 5.2.x support.
Changed: Country database for IPv4 from ip-to-country to IpToCountry (http://software77.net/geo-ip/).
Changed: Not allowed chars in nick to only space, pipe and dollar. Only those protocol disallow. Issues with other chars is client work.
Changed: Max simultaneous logins value from 500 to 1000.
Changed: UserDisconnected is now called when user is disconnected by script in User/Reg/OpConnected.
Changed: Max send buffer size on small hubs from 128 kB to 256 kB.
Changed: Disabled keep slow client online for clients with zpipe support.
Changed: Memory allocation failures checking. When memory allocation fail then user who caused that is disconnected and hub not crash.
Changed: Line ending to \n on windoze.
Changed: Registered users are now stored in binary file instead of xml.
Changed: !ban and !tempban now working for offline nicks and create nickban for them.
Fixed: TmrMan.RemoveTimer Lua api call in windoze version (thx Cęńo?y+ę for report).
Fixed: MOTD was not updated after change in gui (thx mappy for report).
Fixed: Few settings was not updated after change in gui.
Fixed: Buggy chat input line after using some settings pages (thx The-Master for report).
Fixed: All strict aliasing issues with GCC 02 and higher optimization level compile.
Fixed: Core.GetUsersCount can in rare cases have different user count than number of users returned by Core.GetOnlineUsers.
Fixed: Crash on script error loging in some cases.
Fixed: Memory leak in users and bans ip hashtables.
Fixed: Bug in gui initialisation causing rare termination on startup.
Fixed: Incorrect translation of "full" in ban commands (thx Alexey for report).
Fixed: Shutdown with ctrl+c on non-windows OS (thx Alexey for report).
Fixed: Crash in Lua 5.1 on invalid conversion specifier in os.date (fix from Lua 5.2).
Fixed: Buggy search length checking for active and passive users (thx Alexey for report).
Fixed: Compile with Clang compiler on Linux.
Fixed: Message returned on !clrrangetempbans (thx Alexey for report).
Fixed: Rare case when short myinfo was sent to ops when they should get long myinfo.
Fixed: Error message on script syntax checking when PtokaX api call is outside function.
Fixed: Doubleclick in gui on script now open script editor only when it is not on checkbox.
Fixed: !nickban and !nicktempban allowed to ban user with higher profile when he was offline.
Fixed: Reply to chat from Lua script was sent before that chat (ie from talkbot).
Fixed: Missing GB translation in !getinfo command (thx Alexey for report).
Fixed: Compile errors on Haiku OS.
Removed: All info related to old ip-to-country database.
Removed: Obsolete client tags.
Removed: Obsolete setting to accept unknown tag.
Rewritten: Global data queues for better IPv6 support.
Updated: makefile to work with buggy gold linker.
Updated: zlib to 1.2.7.
Updated: Lua 5.1 to 5.1.5.

"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

PPK

Files updated. Windows version was for part of users crashing on startup without reason. After some testing was found that it is caused by visual studio 2012 compiler. Simple recompile with visual studio 2010 fixed that :o Thx Alexey, The-Master and Tsd for testing :)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

prop2012

Congrats on a job well done!

Any suggestions on a good replacement for my old 'robocop' or ''old'' dixbot.

Gr Prop2012

Dessamator

Excellent new version. But..., when is Ptokax going to be big enough to be in version 1. :) . Keep up the good work PPK.

Ignorance is Bliss.

the-master

Why should PtokaX ever reach version 1. ? Its running fine atm. Great work PPK
keep on sharing :)

Dessamator

Quote from: the-master on 15 January, 2013, 08:29:29
Why should PtokaX ever reach version 1. ? Its running fine atm. Great work PPK

Well, software developers eventually evolve their software to version 1 when it runs "fine". With the current version numbers
it looks like its in Beta version indefinitely. Anyway, Its mainly just a convention, doesn't really hold much meaning, except to
the developer, because it helps him/her keep track of different versions.
Ignorance is Bliss.

PPK

It is only number, saying nothing about how software works.. Other hubsoft have version 1 (ynhub), are close to version 1 (verlihub) or have version higher than 1 (adch++) ... are they better  ???  ;D
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Dessamator

Well they are not necessarily better or worse. I was mainly joking which is why I said its merely a convention. As long as the software works, the version number is irrelevant. For example, some browsers like chrome, are relatively new, but,
have a version number of 24, and some software like online email clients we cant even see what version they are running.
Ignorance is Bliss.

PPK

Chrome, Firefox ... exactly way of numbering that i don't like ;D
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

FoX

Very nice work ... congratulations  :)


Best regards,
Massimiliano

SMF spam blocked by CleanTalk