Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. prontera,155,181,5 script Sample 4_F_KAFRA1,{ getitem <item_id>, 1; end; }
  2. prontera,155,181,5 script Sample 4_F_KAFRA1,{ mes "Pick a map ?"; .@i = select(implode(.map$, ":")) - 1; announce strcharinfo(0)+" (Lv"+BaseLevel+") looks for party to go to "+.map$[.@i]+" map.", bc_all; close; OnInit: setarray .map$, "Odin", "Thor", "Nameless"; end; }
  3. Emistry

    Job Master

    you can try https://rathena.org/board/topic/105789-utility-sql-job-changer/
  4. hmm, there are actually some hack-attempt that you could try to get this done... execute this SQL to create a dummy character with the char name "[BROKEN]" INSERT INTO `char` (`char_id`, `account_id`, `char_num`, `name`, `class`, `base_level`, `job_level`, `base_exp`, `job_exp`, `zeny`, `str`, `agi`, `vit`, `int`, `dex`, `luk`, `max_hp`, `hp`, `max_sp`, `sp`, `status_point`, `skill_point`, `option`, `karma`, `manner`, `party_id`, `guild_id`, `pet_id`, `homun_id`, `elemental_id`, `hair`, `hair_color`, `clothes_color`, `body`, `weapon`, `shield`, `head_top`, `head_mid`, `head_bottom`, `robe`, `last_map`, `last_x`, `last_y`, `save_map`, `save_x`, `save_y`, `partner_id`, `online`, `father`, `mother`, `child`, `fame`, `rename`, `delete_date`, `moves`, `unban_time`, `font`, `uniqueitem_counter`, `sex`, `hotkey_rowshift`, `clan_id`, `title_id`, `show_equip`, `last_login`) VALUES (1, 1, 1, '[BROKEN]', 0, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 40, 40, 11, 11, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 'prontera', 155, 181, 'prontera', 155, 181, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'U', 0, 0, 0, 0, '2019-08-25 02:34:01'); then give item using this .. getitem2 .@id,1,1,.@ref,0,254,0,1&0xffff,(1>>16)&0xffff;
  5. Emistry

    Clone Map.

    https://github.com/rathena/rathena/wiki/Custom_Maps
  6. { if( strcharinfo(3) != "darkmall" ) { mes "Only usable at darkmall map."; close; } else { buyingstore 2; } },{},{}
  7. you could have just update the kRO to latest and obtained all these files easily without need any additional efforts to implement it into your server.
  8. you can try something like this. - script Sample -1,{ OnInit: .max_card_count = 1; setarray .@map$, "prtg_cas01", "prtg_cas02", "prtg_cas03", "prtg_cas04", "prtg_cas05"; .@map_size = getarraysize(.@map$); .compare_map$ = "#"; for (.@i = 0; .@i < .@map_size; .@i++) { setmapflag .@map$[.@i], mf_loadevent; .compare_map$ = .compare_map$ + .@map$[.@i] + "#"; } end; OnPCLoadMapEvent: if (compare(.compare_map$, "#"+strcharinfo(3)+"#")) { if (isequippedcnt(4001,4002,4003,4004,4005) >= .max_card_count) { warp "SavePoint", 0, 0; } } end; } list all the mvp card here. if (isequippedcnt(4001,4002,4003,4004,4005) >= .max_card_count) {
  9. for 2010 client, you can try this online diff patcher http://rathena.sourceforge.net/tools/diff_patcher.php not sure if it still work, but you could try. for 2010, if i recall correctly 2010-07-30 are stable enough and recommended during that time.
  10. nov 5, 2004 are probably the oldest you could get now ... https://github.com/rathena/rathena/tree/706e785091b4b16b0626289e69fc5ac4ab3bc068
  11. LUA or LUB are depend on which file your hexed client are reading.
  12. report bug here https://github.com/rathena/rathena/issues
  13. change these .Amount = countitem(7539); .Amount2 = countitem(7539)/5; for ( .i = 5; .i <= countitem((7539)); ) { delitem 7539, 5; getitem 7619, 1; } into this input .@amount, 0, (countitem(7539)/5); if (.@amount) { delitem 7539, (.@amount * 5); getitem 7619, .@amount; }
  14. try - script Sample -1,{ OnInit: .map$ = "guild_vs1"; .max_round = 40; end; OnClock0000: if (.status) end; .round = 0; .status = 1; OnSummon: sleep 3000; .round++; if (.round <= .max_round) { mapannounce .map$, "ROUND - "+.round+"/"+.max_round+"!", bc_map; sleep 5000; monster .map$,50,50,"--ja--",-3,1,strnpcinfo(3)+"::OnReward"; } else { .status = 0; .round = 0; killmonsterall .map$; } end; OnReward: donpcevent strnpcinfo(3)+"::OnSummon"; addrid(1, 0, 5, .map$); // Prize + Amount if (.round <= 10) .@amount = 1; else if (.round <= 20) .@amount = 2; else if (.round <= 30) .@amount = 3; else .@amount = 4; getitem 501, .@amount; getitem 502, .@amount; getitem 503, .@amount; end; }
  15. you can try - script atcmd_example -1,{ OnInit: bindatcmd "hold",strnpcinfo(3) + "::OnAtcommand"; end; OnAtcommand: setpcblock PCBLOCK_MOVE, (getpcblock() & PCBLOCK_MOVE); end; }
  16. if( .@Guillaume < 1 || .@Croix < 1 ) try change to if( .@Guillaume < 7 || .@Croix < 7 )
  17. it seem like it no longer work if the guild doesn't have guild skill points to spent. sound like a bug, you can try report see if the dev willing to change the behaviour.
  18. sql-files/upgrades/upgrade_20180404.sql sql-files/upgrades/upgrade_20190309.sql
  19. prontera,155,181,5 script Sample 4_F_KAFRA1,{ if (is_guild_leader()) { mes "hi, do you want to activate the gstorage?"; if (select("Yes", "No") == 1) { guildskill 10016, 5; mes "done"; } close2; } end; }
  20. you get back the original kRO skill tree depend on your class.
  21. set the value for range parameter maybe... fixed and wait the new download to be available again.
  22. if I am not mistaken, using langtype 1 would have enabled this effect by default. if the item has compounded with different cards/enchant it would change the color tho ...
  23. hmm ... the second picture look like something like this. prontera,155,181,5 script Sample 4_F_KAFRA1,{ end; OnInit: .@map$ = strnpcinfo(4); .@npc$ = strnpcinfo(0); while (1) { showscript .@npc$ +": user(s) "+getmapusers(.@map$)+" at "+.@map$; sleep 3000; } end; } not something recommended tho since it drain unnecessary resources.
×
×
  • Create New...