Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. That's an NPC query, and furthermore it's a "select" command. Read: documentation, basics. In other words, you don't.
  2. Euphy

    Quest Script

    Item Preview pretty much requires a dynamic script (unless you enjoy duplicating lines... endlessly). So, https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/quests/quest_shop.txt
  3. @wakoko321: XD The script was more of a joke, so I'd recommend using somebody else's ladder instead~ (ex. Rokimoki ed. Cookie)
  4. +1 I think all the SQL upgrades pre-rAthena should be removed.
  5. @RN1986: Not fully possible afaik, since guilds are loaded at the charserver level. MVP Ladder is now v1.1!
  6. set #CASHPOINTS, #CASHPOINTS + <number>;
  7. Update: Added a super fun MVP ladder script~
  8. I'm not exactly sure what you mean. There's a 'progressbar' command that will create, well, a progress bar that can make it look like you're "casting" the teleport skill (and it'll be interrupted when you're hit):
  9. Ah, great catch. You'd think Zephyrus would have at least made things backwards compatible...
  10. Yes, bindatcmd allows you to create new atcommands without modifying source. If you bind to an existing command, the atcommand will invoke your script and not the source function. There is no command which checks for an existing command.
  11. Revision 45312? o_o How did you merge...? Brian posted a guide here: http://rathena.org/board/topic/53253-how-to-relocate-to-the-sourceforge-svn/
  12. Bindatcmd was added in r16471, documentation was added in r16473 to script_commands.txt.
  13. Euphy

    Need help

    Homunculus S skills don't work yet, they're all passive as placeholders until the effects are coded.
  14. BindAtcmd was implemented to make things like this a little easier to write. That way you don't have to recompile every time you make a change.
  15. No, you didn't fix the last error. I posted a solution in your other thread yesterday, you must've missed it. //... set q_timer, gettimetick(2)+<delay time>; //... if (refat == 1 && gettimetick(2) < q_timer) { //...
  16. Yeah, a giant Poring would just be a Mastering. :<
  17. set .@timer, gettimetick(2)-q_timer; // q_timer is not defined set .@wait, 9000-.@timer; // variable .@wait is not used set refat,1; close; // needs closing curly if((refat == 1 || .@timer < 9000)){ // should be &&, and .@var is not defined close;
  18. So long as it doesn't mean a huge cost in performance or database size... why not? Nobody will mind an added convenience/safety measure, even if they don't have a use for it.
  19. Change dr_time$ to #dr_time$ to make it account-based. Blocking multiple IPs is more complicated. The basic form would be: Create a new SQL table, ex. `daily_ip`. Query attached player's `login`.`last_ip` into `daily_ip`. Check if other players' IPs are in `daily_ip` (more queries!). Each new day (OnHour00), clear `daily_ip`.
  20. @emong: "opengo" is not a script command. As a workaround, you could redirect to normal @go with: atcommand "@go "+.@atcmd_parameters$[0];
  21. @shadowseph: That could be simplified by setting the permanent variable as: gettimetick(2) + <delay, in seconds> Then, if (gettimetick(2) < q_timer) { mes "You must wait a little longer~"; close; }
  22. @RN1986: If you're using other WOE scripts, well, that's not my fault~ (you cannot set other mapflags and keep the "Autokick" feature active).
  23. As far as I know, yes, everything should be backwards compatible. Many of the new sprites/classes will not display properly on clients older than 2010.
  24. http://rathena.org/wiki/SVN_Checkout
  25. *pcblockmove <id>,<option>; Prevents the given ID from moving when the option != 0, 0 enables the ID to move again. ID should be able to be GID of a monster/NPC or AID from a character. *unitstop <GID>;
×
×
  • Create New...