PtokaX forum

Forum => News => Topic started by: PPK on 02 November, 2006, 09:44:17

Title: PtokaX 0.3.5.2 released...
Post by: PPK on 02 November, 2006, 09:44:17
New PtokaX is here (http://www.ptokax.org/files/0.3.5.2.7z).

Quote from: Changelog...
Added: GetDisableMOTD, SetDisableMOTD to lua interface (request by Snooze).
Added: GetMOTD, SetMOTD, GetSendMOTDinPM, SetSendMOTDinPM to lua interface.
Added: ChangeRegUser to lua.
Added: Save setting button to gui.
Added: SuspendAccepts(iTime) to lua for suspending listening sockets when hub is attacked.
Added: iLoginTime to userobject in lua.
Added: Option for reporting suspicious tags.
Added: Advanced password protection (thx plop for idea).
Added: SendToOpChat to luainterface.
Added: Option to accept tag from unknown client as valid when have all needed parts.
Added: Option to check ip in connect and search commands.
Added: Permission for profile to not check IP.
Fixed: Few bugs related to reserved nicks (thx -RICK- for report).
Fixed: Memory usage caused with deflood, when data no longer needed.
Fixed: $Multi Direct Connect Commands to be DC++ compatible.
Fixed: More bugs related to kick and ban from gui.
Fixed: Missing kick message when op kick user from inbuild client kick.
Fixed: Sending userip to user before userlist, now is corectly after (thx CrazyGuy for report).
Changed: Memory allocations, for lower memory usage.
Changed: Hublist registering, complete new code.
Changed: Result for !getinfo command + added login time.
Improved: Protocol commands parsing, faster and better catching corupted commands.
Removed: Possibility of AddRegUser in lua to overwrite existing reg.

And few libraries to use from scripts...
1 ) PXDbgC dll (http://www.ptokax.org/files/Libs-0.3.5.2/PXDbgC.7z), src (http://www.ptokax.org/files/Libs-0.3.5.2/PXDbgC-src.7z). Based on bluebear PxDbgC 0.4.
2 ) PXLuaFileSystem dll (http://www.ptokax.org/files/Libs-0.3.5.2/PXLuaFileSystem.7z), src (http://www.ptokax.org/files/Libs-0.3.5.2/PXLuaFileSystem-src.7z). Based on luafilesystem 1.2 (http://luaforge.net/projects/luafilesystem/).
3 ) PXLuaSocket dll (http://www.ptokax.org/files/Libs-0.3.5.2/PXLuaSocket.7z), src (http://www.ptokax.org/files/Libs-0.3.5.2/PXLuaSocket-src.7z). Based on luasocket 2.0.1 (http://luaforge.net/projects/luasocket/).
4 ) PXLua-SQLite dll (http://www.ptokax.org/files/Libs-0.3.5.2/PXLua-SQLite.7z), src (http://www.ptokax.org/files/Libs-0.3.5.2/PXLua-SQLite-src.7z). Based on lua-sqlite3 0.4.1 (http://luaforge.net/projects/lua-sqlite3/).
5 ) PXLuaZlib dll (http://www.ptokax.org/files/Libs-0.3.5.2/PXLuaZlib.7z), src (http://www.ptokax.org/files/Libs-0.3.5.2/PXLuaZlib-src.7z). Based on luazlib 0.0.1 (http://luaforge.net/projects/luazlib/).
6 ) PXMD5 dll (http://www.ptokax.org/files/Libs-0.3.5.2/PXMD5.7z), src (http://www.ptokax.org/files/Libs-0.3.5.2/PXMD5-src.7z). Based on md5 1.0.0 (http://luaforge.net/projects/md5/).

//EDIT
And yes, PtokaX and all libs are now Lua 5.1.1 only  ::)
Title: Re: PtokaX 0.3.5.2 released...
Post by: TTB on 02 November, 2006, 09:55:23
Nice one!!

What is this? --> Added: Permission for profile to not check IP.

