Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. "@changelook" uses View ID, not item ID. The "location" parameter is optional. I'd suggest using item ID as input instead of name, as one command will be able to handle all cases, then (after conditionals): atcommand "@changelook "+getiteminfo(atoi(@whispervar0$),14);
  2. http://rathena.org/board/topic/64394-%E2%9C%B0-euphys-scripts-%E2%9C%B0/page__st__320#entry139818 Please don't duplicate posts, thank you.
  3. @Vitrue: I dunno then. x; MVP Ladder updated to v1.2!
  4. @Heero Yuy: Can't reproduce that problem, sorry. @Vitrue: Um, not sure why that would happen if you just use @reloadscript. o.o @skenywitdafer: Use @reloadscript.
  5. {},{ set @MaxWeight, MaxWeight; set MaxWeight, MaxWeight + (MaxWeight/10); },{ set MaxWeight, @MaxWeight; } // untested {},{ set MaxWeight, MaxWeight + n; },{ set MaxWeight, MaxWeight - n; } Crit spell doesn't exist... o.o
  6. Euphy

    game script

    http://www.eathena.ws/board/index.php?showtopic=242635
  7. It means you're missing 1 right curly on line 3. ._.
  8. Euphy

    Request: Poker

    You'll have to script an algorithm for best hand, which may prove difficult and time-consuming.
  9. Euphy

    Brancher

    Are you using rAthena?
  10. Euphy

    Brancher

    Emistry's code works, yours doesn't. Another instance of the "don't copy code if you don't know what it means" rule: your while() loop ends immediately if a player is not found after a 5 second interval.
  11. @jysn: It's not possible, since quest entries are hardcoded in a database. You could theoretically convert all the possible combinations into quest_db entries; it'd be a lot of entries, though. xD
  12. Not possible via script. [Moving to source requests.]
  13. The SQL databases are far easier to read and update; you can even edit entrees in-game (example). I still prefer text databases because Notepad opens faster than an SQL browser. xD There are no ID restrictions except on weapons (to determine view type: Custom_weapons).
  14. Can't extract. I'm getting... Error 0x80004005: Unknown Method
  15. para_suv02 is set to 14 after finishing any quest by Instructor Ur and receiving the Paradise Advance Gears.
  16. if (countitem(your_card)) { delitem your_card,1; getitem 7179,amount; } else if (...)
  17. That's caused by having a bad mapcache. If a player's `last_map` value is not found in the mapcache, they'll be warped to the top right of Prontera.
  18. The command binds an instance of the item; item_trade affects all item instances. Also, these bound items are colored.
  19. Euphy

    best Client

    2012-04-10 is most stable of the 2012 clients so far.
  20. This is very cool. Great work! A suggestion: don't include so many configuration options when they're not all that important, for instance: /* Because there's still more work to do to change the map location (moving duplicates, etc.), you might as well not include these options since "find and replace" would be quicker anyway. */ set .mapname$, "quiz_02"; // Event Map Location set .warpx, 305; // warp to Event Map x coordinate set .warpy, 253; // warp to Event Map y coordinate set .areax1, 295; // Event map areannounce x1 set .areay1, 261; // Event map areannounce y1 set .areax2, 314; // Event map areannounce x2 set .areay2, 242; // Event map areannounce y2 /* You could use instead: warp "SavePoint",0,0; */ set .maintown$, "prontera"; // Spawn location when game ends set .mainx, 155; // spawn location x coordinate set .mainy, 179; // spawn location y coordinate
  21. @Vitrue: Here are the changes -- case 5: set @s, select(implode(.Names$,":")); //... callshop "mission_shop"+@s,1; npcshopattach "mission_shop"+@s; end; OnBuyItem: for(set .@i,0; .@i<getarraysize(@bought_nameid); set .@i,.@i+1) for(set .@j,0; .@j<getarraysize(getd(".Shop"+@s)); set .@j,.@j+2) if (getd(".Shop"+@s+"["+.@j+"]") == @bought_nameid[.@i]) { set @cost, @cost+(getd(".Shop"+@s+"["+(.@j+1)+"]")*@bought_quantity[.@i]); break; } OnInit: // new shop arrays (be sure to rename the first one) setarray .Shop1[0],1202,5,1229,20; setarray .Shop2[0],5116,15; setarray .Names$[0],"Weapons","Headgears"; for(set .@i,1; .@i<=getarraysize(.@Names$); set .@i,.@i+1) { npcshopdelitem "mission_shop"+.@i,512; for(set .@j,0; .@j<getarraysize(getd(".Shop"+.@i)); set .@j,.@j+2) npcshopadditem "mission_shop"+.@i, getd(".Shop"+.@i+"["+.@j+"]"), getd(".Shop"+.@i+"["+(.@j+1)+"]"); } end; } // duplicate shops as necessary - shop mission_shop1 -1,512:-1 - shop mission_shop2 -1,512:-1
  22. https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/re/item_trade.txt //32:Item can't be placed in the storage //64:Item can't be placed in the guild storage
  23. @angelakied: Answer is already posted multiple times - find&replace "qshop" with a different name. @Vitrue: I pretty much copied my "Multi-Shop" script's code, so you can use that as a base to add more shops. To remove exp rewards, well, delete those lines.
×
×
  • Create New...