Author Topic: PtokaX 0.3.5.2 released...  (Read 8803 times)

0 Members and 1 Guest are viewing this topic.

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +209/-22
  • PtokaX developer
PtokaX 0.3.5.2 released...
« on: 02 November, 2006, 09:44:17 »
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  ::)
« Last Edit: 02 November, 2006, 09:46:34 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.3.5.2 released...
« on: 02 November, 2006, 09:44:17 »

Offline TTB

  • Lord
  • ***
  • Posts: 436
  • Karma: +17/-1
Re: PtokaX 0.3.5.2 released...
« Reply #1 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?
TTB

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

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +209/-22
  • PtokaX developer
Re: PtokaX 0.3.5.2 released...
« Reply #2 on: 02 November, 2006, 10:11:39 »
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)
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

Offline speedX

  • Lord
  • ***
  • Posts: 437
  • Karma: +59/-19
Re: PtokaX 0.3.5.2 released...
« Reply #3 on: 02 November, 2006, 16:52:28 »
Is the link dead?? Coz i m not able to download
Thanking You,

speedX

imb

  • Guest
Re: PtokaX 0.3.5.2 released...
« Reply #4 on: 02 November, 2006, 16:56:26 »
Worked for me, downloaded in one second.

Offline Fab78

  • Junior Member
  • **
  • Posts: 13
  • Karma: +6/-0
Re: PtokaX 0.3.5.2 released...
« Reply #5 on: 02 November, 2006, 17:57:26 »
Great release PPK  :D link work fine here too  ;)

Offline speedX

  • Lord
  • ***
  • Posts: 437
  • Karma: +59/-19
Re: PtokaX 0.3.5.2 released...
« Reply #6 on: 02 November, 2006, 18:43:26 »
Yup now the link works for me.....

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

  • Guest
Re: PtokaX 0.3.5.2 released...
« Reply #7 on: 02 November, 2006, 19:27:40 »
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 ?

Offline NRJ

  • Junior Member
  • **
  • Posts: 10
  • Karma: +2/-0
Re: PtokaX 0.3.5.2 released...
« Reply #8 on: 02 November, 2006, 19:30:46 »
Thanks, PPK! Im already translated PtokaX for russian DC community)

Good work!

Offline Fab78

  • Junior Member
  • **
  • Posts: 13
  • Karma: +6/-0
Re: PtokaX 0.3.5.2 released...
« Reply #9 on: 04 November, 2006, 01:29:38 »
Italian translation version is ready too  ;)

Offline ruler

  • Triple Ace
  • **
  • Posts: 179
  • Karma: +7/-2
    • DCHubAd
0.3.5.2
« Reply #10 on: 04 November, 2006, 17:20:48 »
This version is good and deserves a big thumbs up nice work  8)

Offline speedX

  • Lord
  • ***
  • Posts: 437
  • Karma: +59/-19
Re: PtokaX 0.3.5.2 released...
« Reply #11 on: 04 November, 2006, 18:34:41 »
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

  • Guest
Re: PtokaX 0.3.5.2 released...
« Reply #12 on: 04 November, 2006, 20:32:28 »
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.

Offline CrazyGuy

  • Viking
  • ****
  • Posts: 506
  • Karma: +83/-20
    • ?????=-_The NightHawk_-=?????
Re: PtokaX 0.3.5.2 released...
« Reply #13 on: 05 November, 2006, 13:06:44 »
Quote
Please 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

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +209/-22
  • PtokaX developer
Re: PtokaX 0.3.5.2 released...
« Reply #14 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  ::)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Herodes

  • Guest
Re: PtokaX 0.3.5.2 released...
« Reply #15 on: 05 November, 2006, 16:10:25 »
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 ?

Offline speedX

  • Lord
  • ***
  • Posts: 437
  • Karma: +59/-19
Re: PtokaX 0.3.5.2 released...
« Reply #16 on: 05 November, 2006, 16:16:05 »
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

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 482
  • Karma: +209/-22
  • PtokaX developer
Re: PtokaX 0.3.5.2 released...
« Reply #17 on: 05 November, 2006, 18:08:38 »
Is it possible we can have some more info ?
Yes... changes in order as they are in luaconfig
Default paths changed from
Code: [Select]
#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
Code: [Select]
#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

Offline Rincewind

  • Scripter
  • Lord
  • ******
  • Posts: 403
  • Karma: +60/-7
    • Rincewind's Scripts
Re: PtokaX 0.3.5.2 released...
« Reply #18 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.

Offline dragos_sto

  • Double Ace
  • *
  • Posts: 122
  • Karma: +7/-1
  • World round and round ...
Re: PtokaX 0.3.5.2 released...
« Reply #19 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

PtokaX forum

Re: PtokaX 0.3.5.2 released...
« Reply #19 on: 06 January, 2007, 20:56:35 »