Jump to content

crazyarashi

Developer
  • Posts

    763
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by crazyarashi

  1. if you plan to make it as a MVP Mobs. you should just costumize one for this since King Poring is from iRO 2013 Summer Event since the king poring from the instance poring village is very weak (HP around 2k or less)
  2. can you be more specific im very confused on what you're talking about
  3. i really dont know about offline pack but it is possible if it's a git repo:))
  4. you can simply update your files using git pull but it's only possible if all your edits/configs should be on custom folder/import folder so you won't have conflicts when you update your git hash if you do have conflict you can still manually update your rathena files
  5. Do you mind sending the script you used and a screenshot perhaps i tested in latest hash w/ 2015-11-04a and its working fine
  6. that's for the minimap markers :))
  7. Find inside your grf the file luafiles514/luafiles/signboardlist.lub :)) { "prontera", 154, 187, 0, IT_BMP, "À¯ÀúÀÎÅÍÆäÀ̽º\\information\\over_guide.bmp" }, < Delete This Line
  8. checkquest(1300, PLAYTIME); //Example .@Cooldown = checkquest(1300, PLAYTIME); if (.@Cooldown == 2) { mes "[NPC]"; mes "You are still on cooldown please wait for 24 hours"; close; } The Char ID will be the PC who talked to the NPC :))
  9. prontera,255,55,5 script Tool Dealer#prt 125,{ mes "What do you like to buy?"; switch( select( "Ammunition Box", "Single Ammo", "Identify My Items", "Nothing" ) ) { next; case 1: callshop "AmmunitionBox",1; end; case 2: callshop "SingleAmmo",1; end; case 3: mes "Here you go"; callfunc "identify123"; end; case 4: mes "Okay, have a nice day"; close; } } - shop Tool Dealer#shop::AmmunitionBox -1,501:-1 // Add ammo box here - shop Tool Dealer#shop::SingleAmmo -1,502:-1 //single ammo add here function script identify123 { getinventorylist; while( .@idn < @inventorylist_count ){ if ( !@inventorylist_identify[.@idn] ){ delitem2 @inventorylist_id[.@idn],1,0,0,0,0,0,0,0; getitem @inventorylist_id[.@idn],1; } .@idn++; } close; }
  10. - script MonsterKill -1,{ OnNPCKillEvent: if( getmonsterinfo(killedrid, MOB_MVPEXP) ){ announce "Citizen of midgard, The Brave Adventurer "+ strcharinfo(0)+" has killed the MVP Monster "+getmonsterinfo(killedrid,0)+" at "+strcharinfo(3),0,0xFFFF00; } }
  11. - script MonsterKill -1,{ OnNPCKillEvent: if( getmonsterinfo(killedrid, MOB_MVPEXP) ){ announce +"Citizen of midgard, The Brave Adventurer"+ strcharinfo(0)+" has killed the MVP Monster "+getmonsterinfo(killedrid,0)+" at "+strcharinfo(3),0,0xFFFF00; } }
  12. if you undefine the pre-re it should be running on pre-renewal now :))
  13. You should recache the old izlude map using weemapcache to your map_cache.dat
  14. the first id in login of the SQL should be the same as the userid and passwd in char_athena.conf and map_athena.conf :))
  15. case WS_CARTTERMINATION: i = 10 * (16 - skill_lv); if (i < 1) i = 1; //Preserve damage ratio when max cart weight is changed. if (sd && sd->cart_weight) skillratio += sd->cart_weight / i * 80000 / battle_config.max_cart_weight - 100; else if (!sd) skillratio += 80000 / i - 100; break; Find this line in battle.c :))
  16. You should make your own grf for editing lua/lub files you can use this translation files as a base for your grf Translation Files By Zackdreaver
  17. You need to download the alternate sprites for 3rd job and add them in to your GRF :))
  18. prontera,255,55,5 script Freebies NPC 655,{ query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", .@lip$); mes "[Freebies NPC]"; mes "Welcome to Server Name!!"; next; if ( getd("$" + .@lip$ + "_NA") > 0 || #NewbieGift > 0) { mes "[Freebies NPC]"; mes "Your IP have already recieved a freebies."; close; } mes "Here are your freebies!:"; getitem 501,1000; //item id and amount getitem 502,1000; set #NewbieGift, 1; setd "$" + .@lip$ + "_NA", getd("$" + .@lip$ + "_NA") + 1; end; }
  19. //Simple HG Hiding by crazyarashi - script Invisible -1,{ OnAtCommand: .@npc$ = "["+ strnpcinfo(1) +"]"; mes .@npc$; mes "Hello, "+strcharinfo(0); mes "Which headgear do you want to hide?"; next; setarray .@hgmenu$, "Top Headgear", "Middle Headgear", "Lower Headgear"; .@menu$ = implode(.@hgmenu$, ":"); .@i = select( .@menu$ ) - 1; .@equip = getequipid(.location$[.@i]); if( .@equip != getequipid(.location$[.@i])) { mes .@npc$; mes "You're not wearing any headgear"; close; } else { atcommand "@"+ .looks$[.@i]; dispbottom .@hgmenu$[.@i] +" is now hidden"; end; } OnInit: setarray .location$, "EQI_HEAD_TOP", "EQI_HEAD_MID", "EQI_HEAD_LOW"; setarray .looks$, "changelook 1 0", "changelook 2 0", "changelook 3 0"; bindatcmd "hidehg",strnpcinfo(0)+"::OnAtCommand"; } Try this i added a menu of what you want to headgear you want to hide and added a bindcommand (change the command if you want) haven't tested it though :)) probably upon logout the item will show again.
  20. Should the item options be random or you have a specific random option in mind? :))
  21. // Add in item item_db import // 35000,Prize_Of_Hero,Prize of Hero,2,10,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ callfunc "prizeofhero"; },{},{} //Add in Custom NPC Folder and reload // Prize Of Hero Contents function script prizeofhero { setarray .Items[0],15093,15094,15095,15096,15097,15098,22035,22036,22037; //Add item ID here for additional random items for the box set .random, rand( getarraysize( .Items ) ); getitem .Items[ .random ], 1; end; } This is a simple one :))
  22. did you diff your client to read the translated lua files? :))
  23. - script ItemCheck -1,{ OnPCLoadMapEvent: getmapxy(.@map$,.@mapx,.@mapy,0); if(.@map$!="prt_fild01") end; if(strcharinfo(3) == .@map$){ if(countitem(.item)){ mes "You have "+getitemname(.item)+" in your inventory."; next; mes "This is not allowed in this map"; warp "prontera",255,55; } else { addtimer(1000 * .time), ("ItemCheck")+"::OnPCLoadMapEvent"; } } OnInit: .item = 12345; .time = 3; end; } prt_fild01 mapflag loadevent
×
×
  • Create New...