Raised This Month: $ Target: $400
 0% 

[TF2] Advanced Infinite Ammo


Post New Thread Reply   
 
Thread Tools Display Modes
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 11-16-2015 , 00:06   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #491

Quote:
Originally Posted by WraithTDK View Post
At the start of every game, I get

[SM] Round Start - Advanced Infinite Ammo disabled

Any why and what to do about this?
Change waiting for players aia or setup/roundwin aia cvars to 0
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it

Last edited by xXDeathreusXx; 11-16-2015 at 00:06.
xXDeathreusXx is offline
WraithTDK
New Member
Join Date: Dec 2013
Old 11-16-2015 , 18:54   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #492

Quote:
Originally Posted by xXDeathreusXx View Post
Change waiting for players aia or setup/roundwin aia cvars to 0
Any pointers to a good place to learn how to do that? Or cvars in general?
WraithTDK is offline
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 11-16-2015 , 21:51   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #493

Quote:
Originally Posted by WraithTDK View Post
Any pointers to a good place to learn how to do that? Or cvars in general?
Just put it in server.cfg, that's executed at startup
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it
xXDeathreusXx is offline
Nanochip
Senior Member
Join Date: Jan 2014
Old 11-17-2015 , 01:46   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #494

Quote:
Originally Posted by xXDeathreusXx View Post
Just put it in server.cfg, that's executed at startup
Server.cfg gets executed before any plugins start to load, therefore it's better to put any plugin related cvars into sourcemod.cfg, unless the plugin uses the AutoExecConfig() function.
__________________
Nanochip is offline
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 11-17-2015 , 11:53   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #495

Quote:
Originally Posted by Nanochip View Post
Server.cfg gets executed before any plugins start to load, therefore it's better to put any plugin related cvars into sourcemod.cfg, unless the plugin uses the AutoExecConfig() function.
But yet it still works, because server.cfg get's executed more than once, it executes at map init too
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it
xXDeathreusXx is offline
D4rkl0rd
Member
Join Date: Aug 2013
Old 11-17-2015 , 13:51   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #496

Quote:
Originally Posted by Nanochip View Post
Server.cfg gets executed before any plugins start to load, therefore it's better to put any plugin related cvars into sourcemod.cfg, unless the plugin uses the AutoExecConfig() function.
AFAIK, it's the autoexec.cfg that loads before plugins do.
Putting it in server.cfg will work.
Quote:
Originally Posted by xXDeathreusXx View Post
But yet it still works, because server.cfg get's executed more than once, it executes at map init too
And in this condition, it won't.
Since the plugin creates it own config file, that config file will be executed after server.cfg loads, and then the custom values won't work for you.
So instead, chance the value in "Sourcemod/AdvancedInfiniteAmmo.cfg" and everything should work properly (:

Last edited by D4rkl0rd; 11-17-2015 at 13:53.
D4rkl0rd is offline
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 11-17-2015 , 19:45   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #497

Quote:
Originally Posted by D4rkl0rd View Post
AFAIK, it's the autoexec.cfg that loads before plugins do.
Putting it in server.cfg will work.

And in this condition, it won't.
Since the plugin creates it own config file, that config file will be executed after server.cfg loads, and then the custom values won't work for you.
So instead, chance the value in "Sourcemod/AdvancedInfiniteAmmo.cfg" and everything should work properly (:
The part about the config I didn't know about, yes, change it in that and only that, but otherwise, server.cfg
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it
xXDeathreusXx is offline
D4rkl0rd
Member
Join Date: Aug 2013
Old 11-20-2015 , 04:10   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #498

Another thing I've noticed,
The plugin allows medics to deploy shield when it's not MvM
I think It should check for the attribute 499 first, and then decide whether to give them shield or not.
Because then, game would be ruined with shields popping out of nowhere.
D4rkl0rd is offline
Dr Gore
New Member
Join Date: Dec 2015
Old 12-06-2015 , 11:11   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #499

is it possible to perma disable the win round and waiting for players infinite ammo? when I put the command into console via rcon it only disables it for that round or until I reboot the server, please note, I'm not advanced with computer stuff so if I have to change code or anything I may have a hard time, however I am willing to try, thank you for your time
Dr Gore is offline
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 12-06-2015 , 12:36   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #500

Quote:
Originally Posted by Dr Gore View Post
is it possible to perma disable the win round and waiting for players infinite ammo? when I put the command into console via rcon it only disables it for that round or until I reboot the server, please note, I'm not advanced with computer stuff so if I have to change code or anything I may have a hard time, however I am willing to try, thank you for your time
We literally explained how to do it just before you, read
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it

Last edited by xXDeathreusXx; 12-06-2015 at 12:36.
xXDeathreusXx is offline
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 09:52.


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