Jump to content

Rizta

Members
  • Posts

    109
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Rizta

  1. Ohh sorry xD thats ok i can wait when you finish :B
  2. Hey Master! Thank you for your answer =D At the moment i have solved this problem and everything works fine! Ill really appreciate if you find a different solution because it'll teach me new things!
  3. I have one that made exactly what you want, but its for private use, which means... probably you'll need translate the dialogs and change the options that i set by default.
  4. Eu não fui ver o script, mas, remove as linhas com sleep2 xxx; porque ela não está encontrando uma unidade para ser aplicada.
  5. Hello everyone. Im trying to release a script that enchant every item with random options chosen by array (i think someone request that in somewhere in rA). Currently the script works, but, randomically i get the error in title when try enchant. I imagine that somehow the script was searching for this "id 0" reference in the database even if I did not indicate it as a possibility. I tried clear all the arrays and test with only 1 value, and choose the ID 2 that correspond to MaxSP + X and even with that i still getting this error randomically. Btw it happens in all slots, literally randomically x_X Here's the fullcode Here's the error: [Error]: buildin_setrandomoption: Random option ID 0 does not exists.
  6. hmm i think itll be hard... probably a big sql script and some cp edits to generate some code that'll be attached to account id i guess
  7. Hi everyone! I would request a script that announce when MVP X is killed by Y(player) in the Z(party).
  8. It is possible to made this randomly for a party member? Only restriction is the party member need to be in the same map and the same area when mvp is killed, like 20-30 cells
  9. How can i limit the level of pre-re class (1st, 2nd and Trans) to max 99 in a RE server? With default settings i can reach Lv 175 as Thief, Rogue or Stalker for example. oO
  10. As in the title i would like to know how can i make these 2 scripts reset itself every a hour. I tried things like OnMinute/OnHour with commands (@reloadnpc or @unload and @load) but i got 0 positive results AND a map server crash ? Script 1: Script 2: Script 2 use the following function to work: Thx everyone.
  11. @TARTs i'll try this and edit this post with results later. Edit: with your suggestion script obviously delete all itens in inventory with same id which can not happen, because the player simply can (and will) lose other weapons with different enchantments/option in the same way that he will lose if his enchantments/option are overwritten. Conclusion: we are still without a solution.
  12. I did it and now we back to the point of this topic, sometimes the enchants simple disappear when weapon evolves (specially when player have more than 1 of the same item in inventory) Edit: @TARTs Without delitem3 script evolve weapon ok, but, if you have the same item in your inventory, when your weapon evolves script will duplicate the enchants, refine etc in other items.
  13. Enchant my weapon with 3 or more random option, refine at random level and equip one card or simple enchant, then, go to mobs (poring) kill 100 mobs. Sometimes the script stuck in this part: announce getitemname(.@e)+" está evoluindo...",bc_self,"0x"+.c$[1]; And plus, sometimes when the above condition is met, i got this on mapserver: [Error]: buildin_delitem3: failed to delete 1 items (AID=2000000 item_id=1203). [Debug]: Source (NPC): Items_Conf (invisible/not on a map)
  14. @TARTs its working almost perfectly, but, still passing through 100% and didnt evolve (happens when player kill lots of mobs at same time at 95%+).
  15. Test 1: Evolve item without any enchant, card or refine. Get this error. [Error]: buildin_getequiprandomoption: No item equipped at pos 6 (CID=75/AID=2000002). [Debug]: Source (NPC): Items_Conf (invisible/not on a map) With a random option: [Error]: buildin_getequiprandomoption: No item equipped at pos 6 (CID=75/AID=2000002). [Debug]: Source (NPC): Items_Conf (invisible/not on a map) • With this information i try to replace .@slots[.@a] for simple EQI_HAND_R and get succesfull evolving with 1 random option. (Test 3). • Following the idea above, i run Test 4 with 1 card slot enchant and it evolves perfectly but i figured out that if you have more than one of same item you'll be able to duplicate (getting a new one evolved and keep the old one) so a delitem3 is extremely necessary to avoid this issue. When i try to use a delitem3... [Error]: buildin_delitem3: failed to delete 1 items (AID=2000002 item_id=13415). [Debug]: Source (NPC): Items_Conf (invisible/not on a map) When this error happen, i got a new big problem. My weapon wont reset to 0%, and start to go over 100, like 110, 140, 200, infinite % and i cant reset this value(so a new weapon of this same type cant be evolved ever again). • Test 5: I try to make script delete the item before give a new one to player and then autoequip, it work fine, but, if player for any reason go over 100%(e.g: killing big amount of mobs at same time), script fail in avoid this situation and we back to the loop from the previous test. Status: Working with this little issue. Currently Code: Thx for all help are you giving to me @TARTs.
  16. Error 1: Error 2: @TARTs look is very hard xD
  17. So ill only need OptValue ? No need to use OptID (ROA_ID) ? How the script will recognize which random option the weapon has? @TARTs sorry to bother you, i want understand to learn xD
  18. Thx for you answer, but i think this only will keep cards and enchants that's placed in card slots. I need a way to keep the random option too so i think ill need use of delitem3/getitem3 and some more codes?
  19. it is possible to made this save, refine, random option and cards?
  20. Yeah, already do it, but, i can view n select the title but cant equip. ?
  21. Hmm dont know if im posting in the right section. Sorry if im not. Well, im trying to adding custom Achievements and I succeeded in it except for one detail: i cant complete the achievement and collect rewards xD As you guys can see in the print, i added the Achievement "Beta Tester" in Quest-Other Tab. The condition to complete is simple get a item that worthy more than 3kk (course theres an item with that value ID: 6024) but when i get the item im only capable of completing the other similar achievements. achievement_db.yml -> - ID: 240500 Group: "AG_GET_ITEM" Name: "Beta Tester" Condition: " ARG0 >= 3000000 " Score: 30 achievement_list.lub -> [240500] = { UI_Type = 0, group = "GET_ITEM", major = 1, minor = 2, title = "Beta Tester", content = { summary = "Receba o pacote Beta!", details = "Receba o pacote beta e utilize o diamante.", }, resource = { [1] = { text = "Beta Tester", }, }, reward = { title = 1034, }, score = 30, } } What im doing wrong? And theres a "Title" db to edit/create titles? (i know they can be added by the data/lua files but i cant equip ? )
  22. Hi community, is me again! ? Now i got a new problem... Im using one item evolve script but i want some attributes r maintened after the evolve, things like refine, cards/enchants and random options, but, after some tests i cant reach this. ? here's the full script. The // part is the last thing ive tried.
×
×
  • Create New...