Jump to content
  • 0

adding custom job


Feefty

Question


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   14
  • Joined:  11/21/11
  • Last Seen:  

Hi, im trying to add a custom job for only item suit.

but im getting an error compiling my rathena

1>c:\svn16928\src\map\itemdb.c(273): warning C4293: '<<' : shift count negative or too big, undefined behavior
1>c:\svn16928\src\map\itemdb.c(275): warning C4293: '<<' : shift count negative or too big, undefined behavior
1>c:\svn16928\src\map\itemdb.c(277): warning C4293: '<<' : shift count negative or too big, undefined behavior

if (jobmask & 1<<29) //Kagerou / Oboro
 bclass[1] |= 1<<MAPID_NINJA;
if (jobmask & 1<<35) // Gondaime
   bclass[0] |= 1<<MAPID_GONDAIME;
if (jobmask & 1<<36)
   bclass[0] |= 1<<MAPID_YONDAIME;
if (jobmask & 1<<37)
   bclass[0] |= 1<<MAPID_AKATSUKI;

im following this guide http://rathena.org/wiki/Custom_Jobs

Thanks.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...