Author Topic: adapt Confogl Autoloader for promod  (Read 8996 times)

THyroXIN´-

  • *****
  • Posts: 519
    • View Profile
    • InnerSphere - we are not a clan we are a syndicate
adapt Confogl Autoloader for promod
« on: January 11, 2013, 11:19:10 am »
Hej,

in the past I used the confogl autoloader to have confogl automatically loaded when a versus lobby connects on the server.
Now I use promod and I would liek to use such autoloader again.
But I tired this on and this one still use the old path from confog 2.2.2. Like it launches the confogl.cfg in cfg folder directly.
When I put mine there the mapinfo path etc. justr everything is messed up.

Now I ask someone of you. Can someone adapt this autoloader and change it so it can run with promod and other configs?

Like I set a cvar in server.cfg which config the autoloader should load when a versus lobby connects to server.

For more info about it see here: http://code.google.com/p/confogl/downloads/detail?name=autoloaderv1.1.zip&can=2&q=

Source ist in the zip.

I looked at it but I do not understand it in total. As I can see the autoloader does a sm_forcematch. There is also a way to define a config, but it does not work correctly.

Any ideads/help?


bueno clinic

  • **
  • Posts: 56
    • View Profile
Re: adapt Confogl Autoloader for promod
« Reply #1 on: January 11, 2013, 11:26:07 am »
Replace the files of carpet Promod on folder cfg. ONLY THE FILES NOT THE FOLDER PROMOD

THyroXIN´-

  • *****
  • Posts: 519
    • View Profile
    • InnerSphere - we are not a clan we are a syndicate
Re: adapt Confogl Autoloader for promod
« Reply #2 on: January 11, 2013, 11:41:45 am »
Replace the files of carpet Promod on folder cfg. ONLY THE FILES NOT THE FOLDER PROMOD

i am really sorry, but i think iI did not understand what to do...

can you spend a little more detailed?

if I got it right u mean to replace the files in cfg folder with the files in cfg/cfgogl/promod ??

like copy
confogl.cfg
promod.cfg
mapinfo.txt
confogl_plugins.cfg
confogl_off
and the folder stripper to ../cfg/ directly and overwrite existing files?

CanadaRox

  • *
  • Posts: 589
    • View Profile
    • Confogl home page
"Now I've seen people running kite scripts making perfect and I do mean geometry class perfect circles around a moving tank." - The average pub

THyroXIN´-

  • *****
  • Posts: 519
    • View Profile
    • InnerSphere - we are not a clan we are a syndicate
Re: adapt Confogl Autoloader for promod
« Reply #4 on: January 12, 2013, 12:45:36 pm »
Code: [Select]
confogl_autoloader_config promod
https://bitbucket.org/ProdigySim/confogl-old/src/9a5e01b6d5439f9dcc2c0d62e1738f0217a95cc1/src/scripting/confogl_autoloader.sp?at=default

That should work.

WHere in the server.cfg?

i have it there and it does not work.
when autoloader execute something it also takes the mapinfo.txt from the sourcemod folder. Like it was in the old days. it also does not execute promod.cfg as i change the servername there but its still the servername out of the server.cfg.


ksx

  • *
  • Posts: 5
    • View Profile
Re: adapt Confogl Autoloader for promod
« Reply #5 on: January 13, 2013, 01:26:23 am »
WHere in the server.cfg?

i have it there and it does not work.
when autoloader execute something it also takes the mapinfo.txt from the sourcemod folder. Like it was in the old days. it also does not execute promod.cfg as i change the servername there but its still the servername out of the server.cfg.

Hi, have u tested put confogl_autoloader_config promod in .sp file dropped by CanadaRox and recompile?

Code: [Select]
hAutoloaderConfig = CreateConVar("confogl_autoloader_config", "promod", "Config to launch with the autoloader", FCVAR_PLUGIN);
About ur hostname u checked this file confogl_personalize.cfg ?
« Last Edit: January 13, 2013, 01:28:16 am by ksx »

epilimic

  • *****
  • Posts: 742
  • Sexy: 9001
    • View Profile
    • buttsecs
Re: adapt Confogl Autoloader for promod
« Reply #6 on: January 13, 2013, 07:56:12 am »
I've gone ahead and recompiled the plugin. Just tested it and it loads both promod, and the correct mapinfo. Verified mapinfo by forcing witch spawn at a specific % and with her there, I know it used the right one. Just put this file in your plugins folder, no need to edit any config files or anything.

edit- link removed, reposted below.

Enjoy!
« Last Edit: January 13, 2013, 08:55:27 am by epilimic »
what what, in the mutt

THyroXIN´-

  • *****
  • Posts: 519
    • View Profile
    • InnerSphere - we are not a clan we are a syndicate
Re: adapt Confogl Autoloader for promod
« Reply #7 on: January 13, 2013, 08:24:16 am »
Hi, have u tested put confogl_autoloader_config promod in .sp file dropped by CanadaRox and recompile?

Code: [Select]
hAutoloaderConfig = CreateConVar("confogl_autoloader_config", "promod", "Config to launch with the autoloader", FCVAR_PLUGIN);
About ur hostname u checked this file confogl_personalize.cfg ?


