Author Topic: PtokaX 0.5.0.0 released...  (Read 10091 times)

0 Members and 1 Guest are viewing this topic.

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 475
  • Karma: +209/-22
  • PtokaX developer
PtokaX 0.5.0.0 released...
« on: 24 December, 2012, 01:12:41 »
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.

« Last Edit: 24 December, 2012, 01:16:53 by PPK »
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

PtokaX forum

PtokaX 0.5.0.0 released...
« on: 24 December, 2012, 01:12:41 »

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 475
  • Karma: +209/-22
  • PtokaX developer
Re: PtokaX 0.5.0.0 released...
« Reply #1 on: 24 December, 2012, 22:09:52 »
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

Offline prop2012

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-1
Re: PtokaX 0.5.0.0 released...
« Reply #2 on: 29 December, 2012, 21:02:58 »
Congrats on a job well done!

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

Gr Prop2012

Offline Dessamator

  • Scripter
  • Emperor
  • ******
  • Posts: 1 262
  • Karma: +13/-9
Re: PtokaX 0.5.0.0 released...
« Reply #3 on: 15 January, 2013, 06:04:28 »
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.

Offline the-master

  • Triple Ace
  • **
  • Posts: 218
  • Karma: +10/-15
Re: PtokaX 0.5.0.0 released...
« Reply #4 on: 15 January, 2013, 08:29:29 »
Why should PtokaX ever reach version 1. ? Its running fine atm. Great work PPK
keep on sharing :)
dchub://kickincountryhub.no-ip.org

Offline Dessamator

  • Scripter
  • Emperor
  • ******
  • Posts: 1 262
  • Karma: +13/-9
Re: PtokaX 0.5.0.0 released...
« Reply #5 on: 15 January, 2013, 12:41:38 »
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.

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 475
  • Karma: +209/-22
  • PtokaX developer
Re: PtokaX 0.5.0.0 released...
« Reply #6 on: 15 January, 2013, 12:51:37 »
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

Offline Dessamator

  • Scripter
  • Emperor
  • ******
  • Posts: 1 262
  • Karma: +13/-9
Re: PtokaX 0.5.0.0 released...
« Reply #7 on: 18 January, 2013, 16:46:56 »
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.

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 475
  • Karma: +209/-22
  • PtokaX developer
Re: PtokaX 0.5.0.0 released...
« Reply #8 on: 19 January, 2013, 17:39:52 »
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

Offline FoX

  • Junior Member
  • **
  • Posts: 11
  • Karma: +0/-0
Re: PtokaX 0.5.0.0 released...
« Reply #9 on: 14 October, 2013, 18:51:02 »
Very nice work ... congratulations  :)


Best regards,
Massimiliano

PtokaX forum

Re: PtokaX 0.5.0.0 released...
« Reply #9 on: 14 October, 2013, 18:51:02 »