• Content count

  • Joined

  • Last visited

  • Days Won


Khazou last won the day on April 26

Khazou had the most liked content!

About Khazou

  • Rank
    Advanced Member

Recent Profile Visitors

1675 profile views
  1. Hi everybody Does someone know a way to go to a label stored as a string and preserve Npc temp var. I know about *doevent and *donpcevent, but as they start a new instance of a npc, npc temp var ([email protected]), are reset when i hit the label. *goto preserve npc temp var but it can't be used with string like: goto "OnMyLabel" Thx in advance ^^
  2. You just forget to disable Renewal mechanics in src/config/renewal.h Just comment the line to disable it, recompile, and it will change your novice map to a correct one
  3. ^^ If you're trying to add addrid you should read this And the cons about using such a command This kind of addrid was rejected from Hercules too. Because this can be dangerous. It can have unexpected behavior when the player is attached to other npc and you call addrid, either that script would stop executing(think doing some quest, the variables changed but you didn't got reward), or the script with addrid would behave oddly(rid not attached but script continued to run) More info:
  4. You can use this *getunits(<type>, <variable>, <limit>, "<map>"{, <x1>, <y1>, <x2>, <y2>}) This function searches a whole map or area for units and adds their GID to the provided <variable> array. It filters units by <type> and stops searching after <limit> units have been found. Set <limit> to false (0) if you wish to disable the limit altogether. Type is the type of unit to search for: BL_PC - Character object BL_MOB - Monster object BL_PET - Pet object BL_HOM - Homunculus object BL_MER - Mercenary object BL_IEM - Item object (item drops) BL_SKILL - Skill object (skill fx & sfx) BL_NPC - NPC object BL_CHAT - Chat object BL_ELEM - Elemental object BL_CHAR - Shorthand for (BL_PC|BL_MOB|BL_HOM|BL_MER|BL_ELEM) BL_ALL - Any kind of object ** Do NOT use UNITTYPE_ constants here, they have different values. Example: [email protected] = getunits((BL_PC | BL_NPC), [email protected], false, "prontera"); The above example would search the map "prontera" for all PC and NPC units and add them to the [email protected] array, while setting [email protected] to the amount of units added to the array (useful in for() loops).
  5. Sound cool
  6. Would be really cool
  7. Use the one from there:
  8. Thanks, im going to test this asap
  9. Maybe use an account variable instead of a player one
  10. Just change all the "close" at the end of all your label by "end". Close is use to close a conversation box, so it need a player attached. Just keep the close from the OnMyMobDeath label since it has a "mes" command. Also, you shouldn't use a variable named such as $monster, that's too common, you may end having the same variable in an other script.
  11. Can i ask why ? Anyway, you need to add a timer on the function that spawn the tomb there is nothing more to say Note: You can also change your MvP to be "script spawned" and deal with the tomb in a customized way. But the source edit seems easier and faster
  12. Yup You can download every version from there: If you want here is mine:!7B1SmCQC!suqfj5ZLBc2Y-L2SEybgIaJMZ7e4tl6CuikzC6ZicPM
  13. Hello 1. You don't need to put a "-" 2. Your "/" sign is not at the right place From docs: bonus2 bHPLossRate,n,t; Lose n HP every t millisecond => I didn't understand what you were trying to do. If you want player to lose (50 * Job Lvl/10) HP every seconde it will be like this bonus2 bHPLossRate,50*(readparam(JobLevel)/10),1000;
  14. No problem By the way here is a little gift, give a try to this: You'll need to change the constant to number if you didn't update your emulator yet NPC_NAME = 0 NPC_NAME_HIDDEN = 2 NPC_MAP = 4 PC_NAME = 0
  15. Well, did you test leveling up a ninja ? Because here everything seems ok. Ninja and extended class are included in the: "Base - Normal and Baby Jobs" If you want to check by yourself: <lvl_max>,<class_id>:<class_id>:<class_id>,<exp_required>,<exp_required> Ninja has the job id 25, you can find it at the beginning of your "Base - Normal and Baby Jobs" line