Jump to content

sader1992

Content Moderator
  • Posts

    1678
  • Joined

  • Last visited

  • Days Won

    71

Everything posted by sader1992

  1. Version 3.1.0

    1903 downloads

    Note: it's recommended to not use All-In-One scripts like this one , it's better if you create a npc that does only what you want from it! Information: with this script you can add any item and any ore to enchant in exchange of zeny/items. read the configuration carefully the configuration start at line 238 to remove example: Armor you need to delete Armor and EQI_ARMOR if you want to remove the weapon tab you may want to remove the shield tab too etc I did plan to rewrite this script , however I backed out of it the script work the way it is I have no plan to rewrite it, and I am impressed by my self writing this script with too many config If I rewrite this now i would spend 99% of the time just preparing the new config , so i don't see any point of rewriting it yes the script could be written better , but it's not worth it. for any error contact me plz for faster update https://github.com/sader1992/sader_scripts
    Free
  2. packet_db.txt removed like 2 weeks ago and the packet_ver 54 now ignored i would really suggest you get the last rathena
  3. i think you can add it here data\LuaFiles514\Lua Files\SignBoardList.lub / lua
  4. i would suggest using the lastest rathena
  5. setarray .Rebirth[0],99,50; change it to setarray .Rebirth[0],100,50; and then no one can rebirth it's easy unless you your players can level to the level 100 (that not ganna happen if you didn't edit the level cap your self)
  6. bonus2 bAddClass,c,x; +x% physical damage against class c it increases the attack you get from the str not the weapon and items and other bonus so it's not 25% from your last dmg how it don't work ? 4140,Knight_Of_Abyss_Card,Abysmal Knight Card,6,20,,10,,,,,,,,2,,,,,{ bonus2 bAddClass,Class_Boss,25; },{},{} bonus2 bAddClass,Class_Boss,25; you can find it in your /rathena/db/re/item_db.txt
  7. it work only with physical attack no magic and only on bosses
  8. you don't need the item avail now everything good you will need to use the files in your client or add new files //in the iteminfo.lua so here unidentifiedResourceName = "사과", and here identifiedResourceName = "사과", the 사과 = the file name you may find the files in your data.grf the photo in the inventory 사과.bmp in data\texture\유저인터페이스\item\ and the photo when you right click on the item 사과.bmp in data\texture\유저인터페이스\collection\ you can use the photos that already in your client this 사과 is the files of the (apple) you can add your own files just add the icon in data\texture\유저인터페이스\item\ and the right click in data\texture\유저인터페이스\collection\ inside your grf they must be .bmp 24bit 75x100 for collection and .bmp 8bit 24x24 for item they must be the same name (you can name them in english) example: unidentifiedResourceName = "my_apple", identifiedResourceName = "my_apple", so in this case there must be in the grf data\texture\유저인터페이스\item\my_apple.bmp data\texture\유저인터페이스\collection\my_apple.bmp
  9. yes they must be the same and i say +35000 cuz if you see the item info it's already have +32000 item so be save and take from +35000 and more
  10. as long as you don't see @item failed = the error from the client side try different id (in the server&client side) cuz you maybe have this id in the client side for different item i would try something like 35000 and more
  11. you can use any editor you want but if you want to use Visual Code open it then select above File >> Preferences >> Settings then on the right side must be like this // Place your settings in this file to overwrite the default settings { "files.encoding": "utf8", "files.autoGuessEncoding": true } as the photo then click Ctrl + S to save the setting then restart Visual Code then open your iteminfo in it and edit
  12. try to use another editor like Visual Code use new iteminfo the one that don't work delete it and copy a new one
  13. you have ROenglishRE when you downloaded the english files right ? remove the iteminfo.lua and re add it from the one in the ROenglishRE files and readd your items after you add your item and everything work always backup your edited iteminfo to not readd your items every time it get like that (i think you alrady have the english files but this the url to make sure https://github.com/zackdreaver/ROenglishRE copy the item info from those files in the system folder to your client system folder and re add your files in the new item info inside your system client folder
  14. yes as i see in the photo the iteminfo wont work i would remove it and add another one from the files that (i think you already have the files from the english files) and re add my items and take care that i don't edit the Encoding cuz as you see the end disply line must be " and it's ? so the client see error there
  15. yes screenshot it in the notepad++ with before&after 10 lines and click above on Encoding and tell me if there is something selected(must be no select on any option
  16. screenshot where the line of the error before&after 10 lines PS: the error tell you the line not the item id
  17. [myitemID] = { unidentifiedDisplayName = "My item name before been identified", unidentifiedResourceName = "my_item_file_name_or_photo_before_been_identified_no_spaces", unidentifiedDescriptionName = { "Description" }, identifiedDisplayName = "My item name identified", identifiedResourceName = "my_item_file_name_or_photo_identified_no_spaces", identifiedDescriptionName = { "Description", "Description", "Description", "Description", "Weight:^006600 10^000000 -this also Description" }, slotCount = 0, ClassNum = 0 }, and save restart the game after edit
  18. this cuz you need to add your items in the client side go to your game folder system folder file called iteminfo.lua open it and add your items down
  19. what your goal >.> ? and where the error ? item skill Unknow << where you get that ? can we have screenshot for the terminal or the client wherever the error is ?
  20. what the line you add in item db and item avail ?
  21. @Z3R0 both in adding and remove option the setd @menu not @menu+1 and in the remove option the if(select("Yes:No")&2) reset the @menu to 1 so it only remove the first slot so i removed it
  22. the first photo = you need to wait for @NeoMind to update NEMO (or maybe someone here could help you) second photo fixed by langtype 1 (you already did that as i see in the 4th photo) for the 3rd photo select [Load Custom lua file instead of iteminfo*.lub (Recommended)] and put your iteminfo .lua in the system folder and no need for (version) anymore in rathena
  23. prontera,193,188,4 script Katonai 821,{ mes .npc$; mes "Hello there!"; mes "I can enchant your items,"; mes "for a small fee of "+.pric+"z."; emotion e_no1,0; next; if(select("Yes:No")&2) { mes .npc$; mes "Alright, thanks anyways!"; close; } if(Zeny<.pric) { mes .npc$; mes "I'm sorry you don't have enough Zeny, please come back later."; close; } mes .npc$; mes "Which item would you like to enchant?"; next; for( .@a = 0; .@a < .e_len; .@a++ ) { if(getequipid(.equiploc[.@a])>-1) { set .@menu$, .@menu$+.eqp$[.@a]+"- [^0000FF"+getitemname(getequipid(.equiploc[.@a]))+"^000000]:"; } else { set .@menu$, .@menu$+"^adb4be"+.eqp$[.@a]+"- [Empty]^000000:"; } } select(.@menu$); set .@eq_loc, .equiploc[@menu-1]; set .@eq_itm, getequipid(.@eq_loc); if(.@eq_itm<0) { mes .npc$; mes "Hmm, I don't think you have anything equipped there."; close; } set .@menu$, ""; set(.@eq,(getiteminfo(.@eq_itm,2)==4?4:.@eq_loc)); for(set(.@b,0);.@b<getarraysize(getd(".itm"+.@eq));set(.@b,.@b+1)) { set(.@items,getd(".itm"+.@eq+"["+.@b+"]")); if(getiteminfo(.@items,2)>-1) if(set(.@c,countitem(.@items))) { set .@menu$, .@menu$+getitemname(.@items)+" x"+.@c+":"; set .@b,.@b+1; set .@item[.@b], .@items; } } if(.@menu$=="") { mes .npc$; mes "Hmm, you don't seem to have any enchantment orbs for that equipment."; close; } mes .npc$; mes "Please, select an enchantment from the menu."; next; select(.@menu$); set .@itm, .@item[@menu]; set .@menu$, ""; set .@a, 0; while((set(.@a,.@a+1)-1)<4) { setd(".@crd"+.@a, getequipcardid(.@eq_loc,.@a-1)); if(getequipcardid(.@eq_loc,.@a-1)) set .@menu$, .@menu$+.@a+.crd_c$[.@a-1]+" Slot- [^a92435"+getitemname(getequipcardid(.@eq_loc,.@a-1))+"^000000]:"; else set .@menu$, .@menu$+.@a+.crd_c$[.@a-1]+" Slot- [^30ad25Empty^000000]:"; } mes .npc$; mes "Select a slot."; next; set(.@slot,select(.@menu$)-1); set .@eqrf, getequiprefinerycnt(.@eq_loc); if(getequipcardid(.@eq_loc,.@slot)) { getitem getequipcardid(.@eq_loc,.@slot),1; delitem2 .@eq_itm, 1, 1, .@eqrf, 0, .@crd1, .@crd2, .@crd3, .@crd4; setd(".@crd"+@menu, 0); getitem2 .@eq_itm, 1, 1, .@eqrf, 0, .@crd1, .@crd2, .@crd3, .@crd4; close; } if(rand(101)>.perc[.@slot]) { mes .npc$; mes "I'm sorry but I've failed you!"; misceffect 155; emotion e_sob,0; set Zeny,Zeny-.pric; close; } set Zeny,Zeny-.pric; delitem .@itm,1; delitem2 .@eq_itm, 1, 1, .@eqrf, 0, .@crd1, .@crd2, .@crd3, .@crd4; setd(".@crd"+@menu, .@itm); getitem2 .@eq_itm, 1, 1, .@eqrf, 0, .@crd1, .@crd2, .@crd3, .@crd4; misceffect .efet; emotion e_no1,0; mes .npc$; mes "All done!"; equip .@eq_itm; close; //NPC Constants OnInit: //=-=-=-=-=-=-=Configuration=-=-=-=-=-=-= set .npc$ , "[^0000FFEnchant Expert^000000]"; // NPC Name set .pric , 1000000; // Price set .efet , 154; // Effect Number setarray .perc , 100,80,50,10; // Percent slot setarray .crd_c$, "st", "nd", "rd", "th"; // Count setarray .itm32 , 29101; // Sheilds setarray .itm16 , 29101; // Armor setarray .itm4 , 29101; // Garment setarray .itm64 , 29101; // Footgear setarray .itm128 , 29101; // Accessory1 setarray .itm10 , 29101; // Accessory2 setarray .itm2 , 29101; // Weapon setarray .itm1 , 29101; // Low Headgear setarray .itm512 , 29101; // Mid Headgear setarray .itm256 , 29101; // Upper Headgear setarray .eqp$ , "Upper Headgear", "Mid Headgear", "Low Headgear", "Armor", "Left Hand", "Right Hand", "Garment", "Shoes", "Accessory1", "Accessory2"; setarray .equiploc, EQI_HEAD_TOP, EQI_HEAD_MID, EQI_HEAD_LOW, EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_GARMENT, EQI_SHOES, EQI_ACC_L, EQI_ACC_R; set .e_len , getarraysize(.eqp$); //=-=-=-=-=-=-=-=-Skorm-=-=-=-=-=-=-=-=-= }
×
×
  • Create New...