Jump to content

sader1992

Content Moderator
  • Posts

    1691
  • Joined

  • Last visited

  • Days Won

    77

Everything posted by sader1992

  1. 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
  2. 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
  3. 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
  4. screenshot where the line of the error before&after 10 lines PS: the error tell you the line not the item id
  5. [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
  6. 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
  7. 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 ?
  8. what the line you add in item db and item avail ?
  9. @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
  10. 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
  11. 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-=-=-=-=-=-=-=-=-= }
  12. i think you need different id
  13. on load custom lua file instead of iteminfo* .lub check there the problem must be there or you don't have the file you write it name there (use .lua not .lub file)
  14. yes you have to think where you want to put it and checkweight(969,.@gain) so it would be like this>> input .@gain; if (.@gain > gold){ // check if the player have the amount he want mes "you don't have that much"; close; }else if(checkweight(969,.@gain)){ getitem 969,.@gain; //give the player the item gold (the same amount as the input) gold = gold -.@gain; //take from the player the variable gold the same amount as the item gold }else{ goto L_OverWeight;}
  15. uncheck Change Walk To Delay Disable Walk To Delay in nemo
  16. - script autoloot_checker -1,{ OnPCLoadMapEvent: getmapxy .@ma$,.@ax,.@ay,0; if(.@ma$ == "payon") { atcommand "@autoloot 0"; } end; } payon mapflag loadevent
  17. getitem 969,.@gain; >>> this would give the player the amount he typed as item but you will need to check if the player have the variable gold or not so it's like that input .@gain; if (.@gain > gold){ // check if the player have the amount he want mes "you don't have that much"; close; }else{ getitem 969,.@gain; //give the player the item gold (the same amount as the input) gold = gold -.@gain; //take from the player the variable gold the same amount as the item gold }
  18. so you want from the npc to turn gold(the variable) to gold(the item) ?
  19. btw i did find the guide that file from if you want to follow it use the link in the guide as in the post the files size is +400mb and the kro files is +2gig
  20. i don't know this website but as i see it have a looooooot of ads i suggest you download rathena from github and find a guide to set up the server it's better for you there is a lot of guides to setup rathena server use google and you will find them like this you can find more here https://rathena.org/board/forum/24-installation-support/
  21. what the [ offline newbie package 2017] x.X ? git from here or download zip https://github.com/rathena/rathena
  22. delitem2 2589, 1, 1, .@refeq, 0, @card1, @card2, @card3, @card4; to delitem2 2589, 1, 1, .@refeq, 0, .@card1, .@card2, .@card3, .@card4; and .@card1 = getequipcardid(4,0); .@card2 = getequipcardid(4,1); .@card3 = getequipcardid(4,2); .@card4 = getequipcardid(4,3); to .@card1 = getequipcardid(EQI_GARMENT,0); .@card2 = getequipcardid(EQI_GARMENT,1); .@card3 = getequipcardid(EQI_GARMENT,2); .@card4 = getequipcardid(EQI_GARMENT,3); and getitem2 2589, 1, 1, .@refeq, 0, @card1, 0, 0, 0; to getitem2 2589, 1, 1, .@refeq, 0, .@card1, 0, 0, 0; not only on the reset option check all your script
  23. can you explain how you want your script to work ? what is (gold) ? i see it here it's var (it's not item it's variable) and why the *0 in (.@gain*0) if you can let us see the full script it would be better
  24. do you have the last kro ? (updated) ?
×
×
  • Create New...