How does the IP check works?
Title: Re: PtokaX 0.3.5.2 released...
Post by: PPK on 02 November, 2006, 10:11:39
Quote from: TTB on 02 November, 2006, 09:55:23
What is this? --> Added: Permission for profile to not check IP.
This is to allow user having one IP for connection to hub and different IP for incoming connection to use active mode when IP checking is enabled  8)
Quote from: TTB on 02 November, 2006, 09:55:23
How does the IP check works?
It is simple, PtokaX checking if IP in ConnectToMe, MultiConnectToMe, Search matching user IP ... if not then command is dropped.
Title: Re: PtokaX 0.3.5.2 released...
Post by: speedX on 02 November, 2006, 16:52:28
Is the link dead?? Coz i m not able to download
Title: Re: PtokaX 0.3.5.2 released...
Post by: imb on 02 November, 2006, 16:56:26
Worked for me, downloaded in one second.
Title: Re: PtokaX 0.3.5.2 released...
Post by: Fab78 on 02 November, 2006, 17:57:26
Great release PPK  :D link work fine here too  ;)
Title: Re: PtokaX 0.3.5.2 released...
Post by: speedX on 02 November, 2006, 18:43:26
Yup now the link works for me.....

Quote from: PPK on 02 November, 2006, 09:44:17
And few libraries to use from scripts...
1 ) PXDbgC dll (http://www.ptokax.org/files/Libs-0.3.5.2/PXDbgC.7z), src (http://www.ptokax.org/files/Libs-0.3.5.2/PXDbgC-src.7z). Based on bluebear PxDbgC 0.4.
2 ) PXLuaFileSystem dll (http://www.ptokax.org/files/Libs-0.3.5.2/PXLuaFileSystem.7z), src (http://www.ptokax.org/files/Libs-0.3.5.2/PXLuaFileSystem-src.7z). Based on luafilesystem 1.2 (http://luaforge.net/projects/luafilesystem/).
3 ) PXLuaSocket dll (http://www.ptokax.org/files/Libs-0.3.5.2/PXLuaSocket.7z), src (http://www.ptokax.org/files/Libs-0.3.5.2/PXLuaSocket-src.7z). Based on luasocket 2.0.1 (http://luaforge.net/projects/luasocket/).
4 ) PXLua-SQLite dll (http://www.ptokax.org/files/Libs-0.3.5.2/PXLua-SQLite.7z), src (http://www.ptokax.org/files/Libs-0.3.5.2/PXLua-SQLite-src.7z). Based on lua-sqlite3 0.4.1 (http://luaforge.net/projects/lua-sqlite3/).
5 ) PXLuaZlib dll (http://www.ptokax.org/files/Libs-0.3.5.2/PXLuaZlib.7z), src (http://www.ptokax.org/files/Libs-0.3.5.2/PXLuaZlib-src.7z). Based on luazlib 0.0.1 (http://luaforge.net/projects/luazlib/).
6 ) PXMD5 dll (http://www.ptokax.org/files/Libs-0.3.5.2/PXMD5.7z), src (http://www.ptokax.org/files/Libs-0.3.5.2/PXMD5-src.7z). Based on md5 1.0.0 (http://luaforge.net/projects/md5/).

Could you tel me wat is the use of all these libraries??
Title: Re: PtokaX 0.3.5.2 released...
Post by: Herodes on 02 November, 2006, 19:27:40
Quote from: speedX on 02 November, 2006, 18:43:26
Yup now the link works for me.....

Could you tel me wat is the use of all these libraries??
PxDbgC allows scripters to output debug messages to console.
PXLuaFileSystem is a lua library for interfacing file system functions to Lua, compiled for PtokaX.
PXLuaSocket is a lua library for interfacing the socket interface functions to Lua, compiled for PtokaX.
PXLua-SQLite is a lua library for interfacing the SQLite database system to Lua, compiled for PtokaX.
PXLuaZLib is a Lua library for interfacing the zlib compression functions to Lua, compiled for PtokaX.
PXMD5 is a Lua library for interfacing the md5 hash algorithm functions to Lua, compiled for PtokaX.

Now,... who wants to contribute these in the wiki (http://www.ptxwiki.psycho-chihuahua.net/) ?
Title: Re: PtokaX 0.3.5.2 released...
Post by: NRJ on 02 November, 2006, 19:30:46
Thanks, PPK! Im already translated PtokaX for russian DC community)

Good work!
Title: Re: PtokaX 0.3.5.2 released...
Post by: Fab78 on 04 November, 2006, 01:29:38
Italian translation version is ready too  ;)
Title: 0.3.5.2
Post by: ruler on 04 November, 2006, 17:20:48
This version is good and deserves a big thumbs up (http://www.blachschool.org/staff/wade/thumbs-up.gif) nice work  8)
Title: Re: PtokaX 0.3.5.2 released...
Post by: speedX on 04 November, 2006, 18:34:41
Quote from: PPK on 02 November, 2006, 09:44:17
And yes, PtokaX and all libs are now Lua 5.1.1 only  ::)

