Jump to content

Ruhn

Members
  • Posts

    45
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Ruhn's Achievements

Drops

Drops (2/15)

  • Dedicated
  • Reacting Well
  • Conversation Starter
  • First Post
  • Collaborator

Recent Badges

1

Reputation

  1. I got this error after compiling. Any fix for this?
  2. You can check this at status.c and find these case SC_SIGNUMCRUCIS: // Only affects demons and undead element (but not players) if((!undead_flag && status->race!=RC_DEMON) || bl->type == BL_PC) return 0; break;
  3. @Forshaken thank you so much brother. youre a life saver
  4. Does anyone have the src mod for bonus dispell immune?
  5. sorry for bumping old thread, does anyone have bonus dispell immune src mod?
  6. Hello, Is there any solution regarding loyal pets that when you press Performance it causes the client to crash ? Tried it with dokebi and poporing and produce same result. Non loyal pet when you press performance it doesnt crash.
  7. does this work on latest rathena who uses itemdb.yml isntead of text ? im getting the error on the item "IInvalid item equip location as it has no equip location, defaulting to IT_ETC"
  8. if(.@id == -1) { mes "You are not holding anything in your hand."; close; } else if(!.@allowed){ mes "Your item can't be enchanted."; close; } else if(getequiprandomoption(EQI_HAND_R,0,ROA_ID == 0)){ mes "Your weapon dont have enchantment!"; close; } else if(getequiprandomoption(EQI_HAND_R,0,ROA_ID)){ goto DISENCHANT; close; } DISENCHANT: mes "Do you want to disenchant your " + getitemname(.@id) + "?"; next; if(select("Yes, proceed.") == 1){ mes "[Enchanter]"; mes "Disenchanting Weapon"; progressbar "#00FF00",1; next; .@eqi = EQI_HAND_R; .@equip_id = getequipid(.@eqi); .@refine = getequiprefinerycnt(.@eqi); for (.@i = 0; .@i < 4; .@i++) .@card[.@i] = getequipcardid(.@eqi, .@i); delequip .@eqi; getitem2 .@equip_id, 1, 1,.@refine,0,.@card[0],.@card[1],.@card[2],.@card[3]; mes "[Enchanter]"; mes "Done removing enchantment"; close; } close; } the script works fine except for this line } else if(getequiprandomoption(EQI_HAND_R,0,ROA_ID == 0)){ mes "Your weapon dont have enchantment!"; close; idk what to do to make the npc check the item if it dont have any enchantment then it will say that message. Thanks in advance guys
  9. @Emistry how to add check on this to make it not process disenchantment when the item is not enchanted ? also sorry for bringing up old topics
  10. anyone know how to replace for example ( elunium, enriched elunium) into a custom ore on the new refine ui ? cant seem to find it
  11. why i cant wear the custom headgears im making but i can wear custom weapons ? they got like all job restriction and equiplevelmin 1. i even copied appel o archers itemscript and still cant wear the custom headgear.
  12. the first one is for Poring, when you have no designated pet food item "Apple Juice" it will indicate it like that, but on the second one, its a custom Pet , and it doesnt get a text message like the poring one. Im sure ive included the pet food item for it in the petinfo.lub
  13. Is there a way to force close all gstorage via command ? we cant fidn a way to fix the bug when someone's gstorage is opened then the player vended and did the @autotrade command. Itll bug the gstorage, and when it got bugged the other member of the guild cant open the gstorage anymore, unless the server restarts. I hope someone new a way to fix this problem
  14. is it possible to just make a seperate script in which we could call for its mobid when killed ? for eg. evrytime mobid: 1140 is killed ( Marduk ) it will announce ?
  15. Sorry i forgot, but here it is. It comes with MvP points acquisition OnNPCKillEvent: if (getgmlevel() >= .gm ) end; // If gm = event wont happen if ( getmonsterinfo( killedrid, MOB_MVPEXP )) { for (.@a = 0; .@a < getarraysize(.t_maps$); .@a++) { if ( strcharinfo(3) == .t_maps$[.@a]) { if ( getcharid(1) ) { getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { .@partymemberaid[.@c] = $@partymemberaid[.@i]; .@c++; } } if (rand(100) < .chance) getitem .p_rwd[0], .p_rwd[1], .@partymemberaid[ rand( .@c ) ]; announce "["+ strcharinfo(0) +"] of party ["+ strcharinfo(1) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ), bc_all; } else { if (rand(100) < .chance) getitem .s_rwd[0], .s_rwd[1]; announce "["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ), bc_all; } MVPKills = MVPKills+1; dispbottom "---------------------------------------------------"; dispbottom "You killed a total of "+MVPKills+" MVP"+((MVPKills == 1)?"":"s")+"."; #mvp_points++; dispbottom "You've gained one point! Your total is ["+#mvp_points+"] MvP point(s)."; dispbottom "---------------------------------------------------"; end; } } if ( strcharinfo(3) == .t_maps$[.@a]) { if ( getcharid(1) ) { announce "["+ strcharinfo(0) +"] of party ["+ strcharinfo(1) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ), bc_all; } else { announce "["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ), bc_all; }} end; } }
×
×
  • Create New...