Raised This Month: $ Target: $400
 0% 

let me get this str8


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 07-02-2004 , 22:01   let me get this str8
Reply With Quote #1

As I talked to SniperBeamer on IRC(i forgot what he told me soo I am asking again here), I noticed in the CVS that the stock get_customdir was changed.

Code:
stock get_customdir(name[],len)   return get_localinfo("amxx_customdir",name,len)

That is how it is defined in the amxmisc.inc on AMXX .16

Well with the up coming release of AMXX .2 ... Did the Dev Team decide to scrap the whole get_customdir stock and the amxx/custom directory?

Thats what it seems like in the new includes

Code:
/* Backwards Compatibility * don't use it! */ stock get_customdir(name[],len)   return get_localinfo("amxx_configsdir",name,len)

Now, I was thinking, if it was backwards compatiblity then why does it point to the amxx/configs directory and not the amxx/custom directory as the stock was orignally created for?

However I also noticed the addition of get_datadir ... which now seems to me what would be the "replacement" of get_customdir

I am going to assume that the get_datadir will point to amxx/data directory, as SniperBeamer said plugins such as the base stats and csstats logging will be placed.

This change will cause many plugins to have to be again changed for AMXX standards, many plugins such as the warcraft ones and deags map manager will either have to use thier configs in the amxx/config directory or change thier coding to the amxx/data directory

My final question is, why was this changed up after people were just finally getting used to using get_customdir ???
[/small]
__________________

BigBaller is offline
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 07-02-2004 , 22:03  
Reply With Quote #2

well thats what Bailo's sig said the other day..
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 07-02-2004 , 22:06  
Reply With Quote #3

Havnet noticed his sig.

But I wonder why it was removed, is thier something that makes get_customdir and get_configsdir that looked close to being the same stock they wanted a name change to make less confusing?
__________________

BigBaller is offline
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 07-02-2004 , 22:07  
Reply With Quote #4

well i hope there is something cuz lol can u imagine having to rewite all the plugins that use it... so im betting on their being an equivilant of some sort and im sure someone more learned will post here soon.
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 07-02-2004 , 22:12  
Reply With Quote #5

Well, its not hard to make the change and use get_datadir, that would just be replacing a few lines of coding instead of saying get_customdir ... it would be get_datadir

then having to move your config files to another folder

Even if no plugin does that many people will have problems because the get_customdir now points to the configs directory instead of the custom directory.
__________________

BigBaller is offline
KiN | SuicideDog
Senior Member
Join Date: Mar 2004
Old 07-03-2004 , 02:00  
Reply With Quote #6

I hope they didn't change that .. it would suck.. quite a few plugins would instantly break and have to be modded. That would really suck for those servers that run a buttload of plugins.
__________________
Code:
#include <amxmodx> public client_connect(id){   new playerIQ    get_player_IQ(id,playerIQ)   if(playerIQ < 100 )  {     client_cmd(id,"say I'm too stupid to play;quit")  }   PLUGIN_CONTINUE}
KiN | SuicideDog is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 07-03-2004 , 21:17  
Reply With Quote #7

WEll from what it looks like they did change that and that means plugin coders will have to change many more plugins again
__________________

BigBaller is offline
SniperBeamer
AMX Mod X Founder
Join Date: Jun 2003
Location: Good Old Europe
Old 07-04-2004 , 06:47  
Reply With Quote #8

There will be a "configs" and a "data" dir.

This will be the last directory change.
__________________
SniperBeamer is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 07-04-2004 , 07:02  
Reply With Quote #9

Ok, well at least we know the deal now, I will be ready to update the plugins that I use for these directory changes, thanks for clearing that up
__________________

BigBaller 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 14:40.


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