But one script is giving me error in 0.3.5.2, but it works gr8 in 0.3.5.1 It is a lua 5.1 script
Title: Re: PtokaX 0.3.5.2 released...
Post by: Herodes on 04 November, 2006, 20:32:28
Quote from: speedX on 04 November, 2006, 18:34:41
But one script is giving me error in 0.3.5.2, but it works gr8 in 0.3.5.1 It is a lua 5.1 script
Please don't post the problems with scripts here.. post up the problem at the respective script's thread.
Title: Re: PtokaX 0.3.5.2 released...
Post by: CrazyGuy on 05 November, 2006, 13:06:44
QuotePlease don't post the problems with scripts here..

Actually I had some1 else telling me a similar problem yesterday.
A LUA 5.1.1 script running well on PtokaX 3.5.1 but not on 3.5.2
In the case I heard it was about a Grimore version from RinceWind.

Maybe it has something to do with PtokaX,  ??? will see if I can find out more info
Title: Re: PtokaX 0.3.5.2 released...
Post by: PPK on 05 November, 2006, 16:03:18
0.3.5.2 have more strict lua... old 0.3.5.1 have enabled few compatibility modes with old 5.0 scripts  ::)
Title: Re: PtokaX 0.3.5.2 released...
Post by: Herodes on 05 November, 2006, 16:10:25
Quote from: PPK on 05 November, 2006, 16:03:18
0.3.5.2 have more strict lua... old 0.3.5.1 have enabled few compatibility modes with old 5.0 scripts  ::)
How do you mean ? what is changed? Is it possible we can have some more info ?
Title: Re: PtokaX 0.3.5.2 released...
Post by: speedX on 05 November, 2006, 16:16:05
Quote from: PPK on 05 November, 2006, 16:03:18
0.3.5.2 have more strict lua... old 0.3.5.1 have enabled few compatibility modes with old 5.0 scripts  ::)

Yup, I experienced tht with one of my best scripts ;)
Title: Re: PtokaX 0.3.5.2 released...
Post by: PPK on 05 November, 2006, 18:08:38
Quote from: Herodes on 05 November, 2006, 16:10:25
Is it possible we can have some more info ?
Yes... changes in order as they are in luaconfig
Default paths changed from

#define LUA_CDIR "!\\"
#define LUA_PATH_DEFAULT  \
".\\?.lua;"  LUA_LDIR"?.lua;"  LUA_LDIR"?\\init.lua;" \
             LUA_CDIR"?.lua;"  LUA_CDIR"?\\init.lua"
#define LUA_CPATH_DEFAULT \
".\\?.dll;"  LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"

to
#define LUA_CDIR "!\\libs\\"
#define LUA_PATH_DEFAULT  \
"!\\?.lua;"  "!\\libs\\?.lua;"  "!\\scripts\\libs\\?.lua"
#define LUA_CPATH_DEFAULT \
        "!\\?.dll;"  "!\\libs\\?.dll;"  "!\\scripts\\libs\\?.dll"

Disabled compatibility for "LUA_COMPAT_VARARG controls compatibility with old vararg feature", "LUA_COMPAT_MOD controls compatibility with old math.mod function", "LUA_COMPAT_GFIND controls compatibility with old 'string.gfind' name" and " LUA_COMPAT_OPENLIB controls compatibility with old 'luaL_openlib'".
Title: Re: PtokaX 0.3.5.2 released...
Post by: Rincewind on 05 November, 2006, 19:22:49
Yeah there is a problem with the loadfile command I use in Grimoire to open the lua files I use. I am back home now after a weekend away so will try to find a solution to this as soon as possible.
Title: Re: PtokaX 0.3.5.2 released...
Post by: dragos_sto on 06 January, 2007, 20:56:35
i dont be impolite,but a unix ,linux version of ptokax
whit CLI i find some where ?
honest to be i use ptokax over three year
and scripts for them it is not so hard to make ...

the reason of my request it one little problem whit my
hardware , i have a machine at 1000 mhz whit 3x128 MB RAM and windows xp
the sistem it ok , but when i have more then 300 users
i have lag .. :((

i whil drop out some script for the moment :((

in advance i search for optimize the script
or if it possible to add one option to see what script take a long time to process ...
whill be a lot of help for me :)



10x in advance for patience to read my message