Raised This Month: $90 Target: $400
 22% 

AMXX not executing amxx.cfg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cinder
New Member
Join Date: Mar 2004
Old 03-27-2004 , 18:58   AMXX not executing amxx.cfg
Reply With Quote #1

Earlier I tried to play a match on my server, but everyone except me (as I was the only admin joining) was being kicked with the message "Entry to server refused". Afterwards I checked amx_mode in configs/amxx.cfg - yep, set to 1 just like I wanted it to. However, when checking the value of amx_mode on the server via rcon it returned "2.0", the default value. This was also the case for amx_vote_answers, as that was set to 0 in configs/amxx.cfg, but the default is 1.

It seems configs/amxx.cfg isn't being executed, at all - this might be fine for someone who uses the default values anyway, but I hardly imagine many people would.

I have also tried configs/amx.cfg but to no avail.
Cinder is offline
BAILOPAN
Join Date: Jan 2004
Old 03-27-2004 , 18:59  
Reply With Quote #2

this is a known problem - I am going to repackage 0.16 shortly so this works
__________________
egg
BAILOPAN is offline
VxD
Junior Member
Join Date: Mar 2004
Old 03-27-2004 , 23:04  
Reply With Quote #3

Bail, I wasn't aware of this problem. Is there an easy way to workaround this temporarily?

Thanks
VxD
VxD is offline
BAILOPAN
Join Date: Jan 2004
Old 03-27-2004 , 23:10  
Reply With Quote #4

Only the windows packages are affected

Recompile the admin.sma from CVS
__________________
egg
BAILOPAN is offline
Cinder
New Member
Join Date: Mar 2004
Old 03-28-2004 , 08:31  
Reply With Quote #5

Bah, ok thanks - as a workaround I just added a line to server.cfg so it would at least load on map change and server start-up.

Edit: Just went to check admin.sma as you said and I have found the line in the version that comes with 0.16. It's an easy edit of a single line that changes the path of amxx.cfg to execute so it is correct and in line with the rest of the AMXX configuration structure.

In admin.sma, on line 74 change:
Code:
  server_cmd("exec addons/amxx/amx.cfg") // Execute main configuration file
To:
Code:
  server_cmd("exec addons/amxx/configs/amxx.cfg") // Execute main configuration file
Then just (re)compile the plugin like any other.

I'd just like to say that so far, I am very impressed with AMXX. It generally seems a lot nicer, especially the way in which the files are kept. Look forward to my donation in the future
Cinder is offline
jingojang
Senior Member
Join Date: Feb 2010
Location: The Moon
Old 01-30-2013 , 18:59   Re: AMXX not executing amxx.cfg
Reply With Quote #6

PHP Code:
    server_cmd("exec %s/amxx.cfg"configsDir)    // Execute main configuration file 
This is actually found on line 111.
jingojang is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 01-30-2013 , 19:13   Re: AMXX not executing amxx.cfg
Reply With Quote #7

You revived this thread just to post that.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 01-30-2013 , 20:15   Re: AMXX not executing amxx.cfg
Reply With Quote #8

See the year man , '04..
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
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 16:16.


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