Jump to content

sandbox

Members
  • Posts

    949
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by sandbox

  1. Basically, you can use the event OnHourXX command, then combine it with the 'disable/enablenpc' function. Example.. OnHour10: disablenpc "MyNPC#prontera"; enablenpc "MyNPC#payon"; end; OnHour12: disablenpc "MyNPC#payon"; enablenpc "MyNPC#alberta"; end;
  2. Patch your kRO/iRO file then extract the skilldesctable text or lua via grf reader?
  3. What's the use in getmapxy() if you're only using the map name returned? It'd make more sense just use strcharinfo(3) to return the invoking player's map name. Example: if (strcharinfo(3) != instance_mapname("abyss_03")) { end; } That would work as well..
  4. replace the if statement with this.. if(@map$ != instance_mapname("abyss_03")) end; Sorry if I can't test it, I don't have a functioning SVN anymore
  5. getmapxy(@map$,@x,@y,0); if(@map$ == "edit_map") { callfunc("package_func",21,32005,1,100,12210,2,30,12103,1,100,14232,5,100,20165,1,20,20171,1,20,20161,1,20); } add the getmapxy codes before calling the package function.
  6. Typo, can you try replacing the duplicate @x to @y and re-test it?
  7. Add getmapxy() Replace instance_map with the map to be used. OnPCDieEvent: getmapxy(@map$,@x,@x,0); if(@map$ != "instance_map") end; warp "prontera",153,189; instance_destroy(); percentheal 100,100; end; OnPCLogoutEvent: getmapxy(@map$,@x,@x,0); if(@map$ != "instance_map") end; percentheal -100,0; warp "prontera",153,189; instance_destroy(); percentheal 100,100; end;
  8. sorry for the typo change .@position[.@] to .@position[.@a]
  9. Why not use an if-else/switch statement instead of attaching them as a permanent variable? if(.@position[.@] == 0) mes "Apple"; else if... But anyways, to answer your question though, use $ as the prefix. You can find the variables stored in mapreg table set $fruit$[0],"Apple"; Kindly correct if i have stated something wrong or misunderstood your question..
  10. Yeah, you have to talk to the person whom you got that script from..
  11. So you want to use the renewal formula? Try commenting #ifdef.. //#ifdef
  12. try increasing the magic evasion value on your status.c, then recompile case SC_HALLUCINATIONWALK: val2 = 50 * val1; // Evasion rate of physical attacks. Flee val3 = 10 * val1; // Evasion rate of magical attacks. val_flag |= 1|2|4; break;
  13. Try updating your kRO files. Odin mask is pretty old and should be included in the newer versions. You should also try to check your DATA.ini if it's reading your grfs properly.
  14. Did you just copy this script? I think you don't have `mobevent` declared on your script.c
  15. find this in your skill.c case CG_TAROTCARD then you should find the switch statement where it breaks the equipment, alter the code accordingly then recompile.
  16. Why arent you using the 1st code? Try adding this one? atcommand "@partyrecall "+strcharinfo(1);
  17. Hmm.. Let's put it this way.. It's like reinventing the wheel.. Pre-renewal being a stone/wooden wheel, while Renewal is considered as the modern wheel you are seeing today.. They are both wheels and have the same function but were made by different materials to adjust and to adapt to the current or future environment.. You might wanna browse the iRO wiki if you want more answers about renewal. XD http://irowiki.org/wiki/Renewal
  18. check these files out db/skill_nocast_db.txt conf/mapflag/restricted.txt
  19. It depends on your setting specially on the Def part, are you using pre-re or re settings?
  20. Can you elaborate the difference with pre-re and re final strike?
×
×
  • Create New...