Raised This Month: $12 Target: $400
 3% 

Extended Map configs


Post New Thread Reply   
 
Thread Tools Display Modes
Milo|
Member
Join Date: Jan 2009
Location: Netherlands
Old 02-16-2009 , 13:38   Re: Extended Map configs
Reply With Quote #11

danielsumi:
Interesting, i'll try and mess with it a bit the coming days. I'm still not very familiar with all this lobby stuff in L4D.

dagan69:
No, it sounds like you're doing everything right. The settings you put in dod_jagd.cfg for example should be executed the very first time your server changes level to dod_jagd.

You could check the server console. It should say something like:
Code:
Loading mapconfig: general configfile (all.cfg).
Loading mapconfig: gametype configfile (dod.cfg).
Loading mapconfig: mapspecific configfile (dod_jagd.cfg).
Let me know if it says anything weird there. (or if it really doesn't work).
You could try putting some echo crap in the config, like:
Code:
echo test123
echo test123
echo test123
echo test123
You should see this in the server console once the config is executed.
__________________
A few small plugins i released for the general public:
Milo| is offline
MrSaturn
SourceMod Donor
Join Date: Jan 2009
Old 02-22-2009 , 02:44   Re: Extended Map configs
Reply With Quote #12

I like this plugin. it rocks. thnx
MrSaturn is offline
asdfghjkee
Member
Join Date: Sep 2008
Location: Rus
Old 02-25-2009 , 14:45   Re: Extended Map configs
Reply With Quote #13

Error:
Quote:
L 02/25/2009 - 22:40:08: [SM] Plugin encountered error 21: Native is not bound
L 02/25/2009 - 22:40:08: [SM] Native "VerifyCoreVersion" encountered a generic error.
L 02/25/2009 - 22:40:08: [SM] Debug mode is not enabled for "extendedmapconfig.smx"
L 02/25/2009 - 22:40:08: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 29 on
L 02/25/2009 - 22:40:08: [SM] Unable to load plugin "extendedmapconfig.smx": Native "VerifyCoreVersion" was not found.
Executing dedicated server config file

sm plugins debug 29 on
[SM] Could not toggle debug mode on plugin extendedmapconfig.smx.
[SM] Plugin returned error: Plugin is not runnable.
SourceMod Version: 1.0.0.1946 from (http://www.sourcemod.net/nightly.php)
asdfghjkee is offline
Send a message via ICQ to asdfghjkee Send a message via MSN to asdfghjkee Send a message via Skype™ to asdfghjkee
Milo|
Member
Join Date: Jan 2009
Location: Netherlands
Old 02-26-2009 , 13:25   Re: Extended Map configs
Reply With Quote #14

Those errors are all relating to the version of sourcemod you are running.

Make sure you compile the plugin yourself. Don't use my .smx download or the webcompiler since both are 1.1 versions.

You're either running an 1.2 version (latest nightlies are all 1.2 i assume) or 1.0 version (the version in the error message reflects 1.0 but that might just be the default for nightlies). Neither one of those supports the 1.1 smx files.

My plugin however isn't using any 1.1 specific functions that i'm aware off. I'm assuming it'll compile fine on 1.2 without any changes.
__________________
A few small plugins i released for the general public:
Milo| is offline
cie_crim
New Member
Join Date: Apr 2009
Old 04-04-2009 , 10:12   Re: Extended Map configs
Reply With Quote #15

hi everybody ,
first, i'm a frensh guy so sorry for my english.

second thanks for this plug ,

third : i'm trying to pute this plug in an insurgency serveur but it doesn't work correctly, when i change the map the map's config file are not loaded and the CVARs are not modified but when in the same map i reload the plugin the map's config file load correctly and the CVARs change...
so i have to reload the plugin at every map change or i have to do other think to the plugins load automatiquely?

thank you for reading and for anser...

Ps : to show you ,


15:55:02 L 04/04/2009 - 15:54:45: rcon from "XX.XXX.XXX.XXX:XXX": command "changelevel ins_baghdad"
16:021 Note HLSW: Connexion à XX.XXX.XXX.XXX:XXXXX ...
16:021 sm plugins reload 29
16:021 Loading mapconfig: general configfile (all.cfg).
Loading mapconfig: gametype configfile (ins.cfg).
Loading mapconfig: mapspecific configfile (ins_baghdad.cfg).
[SM] Plugin Extended mapconfig package reloaded successfully.
couldn't exec mapconfig/gametype/ins.cfg
16:021 L 04/04/2009 - 16:02:14: server_cvar: "mp_timelimit" "1"
16:021 L 04/04/2009 - 16:02:14: rcon from "XX.XXX.XXX.XXX:XXXXX": command "sm plugins reload 29"

Last edited by cie_crim; 04-04-2009 at 10:15.
cie_crim is offline
rautamiekka
Veteran Member
Join Date: Jan 2009
Location: Finland
Old 04-20-2009 , 07:22   Re: Extended Map configs
Reply With Quote #16

You say that server.cfg is loaded on each mapchange. That's not true, instead autoexec.cfg is executed on each mapchange. Add exec server.cfg to the very top of autoexec and it's executed on each mapchange. Also, this way you just have to edit either of the files on-the-fly(, upload the file) and exec autoexec.cfg to make the changes apply.
rautamiekka is offline
Send a message via ICQ to rautamiekka Send a message via AIM to rautamiekka Send a message via MSN to rautamiekka Send a message via Yahoo to rautamiekka Send a message via Skype™ to rautamiekka
Milo|
Member
Join Date: Jan 2009
Location: Netherlands
Old 04-21-2009 , 06:17   Re: Extended Map configs
Reply With Quote #17

Quote:
Originally Posted by rautamiekka View Post
You say that server.cfg is loaded on each mapchange. That's not true, instead autoexec.cfg is executed on each mapchange. Add exec server.cfg to the very top of autoexec and it's executed on each mapchange. Also, this way you just have to edit either of the files on-the-fly(, upload the file) and exec autoexec.cfg to make the changes apply.
No you definitely got this wrong, it's the other way around. the server.cfg gets reloaded every mapchange (or whichever file you put in the servercfgfile cvar, but by default this is "server.cfg").

Autoexec.cfg is for initial setup, and only runs once.


Quote:
Originally Posted by cie_crim View Post
hi everybody ,
third : i'm trying to pute this plug in an insurgency serveur but it doesn't work correctly, when i change the map the map's config file are not loaded and the CVARs are not modified but when in the same map i reload the plugin the map's config file load correctly and the CVARs change...
so i have to reload the plugin at every map change or i have to do other think to the plugins load automatiquely?
Sounds like an insurgency problem to me. I dont have an insurgency server to test on atm, but i guess it doesn't kick off the right sourcemod stuff at mapchange. Insurgency has a bit of a bad reputation among sourcemod plugin devs mostly for not following the normal practises i believe, so this wouldnt suprise me.

I suppose you could put something like:

Code:
sm plugins reload extendedmapconfig
in your server.cfg to force the plugin to reload every mapchange.
__________________
A few small plugins i released for the general public:
Milo| is offline
Packhead
Member
Join Date: Dec 2007
Old 05-30-2009 , 01:08   Re: Extended Map configs
Reply With Quote #18

I added the new Payload Race and the missing Territory Control to the plugin. Didn't break functionality for not being there, but it didn't auto-create the files for these two map types.

Added two lines of code and incremented the version number. Source posted below!
Attached Files
File Type: sp Get Plugin or Get Source (extendedmapconfig.sp - 669 views - 6.0 KB)
Packhead is offline
Xsinthis
Senior Member
Join Date: Oct 2008
Location: Canadia, eh?
Old 06-10-2009 , 21:01   Re: Extended Map configs
Reply With Quote #19

dumb question, you can put sourcemod cvars in here right? I got a respawn mod that runs in sourcemod and i want it different for each game type
__________________
Xsinthis is offline
Milo|
Member
Join Date: Jan 2009
Location: Netherlands
Old 06-11-2009 , 09:44   Re: Extended Map configs
Reply With Quote #20

Yup, you can pretty much put anything you want in there.
__________________
A few small plugins i released for the general public:
Milo| is offline
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 11:24.


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