testtest 1 Posted August 28, 2015 Share Posted August 28, 2015 (edited) Hi there Devs, I Yang/ gold 0 problem ? Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Sr.Agente 24 Posted August 30, 2015 Share Posted August 30, 2015 (edited) Everthing work for my thank you very much. Edited August 30, 2015 by Sr.Agente Link to comment Share on other sites More sharing options...
tigerstefan 4 Posted August 31, 2015 Share Posted August 31, 2015 IGSHOP_MYSQL_READING_ERROR!_RET_ZERO this is what i get in game when i click on tradehouse. Link to comment Share on other sites More sharing options...
testtest 1 Posted August 31, 2015 Share Posted August 31, 2015 system bug!' Link to comment Share on other sites More sharing options...
TheSLZ 105 Posted September 3, 2015 Share Posted September 3, 2015 system bug!' I don't think so. Link to comment Share on other sites More sharing options...
AlCapone 67 Posted September 3, 2015 Share Posted September 3, 2015 (edited) Why ? I put the things whit the rights tabs like are in download.. Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Sr.Agente 24 Posted September 3, 2015 Share Posted September 3, 2015 system bug!' for me everything is working and very well 1 Link to comment Share on other sites More sharing options...
tigerstefan 4 Posted September 5, 2015 Share Posted September 5, 2015 It works great but a little question how to make the system you see you can put in gold more then 2kkk and if somewone has an item sell with 5kkk and i have 6kkk i cannot buy it doesen show me the button for buy. How can i make buy-able items with any price? 1 Link to comment Share on other sites More sharing options...
pfanner 2 Posted September 5, 2015 Share Posted September 5, 2015 how can i fix that 2 problems:-a) if i want to sell an item for 2.000.000.000 yang the final number will be 2000000000 without the "points . . . " is it possible to fix that? i really hate those numbers without a "step point"-b) is it possible to fix the problem that if someone want to buy an item first must "charge" the trade house with yang...dragging them into the tradehouse? isn t possible to make it directly from the inventory? Link to comment Share on other sites More sharing options...
TheSLZ 105 Posted September 5, 2015 Share Posted September 5, 2015 (edited) You can edit 2kkk check in the quest.. I have 999kkk and edited to it and works fine. Alcapone, i think you missed to edit ui.py. Edited September 5, 2015 by TheSLZ Link to comment Share on other sites More sharing options...
tigerstefan 4 Posted September 5, 2015 Share Posted September 5, 2015 You can edit 2kkk check in the quest.. I have 999kkk and edited to it and works fine. Where in the quest?if you dont mind 1 Link to comment Share on other sites More sharing options...
pfanner 2 Posted September 5, 2015 Share Posted September 5, 2015 yeah where is that quest? 1 Link to comment Share on other sites More sharing options...
Damixxx0101 6 Posted September 22, 2015 Share Posted September 22, 2015 (edited) . Edited September 22, 2015 by Damixxx0101 Link to comment Share on other sites More sharing options...
Damixxx0101 6 Posted September 22, 2015 Share Posted September 22, 2015 (edited) how to deposit gold in video i no see .. Edited September 22, 2015 by Damixxx0101 Link to comment Share on other sites More sharing options...
Premium masodikbela 1359 Posted September 23, 2015 Author Premium Share Posted September 23, 2015 how to deposit gold in video i no see .. You can find a button for this in the My sales or in the Purchases category (I'm not sure now which one). Sorry guys for the no answers, but I'm don't have much time, but soon I will answer all. Also, I didn't forget about your comment @Night I have a longer explanation for that long and ugly c++ function, and also have a question/suggestion to your idea, so I will definitely answer this ASAP. The one and only UI programming guideline Link to comment Share on other sites More sharing options...
Damixxx0101 6 Posted September 24, 2015 Share Posted September 24, 2015 (edited) ok i find it haha:D go to sell items and put gold bar Thanks for this system its rlly nice Edited September 24, 2015 by Damixxx0101 Link to comment Share on other sites More sharing options...
luchetto9612 0 Posted September 27, 2015 Share Posted September 27, 2015 (edited) my error is this: https://metin2.download/picture/Bps22oqdKY28BgSVk8Zg3w538uF4m7CB/.gif i open windows every time i click on the categories etc. Edited August 15, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium masodikbela 1359 Posted September 27, 2015 Author Premium Share Posted September 27, 2015 You forgot to add the INPUT_IGNORE, or you didn't set it up properly. In the game.py the OpenQuestWindow should look like this: def OpenQuestWindow(self, skin, idx): if constInfo.INPUT_IGNORE == 1: return self.interface.OpenQuestWindow(skin, idx) The one and only UI programming guideline Link to comment Share on other sites More sharing options...
skill178 19 Posted October 4, 2015 Share Posted October 4, 2015 (edited) help plis!! error do not leave the bonus items to pass up https://metin2.download/picture/Sn61z4vXvfBX1G4U9VVVVadEzN6lEwPZ/.png Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
valessio 13 Posted November 8, 2015 Share Posted November 8, 2015 can someone help me please-if i move my mouse cursor over an item inside trade house system , i can NOT see any name\bonuses\stones its like if the function that allows you to see the proprieties of an item inside this trade house is missing.-when i sell an item, then i go to "MY SALES" then i "TAKE OUT" my item , it get duped infinite times. its doesnt get delete from "MY SALES"-how can i add divisor points when i buy a gold yang item it looks now xxxxxxxxxxxx gold instead of xxx.xxx.xxx.xxx.xxx Link to comment Share on other sites More sharing options...
valessio 13 Posted November 9, 2015 Share Posted November 9, 2015 up help me , i need to fix just 1 of the 3 bugs i reported-if i move my mouse cursor over an item inside trade house system , i can NOT see any name\bonuses\stones its like if the function that allows you to see the proprieties of an item inside this trade house is missing. Link to comment Share on other sites More sharing options...
Traktorzysta 17 Posted December 3, 2015 Share Posted December 3, 2015 Can someone explain values in this function: function add_items(maxpage, page, items, itemsOnLastPage, group) if page <= 0 then page = 1 end if page > maxpage then page = maxpage end local from = (page - 1)*5 + 1 local to = 0 if maxpage > page then to = ((page - 1 )*5) + 5 else to = ((page - 1)*5) + itemsOnLastPage end local slot = 1 local item local commandL if group == "my_buys" then commandL = "IGShop_BOUGHTITEMS" elseif group == "my_sales" then commandL = "IGShop_MYSALES" else commandL = "IGShop_ITEMS" end for i = from, to do item = split_(items,"#") if igshopEnableTrade then if group == "get_trade_items" then cmdchat("trade.GetTradeItems "..slot.." "..item[1].." "..item[2].." "..item[3].." "..item[4].." "..item[5].." "..item[6].." "..item[7].." "..item[8].." "..item[9].." "..item[10].." "..item[11].." "..item[12].." "..item[13].." "..item[14].." "..item[15].." "..item[16].." "..item[17].." "..item[18].." "..item[19].." "..item[20].." "..item[21].." "..item[22].." "..item[23].." "..item[24]) else cmdchat(commandL.." "..slot.." "..item[1].." "..item[2].." "..item[3].." "..item[4].." "..item[5].." "..item[6].." "..item[4+3]..' '..item[5+3]..' '..item[6+3]..' '..item[7+3]..' '..item[8+3]..' '..item[9+3]..' '..item[10+3]..' '..item[11+3]..' '..item[12+3]..' '..item[13+3]..' '..item[14+3]..' '..item[15+3]..' '..item[16+3]..' '..item[17+3]..' '..item[18+3]..' '..item[19+3]..' '..item[20+3]..' '..item[21+3]..' '..item[22+3]..' '..item[23+3]..' '..item[28]..' '..mb_igshop.IsTradeItem(item[1])) end else cmdchat(commandL.." "..slot.." "..item[1].." "..item[2].." "..item[3].." "..item[4].." "..item[5].." "..item[6].." "..item[4+3]..' '..item[5+3]..' '..item[6+3]..' '..item[7+3]..' '..item[8+3]..' '..item[9+3]..' '..item[10+3]..' '..item[11+3]..' '..item[12+3]..' '..item[13+3]..' '..item[14+3]..' '..item[15+3]..' '..item[16+3]..' '..item[17+3]..' '..item[18+3]..' '..item[19+3]..' '..item[20+3]..' '..item[21+3]..' '..item[22+3]..' '..item[23+3]..' '..item[28]..' -1') end -- 1. slot, 2. item id, 3. item vnum, 4. item count, 5. owner name, 6. price se, 7. price yang slot = slot + 1 end end Why in else values+3? I need change this function for 4socket and 6 attr+2rare Link to comment Share on other sites More sharing options...
Premium masodikbela 1359 Posted December 3, 2015 Author Premium Share Posted December 3, 2015 33 minutes ago, Traktorzysta said: Can someone explain values in this function: function add_items(maxpage, page, items, itemsOnLastPage, group) if page <= 0 then page = 1 end if page > maxpage then page = maxpage end local from = (page - 1)*5 + 1 local to = 0 if maxpage > page then to = ((page - 1 )*5) + 5 else to = ((page - 1)*5) + itemsOnLastPage end local slot = 1 local item local commandL if group == "my_buys" then commandL = "IGShop_BOUGHTITEMS" elseif group == "my_sales" then commandL = "IGShop_MYSALES" else commandL = "IGShop_ITEMS" end for i = from, to do item = split_(items,"#") if igshopEnableTrade then if group == "get_trade_items" then cmdchat("trade.GetTradeItems "..slot.." "..item[1].." "..item[2].." "..item[3].." "..item[4].." "..item[5].." "..item[6].." "..item[7].." "..item[8].." "..item[9].." "..item[10].." "..item[11].." "..item[12].." "..item[13].." "..item[14].." "..item[15].." "..item[16].." "..item[17].." "..item[18].." "..item[19].." "..item[20].." "..item[21].." "..item[22].." "..item[23].." "..item[24]) else cmdchat(commandL.." "..slot.." "..item[1].." "..item[2].." "..item[3].." "..item[4].." "..item[5].." "..item[6].." "..item[4+3]..' '..item[5+3]..' '..item[6+3]..' '..item[7+3]..' '..item[8+3]..' '..item[9+3]..' '..item[10+3]..' '..item[11+3]..' '..item[12+3]..' '..item[13+3]..' '..item[14+3]..' '..item[15+3]..' '..item[16+3]..' '..item[17+3]..' '..item[18+3]..' '..item[19+3]..' '..item[20+3]..' '..item[21+3]..' '..item[22+3]..' '..item[23+3]..' '..item[28]..' '..mb_igshop.IsTradeItem(item[1])) end else cmdchat(commandL.." "..slot.." "..item[1].." "..item[2].." "..item[3].." "..item[4].." "..item[5].." "..item[6].." "..item[4+3]..' '..item[5+3]..' '..item[6+3]..' '..item[7+3]..' '..item[8+3]..' '..item[9+3]..' '..item[10+3]..' '..item[11+3]..' '..item[12+3]..' '..item[13+3]..' '..item[14+3]..' '..item[15+3]..' '..item[16+3]..' '..item[17+3]..' '..item[18+3]..' '..item[19+3]..' '..item[20+3]..' '..item[21+3]..' '..item[22+3]..' '..item[23+3]..' '..item[28]..' -1') end -- 1. slot, 2. item id, 3. item vnum, 4. item count, 5. owner name, 6. price se, 7. price yang slot = slot + 1 end end Why in else values+3? I need change this function for 4socket and 6 attr+2rare If you check the game.py, you can see the value names exactly. For the line starts with cmdchat("trade.GetTradeItems see def _IGShopGetTradeItem. For the others see def _IGShopItems. The one and only UI programming guideline Link to comment Share on other sites More sharing options...
Traktorzysta 17 Posted December 3, 2015 Share Posted December 3, 2015 Ok i change function: for i = from, to do item = split_(items,"#") if igshopEnableTrade then if group == "get_trade_items" then cmdchat("trade.GetTradeItems "..slot.." "..item[1].." "..item[2].." "..item[3].." "..item[4].." "..item[5].." "..item[6].." "..item[7].." "..item[8].." "..item[9].." "..item[10].." "..item[11].." "..item[12].." "..item[13].." "..item[14].." "..item[15].." "..item[16].." "..item[17].." "..item[18].." "..item[19].." "..item[20].." "..item[21].." "..item[22].." "..item[23].." "..item[24].." "..item[25].." "..item[26]) else cmdchat(commandL.." "..slot.." "..item[1].." "..item[2].." "..item[3].." "..item[4].." "..item[5].." "..item[6].." "..item[4+3]..' '..item[5+3]..' '..item[6+3]..' '..item[7+3]..' '..item[8+3]..' '..item[9+3]..' '..item[10+3]..' '..item[11+3]..' '..item[12+3]..' '..item[13+3]..' '..item[14+3]..' '..item[15+3]..' '..item[16+3]..' '..item[17+3]..' '..item[18+3]..' '..item[19+3]..' '..item[20+3]..' '..item[21+3]..' '..item[22+3]..' '..item[23+3]..' '..item[24+3]..' '..item[25+3]..' '..item[30]..' '..mb_igshop.IsTradeItem(item[1])) end else cmdchat(commandL.." "..slot.." "..item[1].." "..item[2].." "..item[3].." "..item[4].." "..item[5].." "..item[6].." "..item[4+3]..' '..item[5+3]..' '..item[6+3]..' '..item[7+3]..' '..item[8+3]..' '..item[9+3]..' '..item[10+3]..' '..item[11+3]..' '..item[12+3]..' '..item[13+3]..' '..item[14+3]..' '..item[15+3]..' '..item[16+3]..' '..item[17+3]..' '..item[18+3]..' '..item[19+3]..' '..item[20+3]..' '..item[21+3]..' '..item[22+3]..' '..item[23+3]..' '..item[24+3]..' '..item[25+3]..' '..item[30]..' -1') end -- 1. slot, 2. item id, 3. item vnum, 4. item count, 5. owner name, 6. price se, 7. price yang slot = slot + 1 end end Syserr: SYSERR: Dec 3 17:40:13 :: RunState: LUA_ERROR: locale/poland/quest/object/state/mb_igshop:1326: attempt to concatenate field `?' (a nil value) SYSERR: Dec 3 17:40:13 :: WriteRunningStateToSyserr: LUA_ERROR: quest mb_igshop.start letter SYSERR: Dec 3 17:40:15 :: RunState: LUA_ERROR: locale/poland/quest/object/state/mb_igshop:1326: attempt to concatenate field `?' (a nil value) SYSERR: Dec 3 17:40:15 :: WriteRunningStateToSyserr: LUA_ERROR: quest mb_igshop.start letter SYSERR: Dec 3 17:40:22 :: RunState: LUA_ERROR: locale/poland/quest/object/state/mb_igshop:1326: attempt to concatenate field `?' (a nil value) SYSERR: Dec 3 17:40:22 :: WriteRunningStateToSyserr: LUA_ERROR: quest mb_igshop.start letter SYSERR: Dec 3 17:40:48 :: RunState: LUA_ERROR: locale/poland/quest/object/state/mb_igshop:1214: attempt to concatenate field `?' (a nil value) SYSERR: Dec 3 17:40:48 :: WriteRunningStateToSyserr: LUA_ERROR: quest mb_igshop.start letter line 1326: open : write ( items [ i ] [ 1 ] .. "#" .. items [ i ] [ 2 ] .. "#" .. items [ i ] [ 3 ] .. "#" .. items [ i ] [ 4 ] .. "#" .. items [ i ] [ 5 ] .. "#" .. items [ i ] [ 6 ] .. "#" .. items [ i ] [ 7 ] .. "#" .. items [ i ] [ 8 ] .. "#" .. items [ i ] [ 9 ] .. "#" .. items [ i ] [ 10 ] .. "#" .. items [ i ] [ 11 ] .. "#" .. items [ i ] [ 12 ] .. "#" .. items [ i ] [ 13 ] .. "#" .. items [ i ] [ 14 ] .. "#" .. items [ i ] [ 15 ] .. "#" .. items [ i ] [ 16 ] .. "#" .. items [ i ] [ 17 ] .. "#" .. items [ i ] [ 18 ] .. "#" .. items [ i ] [ 19 ] .. "#" .. items [ i ] [ 20 ] .. "#" .. items [ i ] [ 21 ] .. "#" .. items [ i ] [ 22 ] .. "#" .. items [ i ] [ 23 ] .. "#" .. items [ i ] [ 24 ] .. "#" .. items [ i ] [ 25 ] .. "#" .. items [ i ] [ 26 ] .. "#" .. items [ i ] [ 27 ] .. "#" .. items [ i ] [ 28 ] .. "#" .. items [ i ] [ 29 ] .. "#" .. items [ i ] [ 30 ] .. "\n" ) end line 1214: open : write ( items [ i ] [ 1 ] .. "#" .. items [ i ] [ 2 ] .. "#" .. items [ i ] [ 3 ] .. "#" .. items [ i ] [ 4 ] .. "#" .. items [ i ] [ 5 ] .. "#" .. items [ i ] [ 6 ] .. "#" .. items [ i ] [ 7 ] .. "#" .. items [ i ] [ 8 ] .. "#" .. items [ i ] [ 9 ] .. "#" .. items [ i ] [ 10 ] .. "#" .. items [ i ] [ 11 ] .. "#" .. items [ i ] [ 12 ] .. "#" .. items [ i ] [ 13 ] .. "#" .. items [ i ] [ 14 ] .. "#" .. items [ i ] [ 15 ] .. "#" .. items [ i ] [ 16 ] .. "#" .. items [ i ] [ 17 ] .. "#" .. items [ i ] [ 18 ] .. "#" .. items [ i ] [ 19 ] .. "#" .. items [ i ] [ 20 ] .. "#" .. items [ i ] [ 21 ] .. "#" .. items [ i ] [ 22 ] .. "#" .. items [ i ] [ 23 ] .. "#" .. items [ i ] [ 24 ] .. "#" .. items [ i ] [ 25 ] .. "#" .. items [ i ] [ 26 ] .. "#" .. items [ i ] [ 27 ] .. "#" .. items [ i ] [ 28 ] .. "#" .. items [ i ] [ 29 ] .. "#" .. items [ i ] [ 30 ] .. "\n" ) end Link to comment Share on other sites More sharing options...
Premium masodikbela 1359 Posted December 3, 2015 Author Premium Share Posted December 3, 2015 The line that you see in the syserr is not equal to the line in the quest file. To see the line exactly go to: quest/object/state/ and open mb_igshop. Btw I think the problem caused by this line: item = split_(items,"#") Because it creates a table from the lines in the txt-s. So you have to change the line writer functions before you can test this one. The one and only UI programming guideline Link to comment Share on other sites More sharing options...
Recommended Posts