Jump to content

Bin4ry

Members
  • Posts

    782
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Bin4ry

  1. Thank you! By the way do you have any idea with stateiconimginfo.lua? I don't see any other icons dir in the file (Only Kagerou's Exists), didn't know how those old status icons hooked in client.
  2. Version 1.0

    344 downloads

    Extra Status Icons for Cursed Water, Elemental Resist Potions and Undead Scrolls. For more info: http://rathena.org/board/topic/72715-unofficial-extra-status-icons/
    Free
  3. Hmm.. Well, I have drew 3 icons for Cursed Water, Elemental Resist Potions and Undead Scrolls and decided to share with rA community. Also, this is not really what so call 'design'. My skills are very limited in Photoshop Requirement Basic knowledge on text editing. Basic knowledge on compiling your rA source code. Installation GuideServer Side 1. Open status.c, go to line 761 and add these lines: StatusIconChangeTable[SC_ENCHANTARMS] = SI_ENCHANTARMS; StatusIconChangeTable[SC_ARMOR_ELEMENT] = SI_ARMOR_ELEMENT; StatusIconChangeTable[SC_ARMOR_RESIST] = SI_ARMOR_RESIST; 2. Open status.h, go to line 1348 and add these lines: SI_ENCHANTARMS = 900, // Elemental Converter SI_ARMOR_ELEMENT = 901, // Resist Potion SI_ARMOR_RESIST = 902, // Undead Scroll 3. Compile your source.Client Side 1. Download clean stateiconinfo.lua, efstids.lua and stateiconimginfo.lua files from here. (Credits to the SVN owner.) 2. Open efstids.lua, go to line 669 and add these lines: EFST_ENCHANTARMS = 900, EFST_ARMOR_ELEMENT = 901, EFST_ARMOR_RESIST = 902, 3. Open stateiconinfo.lua, go to line 2297 and and these lines: StateIconList[EFST_IDs.EFST_ENCHANTARMS] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Enchant Weapon", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Temporarily enchants property to the user's weapon."}, } } StateIconList[EFST_IDs.EFST_ARMOR_ELEMENT] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Enchant Armor", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Temporarily enchants property to the user's armor."} } } StateIconList[EFST_IDs.EFST_ARMOR_RESIST] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Enchant Resistance", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Temporarily grants resistance to Fire/Water/Wind/Earth property attack."} } } 4. Open stateiconimginfo.lua, go to line 39 and add these lines: [EFST_IDs.EFST_ENCHANTARMS] = "ENCHANTARMS.TGA", [EFST_IDs.EFST_ARMOR_ELEMENT] = "ARMOR_ELEMENT.TGA", [EFST_IDs.EFST_ARMOR_RESIST] = "ARMOR_RESIST.TGA", DownloadsLink - http://rathena.org/b...a-status-icons/ Mirror - MediaFire Do not take credit for my work as if they were your own.
  4. Always try to use search feature this questions has been asked a numerous times. Try to download correct LUB files that fit your client.
  5. Don't think there is fix yet, always follow Judas' post as he has the latest information on these client stuffs (Let's just name him Client Guru)
  6. Well the script is dedicated for ts and I don't have any working resp of each so u have to fix urself. If not mistaken eA doesn't have bindatcmd.
  7. I'm not home, maybe 2 hours later I will upload if I got home
  8. Not sure if it works if you remove the damage mob check.
  9. Bin4ry

    item script

    /doc/item_bonus.txt
  10. Would anyone explain to me what is it? It sounds very interesting
  11. Alright, guess I'll just upload mine for him Here you go: //===== rAthena Script ======================================= //= Account Locker //===== By: ================================================== //= darristan ([email protected]) //===== Current Version: ===================================== //= 1.1 //===== Compatible With: ===================================== //= rAthena SVN //===== Additional Comments: ================================= //= 1.0 Initial release //= 1.1 Added wrong password attempt //= 1.2 Added atcmd binding //============================================================ aria_in,46,166,2 script Account Manager 57,{ mes "[Account Manager]"; mes "Hello " + strcharinfo(0) + "."; mes "How may I assist you today?"; next; switch(select(((!#AccLock)? "Lock Account:":":Unlock Account")+":Information:Cancel")) { case 1: mes "[Account Manager]"; mes "So if you would like to lock your account, you will need to input a password after next."; mes "^808080Tips: Input 0 to cancel.^000000"; next; input .@Pass$; if (.@Pass$ == "0") { mes "[Account Manager]"; mes "Alright, you can always talk me to again if you changed your mind."; close; } mes "[Account Manager]"; mes "Good. So the password would be:"; mes "^0055FF" + .@Pass$ + "^000000"; mes "Proceed?"; next; if (select("Confirm:Cancel") == 2) { mes "[Account Manager]"; mes "Alright. Talk to me again anytime."; close; } mes "[Account Manager]"; mes "Password is now set. Account will be locked upon log out."; set .@Pass$, #AccPass$; set #AccLock, 1; close; case 2: mes "[Account Manager]"; mes "Please input your password."; mes "^808080Tips: Input 0 to cancel.^000000"; set @Attempt, .Attempt; next; input .@Pass$; if (.@Pass$ == "0") { mes "[Account Manager]"; mes "Alright, you can always talk me to again if you changed your mind."; close; } while (.@Pass$ != #AccPass$) { if (@Attempt == 0) { mes "[Account Manager]"; mes "You have entered wrong password too many times!"; close2; atcommand "@kick " + strcharinfo(0); end; } set @Attempt, @Attempt - 1; mes "[Account Manager]"; mes "Wrong password! You have " + @Attempt + " attempt left."; next; input .@Pass$; } mes "[Account Manager]"; mes "Account unlocked. You can always talk to me if you intended to lock your account again."; set #AccLock, 0; close; case 3: mes "[Account Manager]"; mes "If you feel unsafe with your account, you can always use my service and lock them with a password. Upon logging in, password will be asked and will give no access on wrong password."; close; case 4: mes "[Account Manager]"; mes "See you again!"; close; } OnInit: set .Attempt, 3; // Number of attempts if wrong password entered. end; } - script AccLock -1,{ OnLock: if (#AccLock == 1) { dispbottom "Lock failed! Your account is already locked."; end; } if (.@atcmd_parameters$ == "") { dispbottom "Lock failed! Password cannot be empty."; end; } if (getstrlen(.@atcmd_parameters$) < 4) { dispbottom "Lock failed! Password must be at least 4 characters."; end; } set #AccPass$, .@atcmd_parameters$; set #AccLock, 1; dispbottom "Account locked successfully! Password is " + #AccPass$ + "."; end; OnUnlock: if (#AccLock == 0) { dispbottom "Unlock failed! Your account is already unlocked."; end; } if (.@atcmd_parameters$ == "" || .@atcmd_parameters$ != #AccPass$) { dispbottom "Unlock failed! Wrong password!"; end; } set #AccLock, 0; dispbottom "Account unlocked successfully."; end; OnPCLoginEvent: if (#AccLock == 1) { specialeffect2 9; atcommand "@option 2 0 "+(64|(checkoption(8)*8)|(checkoption(16)*16)|(checkoption(32)*32)|(checkoption(128)*128)|(checkoption(256)*256)|(checkoption(512)*512)|(checkoption(1024)*1024)); set @Attempt, .Attempt; mes "[Account Manager]"; mes "Please input your password to continue."; next; input .@Pass$; while (.@Pass$ != #AccPass$) { if (@Attempt == 1) { mes "[Account Manager]"; mes "You have entered wrong password too many times!"; close2; atcommand "@kick " + strcharinfo(0); end; } set @Attempt, @Attempt - 1; mes "[Account Manager]"; mes "Wrong password! You have " + @Attempt + " attempt left."; next; input .@Pass$; } mes "[Account Manager]"; mes "You may continue your game now."; atcommand "@option 0 0 " + ((checkoption(8)*8)|(checkoption(16)*16)|(checkoption(32)*32)|(checkoption(128)*128)|(checkoption(256)*256)|(checkoption(512)*512)|(checkoption(1024)*1024)); close; } end; OnInit: bindatcmd("lock","AccLock::OnLock"); bindatcmd("unlock","AccLock::OnUnlock"); set .Attempt, 3; // Number of attempts if wrong password entered. end; } Usage: @lock <password> @unlock <password> or talk to the NPC.
  12. He might wants the bindatcmd instead OnWhisper.
  13. 1. Yes, if file not exists in /data, it reads first entry of GRF, still not exists, then it reads 2nd GRF and so on... 4,5,6. http://svn6.assembla.com/svn/ClientSide/Lua_Project/lubs/
  14. I do have drew some icons for these 3 skills, might release later
  15. Sacrifice should never miss.
  16. Converter doesn't have buff icons. You need to add yourself. You might wanna follow my guide here: http://rathena.org/board/topic/72342-enchant-icon-doesnt-show/#entry145756
  17. 1. It depends on how you diff your client, with or without [Read Data before GRF] 2. Try different Setup.exe you can find on the forum. 3. Renewal is how skills, stats, behavior works different. That client is compatible. 4. It might happen because you are using wrong LUA/LUB version. 5. Same as above^. 6. Same as above^.
  18. Use phpMyAdmin module or setup remote MySQL access.
  19. 1. Open up battle.c, find: case NJ_HUUMA: skillratio += 50 + 150*skill_lv; break; 2. I don't know what is Increase Magic Damage skill. 3. Throw Huuma Shuriken delay at /db/re/skill_cast_db.txt 4. Reverse Tatami delay at /db/re/skill_cast_db.txt P/S: You will need to take a look on these files yourselves before requesting from others. If not you wouldn't learn anything.
  20. { //Calc base damage according to skill case NJ_ISSEN: wd.damage = 40*sstatus->str +skill_lv*(sstatus->hp/10 + 35); wd.damage2 = 0; status_set_hp(src, 1, 0); break; Formula = 40 * STR + (SkillLevel)*(HP/10 + 35) You can either increase like 80 * STR, or go from HP.
  21. Why are you trying to callfunc after a script end and before "refinemainx" is loaded?
  22. battle.c, find: { //Calc base damage according to skill case NJ_ISSEN: wd.damage = 40*sstatus->str +skill_lv*(sstatus->hp/10 + 35); wd.damage2 = 0; status_set_hp(src, 1, 0); break; Add damage value or change the formula.
  23. Yes this will add a check before Plagiarism starts to work on it's code.
  24. Yes it's cooling down in 05-15. Hate to see it when you use True Sight, duration is too short
×
×
  • Create New...