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

Module: Map Name Patcher v1.0 [Linux + Windows]


Post New Thread Reply   
 
Thread Tools Display Modes
bibu
Veteran Member
Join Date: Sep 2010
Old 06-22-2014 , 16:07   Re: Module: MapName Patcher v1.0 [Linux + Windows]
Reply With Quote #21

Quote:
Originally Posted by Bos93 View Post
small bug

start server

"de_dust" change to "Dust"

restart map - servers crash

because no map "Dust"
Can you describe that abit more please?
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 06-22-2014 , 17:06   Re: Module: MapName Patcher v1.0 [Linux + Windows]
Reply With Quote #22

Quote:
Originally Posted by bibu View Post
Can you describe that abit more please?
You know that's 2013, right?
__________________
Black Rose is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 06-23-2014 , 11:30   Re: Module: MapName Patcher v1.0 [Linux + Windows]
Reply With Quote #23

Quote:
Originally Posted by Black Rose View Post
You know that's 2013, right?
Yeah, what's wrong with that?
I thought about using the module and read his post, and since he is active here I wanted to know.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 06-24-2014 , 06:26   Re: Module: MapName Patcher v1.0 [Linux + Windows]
Reply With Quote #24

Quote:
Originally Posted by Bos93 View Post
small bug

start server

"de_dust" change to "Dust"

restart map - servers crash

because no map "Dust"
Use changelevel %MapName% instead.
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Shooting King
RAAASENGAN
Join Date: Mar 2012
Location: India
Old 06-29-2014 , 08:55   Re: Module: Map Name Patcher v1.0 [Linux + Windows]
Reply With Quote #25

Any reason for using this
PHP Code:
    int Address reinterpret_cast int > ( gpGlobals -> pStringBase gpGlobals -> mapname );
    for( 
int i 0<= Lengthi++ )
        *( 
unsigned char * ) ( Address ) = pMapName]; 
Instead of
PHP Code:
    char *ptr = (char *)(gpGlobals -> pStringBase gpGlobals -> mapname);
    
memcpyptrpMapNamestrlen(pMapName)+); 
__________________
As every time said, don't ever UNDERESTIMATE me.

Donate - Here

Last edited by Shooting King; 06-29-2014 at 10:26.
Shooting King is offline
WaLkMaN
Senior Member
Join Date: Oct 2010
Location: Varna, Bulgaria
Old 08-11-2017 , 11:28   Re: Module: Map Name Patcher v1.0 [Linux + Windows]
Reply With Quote #26

If someone is interested, this can be done with native from ReAPI module.

PHP Code:
native rh_set_mapname(const mapname[])
native rh_get_mapname(output[], lenMapNameType:type MNT_SET)
native rh_reset_mapname() 
__________________

Last edited by WaLkMaN; 08-11-2017 at 11:28.
WaLkMaN 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 01:37.


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