Jump to content

Desryuu

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Desryuu's Achievements

Drops

Drops (2/15)

  • Dedicated
  • First Post
  • Conversation Starter
  • One Month Later
  • Week One Done

Recent Badges

0

Reputation

  1. Hello community! I am trying to figure out how to use the new macro feature to detect bots? New macro detection features by aleos89 · Pull Request #7359 · rathena/rathena · GitHub I can't even add the captchas and make it work. Is there any guide to this? Thank you.
  2. Hey guys, I am using 2021-11-03 Client and when grf encrypted it doesn't read the files. It gaves me lua files error and many others. I have the latest GRF Editor 1.8.4.5 @Tokei
  3. Hey @Emistry! It works like a charm! Thanks a lot! Thanks to you too @RagEmp Just a final request: how can I condition/limit the number of different items drop in the list? If I include 3 possible different items, I would like to set it manually to 2 (1 to 2). Thanks!!
  4. Hi @RagEmp Thank you so much for your help! The different items dropped in the array list are not duplicated, which is perfect, but, the amounts of each item are not relational based in the order the array, and the amount should be also random from (1 to 25 for 501 , 1 to 5 for 645 and 1 to 30 for 533). Can you help me? ?
  5. Hello community! I need your help with something... But first, I want to explain how it is expected to work. Expected Result: After killing x monster, add a chance to obtain randomly from 1 to 3 different items (not duplicating), of random x (from 1 to the max specified amount in the array) amounts. Everything is practically randomized. Right now, it is throwing duplicate items and the random amount is not in line with the corresponding item. //============================================================ //= Dropped Random Items by Monsters //============================================================ - script Dropped -1,{ OnInit: .rand_amt = 3; // Amount of random items setarray .item_id[1], 501, 645, 533; // Possible items to receive (ID, amount) setarray .item_qty[1], 25, 5, 30; monster "jupe_ele",0,0,"--ja--",1004,1,"Dropped::OnDropping"; end; OnDropping: getmapxy(@map$, @x, @y, BL_PC); do{ .@loc = rand(1, getarraysize(.item_id) - 1); .@pos = rand(1, getarraysize(.item_qty) - 1); debugmes ("count: "+.@i); makeitem .item_id[.@loc], .item_qty[.@pos],@map$, @x, @y; .@count++; debugmes("Count: "+.@count); }while(.@count < rand(0,.rand_amt)); monster "jupe_ele",0,0,"--ja--",1004,1,"Dropped::OnDropping"; end; } Hopefully you guys can help me! Thanks in advance.
×
×
  • Create New...