Jump to content
  • 0

New Dress


ileech

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  10/22/17
  • Last Seen:  

 

 

I downloaded the dress pack from the third classes, they all worked very well! but the shura class is not funfionando when I use the command @bodystyle 1 says the following message "this job in the alternate body style" I added the Shura class in my Atcomand.c as follows:

// Limit body styles to certain jobs since not all of them are released yet. if (! ((sd-> class_ & MAPID_THIRDMASK) == MAPID_GUILLOTINE_CROSS || (sd-> class_ & MAPID_THIRDMASK) == MAPID_GENETIC || (sd-> class_ & MAPID_THIRDMASK) == MAPID_MECHANIC || (sd-> class_ & MAPID_THIRDMASK) == MAPID_ROYAL_GUARD || (sd-> class_ & MAPID_THIRDMASK) == MAPID_ARCH_BISHOP || (sd-> class_ & MAPID_THIRDMASK) == MAPID_RANGER || (sd-> class_ & MAPID_THIRDMASK) == MAPID_WARLOCK || (sd-> class_ & MAPID_THIRDMASK) == MAPID_SHADOW_CHASER || (sd-> class_ & MAPID_THIRDMASK) == MAPID_MINSTRELWANDERER || (sd-> class_ & MAPID_THIRDMASK) == MAPID_SORCERER) || (sd-> class_ & MAPID_THIRDMASK) == MAPID_SURA) { clif_displaymessage (fd, msg_txt (sd, 740)); // This job has no alternate body styles. return -1; }

help me plizz! 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   14
  • Joined:  09/01/18
  • Last Seen:  

Mismatching parentheses.

To correct this just use as follow:

if (!((sd->class_ & MAPID_THIRDMASK) == MAPID_GUILLOTINE_CROSS || 
		(sd->class_ & MAPID_THIRDMASK) == MAPID_GENETIC || 
		(sd->class_ & MAPID_THIRDMASK) == MAPID_MECHANIC || 
		(sd->class_ & MAPID_THIRDMASK) == MAPID_ROYAL_GUARD || 
		(sd->class_ & MAPID_THIRDMASK) == MAPID_ARCH_BISHOP || 
		(sd->class_ & MAPID_THIRDMASK) == MAPID_RANGER || 
		(sd->class_ & MAPID_THIRDMASK) == MAPID_WARLOCK || 
		(sd->class_ & MAPID_THIRDMASK) == MAPID_SHADOW_CHASER || 
		(sd->class_ & MAPID_THIRDMASK) == MAPID_MINSTRELWANDERER || 
		(sd->class_ & MAPID_THIRDMASK) == MAPID_SORCERER || 
		(sd->class_ & MAPID_THIRDMASK) == MAPID_SURA)) 
 { 
	 clif_displaymessage (fd, msg_txt (sd, 740)); // This job has no alternate body styles. 
	 return -1; 
 } 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...