Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. Goddameit wrote a function to do this: http://pastebin.com/raw.php?i=Mdm6iFaR Just remove the "AGME" script and make the function take a single castle argument (or you could just use strcharinfo(3)).
  2. Tabs. animeresort,159,199,4 script Royal Room 757,{
  3. Thanks AnnieRuru, I had no idea an SQL query could do that... (and I was still using the txt database :3) Added a new version with those features included: http://rathena.org/board/topic/64394-%E2%9C%B0-euphys-scripts-%E2%9C%B0/page__st__380#entry149188
  4. @F0xxy: I can't reproduce that, it seems to work fine for me... the variables are all character/account anyway, so script reloads shouldn't be a problem. o.o Hunting Missions updated to v1.2! This adds party support and a new random mob calculation. Credits to AnnieRuru from this thread: http://rathena.org/board/topic/72779-hunting-mission-with-party-and-individual-quest/
  5. Euphy

    Help Please!

    if ($@ran2 == 20) announce ...;
  6. @irawrsilentpls: 'twas a joke. :3 @Feefty: It's most likely caused by running other WOE scripts or by starting WOE without the controller (ex. default agit controllers, atcommands, etc.). @gunga555: PM me here. @Dramosith: The entire UI is held in the 3 functions at the top, so all your modifications would likely go there. For example, function Pick { // Add these lines: // Note that it won't work on all dungeons, though - you may need to create an additional argument/a different function for dungeons). if (compare(getarg(0),"_dun")) { if (Zeny < 5000) { dispbottom "You need 5000 Zeny to warp to this dungeon."; close; } else set Zeny, Zeny-5000; }
  7. Euphy

    Request npc

    Responding to text: PCRE Then use a variable to check if a character is "new", and if he/she has said "hello".
  8. http://mysterious-project.googlecode.com/svn/trunk/npc/BountyHunter.txt Add GroupID checks if you want to disable the script for normal players.
  9. @Cephaler: 1 - Points are stored as #Mission_Points, and you see how many points you have by clicking "Mission Shop". 2 - You may have to lower the results in the formulas since your server rates are too high. 3 - It's calculated using difficulty (monster level), so delete those lines if you want.
  10. @Spencer Ziff: It works by setting mapflags on the inactive castle maps. If you have any other script doing that, it'll cause my controller to malfunction.
  11. I tested this semi-thoroughly, but I'll leave this here in case anyone else wants to test it within the next day or so. (I edited this tremendously from the original script, so tell me if there are any mistakes.) thanatos.txt
  12. prontera,155,177,6 script Badge Exchange 725,{ mes "[badge Exchange]"; mes "I can exchange your badges for Cash Points."; mes "Which would you like to exchange?"; next; set .@i, select(.Menu$)-1; mes "[badge Exchange]"; setarray .@j, .Items[.@i*2], .Items[.@i*2+1], countitem(.Items[.@i*2]); if (.@j[2]) { mes "You have "+.@j[2]+"x "+getitemname(.@j[0])+"."; mes "They are worth "+.@j[1]+" Cash Points each."; mes "How many would you like to exchange?"; next; input .@k,0,.@j[2]; mes "[badge Exchange]"; if (.@k) { delitem .@j[0],.@k; set #CASHPOINTS, #CASHPOINTS+(.@k*.@j[1]); mes "Traded "+.@k+"x "+getitemname(.@j[0])+"."; dispbottom "Total Cash Points: "+#CASHPOINTS; } else mes "Okay, come back later."; close; } mes "You don't have any "+getitemname(.@j[0])+"."; close; OnInit: // Format: ItemID,Points,ItemID2,Points2,... setarray .Items[0],7829,1,7828,1; set .Menu$,""; for(set .@i,0; .@i<getarraysize(.Items); set .@i,.@i+2) set .Menu$, .Menu$+getitemname(.Items[.@i])+":"; end; } uPaste: http://upaste.me/raw/c91613307a10fb12
  13. Oh, what? xD The rest looked fine, you don't need to wait on me.
  14. If you don't follow any suggestions people give you, why are you even asking? >.>
  15. The food bonuses that stay after you die are: SC_FOOD_STR_CASH SC_FOOD_AGI_CASH SC_FOOD_INT_CASH SC_FOOD_DEX_CASH SC_FOOD_LUK_CASH SC_FOOD_VIT_CASH
  16. o.o Spre, it's a lot easier with my script: http://rathena.org/board/topic/64394-%E2%9C%B0-euphys-scripts-%E2%9C%B0/page__st__320#entry141019
  17. You can't use @killmonster on mobs with event labels.
  18. Make a custom mob. http://rathena.org/wiki/Custom_Mobs
  19. @tjiuz: You're not using rAthena. I have an eAthena version uploaded on their forums. @unplugged: If you've installed the script correctly, there is no reason it wouldn't work. Make sure a previous version is not overwriting this function.
  20. Euphy

    woe time

    https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/woe_time_explanation.txt If you're using my controller, you can configure times in-game.
  21. if (getcastledata("prtg_cas01",1) == getcharid(2) && strcharinfo(0) == getguildmaster(getcharid(2))) warp map,x,y; end;
×
×
  • Create New...