Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/21/13 in all areas

  1. *NOTE: The following clientside are default settings that allow clients to function properly. They do not contain full translations, just the ones from the svn repository. http://svn6.assembla...n_Project/data/ These clients should be the base to use, since there are many client dates, the main ones I will use are 2010-06-16, 2011-12-28, and 2012-04-10. *NOTE2: If you use any other client, than I probably won’t be able to help. If you have any suggestions or tweaks to add, please PM me. *NOTE3: It’s recommended you install the latest Ragnarok from here if you don’t have one already http://rathena.org/b...enewal-20120605 *NOTE4: The client side files I use will be in lub format *NOTE5: People will say they don’t experience click delay in 2011-03-15, but other players will/may experience as well. So that isn’t a good solution to use these clients. If I forget anything, let me know. *More in-depth guide is in the following PDF - Too much links and diffs suggestions that would fill this topic **All of these setup has been tested and hotkeys, typing, and resolution works, as long as you have them in a clean base ragnarok install, and it's not conflicting with other server data http://supportmii.co...ntSide_Area.pdf Thanks to Ind for going through with my request to push ahead to new client support..It's about time =)
    1 point
  2. Hi. If I remember correctly I wrote some things related to this post on the forum, at the beginning of rathena, I'm not able to find it ever, so maybe it was in the staff section. It was talking about script optimization, more specially, how some fake commands (if/else/while/for) are converting to label in the source and can be improved. Since I don't have the motivation (and the time) to work on a patch, I let you the result of my investigations here (because it was waiting from one year on my ftp). So first of all, this modifications required two commands : jump_nonzero, goto_ifexist. There will be used to rewrite all the for() while() code and optimize the code. // jump_nonzero() - inverse of jump_zero. BUILDIN_DEF(jump_nonzero,"il") BUILDIN_FUNC(jump_nonzero) { if( script_getnum(st,2) ) { if( !data_islabel(script_getdata(st,3)) ){ ShowError("script: jump_zero: not label !\n"); st->state=END; return 1; } st->pos = script_getnum(st,3); st->state = GOTO; } return 0; } // goto_ifexist() - Jump to a label if it exist (required a string !) BUILDIN_DEF(goto_ifexist,"s") BUILDIN_FUNC(goto_ifexist) { int n = search_str( script_getstr(st,2) ); if( n == -1 || str_data[n].type != C_POS ) {// label not found return 0; } st->pos = str_data[n].label; st->state = GOTO; return 0; } ---------------------------------------------------- Now, let's have fun: For NPC Script: for ( <a>; <b>; <c> ) { <d>; }Currently compiled to:<a>; __FR%x_J: jump_zero( <b>, __FR%x_FIN ); goto __FR%x_BGN; __FR%x_NXT: <c>; goto __FR%x_J; __FR%x_BGN: <d>; goto __FR%x_NXT; __FR%x_FIN:My proposal:<a>; jump_zero( <b>, __FR%x_FIN ); __FR%x_J: <d>; __FR%x_NXT: <c>; jump_nonzero( <b>, __FR%x_J ); __FR%x_FIN: While NPC Script: while ( <a> ) { <b> } Currently compiled to: __WL%x_NXT: jump_zero( <a>, __WL%x_FIN ); <b> goto __WL%x_NXT; __WL%x_FIN: My proposal: goto __WL%x_NXT; __WL%x_BGN: <b>; __WL%x_NXT: jump_nonzero( <a>, __WL%x_BGN ); __WL%x_FIN: Do-While NPC Script: do { <a> } while( <b> ); Currently compiled to: __DO%x_BGN: <a>; __DO%x_NXT: jump_zero( <b>, __DO%x_FIN ); goto __DO%x_BGN; __DO%x_FIN: My proposal: __DO%x_BGN: <a>; __DO%x_NXT: jump_nonzero( <b>, __DO%x_BGN ); __DO%x_FIN: Switch NPC Script: switch(<a>) { case 1: <b> break; default: <c> } Currently compiled code (simplify, the original is more obscure): set $@__SW%x_VAL, <a>; goto __SW%x_%xJ; __SW%x_%xJ: __SW%x_%x: if(%d != $@__SW%x_VAL) goto __SW%x_%x; <b>; goto __SW%x_FIN; // break __SW%x_%x: goto __SW%x_DEF; __SW%x_DEF: <c>; set $@__SW%x_VAL,0; goto __SW%x_FIN; __SW%x_FIN: My proposal: goto_ifexist("__SW%x_" + <a>); goto_ifexist("__SW%x_DEF"); goto __SW%x_FIN; __SW%x_1: <b> goto __SW%x_FIN; // break; __SW%x_DEF: <d> __SW%x_FIN:
    1 point
  3. item_combo_db: 2777:2777,{ bonus bAllStats,-999; }
    1 point
  4. Go in your mob_db.txt (or the SQL database if you are using SQL files) and edit the Peach Tree's line. You'll see item 522 then the drop rate. Change the rate.
    1 point
  5. In db/re/exp.txt look for the value 0 , this is the exp needed to reach level 1. edit the numbers after that, half them or whatever to reduce the exp needed to reach each level.
    1 point
  6. http://rathena.org/wiki/Custom_weapons
    1 point
  7. Go to this link : http://translate.google.com/ Copy paste the script into it, translate from spanish to English, and take the translated script out. Either Way, here is the translated version using Google translate. / / ===== EAthena Script ======================================= / / = Wolfchev's Laboratory (Memorial Dungeon) Laboratory Somatology F4 / / ===== By: ========================================= ========= / / = Ziu / / ===== Current Version: ===================================== / / = 1.3 (Spanish Scene) / / ===== Compatible With: ===================================== / / = EAthena 14589 TRUNK + (client 21/07/2010) data View Z180 / / = Endless Tower (3.12a By Saithis) / / = Orc Dungeon N.I (2.6 By Ziu) / / = Orc's Memory (1.4 By L0ne_W0lf) / / = Sealed Shrine (1.3 By L0ne_W0lf) / / = Endless Tower (1.3 By L0ne_W0lf) / / = Nidhoggur's Nest (1.8 By Ziu) / / = The Labyrinth Forest Fog Instance (1.6 By Ziu) / / = Octopus Cave "Cash Instance" (Special Episodie Malangdo) / / = Cluiver "Cash Instance" (Special Episodie Malangdo) / / ===== Additional Comments: ================================= / / English Translated Texts [Ziu] / / ================================================ ============= lhz_dun04, 147,278,0 script Laboratory Door 111, { if (lhz_dun04 == 7) { mes "Wolfchev.Ms lab door beyond the door I heard the same cry."; next; switch (select ("Go to the lab", "No go")) { case 1: set. @ party_id, getcharid (1); if (. @ party_id <1) { mes "^ FF0000Advertencia. ^ 000000"; mes "" + strcharinfo (0) + "..."; mes "^ FF0000Usuario Unregistered ^ 000000"; next; mes "lab protection system attacked and turned out to hurt you."; pushpc DIR_SOUTH, 3; SpecialEffect EF_AUTOCOUNTER; specialeffect2 EF_BASH; percentheal -5.0; close; Else {} set. @ party_id, getcharid (1); set. @ ins_mas, getpartyleader (. @ party_id, 2); set. @ p_name $, getpartyname (. @ party_id); set. @ p_reader $, strcharinfo (0); set. @ md_name $, "Wolfchev's Lab"; getpartymember (. @ party_id); set. @ partymembercount, $ @ partymembercount; copyArray. @ partymembername $ [0], $ @ partymembername $ [0],. @ partymembercount; September. @ wolftime, checkquest (5112, PLAYTIME); if ((. @ party_id> 0) && ((. @ partymembercount> 0))) { if (. @ wolftime == -1) { if (. @ ins_mas getcharid == (0)) { month "[Wolfchev]"; mes "Are you ready to go?"; mes "If these dipuesto to come in and know what you have to do in the laboratory"; next; month "[Wolfchev]"; mes "Press the emergency button to try to change the security system and can get"; next; month "[Wolfchev]"; month "Many seek prey lab systems to continue to work and not be able to s if you turn them all off."; next; month "[Wolfchev]"; mes "Ah, if during this emergency operation system become unusable and podrs to enter. Whatever happens in the laboratory is a mystery."; next; month "[Wolfchev]"; mes "And the advice I can give at this time is that curiosity and touch everything can make you get hurt."; next; month "[Wolfchev]"; mes "I'd like to reserve the input to" +. @ md_name $ + ""; next; switch (select ("Permission" +. @ md_name $ + ": Research Laboratory: Cancel")) { case 1: September. @ instance, instance_create (. @ md_name $,. @ party_id); if (. @ instance <0) { month "Party Name:" +. @ p_name $ + ""; month "Party Leader:" +. @ p_reader $ + ""; mes "^ 0000ff" +. @ md_name $ + "^ 000000 - Crash in the permit."; close; Else {} month "[Wolfchev]"; month "Est good! have permission 0000FFSomatology Laboratory F4 ^ 000000 ^ now ^ 0000FF" + strcharinfo (0) + "^ 000000"; mes "Your permission to ^ 0000ff" +. @ md_name $ + "^ 000000 has been confirmed."; mes "After asking your permission, you have have to select in the menu ^ ^ 0000FFInvestigar Laboratory 000000, if you want to enter" +. @ md_name $ + "."; for (set. @ i, 1,. @ i <= 1, set. @ i,. @ i + 1) { if (instance_attachmap (. @ i + "@ LHZ". @ instance) == "") break; } if (. @ i <1) { instance_destroy (. @ instance); close; } instance_attach (. @ instance); instance_set_timeout 3600.300,. @ instance; instance_init (. @ instance); / / Control Events Home donpcevent instance_npcname ("# wolfinsmob" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfinsmob2" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfinsmob3" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfinsmob4" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfwarp1" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfwarp2" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfwarp3" instance_id ()) & ":: OnInstanceInit"; / / Donpcevent instance_npcname ("# wolfwarp4" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfvaluon" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfinschat" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfinschat2" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfinschat3" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfvalvuchat" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfvalvuchat1a" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfvalvuchat1b" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfvalvuchat1c" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfvalvuchat1" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfvalvuchat2" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("# wolfvalvuchat3" instance_id ()) + ":: OnInstanceInit"; donpcevent instance_npcname ("Wolfchev # wolfchevfinal" instance_id ()) + ":: OnInstanceInit"; close; } case 2: if (has_instance ("1 @ LHZ") == "") { mes "^ FF0000Advertencia. ^ 000000"; mes "" + strcharinfo (0) + "..."; mes "^ FF0000Usuario Unregistered ^ 000000"; next; mes "lab protection system attacked and turned out to hurt you."; pushpc DIR_SOUTH, 3; SpecialEffect EF_AUTOCOUNTER; specialeffect2 EF_BASH; percentheal -5.0; close; } else if ((has_instance ("1 @ LHZ")! = "") && (. @ partymembercount <1)) { month "[Wolfchev]"; mes "Only members registered in the system may enter the lab."; close; Else {} if (. @ wolftime == -1) { mapannounce "lhz_dun04". @ p_reader $ + "party member" +. @ p_name $ + "is going to" +. @ md_name $ + "." bc_map, "0x00ff99"; setquest 5112; warp "1 @ LHZ", 46,145; close; Else {} mapannounce "lhz_dun04". @ p_reader $ + "party member" +. @ p_name $ + "is going to" +. @ md_name $ + "." bc_map, "0x00ff99"; warp "1 @ LHZ", 46,145; close; } } case 3: close; } Else {} switch (select (. @ md_name $ + "Research Laboratory: Cancel")) { case 1: if (has_instance ("1 @ LHZ") == "") { mes "^ FF0000Advertencia. ^ 000000"; mes "" + strcharinfo (0) + "..."; mes "^ FF0000Usuario Unregistered ^ 000000"; next; mes "lab protection system attacked and turned out to hurt you."; pushpc DIR_SOUTH, 3; SpecialEffect EF_AUTOCOUNTER; specialeffect2 EF_BASH; percentheal -5.0; close; } else if ((has_instance ("1 @ LHZ")! = "") && (. @ partymembercount <1)) { month "[Wolfchev]"; mes "Only members registered in the system may enter the lab."; close; } else { if (. @ wolftime == -1) { mapannounce "lhz_dun04". @ p_reader $ + "party member" +. @ p_name $ + "is going to" +. @ md_name $ + "." bc_map, "0x00ff99"; setquest 5112; warp "1 @ LHZ", 46,145; close; Else {} mapannounce "lhz_dun04". @ p_reader $ + "party member" +. @ p_name $ + "is going to" +. @ md_name $ + "." bc_map, "0x00ff99"; warp "1 @ LHZ", 46,145; close; } } case 2: close; } } } else if (. @ wolftime == 1) { month "[Wolfchev]"; mes "Are you ready to go?"; mes "If these dipuesto to come in and know what you have to do in the laboratory"; next; switch (select ("Investigate The Lab" +. @ md_name $ + ": Cancel")) { case 1: if (has_instance ("1 @ LHZ") == "") { mes "^ FF0000Advertencia. ^ 000000"; mes "" + strcharinfo (0) + "..."; mes "^ FF0000Usuario Unregistered ^ 000000"; next; mes "lab protection system attacked and turned out to hurt you."; pushpc DIR_SOUTH, 3; SpecialEffect EF_AUTOCOUNTER; specialeffect2 EF_BASH; percentheal -5.0; close; } else if ((has_instance ("1 @ LHZ")! = "") && (. @ partymembercount <1)) { month "[Wolfchev]"; mes "Only members registered in the system may enter the lab."; close; } else { if (. @ wolftime == -1) { mapannounce "lhz_dun04". @ p_reader $ + "party member" +. @ p_name $ + "is going to" +. @ md_name $ + "." bc_map, "0x00ff99"; setquest 5112; warp "1 @ LHZ", 46,145; close; Else {} mapannounce "lhz_dun04". @ p_reader $ + "party member" +. @ p_name $ + "is going to" +. @ md_name $ + "." bc_map, "0x00ff99"; warp "1 @ LHZ", 46,145; close; } } case 2: close; } } else if (. @ wolftime == 2) { September. @ delwolf_time, checkquest (5112, PLAYTIME); if (. @ delwolf_time == 2) { mes "^ 0000ffTodos and after records related effects are eliminated Wolfchev's Laboratory. now can regenerate or enter Wolfchev's Laboratory. ^ 000000"; erasequest 5112; close; Else {} mes "^ FF0000Advertencia. ^ 000000"; mes "" + strcharinfo (0) + "..."; mes "^ FF0000Usuario Unregistered ^ 000000"; next; mes "You can create another memorial until 72 hours have elapsed since t last creation"; next; mes "lab protection system attacked and turned out to hurt you."; pushpc DIR_SOUTH, 3; SpecialEffect EF_AUTOCOUNTER; specialeffect2 EF_BASH; percentheal -5.0; close; } } } } case 2: close; } Else {} mes "^ FF0000Advertencia. ^ 000000"; mes "" + strcharinfo (0) + "..."; mes "^ FF0000Usuario Unregistered ^ 000000"; next; mes "lab protection system attacked and turned out to hurt you."; pushpc DIR_SOUTH, 3; SpecialEffect EF_AUTOCOUNTER; specialeffect2 EF_BASH; percentheal -5.0; close; } } / / MOB FIXED: 1 @ LHZ, 0,0,0 script # wolfinsmob -1 { OnInstanceInit: donpcevent instance_npcname ("# wolfinsmob" instance_id ()) + ":: OnEnable"; end; OnDisable: killmonster "1 @ LHZ" instance_npcname ("# wolfinsmob" instance_id ()) + ":: OnMyMobDead"; end; OnEnable: enablenpc instance_npcname ("# wolfinsmob" instance_id ()); areamonster "1 @ LHZ" 36,169,53,156, "Animals Hungry", 2242.11, instance_npcname ("# wolfinsmob", instance_id ()) + ":: OnMyMobDead"; end; OnMyMobDead: September. @ callnum, 11; set. @ a_mob_num, mobcount ("1 @ LHZ" instance_npcname ("# wolfinsmob" instance_id ()) + ":: OnMyMobDead"); set. @ mob_dead_num,. @ callnum -. @ a_mob_num; if (. @ mob_dead_num> 10) { enablenpc instance_npcname ("# wolfvaluon" instance_id ()); donpcevent instance_npcname ("# wolfinschat" instance_id ()) + ":: OnChat"; disablenpc instance_npcname ("# wolfinsmob" instance_id ()); end; } } 1 @ LHZ, 0,0,0 script # wolfinsmob2 -1 { OnInstanceInit: donpcevent instance_npcname ("# wolfinsmob2" instance_id ()) + ":: OnDisable"; end; OnDisable: killmonster "1 @ LHZ" instance_npcname ("# wolfinsmob2" instance_id ()) + ":: OnMyMobDead"; end; OnEnable: enablenpc instance_npcname ("# wolfinsmob2" instance_id ()); areamonster "1 @ LHZ" 140,57,163,41, "Animals Hungry", 2242.8, instance_npcname ("# wolfinsmob2", instance_id ()) + ":: OnMyMobDead"; areamonster "1 @ LHZ" 140,57,163,41, "Animals Hungry", 2243.4, instance_npcname ("# wolfinsmob2", instance_id ()) + ":: OnMyMobDead"; end; OnMyMobDead: set. @ callnum, 12; set. @ b_mob_num, mobcount ("1 @ LHZ" instance_npcname ("# wolfinsmob2" instance_id ()) + ":: OnMyMobDead"); set. @ mob_dead_num,. @ callnum -. @ b_mob_num; if (. @ mob_dead_num> 11) { donpcevent instance_npcname ("# wolfinschat2" instance_id ()) + ":: OnChat"; disablenpc instance_npcname ("# wolfinsmob2" instance_id ()); end; } } 1 @ LHZ, 0,0,0 script # wolfinsmob3 -1 { OnInstanceInit: donpcevent instance_npcname ("# wolfinsmob3" instance_id ()) + ":: OnDisable"; end; OnDisable: killmonster "1 @ LHZ" instance_npcname ("# wolfinsmob3" instance_id ()) + ":: OnMyMobDead"; end; OnEnable: enablenpc instance_npcname ("# wolfinsmob3" instance_id ()); areamonster "1 @ LHZ" 34,109,57,97, "Animals Hungry", 2242.13, instance_npcname ("# wolfinsmob3", instance_id ()) + ":: OnMyMobDead"; areamonster "1 @ LHZ" 34,109,57,97, "Animals Hungry", 2243.7, instance_npcname ("# wolfinsmob3", instance_id ()) + ":: OnMyMobDead"; end; OnMyMobDead: set. @ callnum, 20; set. @ c_mob_num, mobcount ("1 @ LHZ" instance_npcname ("# wolfinsmob3" instance_id ()) + ":: OnMyMobDead"); set. @ mob_dead_num,. @ callnum -. @ c_mob_num; if (. @ mob_dead_num> 19) { donpcevent instance_npcname ("# wolfinschat3" instance_id ()) + ":: OnChat"; disablenpc instance_npcname ("# wolfinsmob3" instance_id ()); end; } } 1 @ LHZ, 0,0,0 script # wolfinsmob4 -1 { OnInstanceInit: donpcevent instance_npcname ("# wolfinsmob4" instance_id ()) + ":: OnDisable"; end; OnDisable: killmonster "1 @ LHZ" instance_npcname ("# wolfinsmob4" instance_id ()) + ":: OnMyMobDead"; end; OnEnable: enablenpc instance_npcname ("# wolfinsmob4" instance_id ()); September. @ mvp_ran, rand (1,11); if (. @ mvp_ran == 1) { areamonster "1 @ LHZ" 121,140,155,97, "Specimen Awake", 2235.1, instance_npcname ("# wolfinsmob4", instance_id ()) + ":: OnMyMobDead"; disablenpc "Specimen # paladin"; } else if (. @ mvp_ran == 2) { areamonster "1 @ LHZ" 121,140,155,97, "Specimen Awake", 2236.1, instance_npcname ("# wolfinsmob4", instance_id ()) + ":: OnMyMobDead"; disablenpc "Specimen # creator"; } else if (. @ mvp_ran == 3) { areamonster "1 @ LHZ" 121,140,155,97, "Specimen Awake", 2237.1, instance_npcname ("# wolfinsmob4", instance_id ()) + ":: OnMyMobDead"; disablenpc "Specimen # prof"; } else if (. @ mvp_ran == 4) { areamonster "1 @ LHZ" 121,140,155,97, "Specimen Awake", 2238.1, instance_npcname ("# wolfinsmob4", instance_id ()) + ":: OnMyMobDead"; disablenpc "Specimen # champion"; } else if (. @ mvp_ran == 5) { areamonster "1 @ LHZ" 121,140,155,97, "Specimen Awake", 2239.1, instance_npcname ("# wolfinsmob4", instance_id ()) + ":: OnMyMobDead"; disablenpc "Specimen # stalker"; } else if (. @ mvp_ran == 6) { areamonster "1 @ LHZ" 121,140,155,97, "Specimen Awake", 2240.1, instance_npcname ("# wolfinsmob4", instance_id ()) + ":: OnMyMobDead"; disablenpc "Specimen # misntrel"; } else if (. @ mvp_ran == 7) { areamonster "1 @ LHZ" 121,140,155,97, "Specimen Awake", 1649.1, instance_npcname ("# wolfinsmob4", instance_id ()) + ":: OnMyMobDead"; disablenpc "Specimen # Margaretha"; } else if (. @ mvp_ran == 8) { areamonster "1 @ LHZ" 121,140,155,97, "Specimen Awake", 1647.1, instance_npcname ("# wolfinsmob4", instance_id ()) + ":: OnMyMobDead"; disablenpc "Specimen # Assassin"; } else if (. @ mvp_ran == 9) { areamonster "1 @ LHZ" 121,140,155,97, "Specimen Awake", 1650.1, instance_npcname ("# wolfinsmob4", instance_id ()) + ":: OnMyMobDead"; disablenpc "Specimen # Hunter"; } else if (. @ mvp_ran == 10) { areamonster "1 @ LHZ" 121,140,155,97, "Specimen Awake", 1646.1, instance_npcname ("# wolfinsmob4", instance_id ()) + ":: OnMyMobDead"; disablenpc "Specimen # lordknight"; } else if (. @ mvp_ran == 11) { areamonster "1 @ LHZ" 121,140,155,97, "Specimen Awake", 1648.1, instance_npcname ("# wolfinsmob4", instance_id ()) + ":: OnMyMobDead"; disablenpc "Specimen # Howard"; } end; OnMyMobDead: set. @ callnum, 1; set. @ d_mob_num, mobcount ("1 @ LHZ" instance_npcname ("# wolfinsmob4" instance_id ()) + ":: OnMyMobDead"); set. @ mob_dead_num,. @ callnum -. @ d_mob_num; if (. @ mob_dead_num> 0) { donpcevent instance_npcname ("# wolfinschat4" instance_id ()) + ":: OnChat"; disablenpc instance_npcname ("# wolfinsmob4" instance_id ()); donpcevent instance_npcname ("Wolfchev # wolfchevfinal" instance_id ()) + ":: OnEnable"; end; } } 1 @ LHZ, 137,156,7 script wolfchevfinal Wolfchev # 865, { month "[Wolfchev]"; mes "Perfect ... you defeated ...."; next; month "[Wolfchev]"; Month "You had some problems ..."; next; month "[Wolfchev]"; month "Due to an error in the laboratory system were freely l. Until podrs past 72 hours not return to him."; next; month "[Wolfchev]"; mes "Oh ... It is possible to send outside the laboratiro. want to leave now?"; next; switch (select ("No still no", "Exit")) { case 1: month "[Wolfchev]"; mes "If you want to go back to talk to me"; close; case 2: month "[Wolfchev]"; mes "I'm sending out of the lab"; Close2; warp "lhz_dun04", 147.273; end; } OnInstanceInit: donpcevent instance_npcname ("Wolfchev # wolfchevfinal" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("Wolfchev # wolfchevfinal", instance_id ()); end; OnEnable: enablenpc instance_npcname ("Wolfchev # wolfchevfinal", instance_id ()); end; } 1 @ LHZ, 45,172,0 script # wolfwarp1 45,1,1, { OnInstanceInit: donpcevent instance_npcname ("# wolfwarp1" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfwarp1" instance_id ()); end; OnTouch: warp "1 @ LHZ", 151.27; end; } 1 @ LHZ, 152,64,0 script # wolfwarp2 45,1,1, { OnInstanceInit: donpcevent instance_npcname ("# wolfwarp2" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfwarp2" instance_id ()); end; OnTouch: warp "1 @ LHZ", 45,82; end; } 1 @ LHZ, 45,120,0 script # wolfwarp3 45,1,1, { OnInstanceInit: donpcevent instance_npcname ("# wolfwarp3" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfwarp3" instance_id ()); end; OnTouch: warp "1 @ LHZ", 138,95; end; } 1 @ LHZ, 38,161,1 script # wolfvaluon -1,5,5, { OnInstanceInit: donpcevent instance_npcname ("# wolfvaluon" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfvaluon" instance_id ()); end; OnTouch: if (getcharid (0) == getpartyleader (getcharid (1), 2)) { month "operation Wolfchev to activate emergency vvula manipulation mentioned in the plan documents scattered everywhere."; next; mes "It's a good idea to manipulation of the valve to continue"; donpcevent instance_npcname ("# wolfvalvuchat" instance_id ()) + ":: OnChat"; disablenpc instance_npcname ("# wolfvaluon" instance_id ()); close; Else {} month "operation Wolfchev to activate emergency vvula manipulation mentioned in the plan documents scattered everywhere."; next; mes "It's a good idea to manipulation of the valve to continue"; close; } } 1 @ LHZ, 0,0,0 script # wolfinschat -1 { OnInstanceInit: donpcevent instance_npcname ("# wolfinschat" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfinschat" instance_id ()); end; OnChat: enablenpc instance_npcname ("# wolfinschat" instance_id ()); initnpctimer; instance_announce 0, "[Security System] First Response Security System has stopped." bc_map, "0xFF8080"; end; OnTimer2000: instance_announce 0, "[Security System] System activated emergency, please enter hull", bc_map, "0xFF8080"; stopnpctimer; disablenpc instance_npcname ("# wolfinschat" instance_id ()); end; } 1 @ LHZ, 0,0,0 script # wolfinschat2 -1 { OnInstanceInit: donpcevent instance_npcname ("# wolfinschat2" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfinschat2" instance_id ()); end; OnChat: enablenpc instance_npcname ("# wolfinschat2" instance_id ()); initnpctimer; instance_announce 0, "[Security System] Second Response Security System has stopped." bc_map, "0xFF8080"; end; OnTimer2000: instance_announce 0, "[management system] The door leading to 3 laboratory was opened." bc_map, "0x0080C0"; stopnpctimer; enablenpc instance_npcname ("# wolfvalvuchat1b" instance_id ()); enablenpc instance_npcname ("# wolfwarp2" instance_id ()); disablenpc instance_npcname ("# wolfinschat2" instance_id ()); end; } 1 @ LHZ, 0,0,0 script # wolfinschat3 -1 { OnInstanceInit: donpcevent instance_npcname ("# wolfinschat3" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfinschat3" instance_id ()); end; OnChat: enablenpc instance_npcname ("# wolfinschat3" instance_id ()); initnpctimer; instance_announce 0, "[Security System] Second Response Security System has stopped." bc_map, "0xFF8080"; end; OnTimer2000: instance_announce 0, "[management system] Door giving access to 4 laboratory was opened." bc_map, "0x0080C0"; stopnpctimer; enablenpc instance_npcname ("# wolfvalvuchat1c" instance_id ()); enablenpc instance_npcname ("# wolfwarp3" instance_id ()); disablenpc instance_npcname ("# wolfinschat3" instance_id ()); end; } 1 @ LHZ, 0,0,0 script # wolfvalvuchat -1 { OnInstanceInit: donpcevent instance_npcname ("# wolfvalvuchat" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfvalvuchat" instance_id ()); end; OnChat: initnpctimer; end; OnTimer60000: instance_announce 0, "[management system] Door giving access to 2 laboratory was opened." bc_map, "0x0080C0"; enablenpc instance_npcname ("# wolfwarp1" instance_id ()); stopnpctimer; enablenpc instance_npcname ("# wolfvalvuchat1a" instance_id ()); disablenpc instance_npcname ("# wolfvalvuchat" instance_id ()); end; } 1 @ LHZ, 152,26,0 script # wolfvalvuchat1a -1,2,2, { OnTouch: if (getcharid (0) == getpartyleader (getcharid (1), 2)) { donpcevent instance_npcname ("# wolfvalvuchat1" instance_id ()) + ":: OnEnable"; disablenpc instance_npcname ("# wolfvalvuchat1a" instance_id ()); end; } OnInstanceInit: donpcevent instance_npcname ("# wolfvalvuchat1a" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfvalvuchat1a" instance_id ()); end; } 1 @ LHZ, 45,82,1 script # wolfvalvuchat1b -1,2,2, { OnTouch: if (getcharid (0) == getpartyleader (getcharid (1), 2)) { donpcevent instance_npcname ("# wolfvalvuchat2" instance_id ()) + ":: OnEnable"; disablenpc instance_npcname ("# wolfvalvuchat1b" instance_id ()); end; } OnInstanceInit: donpcevent instance_npcname ("# wolfvalvuchat1b" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfvalvuchat1b" instance_id ()); end; } 1 @ LHZ, 138,95,1 script # wolfvalvuchat1c -1,2,2, { OnTouch: if (getcharid (0) == getpartyleader (getcharid (1), 2)) { donpcevent instance_npcname ("# wolfvalvuchat3" instance_id ()) + ":: OnEnable"; disablenpc instance_npcname ("# wolfvalvuchat1c" instance_id ()); end; } OnInstanceInit: donpcevent instance_npcname ("# wolfvalvuchat1c" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfvalvuchat1c" instance_id ()); end; } 1 @ LHZ, 0,0,0 script # wolfvalvuchat1 -1 { OnInstanceInit: donpcevent instance_npcname ("# wolfvalvuchat1" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfvalvuchat1" instance_id ()); end; OnEnable: enablenpc instance_npcname ("# wolfvalvuchat1" instance_id ()); initnpctimer; end; OnTimer1000: instance_announce 0, "[Security System] Warning! warning! 2 intrusion detection laboratory." bc_map, "0xFF8080"; end; OnTimer3000: instance_announce 0, "[Security System] After 5 seconds will activate the two laboratory safety." bc_map, "0xFF8080"; end; OnTimer4000: instance_announce 0, "[Security System] Warning! Warning! The pressure of the pipe in the laboratory 2 is too high." bc_map, "0x0080C0"; end; OnTimer6000: instance_announce 0, "[Security System] Running the security system, evacuate the laboratory workers please." bc_map, "0xFF8080"; end; OnTimer8000: instance_announce 0, "[Security System] Warning! the pressure of the pipe is very high. Please open the valve." bc_map, "0x0080C0"; donpcevent instance_npcname ("# wolfinsmob2" instance_id ()) + ":: OnEnable"; stopnpctimer; disablenpc instance_npcname ("# wolfvalvuchat1" instance_id ()); end; } 1 @ LHZ, 0,0,0 script # wolfvalvuchat2 -1 { OnInstanceInit: donpcevent instance_npcname ("# wolfvalvuchat2" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfvalvuchat2" instance_id ()); end; OnEnable: enablenpc instance_npcname ("# wolfvalvuchat2" instance_id ()); initnpctimer; end; OnTimer1000: instance_announce 0, "[Security System] Warning! warning! 3 intrusion detection laboratory." bc_map, "0xFF8080"; end; OnTimer3000: instance_announce 0, "[Security System] After 5 seconds will activate the security system of the laboratory in May." bc_map, "0xFF8080"; donpcevent instance_npcname ("# wolfinsmob3" instance_id ()) + ":: OnEnable"; end; OnTimer5000: instance_announce 0, "[Security System] Running the security system at 3 lab!, please evacuate workers." bc_map, "0xFF8080"; end; OnTimer8000: instance_announce 0, "[Security System] Warning! the pressure of the pipe is very high. Please open the valve." bc_map, "0x0080C0"; stopnpctimer; disablenpc instance_npcname ("# wolfvalvuchat2" instance_id ()); end; } 1 @ LHZ, 0,0,0 script # wolfvalvuchat3 -1 { OnInstanceInit: donpcevent instance_npcname ("# wolfvalvuchat3" instance_id ()) + ":: OnDisable"; end; OnDisable: disablenpc instance_npcname ("# wolfvalvuchat3" instance_id ()); end; OnEnable: enablenpc instance_npcname ("# wolfvalvuchat3" instance_id ()); initnpctimer; end; OnTimer1000: instance_announce 0, "[Security System] Warning! warning! intruders detected at 4 laboratory." bc_map, "0xFF8080"; end; OnTimer3000: instance_announce 0, "[Security System] After 5 seconds will activate the security system 4 laboratory." bc_map, "0xFF8080"; donpcevent instance_npcname ("# wolfinsmob4" instance_id ()) + ":: OnEnable"; end; OnTimer5000: instance_announce 0, "Whisper: Who are t?." bc_map, "0x0080FF"; end; OnTimer6000: instance_announce 0, "Whisper: Do not come any more .." bc_map, "0x0080FF"; end; OnTimer7000: instance_announce 0, "Whisper: This place is dangerous .." bc_map, "0x0080FF"; end; OnTimer8000: instance_announce 0, "Whisper: I can not get out alive .." bc_map, "0x0080FF"; end; OnTimer9000: instance_announce 0, "Whisper: If you do not want to be like ...", bc_map, "0x0080FF"; end; OnTimer10000: instance_announce 0, "Whisper: Leave now .." bc_map, "0x0080FF"; end; OnTimer11000: instance_announce 0, "Whisper: Filled with sadness and pain, before filling this place .." bc_map, "0x0080FF"; end; OnTimer12000: instance_announce 0, "Whisper: Oh .. oh .. It's too late ..." bc_map, "0x0080FF"; stopnpctimer; disablenpc instance_npcname ("# wolfvalvuchat3" instance_id ()); end; } 1 @ LHZ, 127,111,7 script creator Specimen # 2222, { } 1 @ LHZ, 123,115,7 script misntrel Specimen # 2226, { } 1 @ LHZ, 119,119,7 script champion Specimen # 2224, { } 1 @ LHZ, 115,123,7 script gyspy Specimen # 2227, { } 1 @ LHZ, 148,111,1 script paladin Specimen # 2221, { } 1 @ LHZ, 152,116,1 script Specimen # prof 2223, { } 1 @ LHZ, 156,119,1 script # hz 1639 Specimen, { } 1 @ LHZ, 160,123,1 script # Margaretha 1643 Specimen, { } 1 @ LHZ, 115,144,5 script # Assasin 1641 Specimen, { } 1 @ LHZ, 119,148,5 script # stalker 2225 Specimen, { } 1 @ LHZ, 123,152,5 script Specimen # Hunter 1638 { } 1 @ LHZ, 127,156,5 script lordknight Specimen # 1634, { } 1 @ LHZ, 148,156,3 script # type_ ** Give UK00 826, { } 1 @ LHZ, 152,152,3 script # type_ ** Give ES01 898, { } 1 @ LHZ, 156,148,3 script # type_ ** Give ES02 85 { } 1 @ LHZ, 160,144,3 script Specimen # Howard 1642, { } / / Mapflags 1 @ LHZ mapflag nosave SAVEPOINT 1 @ LHZ mapflag NOMEMO 1 @ LHZ mapflag noteleport 1 @ LHZ mapflag NoDrop
    1 point
  8. map_flag_gvg(src->m) is a macro, that the same as : assuming src->m = m; (map[m].flag.gvg || ((agit_flag || agit2_flag) && map[m].flag.gvg_castle)) so ye you can put map_flag_tvt(src->m) if you wish but that mean you'll have to define what is map_flag_tvt, either a function or a macro. you can simply use your mapflag like this : assuming my mapflag is tvt; if(map[m].flag.tvt){ //the map m as the mapflag tvt on foo; //do foo }
    1 point
  9. In login server, search for all reference of MD5_String. (src/login/login.c mostly) add the sha_256 interface in src/common then use it whenever you want.
    1 point
  10. Great work kamishi!! keep working *0* i like your animations ^^
    1 point
  11. It basically requires a rewrite of the entire script. trunk/npc/custom/warper.txt
    1 point
  12. Script: 'Episode 14.3 Part-I' Bio Island Instance Ver: 1.1 [Exclusive Ziu] Idioma: Coreano (Official Korean Text) Scripter: Ziu Lo pongo en la sección de español porque no existe sección de scripts en coreano. Los textos son los oficiales del servidor baphomet kRO. Solo teneis que traducirlos y añadirlos al script quién quiera. Si encontrais errores reportarmelos para poder corregirlos. Por favor leer los comentarios adiciones en el script Please Check the Additional Comments in the script. PLEASE USED EXE'S 2013 to a GOOD EXPERIENCIE.. quest_db.txt //Bio Island 15005,82800,0,0,0,0,0,0,"메모리얼 던전: 비오스의 섬" 15006,0,0,0,0,0,0,0,"비오스의 섬 탐험" 15007,300,0,0,0,0,0,0,"메모리얼 던전: 비오스의 섬" 15008,82800,0,0,0,0,0,0,"메모리얼 던전: 비오스의 섬" Download Script. Bio Island Instance 1.1
    1 point
  13. Make a new group id in conf/groups.conf which inherit all commands of yours players + the news commands Then in item_db, adjust the group with atcommand script on the equip/unequip part of the item 2601,Ring,Ring,5,30000,,100,,0,,0,0xFFFFFFFE,7,2,136,,20,0,0,{ },{ atcommand "@adjgroup 1 "+ strcharinfo(0); },{ atcommand "@adjgroup 0 "+ strcharinfo(0); }
    1 point
  14. First of all download Alexandria's Renewal Data Folder EXAMPLE: [ACCESSORY_IDs.ACCESSORY_BUNNYBAND] = "_�䳢�Ӹ���", HOW TO ADD: [ACCESSORY_IDs.ACCESSORY_HEADGEARNAME] = "_SPRITENAME", <<<<---- UNDERSCORE+SPRITENAME +COMMA don't forget it! We're now done on how to add the "SPRITE"... next step.... goto: luafiles514/lua files/data info/accessoryid.lua EXAMPLE: ACCESSORY_BUNNYBAND = 15, HOW TO ADD: ACCESSORY_HEADGEARNAME = ViewID, <<--- + comma.. ----///// we need to use the ViewID later! and also the HEADERGEARNAME We're now done on how to add the "ViewID" :::NEXT STEP::: File to edits: idnum2itemdesctable.txt idnum2itemdisplaynametable.txt idnum2itemresnametable.txt ABOUT THE: idnum2itemdesctable.txt num2itemdesctable.txt I KNOW! YOU ALREADY KNOW HOW TO ADD/EDIT THAT ONE! 1st STEP: idnum2itemdisplaynametable.txt 2214#Bunny_Band# how to add: ITEMNUMBER#CLIENTITEMNAME# 2nd STEP: idnum2itemresnametable.txt 2214#�䳢�Ӹ���# how to add: ITEMNUMBER#SPRITENAME# <<<----so the sprite name! you need to remove the UNDERSCORE for it... 3rd STEP: num2itemdisplaynametable.txt ITEMNUMBER#SPRITENAME# <<<----so the sprite name! you need to remove the UNDERSCORE for it... how to add: ITEMNUMBER#HAT# --------------- 4th STEP: num2itemresnametable.txt 2214#�䳢�Ӹ���# how to add: ITEMNUMBER#SPRITENAME# Server Side: go to your db/item_db.txt or item_db2.txt 2214,Bunny_Band,Bunny Band,5,20,,100,,2,,0,0xFFFFFFFF,31,2,256,,0,1,15,{ bonus bLuk,2; },{},{} how to add: 2214,Bunny_Band,Bunny Band,5,20,,100,,2,,0,0xFFFFFFFF,31,2,256,,0,1,ViewID,{ bonus bLuk,2; },{},{} ---- remember about the ViewID above? specied your own id!lol And for the finale steps Download luac5.1.4 then download notepad++ open it click file>save as>batch>file type as .bat after save it this will look alike as you notice there is already accessoryid.lua and accname.lua meaning withtin that folder those .lua will convert in .lub even how many .lua's you got in that folder. so open the batch this will pop up after opening it after that press any key as what cmd said then poop the two lua file it become lub then you are done put the .lub in your luafiles514 > lua file > datainfo and you are done NOTE: You have to make sure that you have latest data folder!!!! to avoid other errors
    1 point
  15. This wiki page explains how: Adding_a_Script
    1 point
  16. If you're using rAthena, One Hand Quicken is already provided when LK is linked(and have two hand quicken lv 10). So the edits below are just for the second request. Open src/map/skill.c Find: int skill_check_condition_castend(struct map_session_data* sd, short skill, short lv) { struct skill_condition require; struct status_data *status; int i; int index[MAX_SKILL_ITEM_REQUIRE]; After ADD: struct status_change *sc = &sd->sc; Find and Replace the two places like that: if( require.weapon && !pc_check_weapontype(sd,require.weapon) ) { By this: if(require.weapon && !(pc_check_weapontype(sd,require.weapon) || (skill == LK_PARRYING && sc && sc->data[sC_SPIRIT] && sc->data[sC_SPIRIT]->val2 == SL_KNIGHT && sd->status.weapon == W_1HSWORD)) ){
    1 point
  17. solved mine. try to open your rsw file with notepad and see if the listed mapname.gat', mapname.gnd inside corresponds to your customized map mapname, if no then thats simply the problem. don't rename your map manually use BrowEdit to rename it or else it will still read the resources from the original map which you copied for your custommap. this should fix it if this is the case (hope it helps)
    1 point
×
×
  • Create New...