Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. "Hardcore PvP ["+getmapusers("hard_pvp")+"]"
  2. Euphy

    help..

    ...no, you don't create duplicate threads like this. You're allowed to bump the other post in 24 hours.
  3. That's just a cashshop. See: http://rathena.org/wiki/Basic_Scripting#Shop "Claim with Tokens" probably uses Orcao's "setcashpoints" mod: http://www.eathena.ws/board/index.php?showtopic=230175
  4. Realistically, no one is going to rewrite you a large quest like that for free, particularly if you're just planning to steal it from another server.
  5. Recompile. http://rathena.org/wiki/Compiling
  6. Interesting request... xD <header> { mes "[List of Killable Players]"; if (!getarraysize($killable$)) mes "(none)"; else for(set .@i,0; .@i<getarraysize($killable$); set .@i,.@i+1) mes " ~ "+$killable$[.@i]; if (getgmlevel() < 80) close; // Set GM level here next; switch(select("Add to list:Delete from list:Close")) { case 1: input .@n$; query_sql("SELECT `char_id` FROM `char` WHERE `name` = '"+.@n$+"'",.@charid); if (!.@charid) { mes "The name is invalid."; close; } mes "Player ^FF0000"+.@n$+"^000000 added."; set $killable$[getarraysize($killable$)], .@n$; close; case 2: set .@i, select(implode($killable$,":"))-1; mes "Player ^FF0000"+$killable$[.@i]+"^000000 deleted."; deletearray $killable$[.@i],1; case 3: close; } OnPCLoginEvent: for(set .@i,0; .@i<getarraysize($killable$); set .@i,.@i+1) if ($killable$[.@i] == strcharinfo(0)) { atcommand "@killable"; break; } end; } That's untested, so there might be minor errors.
  7. http://rathena.org/wiki/Connecting#CHARACTER_INFO_size_error.21.21
  8. Euphy

    need

    http://www.eathena.ws/board/index.php?showtopic=270783 ?
  9. I should probably just release this... o.o; - script PCKill -1,{ OnPCKillEvent: if (killedrid == getcharid(3)) end; for(set .@i,0; .@i<getarraysize(.maps$); set .@i,.@i+1) if (strcharinfo(3)==.Maps$[.@i]) { if (.NoFarm) { if (killedrid == @last_kill) end; set @last_kill, killedrid; } if (.Item) getitem .Item, 1; if (.Cash$ != "") { setd .Cash$, getd(.Cash$)+1; dispbottom "Gained a kill point! Total: "+getd(.Cash$); } break; } end; OnInit: setarray .Maps$[0],"pvp_y_1-2","pvp_y_2-2","pvp_y_3-2"; set .NoFarm,1; // End script for repeated kills? (1:yes / 0:no) set .Item, 0; // 0 to disable set .Cash$, "#CASHPOINTS"; // "" to disable end; }
  10. @Jhosef: No, it's right here. http://www.eathena.ws/board/index.php?showtopic=232512
  11. Feel free to join the club, *link!* @SuperMario: If you still can't figure it out, mes "Your spawn point has been saved here in the center of Prontera.";
  12. goto menu; You can't use menu as a label because it's a keyword. Use something like L_Menu if you want to avoid problems.
  13. Since <ID>,<Amount> will always start on an even number, you want to restrict rand() so that you'll always get a predictable result.
  14. It means that a string was being processed, and there was a line break before the string ended. Try to figure it out... o.o;
  15. It's easiest not to split two separate scenarios (random gold coin or constant fruit). Rather, group them into a single array: // Format: <ID>,<Amount>,{...} setarray .@i[0],671,1,671,2,671,3,512,1,513,1,514,1,515,1; set .@j, rand(getarraysize(.@i)/2); getitem .@i[2*.@j], .@i[2*.@j+1];
  16. The error message is written in plain English. You're missing tabs in the header.
  17. @Brynner: I'm starting to sound like a broken record... My WOE Controller does not control treasure spawns. The official scripts do that at 00:01 every day.
  18. Euphy

    Hey!

    Of course. You have to be very Tyranitar.
  19. Euphy

    Hey!

    Martyr? What? D:
  20. I didn't even add a header. o_o SC_ENCPOISON 26
  21. Add time restrictions to LoadEvent triggers that kick out your specified classes. if (gettime(3) >= 16 && gettime(3) <= 17 && Upper != 1) { warp "SavePoint",0,0; end; } if (gettime(3) >= 19 && gettime(3) <= 20 && Class > 4049) { warp "SavePoint",0,0; end; }
  22. Sorry, I had to. x.x setarray .@SC[0],35,40,41,72,73,74,75,110,115,120,121,21,23,29,30,32,151; for(set .@i,0; .@i<getarraysize(.@SC); set .@i,.@i+1) sc_start .@SC[.@i],760000,(.@i>10)?10:5; percentheal 100,100; set .@i, select("Earth:Wind:Water:Fire:Ghost:Shadow:Holy:Cancel")-1; if (.@i<7) { setarray .@SC[0],99,98,97,96,146,144,37; sc_start .@SC[.@i],760000,1; } close; "SC_WARM_WIND" doesn't exist, therefore defaulting to 0, or "SC_STONE" (Stone Curse). You did have me fooled for a minute, though~ (The correct status is "SC_SEVENWIND", but it's not as straightforward to use.)
  23. @Celsius: http://rathena.org/board/topic/62972-expansion-diff/page__p__98836#entry98836
  24. @Jhosef: It's an array, you can add as many items as you want.
×
×
  • Create New...