PtokaX 0.3.5.2 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.3.5.2 released...

Started by PPK, 02 November, 2006, 09:44:17

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PPK

New PtokaX is here.

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, src. Based on bluebear PxDbgC 0.4.
2 ) PXLuaFileSystem dll, src. Based on luafilesystem 1.2.
3 ) PXLuaSocket dll, src. Based on luasocket 2.0.1.
4 ) PXLua-SQLite dll, src. Based on lua-sqlite3 0.4.1.
5 ) PXLuaZlib dll, src. Based on luazlib 0.0.1.
6 ) PXMD5 dll, src. Based on md5 1.0.0.

//EDIT
And yes, PtokaX and all libs are now Lua 5.1.1 only  ::)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

TTB

Nice one!!

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

How does the IP check works?
TTB

(? ?.??.-> Admin @ Surfnet hubs <-.??.???)

PPK

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.
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

speedX

Is the link dead?? Coz i m not able to download
Thanking You,

speedX

imb

Worked for me, downloaded in one second.

Fab78

Great release PPK  :D link work fine here too  ;)

speedX

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, src. Based on bluebear PxDbgC 0.4.
2 ) PXLuaFileSystem dll, src. Based on luafilesystem 1.2.
3 ) PXLuaSocket dll, src. Based on luasocket 2.0.1.
4 ) PXLua-SQLite dll, src. Based on lua-sqlite3 0.4.1.
5 ) PXLuaZlib dll, src. Based on luazlib 0.0.1.
6 ) PXMD5 dll, src. Based on md5 1.0.0.

Could you tel me wat is the use of all these libraries??
Thanking You,

speedX

Herodes

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 ?

NRJ

Thanks, PPK! Im already translated PtokaX for russian DC community)

Good work!

Fab78

Italian translation version is ready too  ;)

ruler

This version is good and deserves a big thumbs up nice work  8)

The Direct Connect Global Banlist get protected.

speedX

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
Thanking You,

speedX

Herodes

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.

CrazyGuy

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

PPK

0.3.5.2 have more strict lua... old 0.3.5.1 have enabled few compatibility modes with old 5.0 scripts  ::)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Herodes

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 ?

speedX

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 ;)
Thanking You,

speedX

PPK

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'".
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Rincewind

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.

dragos_sto

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

SMF spam blocked by CleanTalk