Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. You're warped there automatically when you've added a map incorrectly to the map index. Double-check that you've done that properly.
  2. There's an edited version of this in the SVN. trunk/npc/custom/events/disguise.txt
  3. You can use my Quest Shop: trunk/npc/custom/quests/quest_shop.txt ...,{ callfunc "qshop",<shop ID>; } ... Add(<shop ID>,7227,1,0,0,604,200);
  4. This is awesome. Great work!
  5. @DJFUNK: Just replace the script, all in-game values have not changed. @Lelouch vi Britannia: They both work. :>
  6. WOE Controller updated to v1.5! - r17096/rathena/trunk/npc/custom/woe_controller.txt I overhauled the rewards system (major concept credits to Goddameit), so now your options are: Receive rewards through inventory or mail (I spent a while making this look nice, so give it a shot!). Give all members rewards, or just guild masters. Check for duplicate IPs within guilds. Uses the 'getcharip' command implemented in r16958, so some users may need to update their SVN. Also flattened out some minor but long-standing bugs, and made some formatting adjustments.
  7. The mapserver gives you the error and line reference. They're almost all self-explanatory (that's the point of the messages, anyway), but they're all defined for you on the Wiki: Overview_of_Errors
  8. You can do a lot with InnoSetup, and it's free. o.o
  9. @Kiritoryu: trunk/db/re/refine_db.txt
  10. - script Nightmare -1,{ OnMinute00: if (gettime(3)%2 || .Active) end; // Activate every 2 hours. set .Active,1; night; // Spawn monsters with this format: monster "map_name",x,y,"name",mobID,amount,strnpcinfo(0)+"::OnNight"; end; OnMinute30: if (gettime(3)%2 || !.Active) end; // Activate every 2 hours. set .Active,0; day; killmonster "map_name",strnpcinfo(0)+"::OnNight"; end; OnNight: end; }
  11. A lot of our updates apply to both pre-Renewal and Renewal. From a developer standpoint, updating multiple copies is incredibly annoying (the period when the npc/ directory was completely split pre-re/re was plainly nightmarish).
  12. Euphy

    Harmonize

    Please post on Harmony's support boards. rAthena is not directly affiliated with Harmony.
  13. Ele_Water is a constant -- all constants are located in trunk/db/const.txt: Ele_Water 1 So you use put either. Constants make scripts easier to read.
  14. if (strcharinfo(0) == getguildmaster(getcharid(2)) && getcharid(2) == getcastledata("prtg_cas01",1)) {}
  15. @jigsgfx: I don't really understand what you're asking. When WOE is inactive, block all entrance to castles? - if (((.AutoKick && .Active[0]) || (.NoOwner && !getcastledata(strcharinfo(3),1))) && !(.Active[0]&(1<<getd("."+strcharinfo(3))))) { - if (getcharid(2) && getcastledata(strcharinfo(3),1) == getcharid(2)) end; + if (.AutoKick && !(.Active[0]&(1<<getd("."+strcharinfo(3))))) { @DJFUNK: // Shop IDs -- to add shops, copy dummy data at bottom of file. ... // Dummy shop data -- copy as needed. //============================================================ - shop qshop6 -1,909:-1 - shop qshop7 -1,909:-1 - shop qshop8 -1,909:-1
  16. Basic_Scripting - script #test -1,{ OnNPCKillEvent: if (killedrid == 1769 && strcharinfo(3) == "aev_fild01") set Var, Var+1; end; } Best to just spawn the monsters with an event label, though, as OnNPCKillEvent will trigger for all mob kills.
  17. trunk/src/config/renewal.h /// renewal cast time /// (disable by commenting the line) /// /// leave this line to enable renewal casting time algorithms /// cast time is decreased by DEX * 2 + INT while 20% of the cast time is not reduced by stats. /// example: /// on a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a /// "fixed cast time" which can only be reduced by specialist items and skills #define RENEWAL_CAST
  18. @Goddameit: Thank you :> I may add that later, if you don't mind~ @jigsgfx: In the "WOE Information" NPC, add at the end (before the last right curly): OnInit: waitingroom "WOE SCHEDULE",0; end;
  19. - script #mithril_coin -1,{ OnNPCKillEvent: if (getmonsterinfo(killedrid,22)) // If mob has MOB_MVPEXP, it's an MVP. if (rand(100) < 15) // 15% chance of activating. getitem 674,1; end; }
  20. Euphy

    Idle command

    There are currently two conf settings to check if a player is idle. Since they are both off by default, such a command would introduce a forced timer on every character -- not necessarily a bad thing, but it makes the implementation a bigger deal than it may initially seem. Another question to consider: would the command take a time argument, or would the time be predefined/defined in conf?
  21. You can use my quest shop: trunk/npc/custom/quests/quest_shop.txt // Change Add(1,...) to your shop number. Add(1,975,1,3000,0,507,30,973,1,713,1); Add(1,976,1,3000,0,508,30,973,1,713,1); Add(1,978,1,3500,0,510,20,973,1,713,1); Add(1,979,1,5000,0,510,5,511,20,508,20,973,1,974,1,713,1); Add(1,980,1,5000,0,507,20,508,20,973,1,974,1,713,1); Add(1,981,1,5000,0,510,10,507,30,973,1,974,1,713,1); Add(1,982,1,3000,0,509,30,973,1,713,1); Add(1,983,1,7000,0,507,30,508,30,511,30,510,5,973,1,974,1,713,1);
×
×
  • Create New...