• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Some Room Tags

Joined
Jun 17, 2009
Messages
2,726
Reaction score
340
Decided to do these out of boredom yesterday , I know they're like the easiest poop to code in the source but I just started out using the source.

ZCharacterItem.CPP

[NC] - No Clothes

Code:
if(strstr(ZGetGameClient()->GetStageName(), "[NC]"))
			{
					ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_HEAD );
					ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_CHEST );
					ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_HANDS );
					ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_LEGS );
					ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_FEET );
					
					return false;
			}

[NR] - No Rings

Code:
if(strstr(ZGetGameClient()->GetStageName(), "[NR]"))
			{
					ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_FINGERL );
					ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_FINGERR );
					return false;
			}

[NA] - No Avatar
Code:
if(strstr(ZGetGameClient()->GetStageName(), "[NA]"))
			{
				ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_AVATAR );
				return false;
			}

[NS] - No Sword

Code:
if(strstr(ZGetGameClient()->GetStageName(), "[NS]"))
			{
				ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_MELEE );
				return false;
			}

[NG] - No Guns
Code:
if(strstr(ZGetGameClient()->GetStageName(), "[NG]"))
			{
				ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_PRIMARY );
				ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_SECONDARY );
				return false;
			}

[NI] - No Item

Code:
if(strstr(ZGetGameClient()->GetStageName(), "[NI]"))
			{
				ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_CUSTOM1 );
				ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_CUSTOM2 );
                                ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_COMMUNITY1 );
				ZPostRequestTakeoffItem( ZGetGameClient()->GetPlayerUID(), MMCIP_COMMUNITY2 );
				return false;
			}
 
Last edited:
Custom Title Activated
Loyal Member
Joined
Feb 18, 2012
Messages
1,433
Reaction score
391
Thanks soo much for this and your help Military!
 
2D > 3D
Loyal Member
Joined
Dec 19, 2008
Messages
2,413
Reaction score
1,193
I always hated Room Tags

Someone just needs to make a piece of the interface run for just room options, then make that interface piece look nice.

Dont take this as me saying this is a bad release, because more options for gameplay is always better.
 
Good Guy George
Loyal Member
Joined
Apr 12, 2009
Messages
1,260
Reaction score
239
I always hated Room Tags

Someone just needs to make a piece of the interface run for just room options, then make that interface piece look nice.

Dont take this as me saying this is a bad release, because more options for gameplay is always better.
I did that, but since i'm not good with interface part, i failed hard lol, i can't even set positions :drool:
 
Newbie Spellweaver
Joined
Aug 4, 2012
Messages
25
Reaction score
0
Nah. This will be useful.
The very useful for me are: the NO GUNS and NO SWORD.

How about no JUMP?
No wall running?
Can you share the codes?
 
Last edited:
Daemonsring Developer
Joined
Jul 10, 2007
Messages
679
Reaction score
262
The (1.5) is because he asked for 1,5 or 08
Since 07 and 08 aren't leaked on ragezone (only late 06) I placed the 1,5 after it
 
Back
Top