Jump to content

Ultimate Map Manager (1.2.5.0 - 03/26/15)


Prophet731

Recommended Posts

Originally Posted by falcontx*:

 

I had a performance issue with ProCon having extremely slow load/connection times (up to a minute) with my Insane Limits plugin. My plugin, like yours allows users to dynamically keep adding sections. In your case is map lists, in my case is limits/rules. Because of that when my plugin gets to +10 sections, ProCon is very slow to load the plugin settings during connection. Even after loading the settings, it's very slow when you are editing them. I resolved the issue by moving all settings to an external file that I manage myself (save and load the settings very fast/optimized).

Yeah, I noticed this. Using an external file, optionally, may be the way to go. I'll have to figure out a way to format the data so that it's easy to recognize/edit. When I start working on the custom presets, I'll probably go with an external file.

 

The funny thing is, I think this issue would be relatively easy for Phogue, et al. to fix. When debugging, I've found that PRoCon redraws the options dialog after every single option is loaded, sometimes multiple times. It's even worse is you click "Reload plugins", which I recommend that no one ever do.

* Restored post. It could be that the author is no longer active.
Link to post
  • Replies 2.5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Description This plug-in is intended to manage your map rotation based upon the number of players on the server. Optionally, it will also change the server name to match the current rotation, allow ce

Posted Images

Originally Posted by micovery*:

 

Yeah, I noticed this. Using an external file, optionally, may be the way to go. I'll have to figure out a way to format the data so that it's easy to recognize/edit. When I start working on the custom presets, I'll probably go with an external file.

 

The funny thing is, I think this issue would be relatively easy for Phogue, et al. to fix. When debugging, I've found that PRoCon redraws the options dialog after every single option is loaded, sometimes multiple times. It's even worse is you click "Reload plugins", which I recommend that no one ever do.

For simplicity, I used exact same format as ProCon's cfg. That way I am able to read the settings from the external/separate file, sequentially without much interpretation, and just call the same SetPluginVariable method that ProCon calls.

 

Edit: Also, the load+saving of the settings happens transparently, so the user does not even know there is a separate file being used for settings. Of course, if he wishes, there is a "Storage Manager" (hidden by default) section, where can modify what file the settings go to, or manually force a save/reload of the settings if needed.

* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by falcontx*:

 

For simplicity, I used exact same format as ProCon's cfg. That way I am able to read the settings from the external/separate file, sequentially without much interpretation, and just call the same SetPluginVariable method that ProCon calls.

 

Edit: Also, the load+saving of the settings happens transparently, so the user does not even know there is a separate file being used for settings. Of course, if he wishes, there is a "Storage Manager" (hidden by default) section, where can modify what file the settings go to, or manually force a save/reload of the settings if needed.

Sounds great! I'll definitely look into this ASAP, as it seems this needs to be done before I start adding even more features!
* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by unrigh7eous*:

 

Have been using plugin for 4 days and no issues. Installed update today and half way through day none of regulars can find my server. It was removed from all peoples favorites. Shut off plugin restarted server and it shows back up. Do you think it could be related to the plugin? I have still turned it back on. Just kinda need to know before i can trust it fully.

 

Im thinking it might have to do with the plugin changing the server maplist and server name but I really dont know.

* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by falcontx*:

 

Have been using plugin for 4 days and no issues. Installed update today and half way through day none of regulars can find my server. It was removed from all peoples favorites. Shut off plugin restarted server and it shows back up. Do you think it could be related to the plugin? I have still turned it back on. Just kinda need to know before i can trust it fully.

 

Im thinking it might have to do with the plugin changing the server maplist and server name but I really dont know.

It's not related to the plugin. It's a Battlelog bug that just happens on occasion. It was the reason why the Automatic Round Restarter was developed in the first place. Restarting the current map will relist the server.
* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by cableguy619*:

 

Have been using plugin for 4 days and no issues. Installed update today and half way through day none of regulars can find my server. It was removed from all peoples favorites. Shut off plugin restarted server and it shows back up. Do you think it could be related to the plugin? I have still turned it back on. Just kinda need to know before i can trust it fully.

 

Im thinking it might have to do with the plugin changing the server maplist and server name but I really dont know.

Favourties are not affected by any plugin.. Once you favourite any server it stays in yoru favourites.

* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by Bazza*:

 

May have already been asked but is there any way to make the game types and maps random? Or just the first one? Say have conquest small, TDM and rush (All 32 player) and have all the maps in rotation and have it just randomly call up a gametype and a map?

* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by elkabong86*:

 

Is there a way you could add in a feature that monitors what map was on the previous round, so that when a new map-list switches, if the same map in the previous round is set to be the first map in the new list, it skips to the next map?

* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by falcontx*:

 

Is there a way you could add in a feature that monitors what map was on the previous round, so that when a new map-list switches, if the same map in the previous round is set to be the first map in the new list, it skips to the next map?

If you turn on "Start with random map", it will not select the same map you were just on.
* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by traustic*:

 

I was wondering if it would be possible to set the end of one rotation and return to that rotation at different numbers?

 

Advance to map list 2 at 30 players, set map list 1 if 16 or less players....

 

Would this be difficult?

* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by falcontx*:

 

I was wondering if it would be possible to set the end of one rotation and return to that rotation at different numbers?

 

Advance to map list 2 at 30 players, set map list 1 if 16 or less players....

 

Would this be difficult?

It already does that. Set the max for Map List 1 to 29 and set the min for Map List 2 to 17.
* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by dyn*:

 

I've just experienced a problem and am trying to troubleshoot it here.

 

I'm looking through the plugin file and can't seem to see any mention of the UMM making any entries, when it should have switched the game mode.

 

If plugin debugging is set to no, will the plugin still make still write to the plugin log file?

 

Edit (2): Also, when debugging is enabled, I see tons of :

[08:04:33 48] UltimateMapManager: WARN -> 31 players. No map list is available for this number of players; keeping current map list.

 

Our current map size goes from: 0-22 (map list 0) and then another list 40-64 (map list 1). There is nothing in between the two ranges. Our thought is that it will stay on map list 0 up until we get to 40 users at which point it will then switch to map list 1. It will then also stay on map list 1 until the server size drops below 22 users.

 

Now that I'm actually looking at the config, Map List 0 is for 40-64 players while Map List 1 is actually 0 -22. Not sure if this would make a difference ?

* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by falcontx*:

 

I've just experienced a problem and am trying to troubleshoot it here.

 

I'm looking through the plugin file and can't seem to see any mention of the UMM making any entries, when it should have switched the game mode.

 

If plugin debugging is set to no, will the plugin still make still write to the plugin log file?

 

Edit (2): Also, when debugging is enabled, I see tons of :

[08:04:33 48] UltimateMapManager: WARN -> 31 players. No map list is available for this number of players; keeping current map list.

 

Our current map size goes from: 0-22 (map list 0) and then another list 40-64 (map list 1). There is nothing in between the two ranges. Our thought is that it will stay on map list 0 up until we get to 40 users at which point it will then switch to map list 1. It will then also stay on map list 1 until the server size drops below 22 users.

 

Now that I'm actually looking at the config, Map List 0 is for 40-64 players while Map List 1 is actually 0 -22. Not sure if this would make a difference ?

If debug messages are turned off, it will not write to the console plugin or log.

 

To do what you want, you need to set the "smaller" map list to 0 - 39 players and your "larger" map list to 22 - 64 players. The number of the map list doesn't matter.

* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by falcontx*:

 

Is there a Way to get a Maplist only for one day in the week?

Metro - Monday

CQ/Rush - Rest of the Week

Not at the moment, but this will probably be added at some point.
* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by dyn*:

 

If debug messages are turned off, it will not write to the console plugin or log.

 

To do what you want, you need to set the "smaller" map list to 0 - 39 players and your "larger" map list to 22 - 64 players. The number of the map list doesn't matter.

Thank you. Will ensure debug messages are turned on.

 

Hrmm. If it's setup so:

 

0-39 is the 'smaller map' and 40-64 is the 'larger map' wont it auto switch (at the end of the round) to the smaller map if we drop below 40 people at the end of the round ? In my case, once we are switched to the larger maps (so there are more than 40 people) I only want it to switch to the smaller map if we go below 22 people. So, we have 64 people and 15 quit. I still want it to be on the large map.

 

Not sure if I'm explaining this correctly....

 

Thank you again.

* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by falcontx*:

 

Thank you. Will ensure debug messages are turned on.

 

Hrmm. If it's setup so:

 

0-39 is the 'smaller map' and 40-64 is the 'larger map' wont it auto switch (at the end of the round) to the smaller map if we drop below 40 people at the end of the round ? In my case, once we are switched to the larger maps (so there are more than 40 people) I only want it to switch to the smaller map if we go below 22 people. So, we have 64 people and 15 quit. I still want it to be on the large map.

 

Not sure if I'm explaining this correctly....

 

Thank you again.

I said 0-39 for the 'smaller map' and 22-64 for the 'larger map'. By setting the minimum at 22, you are telling the plugin that it should keep the larger map list until it goes below 22 people.
* Restored post. It could be that the author is no longer active.
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.