PtokaX forum

Forum => News => Topic started by: PPK on 23 February, 2008, 21:01:02

Title: PtokaX 0.4.0.0 released...
Post by: PPK on 23 February, 2008, 21:01:02
New PtokaX is here (http://www.ptokax.org/files/0.4.0.0.7z).

Quote from: Changelog...Added: Setting manager, complete replacement for old setting system.
Added: Posibility to change 99.9% of settings without hub restart.
Added: Open in external editor to script menu (request by bastya_elvtars).
Added: Core.Shutdown() for clean hub shutdown (request by KofolaMaster).
Added: Core.GetBots() to get al bots registered by scripts (request by CrazyGuy).
Added: SetMan.Save(), RegMan.Save(), BanMan.Save().
Added: ScriptMan metatable with GetScripts, MoveUp/Down, Start/Stop/Restart script to lua.
Added: Script delete to script menu (request by (uk)jay).
Added: MoveUp and MoveDown to ProfMan in lua (request by Rag3Rac3r).
Added: Option to popup scripts frame on script error.
Added: Support for _BAN_ and _BAN_time in kick messages to add custom perm and temp ban after kick.
Added: Add, change and remove for (range)bans to gui.
Added: User count to welcome message (request by ptaczek).
Fixed: Small bug in tempban, causing delete of permbans on same ip (thx the_pest for report).
Fixed: Crash on rangeunban with bad parameters (thx amenay for report).
Fixed: Crash in same pm deflood (thx nikita800 for report).
Fixed: Duplicite ban message on nicktempban (thx fane for report).
Fixed: Accepting language, script or text file with wrong file extension.
Fixed: Bugs in registered user profile changing related to OP/OpChat permissions (thx plop for report).
Fixed: Crash on set all/clear all profile permissions in some cases (thx hanger 13 for report).
Fixed: Bugs in server thread causing memory corruption in some cases.
Fixed: Missing profile change when registered user was removed from gui and was online (thx CrazyGuy for report).
Fixed: Crashes on loading corrupted xml files.
Changed: Setting were removed from main frame and new setting frame for them was created.
Changed: Few small things in gui, many internal changes in code.
Changed: Component for debug log creating.
Changed: Update check complete rewritten to use winsock instead of indy component.
Changed: Lua interface, complete rewrite.
Changed: Profile moving is now possible when hub is running.
Changed: Tray icon tooltip message, now contains hubname.
Removed: Few things was lost on settings rewrite (chat log, nick rule, webserver...).
Removed: Possibility to use |, space and white chars in profile names (thx Hungarista for report).
Upgraded: Lua to 5.1.3.

Quote from: Minor changes from 0.4.0.0RC10Fixed: Changing topic from gui not changed topic in $HubName sent after login.
Changed: Accepting tag from unknown clients (that are not defined in clienttags.xml) is now enabled as default.
Changed: IP checking in protocol command is now _ALWAYS_ enabled after startup.
Title: Re: PtokaX 0.4.0.0 released...
Post by: Tw?sT?d-d?v on 23 February, 2008, 22:00:15
Nice work    ;D
Title: Re: PtokaX 0.4.0.0 released...
Post by: Semjon on 23 February, 2008, 22:50:49
WoW! Excellent!  :D
Title: Re: PtokaX 0.4.0.0 released...
Post by: speedX on 24 February, 2008, 07:36:20
Awesome....thanks for this new version
Is the download site up?? coz its showing me "Problem Loading page"
Title: Re: PtokaX 0.4.0.0 released...
Post by: Tw?sT?d-d?v on 24 February, 2008, 09:21:15
try HERE (http://euro-op.no-ip.info:8080/files1/0.4.0.0.7zurl)
Title: Re: PtokaX 0.4.0.0 released...
Post by: Psycho_Chihuahua on 24 February, 2008, 10:13:00
or here (http://forum.ptokax.org/index.php?action=tpmod;dl=get54)
Title: Re: PtokaX 0.4.0.0 released...
Post by: (DVC)Hendrik8ste on 25 February, 2008, 12:05:26
all the scripts with this line     sBot = frmHub:GetHubBotName(),     having problems te let it work in the new PTX.
Title: Re: PtokaX 0.4.0.0 released...
Post by: Scanning on 25 February, 2008, 12:26:07
in the textdocument Scripting interface it says :

SetMan.
GetHubBot()  - Return table with sNick, sDescription, sEmail, bEnabled, bUsedAsHubSecAlias.
-- Botname pulled from the hub or use "CustomName" Like Bot = "YourBot",
Bot = SetMan.GetString(21),
Title: Re: PtokaX 0.4.0.0 released...
Post by: Psycho_Chihuahua on 25 February, 2008, 17:24:52
Quote from: (DVC)Hendrik8ste on 25 February, 2008, 12:05:26
all the scripts with this line     sBot = frmHub:GetHubBotName(),     having problems te let it work in the new PTX.


i guess that is correct as the new 0.4.0.0 has a new API and does not use the old one anymore  ::)
Title: Re: PtokaX 0.4.0.0 released...
Post by: PPK on 25 February, 2008, 20:05:02
Quote from: (DVC)Hendrik8ste on 25 February, 2008, 12:05:26
all the scripts with this line     sBot = frmHub:GetHubBotName(),     having problems te let it work in the new PTX.
That is not bug, that is feature. This version have complete new scripting api and old scripts not working.
Title: Re: PtokaX 0.4.0.0 released...
Post by: Mudduck on 28 February, 2008, 08:39:15
Quote from: PPK on 25 February, 2008, 20:05:02
That is not bug, that is feature. This version have complete new scripting api and old scripts not working.

OK that sounds like a good thing? I mean new is always good right? In the mean time is it possible to get old scripts modded to suit or will they require a complete rewrite?

I have looked at the new version and its got some good improvements (although I would have liked to be able to paste info into the settings screen) I will not be replacing current hub (3.6) until i can get a security bot like Robo functional.

Great work to all concerned I am sure that this is a major improvement thats true worth will become apparent as it settles in.

8)
Title: Re: PtokaX 0.4.0.0 released...
Post by: Annie on 28 February, 2008, 14:44:10
You can paste info into the settings screen  ctrl and c for copy and ctrl and v for paste and you can ask for your scripts to be converted :)
Title: Re: PtokaX 0.4.0.0 released...
Post by: PPK on 28 February, 2008, 16:25:24
2Mudduck
Many scripts are already converted, and instead of robocop you can try DiXBoT ;)
Title: Re: PtokaX 0.4.0.0 released...
Post by: Mudduck on 29 February, 2008, 09:43:41
Thanks Annie, I discovered the old ways worked with it after i posted but I imagine some didn't (am getting to used to the rodent) as to script conversions I don't mind having a go myself. Just need to source some info on the changes required as well as watch and learn from the talented group that post here.

