Raised This Month: $ Target: $400
 0% 

Changing GameName for Specific mods?


Post New Thread Reply   
 
Thread Tools Display Modes
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 02-16-2009 , 19:29   Re: Changing GameName for Specific mods?
Reply With Quote #11

Yes.

As long as gamenamechanger.amxx is loaded after whatever plugin changes the game name, the game name from gamenamechanger.amxx will be used instead of from the other plugin. You can verify when the location of it's load with the server's amxx plugins rcon command.
Because sh has it's own plugins.ini (plugins-shero.ini) it gets loaded after the default plugins.ini. You can create one that is alphabetically after shero ie plugins-z.ini and it will load it's contents afterward.

I told someone to create a bug report, if they cared that much not to do it this way, to request an option to set it or turn it off. But they never did so I don't bother because you can always do the workaround above.

Last edited by vittu; 02-16-2009 at 19:31.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
DumbServerWontWork
BANNED
Join Date: Jan 2008
Old 02-16-2009 , 19:56   Re: Changing GameName for Specific mods?
Reply With Quote #12

So what about zombie plague? Its Plugins-zplague.ini.... Do i make a new one like plugins-zr.ini?
DumbServerWontWork is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 02-16-2009 , 20:17   Re: Changing GameName for Specific mods?
Reply With Quote #13

Yea just do the same thing as long as the custom plugins ini name is alpahbetically after the one you have an issue with.

Your example above would be correct.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
DumbServerWontWork
BANNED
Join Date: Jan 2008
Old 02-16-2009 , 20:24   Re: Changing GameName for Specific mods?
Reply With Quote #14

Can you answer my PM? You seem to be very smart in what i need help with
DumbServerWontWork is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 02-16-2009 , 20:28   Re: Changing GameName for Specific mods?
Reply With Quote #15

http://forums.alliedmods.net/showthr...883#post762883
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 02-16-2009 , 21:14   Re: Changing GameName for Specific mods?
Reply With Quote #16

Hi,

make a folder in amxx/config/, names maps : amxmodx/configs/maps/

there u will add .cfg files with mapname ( de_dust2.cfg )

in this config file you will add amx_gamename "my website"

( you have to see the valid command. idk if is amx_gamename right. just have a see in plugin description )

then so ur gamename on map de_dust2 will ever be my website..

u have on de_dust the paintball mod? just make de_dust.cfg & add there amx_gamename "paintball mod"...

i think u know how u can use my examples & hope could help u
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 02-16-2009 , 23:13   Re: Changing GameName for Specific mods?
Reply With Quote #17

Quote:
Originally Posted by DumbServerWontWork View Post
So what about zombie plague? Its Plugins-zplague.ini.... Do i make a new one like plugins-zr.ini?
Quote:
Originally Posted by vittu View Post
Yea just do the same thing as long as the custom plugins ini name is alpahbetically after the one you have an issue with.

Your example above would be correct.
Tested: Ok I had that backwards. It has to be alphabetically before (not after) the other custom plugins ini in order for it to load last.

So for plugins-zplague.ini do plugins-zo.ini and it will load afterward and work correctly.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
JoeS
Junior Member
Join Date: Feb 2009
Old 02-17-2009 , 16:36   Re: Changing GameName for Specific mods?
Reply With Quote #18

I made a plugins-zo.ini and pasted gamenamechanger.amxx in it and it still doesnt change.
JoeS is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 02-17-2009 , 16:54   Re: Changing GameName for Specific mods?
Reply With Quote #19

try plugins-x.ini I dunno, all you need to do is make sure when you check "amxx plugins" that gamenamechanger.amxx is after the plugin causing the problem. I don't see what's so hard to understand, keep changing something til you can make that happen I'm not gonna baby you thru it.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Reply



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 02:11.


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