Jump to content

Dr_Jackal

Members
  • Posts

    4
  • Joined

  • Last visited

1 Follower

Profile Information

  • Gender
    Male
  • Location
    Philippines
  • Server
    none atm

Dr_Jackal's Achievements

Poring

Poring (1/15)

0

Reputation

  1. PC.C if(pos & EQP_HEAD_LOW|EQP_HEAD_LOW_C) { if(id && !(pos&(EQP_HEAD_TOP|EQP_HEAD_MID|EQP_HEAD_TOP_C|EQP_HEAD_MID_C))) sd->status.head_bottom = id->look; else sd->status.head_bottom = 0; clif_changelook(&sd->bl,LOOK_HEAD_BOTTOM,sd->status.head_bottom); } if(pos & EQP_HEAD_TOP|EQP_HEAD_TOP_C) { if(id) sd->status.head_top = id->look; else sd->status.head_top = 0; clif_changelook(&sd->bl,LOOK_HEAD_TOP,sd->status.head_top); } if(pos & EQP_HEAD_MID|EQP_HEAD_MID_C) { if(id && !(pos&EQP_HEAD_TOP|EQP_HEAD_TOP_C)) sd->status.head_mid = id->look; else sd->status.head_mid = 0; clif_changelook(&sd->bl,LOOK_HEAD_MID,sd->status.head_mid); } if( i == EQI_HAND_R && sd->equip_index[EQI_HAND_L] == index ) continue; if( i == EQI_HEAD_MID && sd->equip_index[EQI_HEAD_LOW] == index ) continue; if( i == EQI_HEAD_TOP && (sd->equip_index[EQI_HEAD_MID] == index || sd->equip_index[EQI_HEAD_LOW] == index) ) continue; static unsigned short equip_pos[EQI_MAX]={EQP_ACC_L,EQP_ACC_R,EQP_SHOES,EQP_GARMENT,EQP_HEAD_LOW,EQP_HEAD_MID,EQP_HEAD_TOP,EQP_ARMOR,EQP_HAND_L,EQP_HAND_R,EQP_AMMO,EQP_HEAD_TOP_C, EQP_HEAD_MID_C, EQP_HEAD_LOW_C, EQP_GARMENT_C}; pc.h enum equip_pos { EQP_HEAD_LOW = 0x0001, EQP_HEAD_MID = 0x0200, //512 EQP_HEAD_TOP = 0x0100, //256 EQP_HAND_R = 0x0002, EQP_HAND_L = 0x0020, //32 EQP_ARMOR = 0x0010, //16 EQP_SHOES = 0x0040, //64 EQP_GARMENT = 0x0004, EQP_ACC_L = 0x0008, EQP_ACC_R = 0x0080, //128 EQP_HEAD_TOP_C = 0x0400, EQP_HEAD_MID_C = 0x0800, EQP_HEAD_LOW_C = 0x1000, EQP_GARMENT_C = 0x2000, EQP_AMMO = 0x8000 //32768 #define EQP_WEAPON EQP_HAND_R #define EQP_SHIELD EQP_HAND_L #define EQP_ARMS (EQP_HAND_R|EQP_HAND_L) #define EQP_HELM (EQP_HEAD_LOW|EQP_HEAD_MID|EQP_HEAD_TOP|EQP_HEAD_TOP_C|EQP_HEAD_MID_C|EQP_HEAD_LOW_C) #define EQP_ACC (EQP_ACC_L|EQP_ACC_R) #define EQP_GARMENT (EQP_GARMENT|EQP_GARMENT_C) //Equip indexes constants. (eg: sd->equip_index[EQI_AMMO] returns the index //where the arrows are equipped) enum equip_index { EQI_ACC_L = 0, EQI_ACC_R, EQI_SHOES, EQI_GARMENT, EQI_HEAD_LOW, EQI_HEAD_MID, EQI_HEAD_TOP, EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_HEAD_TOP_C, EQI_HEAD_MID_C, EQI_HEAD_LOW_C, EQI_GARMENT_C, EQI_AMMO, EQI_MAX }; example item as in the thumbnail 5574,Well-Chewed_Pencil,Well Chewed Pencil,5,,,100,,0,,0,0xFFFFFFFF,7,2,4096,,10,1,555,{ bonus bHit,3; if(isequipped(5073)) { bonus bDex,2; bonus bDef,2; } },{},{} I downloaded a ready made server named Ragnarok Super Saiyan and im using this server because its too hard for me to make one :3... the client is 20100707 (checked using NEMO-master) also data files are in .lub. but i already converted it into lua *This problem about costumes is what, server sided or client? or both?:3 *Is it possible to add custom items w/o editting acce files? *Im using notepad ++ to edit src files, is it enough to use it for pc.h and pc.c help please
  2. PC.C if(pos & EQP_HEAD_LOW|EQP_HEAD_LOW_C) { if(id && !(pos&(EQP_HEAD_TOP|EQP_HEAD_MID|EQP_HEAD_TOP_C|EQP_HEAD_MID_C))) sd->status.head_bottom = id->look; else sd->status.head_bottom = 0; clif_changelook(&sd->bl,LOOK_HEAD_BOTTOM,sd->status.head_bottom); } if(pos & EQP_HEAD_TOP|EQP_HEAD_TOP_C) { if(id) sd->status.head_top = id->look; else sd->status.head_top = 0; clif_changelook(&sd->bl,LOOK_HEAD_TOP,sd->status.head_top); } if(pos & EQP_HEAD_MID|EQP_HEAD_MID_C) { if(id && !(pos&EQP_HEAD_TOP|EQP_HEAD_TOP_C)) sd->status.head_mid = id->look; else sd->status.head_mid = 0; clif_changelook(&sd->bl,LOOK_HEAD_MID,sd->status.head_mid); } if( i == EQI_HAND_R && sd->equip_index[EQI_HAND_L] == index ) continue; if( i == EQI_HEAD_MID && sd->equip_index[EQI_HEAD_LOW] == index ) continue; if( i == EQI_HEAD_TOP && (sd->equip_index[EQI_HEAD_MID] == index || sd->equip_index[EQI_HEAD_LOW] == index) ) continue; static unsigned short equip_pos[EQI_MAX]={EQP_ACC_L,EQP_ACC_R,EQP_SHOES,EQP_GARMENT,EQP_HEAD_LOW,EQP_HEAD_MID,EQP_HEAD_TOP,EQP_ARMOR,EQP_HAND_L,EQP_HAND_R,EQP_AMMO,EQP_HEAD_TOP_C, EQP_HEAD_MID_C, EQP_HEAD_LOW_C, EQP_GARMENT_C}; pc.h enum equip_pos { EQP_HEAD_LOW = 0x0001, EQP_HEAD_MID = 0x0200, //512 EQP_HEAD_TOP = 0x0100, //256 EQP_HAND_R = 0x0002, EQP_HAND_L = 0x0020, //32 EQP_ARMOR = 0x0010, //16 EQP_SHOES = 0x0040, //64 EQP_GARMENT = 0x0004, EQP_ACC_L = 0x0008, EQP_ACC_R = 0x0080, //128 EQP_HEAD_TOP_C = 0x0400, EQP_HEAD_MID_C = 0x0800, EQP_HEAD_LOW_C = 0x1000, EQP_GARMENT_C = 0x2000, EQP_AMMO = 0x8000 //32768 #define EQP_WEAPON EQP_HAND_R #define EQP_SHIELD EQP_HAND_L #define EQP_ARMS (EQP_HAND_R|EQP_HAND_L) #define EQP_HELM (EQP_HEAD_LOW|EQP_HEAD_MID|EQP_HEAD_TOP|EQP_HEAD_TOP_C|EQP_HEAD_MID_C|EQP_HEAD_LOW_C) #define EQP_ACC (EQP_ACC_L|EQP_ACC_R) #define EQP_GARMENT (EQP_GARMENT|EQP_GARMENT_C) //Equip indexes constants. (eg: sd->equip_index[EQI_AMMO] returns the index //where the arrows are equipped) enum equip_index { EQI_ACC_L = 0, EQI_ACC_R, EQI_SHOES, EQI_GARMENT, EQI_HEAD_LOW, EQI_HEAD_MID, EQI_HEAD_TOP, EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_HEAD_TOP_C, EQI_HEAD_MID_C, EQI_HEAD_LOW_C, EQI_GARMENT_C, EQI_AMMO, EQI_MAX }; example item as in the thumbnail 5574,Well-Chewed_Pencil,Well Chewed Pencil,5,,,100,,0,,0,0xFFFFFFFF,7,2,4096,,10,1,555,{ bonus bHit,3; if(isequipped(5073)) { bonus bDex,2; bonus bDef,2; } },{},{} I downloaded a ready made server named Ragnarok Super Saiyan and im using this server because its too hard for me to make one :3... the client is 20100707 (checked using NEMO-master) also data files are in .lub. but i already converted it into lua *This problem about costumes is what, server sided or client? or both?:3 *Is it possible to add custom items w/o editting acce files? *Im using notepad ++ to edit src files, is it enough to use it for pc.h and pc.c help please
  3. salamat ng marami! pano ba magpost ng picture dito? hahaha XD eto po mga koya
  4. pano po mag set up ng sql gamit ung wamp?? ang dami ko atang errors sa procedures, una po hndi ko po makita ung trunk na folder, tpos meron po akong nirerebuild pero po hindi ko po nahahanap ung mga char-server.sql.exe etc bali ung normal charserv logserv at map serv lang narurun ko tapos pano po ba malalaman kung tama ung pag diff ng isang client?
×
×
  • Create New...