Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. http://rathena.org/wiki/SVN_Checkout
  2. Why'd you put brackets...? You're missing one at the end, but you don't need them at all (or the 'else').
  3. It's ||, not &&.
  4. You can't disguise while you're mounting anything. Add checks beforehand to delete the mounts, for example: if (ismounting()) atcommand "@newmount"; else if (checkriding()) atcommand "@mount";
  5. Euphy

    party warper

    if (!getcharid(1)) { mes "You're not in a party."; close; } if (getcharid(0) != getpartyleader(getcharid(1),2)) { mes "You're not the party leader."; close; } if (countitem(ITEM_ID) < AMOUNT) { mes "You don't have enough items."; close; } delitem ITEM_ID, AMOUNT; warp "MAP_NAME",X,Y; close;
  6. Extract the map (using any GRF program) and generate a patch using whatever patcher you're using... ex. Thor Generator, if you're using Thor.
  7. All you need is OnHour labels and "monster" commands... o.o OnHour00: OnHour03: OnHour06: // etc. OnHour21: monster "izlude",0,0,"Baphomet",1039,5; monster "payon",0,0,"Dark Lord",1272,5; end;
  8. atcommand strcharinfo(0)+":@alive"; The atcommand script command replicates the game command - type the code just as you would in-game. atcommand "@alive";
  9. Probably a misplaced end bracket, }, on the previous line. But a lot of other things could also produce that error, so post your script if this isn't the case.
  10. Hmm, I'm not sure, my C is terrible. You'll need to ask tr0n about that. :/
  11. http://svn6.assembla.com/svn/ClientSide/Translation_Project/
  12. @zhaosin: No, because GmOcean's script is actually pretty good. I'm not unsatisfied enough with it to make my own. (I've edited his a little bit and added it to the SVN a few hours ago.) @patr3k: Sorry, there's no way to remove that display without using a Cashshop instead - there's no script command to call one (afaik) and you can't purchase multiple items with one. You don't actually get the discounted price, it's purely visual. You can use Orcao's "setcashpoints" mod as an alternative.
  13. If you understand the mechanics of how WOE is controlled, you'll see that this is a really time-consuming request... well, here are some basics: "AgitStart" and "AgitStart2" commands don't do anything except trigger the labels "OnAgitStart" and "OnAgitStart2" in all scripts. "AgitEnd" and "AgitEnd2", similarly, do the same. To start or end WOE in individual castles, you can trigger events manually through "donpcevent". So your request is completely possible, but not with any existing WOE controllers. You'd have to write custom AgitStart/AgitEnd functions so that they trigger events for all castles except the one you want active.
  14. @QQfoolsorellina: You'd have to change it to <= then. :3 Anyhow, I think it's generally the standard to write "select(.@menu$)-1" instead of skipping an array value, but that doesn't really matter much (or at all).
  15. prontera,164,163,4 <tab> script <tab> Surgeon <tab> 816,{
  16. A switch is perfectly fine too. o: All that select() returns is the nth menu option you chose (starting at 1), which you can easily attach a switch to.
  17. It'll only work with Renewal enabled in source (although it's the default).
  18. You really only need to run ThorGenerator.exe, and that's it... o.o;
  19. Yeah, I added a clarification into the .conf file since a lot of people seemed to struggle with this... // This can be set to any value between 0~10000.
  20. npctalk "<message>"; sleep <ms>; // repeat Alternately, while(1) { npctalk "<message>"; sleep <ms>; }
  21. http://www.eathena.ws/board/index.php?showtopic=147159&view=findpost&p=1097191
  22. Euphy

    PvP Room effect

    @rifkichocobo: - script PainAndSuffering -1,{ OnInit: setarray .maps$[0],"guild_vs2","guild_vs3","guild_vs4"; // etc. for(set .@i,0; .@i<getarraysize(.maps$); set .@i,.@i+1) setmapflag .maps$[.@i],mf_loadevent; end; OnPCLoadMapEvent: for(set .@i,0; .@i<getarraysize(.maps$); set .@i,.@i+1) if (strcharinfo(3)==.maps$[.@i]) { set .@map$,.maps$[.@i]; break; } if (.@map$=="") end; while(strcharinfo(3)==.@map$) { if (HP > 1000) set HP, HP-1000; // or whatever sleep2 1000; } end; }
  23. As KeyWorld posted, the implode() command is the best if you're not adding in any new text to your arrays. If you wanted to include, say, map player count (you'd also have to change the map name cases, though, this is just an example~), you would have to use a loop. setarray .@maps$[0],"morocc","alberta","izlude","xmas","comodo"; for(set .@i,0; .@i<getarraysize(.@maps$); set .@i,.@i+1) set .@menu$, .@menu$+.@maps$[.@i]+" ("+getmapusers(.@maps$[.@i])+"):"; select(.@menu$);
  24. @razorx: You'll need to apply this patch, as well: http://rathena.org/board/topic/60188-fakename-show-guildparty/
  25. Don't use two hackshields, that's overkill lol. And I don't know of anything that's broken through Harmony, so that seems like the best way to go.
×
×
  • Create New...