Jump to content


  • Content Count

  • Joined

  • Last visited

About Timokha

  • Rank
    Advanced Member

Recent Profile Visitors

844 profile views
  1. Hello, May I know exactly, what was done to make it works? I've added status numbers to constant DB, but nothing happens.
  2. Hello, Does anyone know, if it is possible to get natural spawned mob coordinates with OnNPCKillEvent? I'd like to use *getmapxy to get it coordinates, but 'killedrid' only returns mob ID, but not RID.
  3. Timokha

    Guild emblems

    Hello, As far as I know, guild emblems on clients version after 2019-06 is not showing. Is anyone using 2020-2021 clients? Does anyone have a solution for this issue? I really need to use fresh clients, but I cannot sacrifice guild emblems. Thank you.
  4. Hi! Try to set .linear_jobchange value to 0. .linear_jobchange = 0;
  5. Hi, Searching for a man to setup web resources, 1. Flux CP + good design 2. Forum + good design 3. (optional) Patcher + good design If you are interested or you have any questions, please PM me or contact in Discord, AcidMarco#2350 (and also PM me here) Share you quotes and offers for this job. Thanks!
  6. Hi! Try this. It may work for you. Change your script as follows, function getItemReward { if (VAR_REBORN == 1) { return; } VAR_REBORN = 1; for ([email protected]=0 ; [email protected] < .size_reward; [email protected] += 4 ){ if ( !( getarg(0)&( .reward[[email protected]+3] ) ) ) {continue;} if (rand(1,10000) <= .reward[[email protected]+2]){ mes "You Got "+.reward[[email protected]+1]+" "+getitemname(.reward[[email protected]])+" "; getitem .reward[[email protected]], .reward[ [email protected]+1 ]; } } next; return; } The variable "VAR_REBORN" will indicate that this character has already been reborned and skip the part, when the item must be given. setarray .add_jobs[0],Job_Rebellion,Job_Gunslinger, // Additional Jobs, who can rebirth Job_Soul_Linker, Job_Star_Gladiator, Job_Taekwon, Job_Baby_Alchemist, Job_Baby_Bard; See above lines, I guess, if you mention the jobs you need to be reborned there in addtion, then it will work for you. The constants for your jobs you can find in the files: Emulator\db\constants.conf
  7. Hello All, I have Charge Arrow Scroll, which calls skill "Charge Arrow". It costs 12 SP to use this scroll. The questions is: Is there any way to consume SP only after successfully use of this scroll? Currently it consumes SP immediately after using the scroll, even if the skill was not used or failed. Highly appreciate your help.
  8. Hello IndieRO, Thanks for your reply, but I am now creating PVP zones, where monsters (including mini-mvp) also spawns. I am trying to do so, if the player kills the mob, another player (if nearby) can pick up the drops without any delay, BUT it must not be applied to all the server maps, but only for my special PVP maps, where I use "Loadevent" mapflag, as example. Yes, thank you again, I think, it will also work, but it will consume many hours to make these script drops for more than 100+ mobs. BTW, if I use "makeitem" with OnMyMobDead label, how can I find the coordinates of dead mob? Previosly i've tried it, the item was created near the player, not the monster.
  9. Hello All, I'm wondering, if anyone has a solution, how to disable (set to 0) the time during which only the person who did the most damage to a monster can get the item for specific maps. In "drops.conf" I have "item_first_get_time: 3000", but I need to set it to 0 only for maps with mapflag "loadevent". I have the following script, but not sure to where I could set it in right way to make it works, if it is even possible. Thank you in advance. 🙏
  10. It perfectly works! Thanks a lot for your time and help! 🙏🙏🙏
  11. Hello Hyroshima, Many thanks for your assistance, that works awesome, as I needed! 😍 May you please also advise, what can I change in the script (or add to it), if I need to change maximum refinement level for one of our listed equipement? I mean, to make the maximum equipment refinement with the script as follows: 1. Helmet +7 2. Armor +10 3. Boots +10 4. Sword +10 5. Shield +10 I guess, I have to add additional condition here: //check if you still have an item with a refine lower than 10 //== for(set [email protected],0; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+1) if((getd("eqi_"[email protected][[email protected]])-1) < 10) setarray [email protected][getarraysize([email protected])],[email protected][[email protected]]; I tried something like this, to check variable name (for +10 and +7 equipment), but it doesnt work properly.. for(set [email protected],0; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+1) if((getd("eqi_"[email protected][[email protected]])-1) < 10 && "eqi_"[email protected][[email protected]] != "eqi_5011") setarray [email protected][getarraysize([email protected])],[email protected][[email protected]]; if((getd("eqi_"[email protected][[email protected]])-1) < 7 && "eqi_"[email protected][[email protected]] == "eqi_5011") setarray [email protected][getarraysize([email protected])],[email protected][[email protected]]; So I just wanna check, if I can refine with the script all items (+10), except for helmet (which stops at +7). 🙏
  12. Heh... 🤣 Ok, I need to create an item - "BOX". When the player opens the BOX, he receives one of five items (randomly): 1. Helmet 2. Armor 3. Boots 4. Sword 5. or Shield Next time, if the player opens the BOX and receives the same item, This item refines to next level +2, if again +3, and so up to level +10. After using the BOX several times, you may have the following equipment: 1. Helmet +5 2. Armor +2 3. Boots +1 4. Sword +3 5. or Shield +10 And now HERE, I want to see the following, And finally, if you have all equipment with refinement level 10: 1. Helmet +10 2. Armor +10 3. Boots +10 4. Sword +10 5. or Shield +10 The system just shows you, dispbottom "Bye bye."; Yeah, I understand, that it's sound a bit ridiculous, but it's cause I am trying to create a new mode of gaming in RO 🤣 In addition I mean, that only at the first step in all the cases you receive an item, at all another steps you receives only refinements for this item (equipment).
  13. Hyroshima, many thanks for your reply. Sure will share more details. I am working on script-function that will be called from an item. { Id: 30000 AegisName: "XXXX" Name: "Box" Type: "IT_USABLE" Script: <" callfunc "MY_FUNCTION"; "> }, The main idea, why I do not use "getrandgroupitem", cause inside any case I have 10 event-levels. At the first level, the player will get an equipment (as example), and at the next levels from 2 to 10, the player's equipment will be refined. Each case has different type of equipment (to get and refined). Below you can find "case 0" sample, case 0: if ( CASE0_ITEM == 0 ) { set CASE0_ITEM,1; getitem EQUIPMENT_0,1; dispbottom "[SYSTEM] You've just received EQUIPMENT_0."; end;} if ( CASE0_ITEM == 10 ) { // Here I have to stop producing refine levels // And jump to another "cases" if available, // cause my equipment reached the max level end;} set (CASE0_ITEM,CASE0_ITEM+1); // REFINE FUNCTION HERE dispbottom "[SYSTEM] Your EQUIPMENT_0 has been refined to LEVEL '" + CASE0_ITEM + "'."; end; So I am seeking for solution, how to stop random calling "case 0", if variable "CASE0_ITEM" reached value 10.
  14. Hi All ! I have a simple script-function, which randomly triggers different events. I am searching for a solution to make the following, if the event from "case 0" (or another cases) is ALREADY triggered with this function, then next time this function will call another random event except for "case 0" or another. Example (in random): case 3 -> case 1 -> case 2 -> case 5 -> case 0. None of these cases is repeated. After all I have to see the following, After using this function 5 times all 5 events have been randomly used (only once), and in the end the function calls another event, which will define, that all 5 events finally triggered. function script MY_FUNCTION { switch( rand(5) ) { case 0: //do that; end; case 1: //do that; end; case 2: //do that; end; case 3: //do that; end; case 4: //do that; end; } } I was thinking to use variables for each "case", but don't know, how to exclude the "case", when the script goes through "rand" function. I have to save triggering these events in random order. switch( rand(5) ) { case 0: //do that; set CASE_0_USED, 1; end; Any suggestions please? Thank you.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.