AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Deagles' Map Management 3.23 (https://forums.alliedmods.net/showthread.php?t=59535)

bmann_420 08-25-2008 21:06

Re: Deagles' Map Management 3.1
 
If it was tested thoroughly, ill just add it up to the main page as I have it on my laptop now.
Since you did all the dam work... lol Its great really :D

DynamicBits 08-25-2008 21:28

Re: Deagles' Map Management 3.1
 
Quote:

Originally Posted by bmann_420 (Post 675733)
If it was tested thoroughly, ill just add it up to the main page as I have it on my laptop now.
Since you did all the dam work... lol Its great really :D

It has been tested for about 10 days now. My server isn't the busiest, but people have been playing and I haven't heard of or seen any problems. I've also had it running on an empty LAN server at home just to keep an eye on the log for any errors, but nothing popped up last I checked.

If you're interested, you can check out the svn log of the changes I made.

Edit: After 2008-09-11 the new svn log can be viewed here.

bmann_420 08-25-2008 21:33

Re: Deagles' Map Management 3.20
 
I was gonna add a cfg for stock cvars to get pcvar_string also, which I forgot. And I see a lot of semicolon changes, a lot. lol

KWo 08-26-2008 03:13

Re: Deagles' Map Management 3.20
 
What's new in 3.20 (any changelog)?

neogeo 08-26-2008 06:26

Re: Deagles' Map Management 3.20
 
Quote:

Originally Posted by KWo (Post 675845)
What's new in 3.20 (any changelog)?

Code:

v3.20 - 2008-08-15 by DynamicBits
        - Fixed indentation, spacing, semicolons, argument spacing, and missing
            curly braces (these things: { }) to mostly match BSD KNF style.
        - Fixed return value in client_disconnect(). This may have affected any
            other plugin that relied on client_disconnect().
        - Added some missing return values
        - Removed several sections of redundant code
        - New define: DEDICATED_LOG_ENABLED allows logging to be disabled by
            commenting out one line (see source).


Vm|Mayhem 08-26-2008 16:19

Re: Deagles' Map Management 3.20
 
I like the log disable. Thanks for the update.

Nordwind 08-29-2008 14:12

Re: Deagles' Map Management 3.20
 
how can I replace the sounds in the plugin?

Like in the end of a map, it says "loading environment on to your computer"
How can I change it with another mp3 or wav?

regards

DynamicBits 08-29-2008 16:13

Re: Deagles' Map Management 3.20
 
Quote:

Originally Posted by Nordwind (Post 678001)
how can I replace the sounds in the plugin?

Like in the end of a map, it says "loading environment on to your computer"
How can I change it with another mp3 or wav?

regards

Those sounds aren't mp3 or wav files. They come from the half-life engine. For example, the loading environment message is generated with the following line of code:
Code:

client_cmd(0, "speak ^"loading environment on to your computer^"");
If you really wanted something different, for each sound you would have to:
  1. Create (or find) the wav file you want
  2. Add in a precache_sound("something/something.wav"); line in the plugin_precache() forward (which doesn't currently exist in the code)
  3. Replace the client_cmd line mentioned above with a line like:
    Code:

    emit_sound(id, CHAN_AUTO, "something/something.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM);
See the emit_sound doc page for an explanation of how it works.

Mikolas 09-14-2008 13:07

Re: Deagles' Map Management 3.20
 
A recommendation, though minor

For

amx_emptymap (mapname) (default "") (Leaving it blank will Disable this feature also)
* For whatever map you want your server to switch to when nobody is on after reading the staytime cvar

could you make it so that once it goes to the emptymap, it remains there and doesn't continuously loop through it over and over again (according to the staytime cvar). If possible make it so that only when the picked emptymap timelimit ends, then it just loops back to the same map.

Not a big deal, it just seems.... unnecessary for it to do so considering that it keeps going back to dust2 every 10 minutes.

Love you man.

Edit: I have a much more important suggestion that I forgot to write initially.
Suppose I have dmap_banlastmaps as 5. Meaning that the last 5 maps played are banned to ensure that things don't get repetitive. However, the plugin "accidently" overrides the point of this important function in one way.

If a player nominated a map, and vote succeeded to playing it, while it can't be nominated again for the next 5 maps, sometimes it will still show up on the original vote. I assume this occurs because if people didn't nominate maps, the next x amount of maps on the mapcycle.txt are displayed at end of round, which may thus list the same map that was played a little while ago. I'm hoping you can change it so that when the plugin picks the next x maps listed on mapcycle.txt, if any of those x maps were played within banlastmaps boundaries, are skipped.

Am I making sense with this part =/

bmann_420 09-16-2008 00:18

Re: Deagles' Map Management 3.20
 
Yea, you are.

About the first part. It is healthy for a server to change maps, at the most an hour apart of each change. If anything it would have to be re done for that particular occurrence. It does make sense, do you think of changing the stay time to half hour or so?

The second part, I get what your sayin. That most likely is a data error in the .dat file. Id have to look up that reasoning. I have kinda let go of this project, even tho its mainly a community additive plugin. But I'll see.


All times are GMT -4. The time now is 08:16.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.