Jump to content

Myzter

Members
  • Posts

    107
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Myzter

  1. Hi, I made this tool to generate the LUA files (accesoryid.lua and accname.lua) directly from your MySQL tables (item_db and item_db2) and mixing the data with the file idnum2itemresnametable.txt The contents are generated using the Sprite Name in idnum2itemresnametable.txt and the item names in MySQL, including your custom items. Please help me to test the application and give me all your feedback to fix any problem. Download LUA Generador: http://www.4Undeads.com/uploads/LuaGenerator.1.3.rar (or download it from the attached file in the post) Regards, Myzter LuaGenerator.1.3.rar
  2. The Tables doesn't exist in your DataBase. Empty the table bk_talk and follow this instructions: 1. Copy "BK6_EN.txt" as "BK6_FR.txt" 2. Open "BK6_FR.txt" and set the language code in the line 26, like this: set .@lc$,"fr"; 3. Now, translate the file in this way: Original: New: 4. Include this line in the file "scripts_custom.conf": npc: npc/custom/bk/lang/BK6_FR.txt // French Dialogs 5. Open the table "bk_lang" and search for the language "fr", then change the value of "Enabled" to 1 Restart your server and check it whispering to npc:lang It's compatible, the post is in the new eAthena forum. Are you sure you installed the cutins required by that module in your client? Ensure all the steps in the instructions are OK, then enter to the game and whisper anything to npc:bkconfig (using a Administrator account) It's simple, just whisper to npc:bk and enter 3 or more letters of the nick.
  3. Already support english and spanish, configure your default language in the table: bk6_lang It's only for MySql, the infinity loop can be fixed following the steps in the installation instructions.
  4. Are you sure you follow all the installation instructions?, if the countdown is not working maybe there are some installation problem. Look the map-server console to see any errors or warnings from BotKiller when you are in jail or when you talk with the jail guardian.
  5. Myzter

    NPC Redeemer

    This new version works with "FluxCP Addon: Vote For Points by JayPee Mateo" http://upaste.me/937a6913934e782
  6. Search in eAthena, there are some Dota PvP scripts that works in rAthena.
  7. Myzter

    NPC Redeemer

    http://upaste.me/743065508c25ac3
  8. Chars: select char_id from `char` where online=1; Accounts: select l.account_id from `login` l join `char` c on l.account_id = c.account_id where c.online=1 The results can be more than 128 rows, use limit to restrict the row number using a page. set .@PageSize, 100; set .@Counter, 0; do { set .@Results, query_sql("select l.account_id from `login` l join `char` c on l.account_id = c.account_id where c.online=1 limit " + .@Page + "," + .@PageSize, .@accounts); for (set .@x,0; .@x < .@Results; set .@x, .@x + 1) { set .@Counter, .@Counter + 1; debugmes "Account #" + .@Counter + ": " + .@accounts[.@x]; } set .@Page, .@Page + .@PageSize; } while (.@Results);
  9. Just ignore chatting and vending players.
  10. No, please check the installation procedure, this antibot is very stable and it's running in lots of servers, including mine, without that problem. Regards, Myzter
  11. Try whispering a player name to npc:bk
  12. Search "OnAgitBreak:" label in npc/guild/agit_template.txt Replace this line: mapannounce strnpcinfo(2),"The emperium has been destroyed.",bc_map|bc_woe,"0x00CCFF",FW_NORMAL,12; With this: mapannounce strnpcinfo(2),"The emperium has been destroyed by " + strcharinfo(0),bc_map|bc_woe,"0x00CCFF",FW_NORMAL,12;
  13. 30000,White_Wings,White Wings,5,0,,1,,7,,1,0xFFFFFFFF,15,2,1,,1,1,1035,{ bonus bAllStats,5; bonus2 bAddRace,RC_DemiHuman,20; if(isequipped(32009)) bonus bMaxHPRate,10; },{ set eff911,1; while(eff911==1){if (!checkoption(0x2) && !checkoption(0x4) && !checkoption(0x40)) specialeffect2 911; sleep2 500;}},{set eff911,0;}
  14. Look this definition in script_commands.txt *checkoption(<option number>)
  15. You should use something like this: http://upaste.me/17b962711f0ecf9 The script fail when the header uses spaces instead tabs, btw, test this script. Test this version: http://upaste.me/b5f7628232f67f3
  16. Open the table 'bk6_lang', find the language you want to disable and put 0 into the field 'enabled'.
  17. Myzter

    MVP Attack

    Well, here is your script working, i made several changes to make it work. http://pastebin.com/mV66ZAPN I recommend you to writing scripts with indentation, a program friendly to read is easy to read and less buggy. The OnClock parts of the script will not work if you don't change the script and validate that the proper information is there before try to start the event, try to write these validations. Regards, Myzter
  18. After this line: function Refine { Insert this code: if (!getequipisenableref(@slot)) { mes "Sorry but your " + getequipname(@slot) + " cannot be refined."; close; } I recommend you to change to a better refiner script because this is "ugly"...
  19. Myzter

    MVP Attack

    Try to post your script here: http://upaste.me It's very hard to read a script posted directly in a post using CODE.
  20. Hi, Replace this line: query_sql ("SELECT `point` FROM `vote_point` WHERE `account_id` = '"+getcharid(3)+"'", @vote); With this: query_sql ("SELECT sum(`point`) pts FROM `vote_point` WHERE `account_id` = " + getcharid(3), @vote); Why?, because sum will always return 1 result, if there are no results, @vote will be 0. After that, use @vote[0] because that value is a array, not a integer. Regards, Myzter PD: Try to use CODEBOX instead CODE, it's more readable.
  21. In the table bk_config change the value of "$@BKNextUse", is the fixed part of the time, also, set the value "$@BKNextUseVariation" to set the variable time. BK get the sum of these values to wait until the next check to the same player: $@BKNextUse + rand($@BKNextUseVariation) If you set the rates to 0, BK is disabled, and 1000 for a 100% Please look the map console and talk with the NPC to detect any warning or error. Regards, Myzter
  22. Another way to limit to certain maps: At the bottom of the "OnInit" insert this code: // Allowed Maps setarray .@Map$[0],"guild_vs1","guild_vs2","guild_vs3","guild_vs4"; for (set .@i,0; .@i < getarraysize( .@Map$ ); set .@i,.@i + 1) { setd "$@PVP" + .@Map$[.@i],1; } At the beginning of the OnPCKillEvent insert this code: // Allowed Maps Check if (!getd("$@PVP" + strcharinfo(3)) end; This approach run a little faster because is not reading the map array on each kill. Or change this lines in the Emistry script: Try it changing this: From: setarray .@Map$,"guild_vs1","guild_vs2","guild_vs3","guild_vs4"; To: setarray .@Map$[0],"guild_vs1","guild_vs2","guild_vs3","guild_vs4";
  23. Thanks again for your welcome! I can see that rAthena is full of life, for a while I thought to come could be a bad idea, but finally this was the better choice.
  24. Thanks Brynner, Fixed the installation instructions. That Debug messages are only informative, BK6 reload the configuration every X minutes to allow changes directly in the database that take effect automatically. Regards, Myzter
×
×
  • Create New...