Yes I removed the hostname part in the personalize.cfg

I've gone ahead and recompiled the plugin. Just tested it and it loads both promod, and the correct mapinfo. Verified mapinfo by forcing witch spawn at a specific % and with her there, I know it used the right one. Just put this file in your plugins folder, no need to edit any config files or anything.

http://bs.site.nfoservers.com/confogl_autoloader.smx

Enjoy!


Very nice form you, but its about I want to have the possibility to change which config is beeing loaded. So I really would like to work with a cvar and not set it fixed into the autoloader souce. I would have to recompile it every times I would change the cfg.
Should be possible to get it running? Maybe I do something wrong?

Just for the record.
The autoloader should work with that cvar?
Did someone test it like it was and with the cvar in the server.cfg?

epilimic

  • *****
  • Posts: 742
  • Sexy: 9001
    • View Profile
    • buttsecs
Re: adapt Confogl Autoloader for promod
« Reply #8 on: January 13, 2013, 08:42:41 am »
If you're changing the config that often, it would be MUCH faster for you to simply !forcematch whatever other config than it would be to login to your server, edit a config file, and load it up. The autoloader should be used for whatever config you use most often. If you're playing different configs throughout the day, on a daily basis, I don't really see why you're even bothering with this plugin. Just forcematch it.


edit- you can already change the config manually if you want via cvar, I just tested the one canada posted and it works fine, and loads the proper mapinfo.txt.

http://bs.site.nfoservers.com/confogl_autoloader.smx

Just put the file in your plugins folder, and in your server.cfg, at the bottom, add:
confogl_autoloader_config promod

Not sure why you're having whatever problem, it works just fine out of the box. Would still be faster to just !forcematch instead of having to edit your server.cfg every time.
« Last Edit: January 13, 2013, 08:58:51 am by epilimic »
what what, in the mutt

THyroXIN´-

  • *****
  • Posts: 519
    • View Profile
    • InnerSphere - we are not a clan we are a syndicate
Re: adapt Confogl Autoloader for promod
« Reply #9 on: January 13, 2013, 10:35:40 am »
If you're changing the config that often, it would be MUCH faster for you to simply !forcematch whatever other config than it would be to login to your server, edit a config file, and load it up. The autoloader should be used for whatever config you use most often. If you're playing different configs throughout the day, on a daily basis, I don't really see why you're even bothering with this plugin. Just forcematch it.


edit- you can already change the config manually if you want via cvar, I just tested the one canada posted and it works fine, and loads the proper mapinfo.txt.

http://bs.site.nfoservers.com/confogl_autoloader.smx

Just put the file in your plugins folder, and in your server.cfg, at the bottom, add:
confogl_autoloader_config promod

Not sure why you're having whatever problem, it works just fine out of the box. Would still be faster to just !forcematch instead of having to edit your server.cfg every time.


ok, then i test it again, seems like i did something wrong.. i take a clean server.
and the different configs are for different servers ;)

TY for testing it and the help

CanadaRox

  • *
  • Posts: 589
    • View Profile
    • Confogl home page
Re: adapt Confogl Autoloader for promod
« Reply #10 on: January 13, 2013, 03:50:31 pm »
seems like i did something wrong

For some strange reason, this doesn't surprise me.
"Now I've seen people running kite scripts making perfect and I do mean geometry class perfect circles around a moving tank." - The average pub

Visor

  • *
  • Posts: 1149
    • View Profile
    • Steam Profile
Re: adapt Confogl Autoloader for promod
« Reply #11 on: January 13, 2013, 03:52:02 pm »
$10 says you aren't anywhere near a controlling position of the L4D3 scene in any continent when it happens.

Thing is he does what he wants, cause his able to and we are letting him do that. He abuses hes place and power in this community and people like me get banned for no reason. Only thing visor wants is more and more control so he can do what ever he wants.

THyroXIN´-

  • *****
  • Posts: 519
    • View Profile
    • InnerSphere - we are not a clan we are a syndicate
Re: adapt Confogl Autoloader for promod
« Reply #12 on: January 20, 2013, 08:58:08 am »
okay, the autoloader is working, i had to make a clean server dont know why.

SO the config is beeing loaded correctly. But when the match ends the confogl off dont seem to work.

it does not change my servername back and not all plugins seems to be unloaded. like it exectures the old confogl off but not the new confogl off.

which results in beeing kicked for lerp 0 for example. or tank is spawning each map but the tankhud does not work anymore.
just to be sure before i try to fix it myself: is the confogl off part correctly programmed when useing an alternativ config? or is it fixed the "old" confogl off file?

Yiachik))

  • *
  • Posts: 5
    • View Profile
Re: adapt Confogl Autoloader for promod
« Reply #13 on: May 04, 2016, 03:09:24 am »
Hi! Somebody please give me a work link to this plugins (confogl_autoloader.smx)

 

A dedicated community website to competitive L4D and L4D2, ran by the community, for the community. L4DNation supports all continents of play and focuses on bringing together the community as a whole to a central hub of information.