Thank you also PPK I have been looking at DixBot - has some interesting features not sure yet if it provides the security options Robo provided but to be fair have not had the time for a detailed look.

8)
Title: Re: PtokaX 0.4.0.0 released...
Post by: Snooze on 29 February, 2008, 17:52:07
Hey Mudduck,

Feel free to contact me directly with any issues/questions you might have in regards to DiXBoT.

/Snooze
Title: Re: PtokaX 0.4.0.0 released...
Post by: Mudduck on 01 March, 2008, 04:52:01
Thanks Snooze will take you up on that!
Title: Re: PtokaX 0.4.0.0 released...
Post by: F_O_X on 05 March, 2008, 08:53:08
In new PtokaX it is impossible to copy in clipboard and to insert from clipboard.
It so is conceived or malfunction?
Title: Re: PtokaX 0.4.0.0 released...
Post by: PPK on 05 March, 2008, 10:13:09
Working for me ::)
Title: Re: PtokaX 0.4.0.0 released...
Post by: F_O_X on 05 March, 2008, 12:06:37
Quote from: PPK on 05 March, 2008, 10:13:09
Working for me ::)

Quote from: Mutor on 05 March, 2008, 11:56:43
There is no context menu but certainly
[CTRL]+C / [CTRL]+V works

I had in view of the right button of the mouse.