Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. Please post these issues in the appropriate sections of the Bug Tracker so our developers will see them. Thank you for your time!
  2. mes "Input item ID:"; input .@item; if (getitemname(.@item) == "null") { mes "Invalid ID "+.@item+"."; close; } mes "Input quantity:"; input .@count,0,30000; if (.@count == 0) { mes "Invalid quantity 0."; close; } set .@j, query_sql("SELECT `account_id` FROM `char` WHERE `online` = 1",.@aid); for(set .@i,0; .@i<.@j; set .@i,.@i+1) getitem .@item,.@count,.@aid[.@i]; mes "Gave item "+getitemname(.@item)+" x"+.@count+" to "+.@j+" players."; close;
  3. There are no non-SQL script commands to check storage and cart items. You'll need to add custom storagecountitem() and cartcountitem() commands.
  4. OnInit: set .@delay, 500; // in ms setarray .@m$[0], // message list "Message 1", "Message 2", "Message 3"; set .@s, getarraysize(.@m$); while(1) { for(set .@i,0; .@i<.@s; set .@i,.@i+1) { waitingroom .@m$[.@i],0; sleep .@delay; delwaitingroom; } } end;
  5. You should probably reset some other things, too... UPDATE `char` SET `base_level` = 1, `job_level` = 1, `base_exp` = 0, `job_exp` = 0, `str` = 5, `agi` = 5, `vit` = 5, `int` = 5, `dex` = 5, `luk` = 5, `status_point` = 0;
  6. Euphy

    TOMB

    Malufett: The LHZ MVPs are spawned randomly through a script, not permanent monster spawn, so this is not currently possible. Edit: Beaten. D:
  7. Instead, you've violated multiple Creative Commons licenses, cheated a large sum from our developers collectively, and sold works that were not yours to distribute. Many of your updates were ripped and compiled from other emulators, which you also can't take exclusive credit for. I don't mean to provoke anything, but I'd rather you not mislead our users with statements like that. Future merges, if any, will be credited where and when appropriate. I believe I've discussed the matter sufficiently with Judas in PMs, so I'm locking this topic. Thank you.
  8. prontera,150,150,5 script Item Counter 101,{ mes "Enter a name."; input .@n$; set .@aid, getcharid(3,.@n$); set .@cid, getcharid(0,.@n$); if (isloggedin(.@aid,.@cid)) { mes "Input an item ID."; input .@item; set .@self, getcharid(3); attachrid(.@aid); set .@count, countitem(.@item); attachrid(.@self); } else if (query_sql("SELECT `char_id` FROM `char` WHERE `name` = '"+.@n$+"'",.@cid)) { mes "Input an item ID."; input .@item; query_sql("SELECT SUM(`amount`) FROM `inventory` WHERE `char_id` = "+.@cid+" AND `nameid` = "+.@item,.@count); } else { mes "Character '"+.@n$+"' does not exist."; close; } mes "Character '"+.@n$+"' has ^0055FF"+.@count+"^000000 "+getitemname(.@item)+" ("+.@item+")."; close; }
  9. ...but you didn't add more shop data.- shop qshop6 -1,909:-1 - shop qshop7 -1,909:-1 - shop qshop8 -1,909:-1 - shop qshop9 -1,909:-1 - shop qshop10 -1,909:-1And you'll need to add shop names to the .Shops$ array.
  10. I moved the NPC to trunk/npc/re/merchants/catalog.txt in r17138. It was previously located in trunk/npc/merchants/buying_shops.txt.
  11. The 'freeloop' command was added in r15340. If you're updated past that and still can't use the command, either: You haven't recompiled. Your SVN is corrupted. You aren't really using rAthena.
  12. This has been fixed in r17136.
  13. Euphy

    Max Level 160

    Implemented in r17133. Classes affected: 3rd Jobs, Baby 3rds, Expanded Super Novice, and Kagerou/Oboro
  14. Great script! Please don't put passwords on downloads, though.
  15. Implemented in r17131, documented in r17132.
  16. @Ryu: I know, that was one of the limitations for the way I scripted this. I opted not to use a timer to trigger events, as without is far more resource-efficient, but it makes Toasty's controller more versatile than mine in that regard. Use his if you need sessions across multiple days.
  17. @DR4LUC0N and jTynne: If you have to fight, please keep it out of the discussion forums. We're not switching to iRO, as that was decided long ago. Thank you.
  18. It already is, and is off by default. trunk/src/config/core.h /// Uncomment to enable Non Stackable items unique ID /// By enabling it, the system will create an unique id for each new non stackable item created //#define NSI_UNIQUE_ID
  19. This was fixed in r17123 (requires r17110).
  20. Topic: http://www.eathena.ws/board/index.php?showtopic=228775 Raw: http://svn.xp-dev.com/svn/tecnocronus_scripts/docs/EN/source_documentation.txt I stumbled upon this a while back. What do you think? Is this worth revising and adding into the SVN? Edit: Cleaned up the file. It needs more technical terminology and some restructuring; if anyone with good knowledge of C would like to take over, go ahead. source_doc.txt
  21. // Missing quotes. switch(select("Sure!:Nah")){
  22. Unexpected end of string. --> You've ended a string without closing it with quotes. // Missing quotes. mes "can you do it for me?
  23. Euphy

    Idle command

    Implemented by Aleos in r17126 and documented in r17127.
  24. I don't know of any database converters, though. Do you have one? o:
×
×
  • Create New...