Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/02/17 in Posts

  1. Hi all !A new beta is released !Get it there : http://aesir.perfontain.ru/forum/index.php?/topic/10-..Key changes include : ground skill effects and finally damage numbers.
    2 points
  2. I am using Singapore dedicated host from ovh, and they do provide ddos protection,
    2 points
  3. The topic has been removed because of rAthena staff double standards and hypocrisy things. (rA staff blame me that I made a money on this topic while it's not and never was) All that I did for the last 2.5 years with around ~1k answers from my side is help for free for newbies here, but to rA staff, my topic is a pain in the ass. Sorry guys, but the topic can't be maintained on such a community anymore because of its admins. Bye
    1 point
  4. Okay. This is the third time I get a PM telling me to "fix" my script. Therefore I'm going to give you some sound advice: UPDATE YOUR EMULATOR Some people are sending me private messages with their consoles filled with bugs. Do you know why is it happening? Because you haven't updated your emulator since 2012. Don't believe me? Look at this: https://github.com/rathena/rathena/commit/c3193f3106bb52a0aae956a771ed6a209f0a2a36 This is the commit where rAthena started to allow assigning variables without the use of 'set'. It was a great addition because most programming languages don't need a command to assign variables. Therefore, it's normal that we, scripters, make use of this functionality. This script, and all the scripts I make, don't use the 'set' command because we are in 2017. HOWEVER... If you are a naughty person who doesn't want to update his emulator. You can "fix" my script easily by following these simple steps: Every time you see an equal sign (=) you have to replace it with the set command and a comma. For example: variable = 100; Should be: set variable, 100; And with += or -=; variable +=100; Should be: set variable, variable + 100; And that's all folks. Sorry for the rant.
    1 point
  5. oh seeing on that perspective ok now i get it (yeah i know maths... sometimes i just thinks would be more hard but now i see not, ok now i get it, thx!
    1 point
  6. im sure there is a cleaner way to do this but this should work: .@winNum = rand(99); //100 if (.@winNum >= 0 && .@winNum <= 4) { getitem <PRIZE_ID>,1; } //5% chance if (.@winNum >= 5 && .@winNum <= 9) { getitem <PRIZE_ID>,1; } //5% chance if (.@winNum >= 10 && .@winNum <= 19) { getitem <PRIZE_ID>,1; } //10% chance if (.@winNum >= 20 && .@winNum <= 29) { getitem <PRIZE_ID>,1; } //10% chance if (.@winNum >= 30 && .@winNum <= 49) { getitem <PRIZE_ID>,1; } //20% chance if (.@winNum >= 50 && .@winNum <= 99) { getitem <PRIZE_ID>,1; } //50% chance else { debugmes "[GamblerNPC] "+strcharinfo(0)+" is a hacker!!"; } Do you understand this example?
    1 point
  7. you need wait at least 24 hours for a bump and add more information that just "bump" maybe someone read it but didnt understand try explain it better editing post ^^ also... wait some time 3 or 4 hrs usually is not enough to make the script more if is an "event" ^^ PD: i also bumped once like you and i got warning for that reason saying you this... gl with the script ^^ Also you can try edit the topic to be more specific for example when i request something i put something like "R> a NPC that exchange X item for Y item with Z Ammount" then the scripters can get an easy idea about what and inside this you explain everything also try add a example like "similar" thant you want... well that could help you to get a faster answer c:
    1 point
  8. - script check_pvp -1,{ OnPCLoadMapEvent: if (getmapflag( strcharinfo(3),mf_pvp )) { message strcharinfo(0),"The map is currently in PVP mode so be ready!"; } end; } pay_fild08 mapflag loadevent
    1 point
  9. You can try - script pvp_warp_announce -1,{ OnPCLoadMapEvent: if(getmapflag(strcharinfo(3), mf_pvp)){ announce "This is a PvP Area.",bc_blue|bc_self; } end; } Dont forget to add mapflag loadevent on the pvp maps.
    1 point
  10. - script pvp_map -1,{ OnPCLoadMapEvent: getmapxy .@ma$,.@ax,.@ay,0; if(.@ma$ == "pay_fild08") { message strcharinfo(0),"The map is currently in PVP mode so be ready!"; } } pay_fild08 mapflag loadevent
    1 point
  11. 2015-11-04a No you don't need to edit any packets or add anything since rA's default client support is 2015-11-04 :))
    1 point
  12. Currently the stable one is 2015-11-04a Client
    1 point
  13. i'm already fix the script, please download and test the new script. Thanks
    1 point
×
×
  • Create New...