Re: TMServerSwitch v1.0 for FAST3.2.2
Posted: 10 Jun 2009 19:09
all works fine thx
The TrackMania universal forum ^_^
Ah that pesky rounds mode again... The "Record not stored: wrong times or script time sync problem!" must be a rounds problem I guess. Silly me forgot to test it in anything other than timeattack I'll have to give it a workout in rounds and see if I can reproduce it.Mort wrote:Just set it up and it seems to be working great - Excellent job. Took me a few minutes to work out where to click to make stuff happen though
A couple of questions/requests:
1. Can you make the menu entry a variable near the top of the script? That way it makes it easier to change, like you have for the GPP menu name
2. How do I change the window transparency/shade? I find it is a bit too clear and is hard to read with the TM screen showing behind it
3. What does "reload Cfg" do? I tried changing some settings, then clicked reload config but they didn't go back to the "default" from the settings file. I tried a refresh now and still nothing happened.
4. Normal users still see the "Servers" menu entry even when the plugin is turned off. Can that be set to not show when "Power:off" is set?
And one bug:
Update: Spoke too soon. Major bug!
- As an admin, if I click the "Servers" menu the list shows up as expected. Click it again and the list goes away.
- If I open it, then click a menu item (e.g. Reload Cfg), the menu goes away but the list stays
- If I click "Servers" again, the menu reappears and the list goes away!
- now click a menu item again like reload cfg and the menu goes away and the list goes away and you are back to the start of the cycle
When I finish a race I see a message "Record not store: wrong times or script time sync problem!". The local recs window on the right is then replaced by the server switch list even though I didn't have it set to be visible.
This isn't the end of the map, just the end of a single round. All my live five and map info seems to stop working as well. It's almost as though the server switch has done its "podium" stuff at the end of the round and turned all the other stuff off?
When the next map loads everything is all set back correctly again until the first round ends and it happens again.
Yes, I just tested this on a new install and the same thing happened. Temporary workaround until I can get an updated version togeter is to go to the menu>settings>maintenance>force showrecs:on (for some reason it turns it off..) Turning it back on resolves it for now, but I'm working on a more permanent solution.DangerousThoughts wrote:When you force it to show at podium it stops the records updating for the next track on screen...anyone else having this problem?
I was using the right trigger for TA but not rounds, lol. I've now added the right one for rounds (and laps I suppose) so that it works right in both modes. Still trying to sort out the hiding/showing localrecs window after podium though, so I'm holding back an update until I can get that straightened out. If there's enough room, maybe I'll just say **** it and place the list beside the localrecsMort wrote:re the problem with rounds server:
To me it looks like the plugin is treating an end of round the same as the end of game in TA, i.e. it activates the podium stuff.
I tried to work out how the code worked but didn't have time to get deep, but are you using the right trigger to detect when the podium is displayed instead of when the current score list is displayed (like after each round?)
re Hiding the Server menu
Ideally it would just hide it for Users, not admins. If it's disabled by an admin then they should still see the menu to re-enable it, but as there's no "menu" for users they wouldn't need to see it if it's disabled. Having said that I don't know what is actually "possible" to do
First off, the answer is yes, but I have reservations against doing so for at least a couple reasons. For one thing, it would require modding or replacing core Fast files, well at least one of them, so any Fast update would overwrite the mod. Secondly, I never intended (at least intentionally) to imitate or blindly copy the features of any other plugin/server controller without giving credit where due. That said, the XAseco solution works great, and does a great job of utilizing the screen space.DangerousThoughts wrote:i dunno if you can do this but at the top fast displays info about the current track playing...could you not do something like xaseco up there where it shows current info and click to open it up to show next track info and lose the next track box making room for server switch?? just an idea..
Maybe once I shuffle things around I won't have to hide the localrecs panel. It was just a quick and convenient solution at the time.Mort wrote:Can you have a collapsible window for Switch on the Podium? If so then a simple box at the top of the screen that only expanded the full list if you clicked on it might work well. In most cases I don't think people would need to see the whole list at the podium, but the option to expand it if desired might help with the space problem.
As it is at the moment I'd rather hide Switch on the Podium in favour of keeping the local recs visible. If someone is thinking of switching servers then they can just do it while a race is on instead coz it's not like they are going to be racing anyway.
As you probably already know, currently a multi-server setup uses the same config file for all servers. A check for a server-specific config should not be a problem, and is in fact quite relevant in a server switch plugin I'll add it to the next release.Mort wrote:Another question: Does Switch handle different settings for multi-servers? Like you have with gpp, if I don't want switch enabled for one of my servers, can I have a switch.server3.xml.txt to give it a different settings? And if the server specific one doesn't exist then it will just use the "common" settings file.
I think I got it straightened out, but haven't had time to test it as much as I'd like due to other obligations. In any case it should work better than the first version, so I'll try to get it uploaded in a few hours or less.Mort wrote:Is the fix for Rounds servers a quick line edit coz I'd really love to get that sorted so I can enable the switch plug-in.
The rest of the stuff is more "nice to have" and I'm prepared to wait for a more complete update... but the rounds thing is killing any chance of me using it at the moment.