Raised This Month: $32 Target: $400
 8% 

MapType Configs 1.1c


Post New Thread Reply   
 
Thread Tools Display Modes
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 04-17-2007 , 09:09   Re: MapType Configs 1.1
Reply With Quote #11

|PJ| Shorty: This plugin could still be useful to people running pre-1.8 of AMXX.
__________________
Brad is offline
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 04-17-2007 , 17:10   Re: MapType Configs 1.1
Reply With Quote #12

Sure, itīs usefull i think, but if 1.8 comes out, i use 1.8

I work at the moment on rcon control to remote other servers, hltv and hlds,
hope this will not be done in 1.8
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who donīt.

Last edited by |PJ| Shorty; 04-17-2007 at 17:13.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
VEN
Veteran Member
Join Date: Jan 2005
Old 04-19-2007 , 12:52   Re: MapType Configs 1.1
Reply With Quote #13

Quote:
split(curmap,prefix,5,rest,31,"_")
Since you have a single character delimiter you should use strtok() instead - it's more efficient.

Also i do not see why would you need to disable DEFAULTCFG option by default. I'd say that you should rather disable LOGMESSAGE option by default because in general it isn't so useful as your DEFAULTCFG option.
VEN is offline
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 04-19-2007 , 14:03   Re: MapType Configs 1.1
Reply With Quote #14

Quote:
Originally Posted by VEN View Post
Since you have a single character delimiter you should use strtok() instead - it's more efficient.
thx, itīs only called once at map start, but if itīs more efficient, why not.
Will be changed soon.
Quote:
Originally Posted by VEN View Post
Also i do not see why would you need to disable DEFAULTCFG option by default. I'd say that you should rather disable LOGMESSAGE option by default because in general it isn't so useful as your DEFAULTCFG option.
If the DEFAULTCFG is enabled, wouldnīt it been load AFTER all AMXX specific map configs?
So if you have maybe an maps/de_dust2.cfg, it wouldnīt load. Or not?
The Logs are enabled by default, because if someone install the plugin, he would see something in the logs that it works... thats all.
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who donīt.

Last edited by |PJ| Shorty; 04-19-2007 at 14:10.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
VEN
Veteran Member
Join Date: Jan 2005
Old 04-22-2007 , 08:34   Re: MapType Configs 1.1b
Reply With Quote #15

Quote:
If the DEFAULTCFG is enabled, wouldnґt it been load AFTER all AMXX specific map configs?
So if you have maybe an maps/de_dust2.cfg, it wouldnґt load. Or not?
Not sure what do you mean but i do not think so.
VEN is offline
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 04-22-2007 , 16:30   Re: MapType Configs 1.1b
Reply With Quote #16

hmm, my english... lol

if you have this files in your configs/maps folder:

prefix-de.cfg
prefix-default.cfg
de_dust2.cfg (amxx build in map config)

which one would be the last config loaded?
the amxx build in (on map dust2), or the cfg from my plugin. If de_dust2.cfg is the last, i will change the default setting.
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who donīt.

Last edited by |PJ| Shorty; 04-22-2007 at 16:36.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
VEN
Veteran Member
Join Date: Jan 2005
Old 04-23-2007 , 02:26   Re: MapType Configs 1.1b
Reply With Quote #17

This is from admin.sma
Quote:
set_task(6.1, "delayed_load", 0, configFile, len + 1)
As you can see delay is 6.1. So yes, de_dust2.cfg will be loaded after your configs.

I just thought that while writing your plugin you've seen that admin.sma line so that's what actually have confused me too.
VEN is offline
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 04-23-2007 , 03:25   Re: MapType Configs 1.1b
Reply With Quote #18

Oh yes, yourīre right. i searched for it, but didnīt found...
changing the default settings soon.
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who donīt.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
Dupl3xx
Junior Member
Join Date: Dec 2007
Old 01-17-2008 , 03:52   Re: MapType Configs 1.1c
Reply With Quote #19

it posible set config on de_* and de_dust ... due on map ?
Dupl3xx is offline
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 01-17-2008 , 06:21   Re: MapType Configs 1.1c
Reply With Quote #20

donīt know shure what you mean...
but it loads the configs on map start
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who donīt.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
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 17:55.


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