Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. https://rathena.svn.sourceforge.net/svnroot/rathena/
  2. @Sharpienero: No, since you can do that manually. o:
  3. @Zeromaru: Oh, wow... it was actually working for everything but the latest release, but it seems I got too careless in editing. It's fixed now, and I'll be sure to get it changed in the SVN later. Thanks a lot!
  4. As Malufett posted, all card data is (or appears to be) discarded when slotted into an item, including any additional "modifications" to it.
  5. if(strcharinfo(3)) = "prontera") { You should've gotten a mapserver error - there's an extra ")" after strcharinfo. Also, I don't think that deletes the skill when you leave the map - I'd suggest attaching a timer to the player that checks every few seconds if the player is still on the map, and if not, remove the skills and detach the timer.
  6. Also, if you spawn monsters via scripts, there's a "name" field that you can change.
  7. There were two solutions on eAthena, iirc. One was a client injection that detected and disabled certain processes running alongside the client, and the other was a socket diff that prevented packet flooding. They both work, but only to an extent - you'll end up with a lot of false positives either way. Paid programs only work as well as they do because they're not open-sourced.
  8. From what I've seen, you cannot effectively stop hacks server-side without risking a lot of false detections. The most simple solution would be injecting code into your client that prevents certain processes from running alongside the game - it's been posted in the eA forums, somewhere - and allowing connections from only your official client.
  9. @rai523: Instructions are in the "config" section. Add your own package arrays like the examples given.
  10. if (countitem(YOUR_ITEM)) if(select("Use Cash Mount:Cancel")==1) { atcommand "@newmount"; delitem YOUR_ITEM, 1; close; } // Delete the next "else"
  11. @Sharpienero: I don't think I'm going to add it to the official release since they're cash mounts, after all, but how do you want me to include it for you? The mounts are currently automatic, so I can only think of doing it this way: if (ismounting()) { message strcharinfo(0),"You must first remove your mount."; close; } +if(select("Use Cash Mount:Cancel")==1) atcommand "@newmount";
  12. You have to put tabs in the header. gonryun,140,111,7 <tab> script <tab> Disguise Event <tab> 795,{
  13. You can keep the fonts inside a GRF, but not the LUAs, iirc.
  14. FE: http://irowiki.org/wiki/War_of_Emperium SE: http://irowiki.org/wiki/War_of_Emperium_2 Toasty's controller works for both.
  15. @Incarnation: That's the 1.3 script... o.o; (version is in the header)
  16. Multiply all the %s in config by 10, then change this line to: rand(1,1000)
  17. An invisible NPC works exactly the same way. If you're looking for the /conf/ setting, it's in char_athena.conf: // Starting weapon for new characters start_weapon: 1201 // Starting armor for new characters start_armor: 2301 // Starting zeny for new characters start_zeny: 0 Notice that you can't add any new values, so either replace start_weapon/armor with a custom "Starter Pack" item or use a freebie script.
  18. A few notes: As of r15979, "callfunc" is no longer needed. Users can call your function by only typing "achieve <ID>". You should consider using bitwise integers (or even a conversion string) to store the permanent character values, because the script would eat up a significant portion of the 256 maximum otherwise. Similarly, try to reduce permanent global variables, if you can. There's also a limit to those. If you can push values into arrays or use temporary values, it'd help a lot. Also, moving this thread into "Utility Script Releases" for now.
  19. Look through your /conf/ folder first before asking these types of questions. /conf/motd.txt
  20. At the end of your "OnMobKill", write: sleep <time, in ms>; goto OnInit;
  21. Euphy

    help please

    You can find the list of commands and explanations in doc/atcommands.txt.
  22. Euphy

    help please

    It would be: allskill: true Though I think "skillall" would still work (it's just an alias, which you can change in atcommand_athena.conf). Edit: Beaten to it~
  23. Only your last example works. (You can test all of this yourself, too - that's how I'm getting all my information.)
  24. Malufett is correct, OnEquip re-triggers for each login. Your script will not trigger, for the reason I stated above. The conditional will trigger before setting the variable.
×
×
  • Create New...