Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/15/16 in all areas

  1. Hello, After my Voice Mod and Jumping in RO, here my latest Mod : Rain Mod By Vykimo There is looongtime I searched to recreate a rain in RO (I think it is really missing for roleplaying). After many tests, I found a result rather great, and I think it can be mingled into a kind of rain... Here a preview (press HD to see the rain) : Give me some comments!
    1 point
  2. try this https://pastebin.com/9dWAt99d Add more maps with level restriction here. func_SetLevel( "prontera",30 ); // prontera need level 30. func_SetLevel( "payon",99 ); // payon need level 99.
    1 point
  3. Why so rude? I'm using so many variables cause I thought it was better than repeating the setbattleflag / getbattleflag for each flag he wants do edit, but you're right there's no need for that. EDIT-- Euraka! Now I remember why I needed to use so many variables... I can't get the original rates to reset the event on monday =/ I followed your instructions but correct me if I did something wrong. // Author: Lupus // Edited: _Okuz_ - script Weekend Floating Exp -1,{ OnInit: // To force the event to run even if you have to shutdown your server for some reason... if (gettime(4) != 5 && gettime(4) != 6 && gettime(4) != 0) end; OnFri0000: // start double rates on Friday 00:00 setbattleflag "base_exp_rate", getbattleflag("base_exp_rate") * 2; setbattleflag "job_exp_rate", getbattleflag("job_exp_rate") * 2; setbattleflag "item_rate_heal", getbattleflag("item_rate_heal") * 2; setbattleflag "item_rate_use", getbattleflag("item_rate_use") * 2; setbattleflag "item_rate_equip", getbattleflag("item_rate_equip") * 2; setbattleflag "item_rate_card", getbattleflag("item_rate_card") * 2; setbattleflag "item_rate_mvp", getbattleflag("item_rate_mvp") * 2; setbattleflag "item_rate_adddrop", getbattleflag("item_rate_adddrop") * 2; setbattleflag "item_rate_treasure", getbattleflag("item_rate_treasure") * 2; atcommand "@reloadmobdb"; announce "[Event] : Double rates enabled!",bc_all,0xFF6060; end; OnMon0000: // stop double rates on Monday 00:00 setbattleflag "base_exp_rate", getbattleflag("base_exp_rate"); setbattleflag "job_exp_rate", getbattleflag("job_exp_rate"); setbattleflag "item_rate_heal", getbattleflag("item_rate_heal"); setbattleflag "item_rate_use", getbattleflag("item_rate_use"); setbattleflag "item_rate_equip", getbattleflag("item_rate_equip"); setbattleflag "item_rate_card", getbattleflag("item_rate_card"); setbattleflag "item_rate_mvp", getbattleflag("item_rate_mvp"); setbattleflag "item_rate_adddrop", getbattleflag("item_rate_adddrop"); setbattleflag "item_rate_treasure", getbattleflag("item_rate_treasure"); atcommand "@reloadmobdb"; announce "[Event] : Double rates disabled!",bc_all,0xFF6060; end; } Test results: http://imgur.com/a/lyLI5
    1 point
  4. Hello Akkarin!He wants to double the rates, so he needs to edit a little bit more than just the clock events. And I have tested the script that I left before and guess what... it is working...Thank you!
    1 point
  5. EDIT-- Here is what I found: statusup uses pc_statusup to increase status and it does subtract status points when raising a status. statusup2 uses pc_statusup2 to raise or decrease status and it doesn't subtracts status points when increasing / decreasing a status. Here is the source doc: We have three options to resolve this issue: 1) Change the usage of statusup2 for statusup and loop through each status to increase them by 1 each time till the .@backup_status[<status>] amount. (without source mod) 2) Change the statusup arguments to receive an extra argument that is the amount of points we want to increase. (source mod required) 3) Use needed_status_point() to calculate the points that we need to subtract. (without source mod) I choosed the second one and here is the final script and the .patch / .diff... I'm gonna send a PR regarding this but honestly I don't know if they will accept or not. EDIT-- The second option breaks up statusup backward compatibility and should not be used.
    1 point
  6. Hey, whats up!? Here is your request: // Author: _Okuz_ // Version: 1.0.2 - 20:40 14/10/2016 - script Weekend Floating Exp -1,{ OnInit: // Setup the rates you want to double here... setarray .server_conf$[0], "base_exp_rate", getbattleflag("base_exp_rate"), "job_exp_rate", getbattleflag("job_exp_rate"), "item_rate_common", getbattleflag("item_rate_common"), "item_rate_heal", getbattleflag("item_rate_heal"), "item_rate_use", getbattleflag("item_rate_use"), "item_rate_equip", getbattleflag("item_rate_equip"), "item_rate_card", getbattleflag("item_rate_card"), "item_rate_mvp", getbattleflag("item_rate_mvp"), "item_rate_adddrop", getbattleflag("item_rate_adddrop"), "item_rate_treasure", getbattleflag("item_rate_treasure"); // To force the event to run even if you have to shutdown your server for some reason... if (gettime(4) != 5 && gettime(4) != 6 && gettime(4) != 0) end; OnFri0000: // start double rates on Friday 00:00 if (!.active) callsub(S_changeRates, 2); end; OnMon0000: // stop double rates on Monday 00:00 callsub(S_changeRates, 1); end; // Arg(0): mult S_changeRates: set .@size, getarraysize(.server_conf$); for (set .@i, 0; .@i < .@size; set .@i, .@i + 2) { setbattleflag .server_conf$[.@i], atoi(.server_conf$[.@i + 1]) * getarg(0); } set .active, !.active; atcommand "@reloadmobdb"; announce "[Event] : Rates " + (.active ? "increased" : "restored") + "!",bc_all,0xFF6060; return; } EDIT-- Tested and working.
    1 point
×
×
  • Create New...