Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. You don't want to use our bug tracker; it's out of date and no longer supported. IP.Tracker should contain all the same features, without the bugs. See below.
  2. Renewal and all its features, including third jobs, are enabled by default. trunk/src/config/renewal.h /// game renewal server mode /// (disable by commenting the line) /// /// leave this line to enable renewal specific support such as renewal formulas #define RENEWALThis file reads all Renewal scripts: trunk/npc/re/scripts_main.confWe don't have the official Oboro quest implemented yet, but it's in the custom job changer along with all other third jobs: trunk/npc/custom/jobmaster.txt
  3. The shops only show a discount, but the prices aren't actually reduced. It's the default behavior of the shop window.
  4. What emulator are you running? If you need the 'explode' command and aren't using rAthena or eAthena, apply the diff from r15039.
  5. if (getarraysize($itemlog1$) > 127) { deletearray $itemlog1$[0],1; - deletearray $itemlog2$[0],1; } + deletearray $itemlog2$[0],1; + deletearray $itemlog3$[0],1; } setarray $itemlog1$[getarraysize($itemlog1$)],strcharinfo(0); - setarray $itemlog2$[getarraysize($itemlog2$)],.@name$; } + setarray $itemlog2$[getarraysize($itemlog2$)],.@name$; + setarray $itemlog3$[getarraysize($itemlog3$)],.@package; } mes "Reward added."; next; ... mes "--------------------------------"; set .@i,0; while (.@i < getarraysize($itemlog1$)) { - mes "^B041FF" + $itemlog1$[.@i] + "^000000: sent to ^55AAFF" + $itemlog2$[.@i] + "^000000"; + mes "^B041FF" + $itemlog1$[.@i] + "^000000: sent Package " + $itemlog3$[.@i] + "to ^55AAFF" + $itemlog2$[.@i] + "^000000"; set .@i, .@i+1; } next; goto Log_Menu; ... deletearray $itemlog1$[0],getarraysize($itemlog1$); deletearray $itemlog2$[0],getarraysize($itemlog2$); + deletearray $itemlog3$[0],getarraysize($itemlog3$); mes "Logs cleared.";
  6. @Gelo: Update your SVN, that bug has been fixed. @nixrlz: I still have to look into why that happens, I don't have an answer at the moment. Sorry! @mrlongshen: // This will contain shop 1 only. prontera,150,150,6 script Quest Shop#1 998,{ callfunc "qshop",1; } // To duplicate the above shop, you have two options: prontera,150,155,6 script Quest Shop#1-1 998,{ callfunc "qshop",1; } prontera,150,155,6 duplicate(Quest Shop#1) Quest Shop#1-1 998 // This will contain shop 2 only. prontera,150,155,6 script Quest Shop#2 998,{ callfunc "qshop",2; }
  7. This require Mob Control Commands, which are not currently in the SVN. http://rathena.org/board/topic/75836-unitwalk-destination-out-of-sight/?p=165866
  8. Euphy

    Item Scripts

    Read: trunk/doc/item_bonus.txt, trunk/doc/item_db.txt
  9. http://pastebin.com/raw.php?i=AC0CquTa Requires an SQL mob database.
  10. @nixrlz: Delete this: OnAgitStart: while(agitcheck()) { misceffect EF_BEGINSPELL6; sleep 425; } end;I won't script a timer until I find either the time or motivation to do so. @Greinz: I'm actually not sure why that would happen. My controller doesn't use any 'killmonsterall' command, and the only 'killmonsterall' invoked in agit_main is OnAgitInit, only if a castle has no owner. o.o @Thanna: http://pastebin.com/raw.php?i=9XETttrZ @TrojanWorm: mes "You must hunt:"; - query_sql("SELECT ID FROM mob_db WHERE left(Sprite, 4) != 'meta' AND left(Sprite, 2) != 'E_' AND ~Mode & 32 AND EXP > 0 AND MVP1id = 0 AND DropCardid > 4000 AND DropCardid < 5000 AND ID < 2000 ORDER BY rand() LIMIT "+.Quests, .@mob); + query_sql("SELECT ID FROM `mob_db` WHERE left(Sprite, 4) != 'meta' AND left(Sprite, 2) != 'E_' AND ~Mode & 32 AND EXP > 0 AND MVP1id = 0 AND DropCardid > 4000 AND DropCardid < 5000 AND ID < 2000 AND instr('"+.Blacklist$+"',ID) = 0 ORDER BY rand() LIMIT "+.Quests, .@mob); for (set .@i,0; .@i<.Quests; set .@i,.@i+1) { setarray .Shop[0], // Reward items: <ID>,<point cost> (about 10~20 points per hunt). 512,1,513,1,514,1,538,5,539,5,558,10,561,10; + set .Blacklist$, // Blacklisted mob IDs. + "1062,1088,1183,1186,1200,1212,1220,1221,1234,1235,"+ + "1244,1245,1250,1268,1290,1293,1294,1296,1298,1299,"+ + "1300,1301,1303,1304,1305,1306,1308,1309,1311,1313,"+ + "1515,1588,1618,1676,1677,1678,1679,1796,1797,1974,"+ + "1975,1976,1977,1978,1979"; npcshopdelitem "mission_shop",512;Full script: http://pastebin.com/raw.php?i=4EwvkvBZ @windston: mes "Select the cards you"; mes "want to trade in."; + if (.Level) { + mes " "; + mes "They must be dropped"; + mes "by monsters of level"; + mes .Level+" and above."; + } deletearray @sold_nameid[0],getarraysize(@sold_nameid); for(set .@i,0; .@i<getarraysize(@sold_nameid); set .@i,.@i+1) if (@sold_nameid[.@i] > 4000 && @sold_nameid[.@i] < 4700) { + if (.Level) { + query_sql("SELECT `LV` FROM `mob_db` WHERE `DropCardid` = "+@sold_nameid[.@i],.@lv); + if (.@lv < .Level) { + dispbottom getitemname(@sold_nameid[.@i])+" is under the minimum level."; + continue; + } + } set .@card_id[getarraysize(.@card_id)], @sold_nameid[.@i]; OnInit: + set .Level,0; // Minimum monster level to trade corresponding cards. set .Points$,"#Card_Points"; // Variable to store points.Full script: http://pastebin.com/raw.php?i=AC0CquTa @DJFUNK: // Shop NPCs -- supplying no argument displays entire menu. // callfunc "qshop"{,<shop ID>{,<shop ID>{,...}}}; @Eivohr: I don't support eAmod, sorry.
  11. 'dispbottom' requires an RID, perhaps you meant 'logmes'?
  12. https://rathena.org/board/index.php?/files/file/2746-%7B?%7D/
  13. Delete the OnPCLoginEvent label.
  14. Euphy

    @mount

    I agree that this would be convenient to have.
  15. I apologize, the syntax error is fixed in r17180. The name changes are correct; only kRO names were affected, not display names.
  16. Linking: http://rathena.org/board/topic/71152-account-bound-items/ This needs more opinions. Who else would like to see this added? Does anyone disagree?
  17. @Aleos: Looks good, but why did you write 'script_pushint'? Here's some documentation: script_commands.txt.patch @clydelion: I agree, but they're not used in very many scripts; it seems like a good idea, though. Would you like to do it?
  18. Woah. Thanks so much for your work, the update is fantastic! A couple more things, if you have the time... Bugs: F1 and F2 do not check for docked tabs; they open a new tab even if one is docked. The Script Commands Bible only checks for the first command in a list of grouped commands (i.e. sc_start will show, but not sc_start2, ..., sc_end). F1 creates a lot of trailing line breaks in the Script Commands Bible if the content is longer than the window size. F1 jumps to the bottom of an entry, whereas searching in the Script Commands Bible always starts at the top of an entry. Hotkeys take global priority (e.g. hotkeys affect the program regardless of whether it's active or in the background). Suggestions: Allow F1 and F2 to work within words, without needing to highlight them. Do not include an internal script_commands.txt; provide an external file by default (it becomes a waste of space). (?) A setting that, when enabled, always opens autocomplete while typing.
  19. We won't be implementing this; it really would not do much good. Thanks for the idea.
  20. This is awesome. Thank you for releasing this! Here are some suggestions that would really make this perfect: Basic functionality expansion: CTRL+W to close a tab. CTRL+number to switch to a different tab. Save window resizing. Shortcut for autocomplete (or is there one already?). Allow dragging files into window to open them. Saving new files should default to *.txt. Allow users to use their own script_commands.txt file, since it's updated periodically; I know this may be hard to do, but it would be very useful. The best features of Vince's eNPC: A hotkey (F1) opens/closes the Script Commands Bible at the currently selected word. Autocomplete script commands while typing.
  21. trunk/conf/battle/skill.conf // Allows players to skip menu when casting Teleport level 1 // Menu contains two options. "Random" and "Cancel" skip_teleport_lv1_menu: yes
  22. They're given directly by default. Don't enable bit 2 (mail) in .Options. setarray .Reward[0],itemID1,amount1,itemID2,amount2,...;
  23. Yes, but character data is mass-saved into the database in regular intervals; using a separate database would avoid this. The only real benefit I see to this is having 'getarraysize' for permanent character variables; but at the same time, we don't want to encourage users to use large character arrays. ._.
  24. Euphy

    Manuk Quest

    Have you even checked in-game?
×
×
  • Create New...