Raised This Month: $32 Target: $400
 8% 

MultiMod GunGame FIX


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 08-06-2017 , 21:04   MultiMod GunGame FIX
Reply With Quote #1

Greetings. I will try to explain to you in as much detail as possible what the problem is.

I have a MultiMod Server, at 7 Mods. When the time comes for changing the map in GunGame Mode, the standard Mapchooser.amxx plug-in is launched (although this plugin is completely unconnected to this mode, but Multimod.amxx and mapchooser_multimod.amxx is connected). It should be such Voting, like the rest of the mods (at first the Multimod plugin is started, the mod is selected, and then - mapchooser_multimod, and after all this, you need to finish playing until the Winner, so that the card will be unchanged after the selection). I think that it's easy to do at all, only You need to climb.

Last edited by MayroN; 11-23-2017 at 21:19.
MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-07-2017 , 01:26   Re: MultiMod GunGame FIX
Reply With Quote #2

If you have issues with a plugin you should post in the plugin's own thread.

I don't really understand how MultiMod handles GunGame but I do know that GunGame should work with Polymorph given that you follow the caveat provided for GunGame.
__________________
fysiks is offline
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 08-07-2017 , 21:02   Re: MultiMod GunGame FIX
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
If you have issues with a plugin you should post in the plugin's own thread.

I don't really understand how MultiMod handles GunGame but I do know that GunGame should work with Polymorph given that you follow the caveat provided for GunGame.

Hello fysiks.
Personally, I think that in GunGame you need to add a line of code so that the plugin would link to MultiMod.amxx, and then it will pick up mapchooser_multimod.

I watched the GunGame Code. There's not even a single line of mentioning about any voting plugin for the map. See your code there .
.
MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-07-2017 , 22:06   Re: MultiMod GunGame FIX
Reply With Quote #4

GunGame calls a function in mapchooser.amxx to initiate a map vote (if it can't find mapchooser.amxx it looks for a couple of other map choosing plugins). So, for Polymorph, I replace mapchooser.amxx so that GunGame can call into it and trigger a vote in Polymorph (this requires no modifications to GunGame code).
__________________
fysiks is offline
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 08-08-2017 , 15:46   Re: MultiMod GunGame FIX
Reply With Quote #5

I do not have to assign a mod to a card. I need to change the source to gungame.sma mapchooser.amxx to ===> multimod.amxx

Otherwise, the problem is I have to decide ... Can you do this?
MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 08-09-2017 , 12:52   Re: MultiMod GunGame FIX
Reply With Quote #6

Finally, That found a solution - but not completely.
I registered in the config the following quars


Code:
gg_vote_setting 1
gg_vote_custom "amx_votemod"
It turns out that when the penultimate level is run on the command amx_votemod multimod.amxx and gets the vote for the card.

But there is a nuance: When voted, the card immediately changes and does not finish playing until the winner.

It is necessary somehow to make a vote after the winner (motd windows) and then the problem is completely solved.

Need, tell me, just a little left ...)))
MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 08-22-2017 , 19:01   Re: MultiMod GunGame FIX
Reply With Quote #7

It turned out all just plain disgrace.

Code:
gg_vote_setting 0   \\\ Voting at the end of the winner
gg_vote_custom ""   \\ Blocking prematurely
gg_changelevel_custom "amx_votemod"  \\ Run your vote
And nothing needs to be corrected in the source

Everything was very simple as about buckets with potatoes. Is not nobody really know? Probably just no one connected Multimod.amxx
MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:20.


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