Jump to content

rokimoki

Members
  • Posts

    96
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by rokimoki

  1. ????? you have to initnpctimer every tick, or just do 1 time the timer
  2. Also would be awesome to learn how to do that, if some one can make a video doing it and explaining xd.
  3. rokimoki

    Lost cart

    Since years passed. What rathena and client are you using? so I can try to replicate.
  4. Damn, boy.
  5. Okay, I will investigate.
  6. Ok I will check that.
  7. I see thanks for the info. I thought it would be different but well, thanks anyway
  8. Yes it does, but maybe the variable is misstyped. Check line 265: set CHEFFENIAPOINT, CHEFFENIAPOINT + 1;
  9. Just tell what you want and we can try to help you. If .size is initialized after the rand, it will rand(0), try this instead: .@mid = .Peco[rand(getarraysize(.Peco))]; // else where in the code OnInit: // inside the script but at end setarray .Peco[0], 2811; end; If size is 1, rand(1) will give 0, which is first position, no error must be shown.
  10. I've seen 4CrAM-EX has most of that developed and using and needing 2024-10-16. I know this is rAthena but, no one wants to help me to get that client-ver, but using Froggo client and 2024-10-16 client must be enough right?
  11. Hello I was looking to test 4th jobs and stuff but I was needing this client and kro updated, I bet there is no english translation maybe or it does, but well... I'm very lost with client side and no one offers support for this. I thought it was the time to ask here if some one can help with this version. Or PM me if you want to help me and you are shy. Thanks.
  12. In official europe server, they announced the same message in different languages, but npcs was personal language. The solution would be to use something like: get all online players for and attachrid now charVar works if english .@message$ in english if german .@message$ in german announce .@message$, bc_self; That should work because I did something like that for announce to all guild members from guild leaders but I tested something with OnTimer but it didn't attach player rids, but you can try your way.
  13. I tested but... test it before going production, read careful OnInit configurations. Need to be tested, event end and come back to normal, starting and reloading every 60 minutes its ok. EDIT: Updated script. EDIT 2: I don't know exactly when update the zeny aim limit, but should work good. super_floating_rates.txt
  14. For me works perfectly and server don't crash. I fixed a bug in this version, but, for me works neat, I can show another video if you want. Check icon type and client versions. PS: Post server errors when crashing or more info. bossnia_new.txt
  15. Sorry I did a mistake copying paste, this is the proper version corresponding to the % configured. function script AROCG { set .@luckyRate, rand(100); set .@amount, rand(51, 100); // 1% chance set .@chance$, "1%"; if (.@luckyRate >= 0 && .@luckyRate < 49) {// 49% chance set .@amount, rand(1, 10); set .@chance$, "50%"; } else if (.@luckyRate >= 49 && .@luckyRate < 74) { // 25% chance set .@amount, rand(11, 20); set .@chance$, "25%"; } else if (.@luckyRate >= 74 && .@luckyRate < 89) { // 15% chance set .@amount, rand(21, 30); set .@chance$, "15%"; } else if (.@luckyRate >= 89 && .@luckyRate < 94) { // 5% chance set .@amount, rand(31, 50); set .@chance$, "5%"; } getitem 50007, .@amount; announce "[" + strcharinfo(0) + "]: got [" + .@amount + "x " + getitemname(50007) + "] at " + .@chance$ + "% chance, from AsurielRO Coins Bag.", 0; end; }
  16. Ok ok I get it, I understood something different. Well, maybe today I finish it.
  17. Okay sorry so, 3x base rate. Event from 5 to 10. But if event is not active changing rates even each hour, but, why? I don't understand this part. And how much random from 3 to 5 or what?
  18. I remember this after seing this, is something similar right? the more I investigated you can add scripts to items, but idk how to make permanent if server restart or so, but, this looks like similar what you wanted.
  19. I made this script for cashpoint manager: Ragnarok-Online-Scritps/Hercules/Utility/cashpointManager.txt at master · Zindokar/Ragnarok-Online-Scritps It controls if the player is online use #CASHPOINT, if offline, use SQL. I made for eAthena and adapted to Hercules but I bet is working on rAthena. Main purpose is a GM can add Cashpoints to a Player. If giving errors or something, open a post in scripting support and tag me so I can help. Not here.
  20. Okay I'm working on the script. - I configured something like 20% of total server zeny for zeny target. You can configure how much %. There are some ambiguity, I need more detailed data in this: - How much rate to increase? when to recover base rate? - If every 60 minutes rates change, why doing a event donation?
  21. I think you are using renewall drop rates and you want pre-renewal drop rates, anyway this is not related to scripting, so ask in the proper section to get better help. For renewall configuration you should recompile after modifying src/config/renewal.hpp file, read everything to do it well.
  22. This is not related to script, I bet 100% some client issues, maybe using other version or some configuration, but not script related, sorry.
  23. Hello, I think there is a mistake in % thinking... all % must be 100, you can't calculate 99% 1 to 10 or 50% 11 to 20, must be something like: 49% -> 1 to 10 coins 25% -> 11 to 20 coins 15% -> 21 to 30 coins 5% -> 31 to 50 coins 1% -> 51 to 100 coins function script AROCG { set .@luckyRate, rand(100); set .@amount, rand(51, 100); // 1% chance set .@chance$, "1%"; if (.@luckyRate >= 0 && .@luckyRate < 49) {// 49% chance set .@amount, rand(1, 10); set .@chance$, "50%"; } else if (.@luckyRate >= 49 && .@luckyRate < 74) { // 25% chance set .@amount, rand(11, 20); set .@chance$, "25%"; } else if (.@luckyRate >= 49 && .@luckyRate < 74) { // 15% chance set .@amount, rand(21, 30); set .@chance$, "15%"; } else if (.@luckyRate >= 49 && .@luckyRate < 74) { // 5% chance set .@amount, rand(31, 50); set .@chance$, "5%"; } getitem 50007, .@amount; announce "[" + strcharinfo(0) + "]: got [" + .@amount + "x " + getitemname(50007) + "] at " + .@chance$ + "% chance, from AsurielRO Coins Bag.", 0; end; } Test before going production, I could not test, but I'm pretty sure this works 100%.
  24. Ok @WillJocker this is the final version, test it please. - The npc gives the info of timing left before enter again, (only if activated the npc of course). - Now shows an icon with the duration of the 3 hours, but, you must configure a new icon in client and server side, I can't help you with this, because I don't even know how to, so you may ask for help in client and I hope some one can helps. Why? Because I can only show a icon that is already in the client, because it gets info from client when you pass the mouse arrow hover the icon. bossnia_new.txt
×
×
  • Create New...