blazi10 37 Report post Posted February 2, 2017 Any one Know how fix it? It happened after make one new Gem, i was following a guide from pkodev so im sure on 95% i did all right, Any one Know? help if you can, Thanks. Quote Share this post Link to post Share on other sites
Julio 21 Report post Posted February 2, 2017 (edited) Did you add the new gem to Stoneinfo? ex: 87 Curse Rune 8523 26,0,0 1 ItemHint_WuZhouFW Edited February 2, 2017 by Julio Quote Share this post Link to post Share on other sites
blazi10 37 Report post Posted February 2, 2017 Yes i did Quote Share this post Link to post Share on other sites
Methz 2 Report post Posted February 2, 2017 Maybe you forgot to modify the client. Try to: Follow X:\Your Client Name\scripts\lua\table and open scripts.lua You'll see something like this: function ItemHint_GGW ( Lv ) local eff = Lv * 6 local Hint ="Gem Bonus Agility +"..eff return Hint end Copy and past below changing to the gem information you created. Example: function ItemHint_XxxX ( Lv ) -- Same name of your gem in StoneInfo.txt local eff = Lv * X -- Number of attributes the gem gives local Hint ="Gem Bonus xXxXXxx +"..eff -- Attribute Description return Hint end If not, you probably forgot to fill in some part, filled it wrong, or did not compile StoneInfo.txt.... Quote “So the problem is not so much to see what nobody has yet seen, as to think what nobody has yet thought concerning that which everybody sees.” ― Arthur Schopenhauer Share this post Link to post Share on other sites
Julio 21 Report post Posted February 2, 2017 Review StoneTpye_ID, StoneEffType, StoneItemType, StoneEff, StoneAttrType Quote Share this post Link to post Share on other sites
blazi10 37 Report post Posted February 2, 2017 In variable.lua all is fine, tommorow i will try with it what Methz said Quote Share this post Link to post Share on other sites
Julio 21 Report post Posted February 2, 2017 You can forge a gem even if you do not have stoneinfo compiled on the client For it is a visual part If you are forging as an "error" is to create the missing part thrown by @Methz Quote Share this post Link to post Share on other sites
blazi10 37 Report post Posted February 2, 2017 Hmm when i forge all is fine, stats add, but with new gems no see what's add, so i need fix it Just not showing information about bonus Gem, and no calculate them automathicly Quote Share this post Link to post Share on other sites
Julio 21 Report post Posted February 2, 2017 Nice. bro! 1 Quote Share this post Link to post Share on other sites
blazi10 37 Report post Posted February 2, 2017 Here's topic about gems, so question can be: how i can increasse max lvl chip gems from 3 to 9? Im using 1.36 files and in forge lua cant see function about max lvl Gem, Any ideas? Quote Share this post Link to post Share on other sites
Methz 2 Report post Posted February 3, 2017 4 hours ago, blazi10 said: Here's topic about gems, so question can be: how i can increasse max lvl chip gems from 3 to 9? Im using 1.36 files and in forge lua cant see function about max lvl Gem, Any ideas? I think you can change that looking for function can_unite_item_main ( Table ) in forge.lua 1 Quote “So the problem is not so much to see what nobody has yet seen, as to think what nobody has yet thought concerning that which everybody sees.” ― Arthur Schopenhauer Share this post Link to post Share on other sites
blazi10 37 Report post Posted February 3, 2017 2 hours ago, Methz said: I think you can change that looking for function can_unite_item_main ( Table ) in forge.lua I trying find but in 1.36 files no information about lvl 3 or 9 chipped Gem Quote Share this post Link to post Share on other sites
Methz 2 Report post Posted February 3, 2017 8 minutes ago, blazi10 said: I trying find but in 1.36 files no information about lvl 3 or 9 chipped Gem So try to looking for to the gem ID, error messages, parts of codes, functions.... Examples: if ItemID2 >= 6817 and ItemID2 <= 6831 then "Gem can improved to level 3 at most." Get_StoneLv >=3 If nothing works, maybe you need to change your server file. Quote “So the problem is not so much to see what nobody has yet seen, as to think what nobody has yet thought concerning that which everybody sees.” ― Arthur Schopenhauer Share this post Link to post Share on other sites
blazi10 37 Report post Posted February 3, 2017 8 hours ago, Methz said: I think you can change that looking for function can_unite_item_main ( Table ) in forge.lua Here you have my function can_unite_item_main (Table): function can_unite_item_main ( Table ) -- SystemNotice ( Table[1] , "Entering combining main function") local role = 0 local ItemBag = {} --µŔľß±ł°üλÖĂ local ItemCount = {} --µŔľßĘýÁż local ItemBagCount = {} --µŔľß¶ÔĎóĘýÁż local Get_Count = 4 local ItemReadCount = 0 local ItemReadNow = 1 local ItemReadNext = 0 local ItemBag_Now = 0 local ItemCount_Now = 0 local ItemBagCount_Num = 0 -- SystemNotice( arg[1] , "start transfer parameter analysis") role , ItemBag , ItemCount , ItemBagCount , ItemBag_Now , ItemCount_Now , ItemBagCount_Num = Read_Table ( Table ) -- for kkk = 0 , 2 , 1 do -- SystemNotice ( role , ItemBagCount[kkk]) -- SystemNotice ( role , ItemBag[kkk]) -- SystemNotice ( role , ItemCount[kkk]) -- end -- Notice(role , "11111") local i = 0 for i = 0 , 2 , 1 do --ĹжϵŔľß¶ÔĎó¸öĘýşÍµŔľß¸öĘýĘÇ·ńşÍ·¨ if ItemBagCount[i] ~= 1 or ItemCount[i] ~= 1 then -- SystemNotice( role , "ItemBagCount[i] = "..ItemBagCount[i]) -- SystemNotice( role , "ItemCount[i] = "..ItemCount[i]) SystemNotice( role , "Item target unit and item unit illegal") return 0 end end local BagItem1 = ItemBag [0] local BagItem2 = ItemBag [1] local BagItem3 = ItemBag [2] local Item1 = GetChaItem ( role , 2 , BagItem1 ) --ȡµŔľßÖ¸Őë local Item2 = GetChaItem ( role , 2 , BagItem2 ) local Item3 = GetChaItem ( role , 2 , BagItem3 ) local ItemID1 = GetItemID ( Item1 ) --ȡµŔľß±ŕşĹ local ItemID2 = GetItemID ( Item2 ) local ItemID3 = GetItemID ( Item3 ) local ItemType1 = GetItemType ( Item1 ) local ItemType2 = GetItemType ( Item2 ) local ItemType3 = GetItemType ( Item3 ) if ItemType1 ~= 47 then --ĹжϾíÖáĘÇ·ńŐýČ· SystemNotice( role ,"This is not a combining scroll") return 0 end if ItemType2 ~= 49 or ItemType3 ~= 49 then --ĹжĎĘÇ·ńĘDZ¦ĘŻ if ItemType2 ~= 50 or ItemType3 ~= 50 then SystemNotice( role , "This is not a Gem") return 0 end end if ItemID2 ~= ItemID3 then --ĹжĎÁ˝¸ö±¦ĘŻĘÇ·ńͬŔŕ SystemNotice(role ,"Gem mismatch") return 0 end local Item2_Lv = Get_StoneLv ( Item2 ) --ȡ±¦ĘŻµČĽ¶ local Item3_Lv = Get_StoneLv ( Item3 ) if ItemType2 == 49 and ItemType3 == 49 then if Item2_Lv >= 9 or Item3_Lv >= 9 then SystemNotice ( role , "Gem Lv max") return 0 end end if Item2_Lv ~= Item3_Lv then SystemNotice(role ,"Level of 2 gems does not match") return 0 end -- SystemNotice ( role , "determination successful") local Money_Need = getunite_money_main ( Table ) local Money_Have = GetChaAttr ( role , ATTR_GD ) if Money_Need > Money_Have then SystemNotice( role ,"Insufficient gold. Unable to combine") return 0 end return 1 end Quote Share this post Link to post Share on other sites
Methz 2 Report post Posted February 3, 2017 I don't know why... Quote “So the problem is not so much to see what nobody has yet seen, as to think what nobody has yet thought concerning that which everybody sees.” ― Arthur Schopenhauer Share this post Link to post Share on other sites
Guest Report post Posted February 3, 2017 Client side issue: root -> client -> scripts -> lua -> table Quote Share this post Link to post Share on other sites
blazi10 37 Report post Posted February 3, 2017 2 hours ago, qwerty said: Client side issue: root -> client -> scripts -> lua -> table Fixed with help Metz but Thanks Quote Share this post Link to post Share on other sites