Jump to content

Emistry

Forum Moderator
  • Posts

    9,896
  • Joined

  • Days Won

    354

Emistry last won the day on March 7

Emistry had the most liked content!

About Emistry

  • Birthday January 1

Profile Information

Recent Profile Visitors

63,593 profile views

Emistry's Achievements

  1. use this https://github.com/rathena/rathena/pull/7394
  2. https://www.w3schools.com/Sql/func_mysql_datediff.asp
  3. OnTimer1000: OnInit: showscript "Broadcaster", getnpcid(0, "Broadcaster"), AREA; initnpctimer; end;
  4. setarray .combinedArray[getarraysize(.combinedArray)], .attr1, getarraysize(.attr1); setarray .combinedArray[getarraysize(.combinedArray)], .attr2, getarraysize(.attr2); setarray .combinedArray[getarraysize(.combinedArray)], .attr3, getarraysize(.attr3); setarray .combinedArray[getarraysize(.combinedArray)], .attr4, getarraysize(.attr4); setarray .combinedArray[getarraysize(.combinedArray)], .attr5, getarraysize(.attr5); setarray .combinedArray[getarraysize(.combinedArray)], .attr6, getarraysize(.attr6);
  5. No, latest rathena read most of the db files in yaml formal. doc/yaml/db
  6. try prontera,155,181,5 script Sample 757,{ [email protected] = gettime(DT_YEAR); [email protected] = gettime(DT_MONTH); [email protected]$ = "SELECT `nameid`, SUM(`amount`) AS `total` FROM `picklog` WHERE `type` = 'S' AND `amount` > 0 AND MONTH(`time`) = "[email protected]+" AND YEAR(`time`) = "[email protected]+" GROUP BY `nameid` ORDER BY `total` DESC LIMIT 10"; [email protected] = query_sql([email protected]$, [email protected], [email protected]); mes "Items:"; for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) mes getitemname([email protected][[email protected]])+" - "+F_InsertComma([email protected][[email protected]]); close; }
  7. these are quest skill (aka platinum skills) you wont get them through allskills atcommand @questskill {<skill ID>} @lostskill {<skill ID>} Permanently adds or removes the specified quest skill. If no skill ID is specified, a list of available skills will be returned. use these instead.
  8. depend on your script, you can do like these if (condition_A) { select("Menu 1", "Menu 2", "Menu 3"); } else { select("Menu 4", "Menu 5", "Menu 6"); } or select((condition_A ? "Menu 1" : ""), (condition_A ? "Menu 2" : ""), (condition_A ? "Menu 3" : ""), "Menu 4", "Menu 5", "Menu 6"); etc
  9. Version 2.0.0 added option to bulk add/remove item (to cater scenario where chat box insufficient max length like 10 items with million ID range) added option to clear/reset the items in a group. added option to allow different save mode (experimental) use at your own risk (example: other players may share same settings with you) refactor the script to make it slightly easier to read/maintain
  10. - script sample -1,{ OnMinute00: OnMinute30: [email protected] = getmapunits(BL_PC, "ordeal_a02", [email protected]$); for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) warp "SavePoint", 0, 0, convertpcinfo([email protected]$[[email protected]], CPC_CHAR); end; }
  11. conf/battle/feature.conf#L143-L148 // Itemlink System on informational related commands (Note 1) // Generates an itemlink string for an item and can be used for npctalk, message, // dispbottom, and broadcast commands. The result is clickable-item name just // like from SHIFT+Click from player's inventory/cart/equipment window. // Requires: 2015-11-04Ragexe or later feature.itemlink: on
  12. try this Script: | atcommand "@streset"; skill "ALL_INCCARRY", gympassmemory, SKILL_PERM_GRANT;
  13. your files probably not compatible with the client you selected or your files have invalid syntax or wrong format or structure
×
×
  • Create New...