Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. Use "close" instead of "end". You can't use only "end" when there's either a text box open or a menu at some point in the script (the case here).
  2. Oh, my bad, forgot the colons lol. Sorry about that, and no problem~
  3. That's not a very reliable site... o.o; Anyway, see my post above, replace "(" with "{" in the headers.
  4. I have no idea why you're opening scripts with parentheses (). It's supposed to be a bracket, {.
  5. Change "shop" to "cashshop", as we've already mentioned twice.
  6. 1st question: I'm not sure how to keep "Teleport" active (source edit, I assume?), but to disable the rest, write: prontera <tab> mapflag <tab> noskill 2nd question: conf\battle\misc.conf, set pkmode to 1. Towns are non-PVP by default, but I think you can delete "town" mapflags to change this - I'm not sure how it works exactly, though. It may also be a source edit.
  7. Cashshop? <map_name>,<x>,<y>,<facing> %tab% cashshop %tab% <NPC Name> %tab% <sprite>,<item 1>:<cost>,<item 2>:<cost>,<etc.> http://rathena.org/wiki/General_Shop_creation (replace "shop" with "cashshop")
  8. Create any item and make it call a function. Then, function script JobBox { setarray .@Jobs$[0], "Rune Knight", "Warlock", "Ranger", "Arch Bishop", "Mechanic", "Guillotine Cross", "Royal Guard", "Sorcerer", "Minstrel", "Wanderer", "Sura", "Genetic", "Shadow Chaser"; setarray .@Items[0], <Rune Knight item>, <Warlock item>, <etc.>; set .@menu$,""; for(set .@i,0; .@i<getarraysize(.@Jobs$); set .@i,.@i+1) set .@menu$, .@menu$+.@Jobs$[.@i]+":"; getitem .@Items[select(.@menu$)], 1; return; }
  9. conf\groups.conf: id: 99 name: "Admin" level: 99 // ... permissions: { can_trade: true
  10. As a workaround, you could create an item with no name and no sprite, and slot that to create colors.
  11. @elcontrol00: View ID is the last number, 1044. The LUA files use View ID, not item ID.
  12. Euphy

    Job Master

    The default Job Master does not allow you to change into a Baby. I've got a more advanced job script on my "to do" list that will hopefully be finished sometime in the future, so keep yourself posted on SVN updates. c: For now, I haven't seen any good job scripts with babies and third jobs included, sadly.
  13. You're using eAthena, so why are you posting here? o.o; It's a problem with that particular eA revision, so you need to update your SVN. (Your other two duplicate topics have been deleted.)
  14. The downside to downloading compilations is that it's impossible to update. Copy all the changes you've made and do a checkout from SVN, as Brian posted.
  15. 000webhost has some PHP commands disabled. I don't know if other free hosts have them enabled, either.
  16. But sc_start already has a time argument. o.o; { sc_start SC_STRFOOD, 5000, 5; }
  17. Euphy

    Weapon Level

    http://www.eathena.ws/board/sql-release-Equipment-levelling-system-t201038.html
  18. Inno Setup is what usually looks most professional, but it takes a bit of learning: http://www.jrsoftware.org/isinfo.php For the most part, all you'll need to do is have a directory containing all the needed files, and tell the installer where to extract them.
  19. Warper updated to v1.2: It now supports Episode 14.2 (Eclage), and a few simplifications were made to the functions.
  20. http://rathena.org/wiki/Loading_Screens
  21. When using official PVP maps, you have to check what existing mapflags there are in the conf\mapflag\ folder. You'd need to remove "gvg" from that map, for instance. To disable any skill, add a "restricted" mapflag on the map, and write a corresponding entry in db\skill_nocast_db.txt.
  22. @MarkZD: "OnPCLoadMapEvent" isn't triggered unless a "loadevent" mapflag is added to each map. By default, no maps have that mapflag. It would be far more efficient, therefore, to loop through maps that are not the castles, assuming the only reason a user would add the mapflag is for a few custom scripts. Edit: Your second script would work, though. Very clever. XD
  23. That is still incredibly faulty logic. I'd suggested replacing a warp with a script, and you're suggesting keeping the warps and adding a script. You think the latter is more efficient? o_o Also, an invisible "blocker" that "ends" consumes resources equally as a script check. if (Upper != 8) end; // Warp by portal if (Upper != 8) end; // Warp by script
  24. I don't mean to prolong this argument, but there are several flaws in what you stated. First, it certainly doesn't add any additional checks to replace warps, since there are no less "if" statements in your idea than in mine. Ending a script after a conditional consumes just as much resources as warping after it. And all of the things you stated are still scripts, so it's a misleading statement, really. @QQfoolsorellina: That's a good point, and it would probably be easier to implement, too.
×
×
  • Create New...