PtokaX forum

Development Section => PtokaX Development Versions => Topic started by: PPK on 11 December, 2012, 23:37:47

Title: 0.4.2.0 build 420
Post by: PPK on 11 December, 2012, 23:37:47
Windows x86/x64 version with GUI and Lua 5.1.5: http://www.PtokaX.org/files/0.4.2.0b420-Lua5.1.5.7z
Windows x86/x64 service with Lua 5.1.5: http://www.PtokaX.org/files/0.4.2.0b420-Lua5.1.5-service.7z

Windows x86/x64 version with GUI  and Lua 5.2.1: http://www.PtokaX.org/files/0.4.2.0b420-Lua5.2.1.7z
Windows x86/x64 service with Lua 5.2.1: http://www.PtokaX.org/files/0.4.2.0b420-Lua5.2.1-service.7z

Source is in SVN (http://forum.ptokax.org/index.php?topic=7821.0)

Quote from: Changes from build 401
Added: Removing PXBReader.o on make clean (thx Alexey for report).
Added: IP2Country now work for 6to4 and Teredo connections.
Added: IP2Country.Reload Lua api function to reload ip to country database from database files.
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: Checking if IPv4 is available and make correct choices related on that.
Added: Targets to makefile.
Changed: !ban and !tempban now working for offline nicks and create nickban for them.
Changed: Nick taken to udp debug is reported only when IPs or Nicks don't match.
Fixed: Active IPv6 search was created for passive IPv6 user when he sent active IPv4 search with wrong IP.
Fixed: Missing passive IPv6 search request when passive IPv6 user sent active IPv4 search request.
Fixed: Lost data when they are generated in send loop.
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: Bad performance in IP hash table indexing for IPv6 addresses.
Fixed: Compile errors on Haiku OS.
Fixed: UserDisconnected was sent to all scripts when user was disconnected in UserConnected, not only to scripts that receive UserConnected as it should be.
Removed: Obsolete client tags.
Removed: Obsolete setting to accept unknown tag.
Updated: Link to PtokaX wiki.

Makefile for non-windows OSes was improved. Now contains targets.
You can build PtokaX on Debian/Ubuntu (and probably others that are based on them) by simple make when you have Lua 5.1.x, or make lua52 when you have Lua 5.2.x.
When you have CentOS 5 then you can use make centos5-32 for i386 or make centos5-64 for x86_64.
When you have CentOS 6 then use make centos6.
When you have FreeBSD then use gmake freebsd.
And last target in actual makefile is for Haiku (http://en.wikipedia.org/wiki/Haiku_%28operating_system%29) and it is make haiku  8)
Title: Re: 0.4.2.0 build 420
Post by: bastya_elvtars on 15 December, 2012, 10:28:25
Quote from: PPK on 11 December, 2012, 23:37:47
When you have FreeBSD then use gmake freebsd.

For this to work, one must install devel/gmake from the ports tree (or pkgsrc) on *BSD.
Title: Re: 0.4.2.0 build 420
Post by: PPK on 15 December, 2012, 15:50:01
Yes, as it is in compile guide for FreeBSD on this board and in wiki...