Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/26/23 in Posts

  1. Hello, how about this? - script JailSystem#proto FAKE_NPC,{ OnBail: .@charCount = getareaunits(BL_PC, "sec_pri", 14, 85, 59, 65, .@charNames$); mes "[Guard]"; if(.@charCount == 0) { mes "There is no one in jail."; close; } mes "Who do you want to bail out?"; next; select(implode(.@charNames$, ":")); mes "[Guard]"; mes "The fee is " + callfunc("F_InsertComma", .bailOutPrice) + "z. Do you want to pay that?"; next; if (select("Yes:No" ) == 1) { mes "[Guard]"; if(Zeny < .bailOutPrice) { mes "It seems you don't have enough money, come back when you have enough."; close; } Zeny -= .bailOutPrice; .@addressation$ = (strcharinfo(0) == .@charNames$[@menu - 1]) ? "you" : .@charNames$[@menu - 1]; mes "Alright, i'll let " + .@addressation$ + " go for now."; close2; atcommand("@unjail " + .@charNames$[@menu - 1]); end; } mes "[Guard]"; mes "You can come back when you change your mind."; close; end; OnInit: .bailOutPrice = 10000; } - script BAIL_ATCOMMAND FAKE_NPC,{ OnInit: bindatcmd("bail", "Guard#proto::OnBail"); } prontera, 159, 190, 4 duplicate(JailSystem#proto) Prison Warden#sec_pri01 4_M_YOUNGKNIGHT sec_pri, 18, 63, 4 duplicate(JailSystem#proto) Jail Guard#sec_pri02 4_M_EDEN_GUARDER sec_pri, 45, 63, 4 duplicate(JailSystem#proto) Jail Guard#sec_pri03 4_M_LGTGUARD
    1 point
  2. Hello, A lot of rAthena users preferred to use text database, and I am one of these users since it is so much easier to trace | modify | compare. I've been trying to find a workaround to enable rAthena to still read text version of item database, but frustratingly I don't have the knowledge & capability to do so. I really hope that there would be someone out there who can help in making rAthena be able to read text version of item db. Please hit like if you are like me who prefer to use text version item db. Thank you!
    1 point
  3. trunk/conf/battle/monster.conf // Respawn rate of monsters on a map. 50 would make mobs respawn twice as fast (half delay time) (Note 2) //Note: This does not affects mobs with inmediate respawn (most normal mobs) mob_spawn_delay: 100 plant_spawn_delay: 100 boss_spawn_delay: 100 For the number of monster; check trunk/npc/re/mobs/
    1 point
×
×
  • Create New...