monkeydluffy

Members
  • Content Count

    23
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

1 Neutral

About monkeydluffy

  • Rank
    Poring

Profile Information

  • Gender
    Male
  • Location
    Brasil

Recent Profile Visitors

896 profile views
  1. I had no errors to compile. Now when I use the command it works. Through NPC that charges an item to transform items not appearing in script list. //============================================================ // ------------------------------------------------------------------------------- // Script Name : Headgear to Costume converter >> Costume to Headgear converter // ------------------------------------------------------------------------------- // Description : // - Allows a user to convert the equipped headgear (on Top, Mid or Low) into a // costume item. It will remove any card and refine of the Item. // - Allows a user to restore the equipped costume headgear (on Top, Mid or Low) // into its original form. It will not return any card or refine of the item. // ------------------------------------------------------------------------------- - script Costume Clown -1,{ mes "[Clown]"; mes "Here you can convert your headgears into a Costume Headgear or restore to its Original State."; mes "And it only cost 1 ^0000FFCostume Ticket^000000 when you're converting or restoring your headgear."; switch(select("I want to convert.:I want to restore.:No thanks.")) { case 1: next; if(countitem(607) <1) { mes "[Clown]"; mes "I need at least 1 ^0000FFCostume Ticket^000000 to convert your headgear into a ^0000FFCostume^000000"; close; } mes "[Clown]"; mes "Please, select what to convert."; mes "Remember, cards and refine will be removed."; next; setarray [email protected]$[1],"Top","Mid","Low"; setarray [email protected][1], 1, 9, 10; set [email protected]$,""; for( set [email protected], 1; [email protected] < 5; set [email protected], [email protected] + 1 ) { if( getequipisequiped([email protected][[email protected]]) ) set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + "-" + "[" + getequipname([email protected][[email protected]]) + "]"; set [email protected]$, [email protected]$ + ":"; } set [email protected], [email protected][ select([email protected]$) ]; if( !getequipisequiped([email protected]) ) { mes "[Clown]"; mes "Your not wearing anything there..."; close; } mes "[Clown]"; mes "You want to Costume your " + getitemname(getequipid([email protected])) + "?"; next; if( select("Yes, proceed:No, I am sorry.") == 2 ) { mes "[Clown]"; mes "Need some time to think about it, huh?"; mes "Alright, I can understand."; close; } costume [email protected]; // Convert the Headgear delitem 607,1; mes "[Clown]"; mes "Done, enjoy your costume headgear."; close; case 2: next; if(countitem(607) <1) { mes "[Clown]"; mes "I need at least 1 ^0000FFCostume Ticket^000000 to restoring your headgear into its Original State."; close; } mes "[Clown]"; mes "Please, select what to restore."; mes "Remember, I will only restore it back without refine and cards."; next; setarray [email protected]$[1],"Top","Mid","Low"; setarray [email protected][1], 13, 12, 11; set [email protected]$,""; for( set [email protected], 1; [email protected] < 5; set [email protected], [email protected] + 1 ) { if( getequipisequiped([email protected][[email protected]]) ) set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + "-" + "[" + getequipname([email protected][[email protected]]) + "]"; set [email protected]$, [email protected]$ + ":"; } set [email protected], [email protected][ select([email protected]$) ]; if( !getequipisequiped([email protected]) ) { mes "[Clown]"; mes "Your not wearing anything there..."; close; } mes "[Clown]"; mes "You want to restore your " + getitemname(getequipid([email protected])) + "?"; next; if( select("Yes, proceed:No, I am sorry.") == 2 ) { mes "[Clown]"; mes "Need some time to think about it, huh?"; mes "Alright, I can understand."; close; } a = getequipid([email protected]); delitem a,1; getitem a,1; delitem 607,1; mes "[Clown]"; mes "Done, enjoy your restored headgear."; close; case 3: next; mes "[Clown]"; mes "Very well. Return at once if you seek my services."; close; } } // -------------------------------------------------------------------------- // Use duplicates to put your npc on different cities // -------------------------------------------------------------------------- prontera,168,162,2 duplicate(Costume Clown) Costume Clown#1 715
  2. That line worked and now another error appeared when compiling can help? Thank you very much in advance
  3. Can anyone help me with this problem at compile time? https://github.com/secretdataz/rathena/commit/12acccd30b970e73ee7bce60b97ed434d4577a1f
  4. Skill Issues: I try Asura Strike on Professor with Orc Lord Armor then my damage back to my character even the Professor is inside Safety Wall.
  5. paladin when using skills CR_AUTOGUARD/CR_REFLECTSHIELD when unequipping the shield they remain how to solve it? dispel not removing Soul Linker Spirit how to solve it?
  6. I use pre-r. I tried to do this topic alike. My server is 255/70. No matter where I change the maximum received HP percentage, it seems fixed.
  7. The sword appears for all. And I wish it worked only on the trap skill.
  8. Keep the buff. I tried to remove those changes and still continue to lose the skills. https://github.com/rathena/rathena/commit/d612788ed79f37851d6a3ce83561e922abf550fe
  9. status.cpp: 7456 my review: struct status_data *status_get_status_data(struct block_list *bl) { nullpo_retr(&dummy_status, bl); switch (bl->type) { case BL_PC: return &((TBL_PC*)bl)->battle_status; case BL_MOB: return &((TBL_MOB*)bl)->status; case BL_PET: return &((TBL_PET*)bl)->status; case BL_HOM: return &((TBL_HOM*)bl)->battle_status; case BL_MER: return &((TBL_MER*)bl)->battle_status; case BL_ELEM: return &((TBL_ELEM*)bl)->battle_status; case BL_NPC: return ((mobdb_checkid(((TBL_NPC*)bl)->class_) == 0) ? &((TBL_NPC*)bl)->status : &dummy_status); default: return &dummy_status; } } github: int status_get_class(struct block_list *bl) { nullpo_ret(bl); switch( bl->type ) { case BL_PC: return ((TBL_PC*)bl)->status.class_; case BL_MOB: return ((TBL_MOB*)bl)->vd->class_; // Class used on all code should be the view class of the mob. case BL_PET: return ((TBL_PET*)bl)->pet.class_; case BL_HOM: return ((TBL_HOM*)bl)->homunculus.class_; case BL_MER: return ((TBL_MER*)bl)->mercenary.class_; case BL_NPC: return ((TBL_NPC*)bl)->class_; case BL_ELEM: return ((TBL_ELEM*)bl)->elemental.class_; } return 0; } That part of the skill I already got. Now I need to know how to make this change above and where it makes the most changes.
  10. The emulator started to crash and crash the map-server. I used GDB and got the following information... The status.cpp and skill.cpp files for analysis are appended to the topic. If anyone can help me I will be very grateful please. This is very urgent! skill.cpp status.cpp
  11. When i am a paladin and use skill AUTOGUARD and REFLECT and change to a different shield the ability comes out. How to adjust this?
  12. It did not work here. I switched and the attack cursor still appears.
  13. I would like to change the traps. During the War the attack cursor appears on the traps. I would like the mouse to stay normal and avoid "miss click". Can someone help me?