Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/08/22 in all areas

  1. not really sure about the script but when i see it i remember the Global_Functions the F_getpositionname you don't use it in your script but it look like the script working on it ? E:/GitHub/rathena/npc/other/Global_Functions.txt function script F_getpositionname { switch( getarg(0,999) ) { case EQI_ACC_L: return "Accessory 1"; case EQI_ACC_R: return "Accessory 2"; case EQI_SHOES: return "Shoes"; case EQI_GARMENT: return "Robe"; case EQI_HEAD_LOW: return "Head 3"; case EQI_HEAD_MID: return "Head 2"; case EQI_HEAD_TOP: return "Head"; case EQI_ARMOR: return "Body"; case EQI_HAND_L: return "Left hand"; case EQI_HAND_R: return "Right hand"; case EQI_COSTUME_HEAD_TOP: return "Upper Costume Headgear"; case EQI_COSTUME_HEAD_MID: return "Middle Costume Headgear"; case EQI_COSTUME_HEAD_LOW: return "Lower Costume Headgear"; case EQI_COSTUME_GARMENT: return "Costume Garment"; case EQI_AMMO: return "Arrow/Ammunition"; case EQI_SHADOW_ARMOR: return "Shadow Armor"; case EQI_SHADOW_WEAPON: return "Shadow Weapon"; case EQI_SHADOW_SHIELD: return "Shadow Shield"; case EQI_SHADOW_SHOES: return "Shadow Shoes"; case EQI_SHADOW_ACC_R: return "Shadow Accessory 2"; case EQI_SHADOW_ACC_L: return "Shadow Accessory 1"; default: return "Unknown"; } } as i see setarray .@slots[0],2,3,4,5,6,7,8,9,10; 0 and 1 not in the array so you mean the accessorys ? if( .@slots[.@a] == 8 || .@slots[.@a] == 9) { = the weapons ? if you meant to use the F_getpositionname function then it's up and the shadow equipments are in it but i don't really think that the script completed ? not really sure
    1 point
  2. 7227,TCG_Card,TCG Card,11,0,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ changebase roclass((eaclass()&EAJ_UPPERMASK)|EAJL_BABY); },{},{}
    1 point
  3. prontera,155,175,5 script Sample#npc 4_F_KAFRA9,{ .talk_count++; mes "I have talked "+.talk_count+" times with players."; close; }
    1 point
  4. This is the src mod =) /*=================================== * Sleep (@sleep) *----------------------------------- */ int atcommand_sleep(const int fd, struct map_session_data* sd, const char* command, const char* message) { if (agit_flag) // skill not useable in WOE [A17kaliva] { clif_displaymessage(fd, "Cannot use this command during WOE."); return -1; } if(!battle_config.prevent_logout || DIFF_TICK(gettick(), sd->canlog_tick) > 10) { if(sd->sc.opt1 != 0 && sd->sc.opt1 != OPT1_SLEEP){ clif_displaymessage(fd, msg_txt(807)); return -1; } if(sd->sc.opt1 != OPT1_SLEEP){ sc_start(&sd->bl, SC_TRICKDEAD, 100, 1, 1000); sd->sc.opt1 = OPT1_SLEEP; sc_start(&sd->bl,SC_COMA,100,1,skill_get_time2(185,1)); clif_displaymessage(fd, msg_txt(805)); } else { sd->sc.opt1 = 0; clif_emotion(&sd->bl,45); status_change_end(&sd->bl, SC_TRICKDEAD, -1); sc_start(&sd->bl,SC_COMA,100,1,skill_get_time2(185,1)); clif_displaymessage(fd, msg_txt(806)); } clif_changeoption(&sd->bl); return 0; } clif_displaymessage(fd, msg_txt(807)); return -1; } I suggest that change my displaymessages n_nU cause the newest versions have that messages busy n_nU ~~
    1 point
×
×
  • Create New...