eXpansion plugin pack for Manialive - (updated: 3.4.2014)

Post here every finished plugin

Moderator: NADEO

reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Update 1.12.2013

Post by reaby »

Update 1.12.2013

!!!! Window management is finally fixed !!!!
Finally I figured out how to check what window should be the topmost in all cases, also windows are now all opaque.

* new chat commands /spec and /play to control your spectator / playing status (very handy on password protected servers, since you can't change othervice from spectator to player)
* new chat command /info to show server info for geeks =)
* we got now inheritage for admingroups (Thanks Oliver) !
* Mapratings widget changed, it displays now also votes in percentage + total voters count
* New widget at endmap to rate the map
* Personal messages window didn't show right players in the list, fixed.
* Dedimania enhancements, it should now display the dedimessages right (hopefully, needs testing tho for different dedimania servermaxrank servers + players with different maxranks)

aaand... more updates to come !! :)
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: Update 1.12.2013

Post by oliverde8 »

reaby wrote:aaand... more updates to come !! :)
You forgoth so much, :D There is plenty of small bug fixes and small features that makes things simply better :D Reaby really outdid himself this last few days.

Also we are redistributing the permissions, because some permissions gives to much access to players so we are splinting it up to smaller permissions. So if any of your admins has permissions going missing, it is caused by this and it is an expected behavior.
Note also that we know about the admins file not being updated properly some times. This causes newly added admins not to be saved. We are investigating.

If you do edit the file manually, I strongly recommend you to stop :roflol:
so true has been replaces by y
u is unknown, it will check the groups it inherits to decide. If no such group then will be considered as false
n is equivalent to false
The update from old file to new is automatic but you may want to make a backup.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: eXpansion plugin pack [Manialive 3.1] updated: 1.12.2013

Post by TMarc »

Nice with the #translation# tags. This helps a lot to see what still has to be done.

But I fear there is a bit of a mess with the en.txt and en2.txt (I downloaded the complete ZIP from github).

And e.g. in Adm\Messages\en.txt, words like timeAttackSynchStartPeriod are variables or should this also be translated?
Could we use more description and blanks there?
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: eXpansion plugin pack [Manialive 3.1] updated: 1.12.2013

Post by reaby »

TMarc wrote:Nice with the #translation# tags. This helps a lot to see what still has to be done.

But I fear there is a bit of a mess with the en.txt and en2.txt (I downloaded the complete ZIP from github).
An Update!
Made the script to remove the differential files --> "en2.txt" from each directory, so no problem.

The language files contains now the updated messages with the #translate# tags :)
TMarc wrote: And e.g. in Adm\Messages\en.txt, words like timeAttackSynchStartPeriod are variables or should this also be translated?
well.. hmm.. that is used in "game options" window to mark the matchsettings file tagname. I thought it might be best to use the tags, but maybe it needs to be changed something else then, if you invent a good term, just be free to use it instead.
Last edited by reaby on 02 Dec 2013, 00:41, edited 1 time in total.
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: eXpansion plugin pack [Manialive 3.1] updated: 1.12.2013

Post by TMarc »

Ok, thanks!

Btw. in Players\Messages\en.txt there is a typo, but I don't know if it is also like this in the code:
Admin has released you from specate to play

In the de.txt there were now two lines:
the one I already fixed before, and additionally the wrong above :?

What shall we do in such cases (typos in original english messages)?
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: eXpansion plugin pack [Manialive 3.1] updated: 1.12.2013

Post by reaby »

TMarc wrote: What shall we do in such cases (typos in original english messages)?
Well the typos in original english messages in the code should be fixed ofcourse, but this means that if i fix it in code and run again the update script.. it will generate a new line for the corrected and not delete the old one.

hmm.. one solution i can think of would be to change the file format to have metatag (or line) on php filename and row where the original string in code comes from, then when i run the update i can check if the row has changed also in code and delete the old entry + create new with tags... dunno if it's good idea, but thats what i think would be possible to do inorder to prevent dupes when correcting typos from the sourcecode strings.
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: eXpansion plugin pack [Manialive 3.1] updated: 1.12.2013

Post by TMarc »

You could only get rid of this by using also the English strings directly from the messages files,
having some string identifier like #251# in front of each string.

But If I get it right, the en.txt will also be used as "translation" of itself, so in the second line the typo can be fixed without code change?
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: eXpansion plugin pack [Manialive 3.1] updated: 1.12.2013

Post by reaby »

TMarc wrote:You could only get rid of this by using also the English strings directly from the messages files,
having some string identifier like #251# in front of each string.

But If I get it right, the en.txt will also be used as "translation" of itself, so in the second line the typo can be fixed without code change?
that's correct. en.txt is loaded to translation system and you can indeed fix typos there too.
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: eXpansion plugin pack [Manialive 3.1] updated: 1.12.2013

Post by reaby »

Btw i spotted little bug with the translations exporter..
You may see \' and \" what is escaped string starter tags in the current version of your downloaded github translations messages, i'll apply a patch to correct those to normal ' and " for the messages...

I do a note for myself to check the incoming translations for these.. sorry for the inconvience.
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: eXpansion plugin pack [Manialive 3.1] updated: 6.12.2013

Post by reaby »

Image
Changelog 6.12.2013

- Fix for locales support scripts, exported messages will not contain escaped string starting characters anymmore. Fixes for locales messages.
- Fixed GameMode dependencie system.
- Fix : In HudMenu EndRoud button appeared during TA mode instead of Round
- Introducing new permissions
- added permissions to users so that they aren't idleKicked... Added a small optimisation for cpu usage
- Still arenging permissions … MathcSettings windows positions reworked to look nicer
- Messages for new permissions added
- records widgets: added lighter background to players who are presetn at the server.. (Thanks to willie-maykit for the idea)
-changed player has won messages to gamestate: podium
-adjustments to finnish locales
- fixes menu to display localized separator items, fix for english messages
- limiting dedimania defaults to top15, fix for normal-layer records widget
- fixed 'players' window shortcut commands to work
- added preloder to custom gui elements + fix for SMstorm altmenu for all titles
- allowing maniaplanet chat color customization for custom chat plugin
- adding command /admin add #id to mx-plugin
- Admin Groups supports direct cmd without passing by /admin as short Aliases
- Fix, no Admin Commands messages for all non admin commands XD
- changes to window-baseclass
- fixed php fatal error with admingroups: AdminGroups::GetnoPermissionMsg() tried to return non-static property, now fixed.
- Notifications plugin works again, tho need testing with multilanguage environment.
I had to modify i18n system little to make it work, hopefully i didn't break anything.
- when player is broadcasting and joins server, a message is now shown!
- Force scores works now at last, changed dedimania info text
- PersonalMessages enhancements …

* added admin chat group with command /a <message>
* Deprecated the chat command /pmx <message>
* Added chat command /pm <login> <message>
- optimized dedimania plugin a little. optimized chat plugin a little.
Added customized Quit dialog :)
- adding exp-logo to quit window
- UI texture preload fix

Known Issues
* If multiple users are using help or maplist or whatever window, and the other player closes the window or updates its contents the manialive actionhandler deletes the actioncodes, which renders the window buttons / clickable items non working since there is no reference what to do for the click...

Second code-block of the following forumposting contains a patch for previous issue:
http://forum.maniaplanet.com/viewtopic. ... 40#p196142
Post Reply

Return to “ManiaLive Plugins”

Who is online

Users browsing this forum: No registered users and 1 guest