Last Updates
so a more complete posting about the changes, after I'm much more in a mood of writing this long posting
Memory management
I wasn't aware of this problem until Oliver noticed the memory usage of the script was rising slowly but constantly.
And all thanks to that goes for the analytics plugin introduced few updates ago. I had a thought that the reason would be again GUI classes, since those were having some memory issues before. And after some debugging found out that the problem indeed was there. I think I found a nice solution to free and release resources of the the classes, so the memory problems should be now fixed. So GUI is changed hugely under the hood. This means some of the GUI might still have some issues due the enhanced memory management... Please give feedback bout this, in case I didn't find while testing the changes
UI Changes
I added more possibilities to easily customize the UI, meaning you can customize the window-, button- and widget colors more precisely. I added possibility to change window background and title colors, as well as the text colors.
To do so, the texture base url needs to be changed as i posted before.
New menu
The menu is has gone though also changes. The structure of the menu hopefully is a bit better now.
Mostly you will notice that the menu items which open a sub menu are also clickable now, this enabled to have even more menu items.
Animations
Since the animation framework has been added as maniascript namespace, it enabled finally to add more animations to widgets and windows. There was some animations before, but now, as no need to include the animation library for the scripts, I would like to bring even more eyecandy to the plugins pack widgets and windows.
Some animations has been changed, like menu and window open/close. Hopefully you like the new ones as much as I
Auto hide widgets
To continue the last topic, I did some tests before to auto hide the widgets during race, and finally as the animations namespace addition, this was possible actually to do. At the bottom right corner there is a little
red or
green box. It changes color when you click.
Green = Auto hide widgets
Red = Static widgets
It indeed should be static widgets by default, but let me know if for some reason it isn't
New script mode events handling
Before all plugins recieved all script mode events, means a lot of processing for the controller.
Since base game modes supports subscribing and unsubscribing events, this means optimizations can be done, which is great! So, now only whitelisted events gets passed to controller from game mode, So now only the plugins with $this->enableScriptEvents("*eventname*"), will get the all subscribed script events, all other plugins will not even process the scripted events, which should make the plugins run even faster, if servers are having 50+ players.
New Plugins
Idlekick
won't kick any admins, others will be kicked after 10 minutes, but you can define other value as well at config.
Notifications
works like another chatbox, you can redirect the server chat messages from plugins to this own movable widget
Obstacles status for trackmania
Very useful for RPG-servers, displays player checkpoint progress bars up to 10.
Minigame1
Game displays an image to random position between random time interval. If a player manages to click the image, he wins random amount of planets. See Ingame config for min/max randomizable values and for the image url!
Customizable Scoreboard
If you run game in scripted mode (gamemode 0), it's possible to customize the scoreboard row and columns count.
Stunt figures
also for scripted modes
Other notable changes
- custom rounds points works again
- jukebox history and buffer sizes are changeable
- Dedimania-plugin ignores now case for SeRvErLoGin
- chatbox background can be unloaded properly