Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/07/21 in Posts

  1. Hey thanks for the suggestion, but this would imply that player won't be able to body relocation anymore once trapped right? I still want them to be able to reloc but only to an extent.
    1 point
  2. replace this: dispbottom "You've spent one minute in WoE and gained a WoE point." dispbottom "Total points earned: +woepoints; that is why: dispbottom "You've spent one minute in WoE and gained a WoE point."; dispbottom "Total points earned: "+woepoints;
    1 point
  3. Since we sorted this out via private messages, here's the answer for other people wondering:
    1 point
  4. You can basically still use rand for this. You can do like this if you want it only 1%: if (rand(1,100) == 1){ mes "Congratulations! You won!"; getitem 1161,1; // 1161 = Balmung } else { mes "Sorry, you lose"; getitem 909,1; // 909 = Jellopy } Or if example you want to have 25% chance of getting a good item, you can do it this way: if (rand(1,100) <= 25){ // If it picks numbers 1 - 25 = success else fail There should be better ways to do this than the method above. Just search in the forums / google it ?
    1 point
  5. Technically it's not percentage. rand(7) = random between 0,1,2,3,4,5,6 rand(3) = random between 0,1,2 rand (1,5) = random between 1,2,3,4,5 rand function will always pick one random number depending on what you specified So example: if (rand(5) == 1){ mes "Number 1 was picked via rand!"; } else { mes "Either 0, 2, 3 or 4 was picked."; }
    1 point
  6. It's not recommended to stop a firewall. this will cause you a lot of problems.. and one of the problem is vulnerability on most of the DDoS Tools.. It is much better to only allow the BlueHost IP to connect on your Server.. to do so.. you need to use this command for firewalld firewall-cmd --add-rich-rule 'rule family="ipv4" source address="YOUR_BLUEHOST_IP" service name="mysql" accept' --permanent dont forget to reload the firewall rule to take effect by simply using this command firewall-cmd --reload once done. make sure your firewalld is enabled..
    1 point
  7. @Everade i know you've been waiting for this update you will surely love this. Thank you @Lemongrass @Aleos and rAthena Development Team.
    1 point
×
×
  • Create New...