Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. For the record... diff files are difference files, and will only work for one the stated revision - and others around it, if the file hasn't changed. More often than most you'll have to manually diff.
  2. You aren't permitted to distribute paid work without consent. Topic closed for now (unless you did get consent... o.o).
  3. All "<<" is doing is setting a bit (bit-shifting the variable .@i to the left), since there's under 32 castles and you don't need 30 separate variables (especially since they're perm. global). Use "&" to check a bit var and "|" to set one. Easy~
  4. Here you go! http://pastebin.com/raw.php?i=x1mqfBLG (Not quite 20 lines... but if you remove the header and squish it a little bit... ;D)
  5. No, sorry, I've been using too many rAthena commands in my newer scripts. :/ I've written "eAthena Script" in the header of scripts compatible with eAthena. I'd suggest switching to rA, though~
  6. Euphy

    enchant armor

    Yes, all the orb distributions will be unchanged, there just won't be any chance of failure.
  7. @hendra814: No idea what you want, then... o.o; --> OnInit: disablenpc "Agit_Event"; (?) Euphy needs assistance! If you know how to script, anyhow~ I've got most of the core functions down for an idiot-proof queue system, but there are still a few spots where I really can't think of how to proceed. All the problems are in the header (the first one is the worst... and what's keeping me from releasing a finished script), so take a stab at it if you want. *click* (EDIT: adding finishing touches...)
  8. If you're killing the monsters with "@killmonster", that'll cause errors with most event labels, for the record. Try to avoid it if possible.
  9. Find and replace (well, not exactly) "getmapmobs(<map>)" with "mobcount(<map>,"all")".
  10. - <tab> script <tab> BattleBadge <tab> -1,{ OnPCKillEvent: if (killedrid == getcharid(3)) end; for(set .@i,0; .@i<.size; set .@i,.@i+1) if (strcharinfo(3)==.maps$[.@i]) { getitem .items[rand(getarraysize(.items))],1; break; } end; OnInit: setarray .maps$[0],"pvp_y_1-2","pvp_y_2-2","pvp_y_3-2"; setarray .items[0],7828,7829,7773; set .size, getarraysize(.maps$); end; }
  11. - <tab> script <tab> BattleBadge <tab> -1,{ OnPCKillEvent: if (killedrid == getcharid(3)) end; for(set .@i,0; .@i<.size; set .@i,.@i+1) if (strcharinfo(3)==.maps$[.@i]) { getitem your_item,1; break; } end; OnInit: setarray .maps$[0],"pvp_y_1-2","pvp_y_2-2","pvp_y_3-2"; set .size, getarraysize(.maps$); end; }
  12. "Getmapmobs" was deleted in rA, replaced with: *mobcount("<map name>","<event label>")
  13. - <tab> script <tab> BattleBadge <tab> -1,{ OnPCKillEvent: if (strcharinfo(3)=="your_pvp_map" && killedrid != getcharid(3)) getitem your_item,1; end; }
  14. Euphy

    enchant armor

    That'd be because you're not updated. :3 https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/merchants/enchan_arm.txt
  15. Euphy

    enchant armor

    Replace: set .@failrate,36; // line 70 The Zeny is more self-explanatory, find and replace the 400000s (and the 399999 at the beginning) with 3000000.
  16. It should work okay since all the variables are separated, but it's obviously going to be a pretty big waste of resources. :3
  17. You'd have to delete 2 of the current castles, add the novice castles to the arrays, and change all the constants accordingly... it would be very complicated, lol (you'd have to know how to read pretty much my entire script, so I'd stick with Toasty's controller in that case).
  18. *you'll get more support here if you switch to rAthena*
  19. @GM Takumirai: It's slowly killing me because some commands I need don't exist, haha. I'll probably release an alpha version of it soon... depending on how much progress I make. @Brynner: Actually... the way I scripted the controller, I can't include any new castles~ XD I used a bit variable to hold all the values, so the max I can get to is 32 (there's 30 currently) without introducing a bit-string conversion... which is really messy (Toasty has done it before, though!). And I'm really against the real-time display because it eats up resources like nothing else. Sorry! xP @hendra814: I'm not really sure what you mean. All that the default controller does is automatically start WOE a few times a week... which my script also does. o: You can't use both scripts at once (the times configured in the default agit controller won't be shown).
  20. I've seen this on a couple of servers, but I don't think any of them had it automated - it was always run by GMs. All you really need to do is add monster spawns. If you do want to automate it, though, you could activate an NPC at the top of the tower every hour (or whatever) that kicks all players, summons the monsters, blocks non-Novices from entering, and waits for a player to click it.
  21. http://rathena.org/wiki/Hexing Match client date with the date defined in #define PACKETVER, src\common\mmo.h.
  22. o_o Use loops! This can literally be reduced to like 20 lines, lol.
  23. Yeah, this shouldn't be in the English section if none of the scripts are in English.
  24. <header> { if (getgmlevel() < 80) mes "Only GMs are allowed."; else warp <map>,<x>,<y>; close; }
  25. @zmref: I don't think there's a script command for that. @7v7: It's a bit too specific for me to want to make... I'm currently writing something else though that you might like, but it's giving me sorta a hard time so wait a bit longer. :3
×
×
  • Create New...