terrorr 15 Posted March 9, 2016 Share Posted March 9, 2016 Hi I have problem with offlineshop bonus attr. When I add item to offlineshop with full 1-7 bonus then bonus are crash. Just when I close my shop and items come back or delete item from shop, items are bugged, bonus in this item are crash or disaper, also I can't change bonus in this item. This is the movie where is the problem. Please help me about this or add some fix for that. Thank you, regards. Link to comment Share on other sites More sharing options...
JIntors 8 Posted March 9, 2016 Share Posted March 9, 2016 check your database table see if it have all columns. PS: you must buy the shops from ken if you want help. ! 1 Link to comment Share on other sites More sharing options...
Maslovicz 76 Posted March 9, 2016 Share Posted March 9, 2016 KEN is supporting this system. If you have purchased this system from KEN write him message about help. If not, shut up. Link to comment Share on other sites More sharing options...
terrorr 15 Posted March 9, 2016 Author Share Posted March 9, 2016 UP ! Shut up!? Bro I'm not your buddy. Shut up you can say to you mother or to you father,ok?. Right this system is from Ken but I don't know that if this one is for pay. In many comunity is for free. I think Ken should be intresting where his system is public. If is scam , he have to report this bro. I just wanna fix for this attr guys, maybe I don't wanna public this system in oficial server,aaaa? If you don't wanna hel me please be silent. Please help some one who can help, ok? In topic please or private message. #Push 1 Link to comment Share on other sites More sharing options...
Maslovicz 76 Posted March 9, 2016 Share Posted March 9, 2016 On 9. 3. 2016 at 1:53 PM, terrorr said: UP ! Shut up!? Bro I'm not your buddy. Shut up you can say to you mother or to you father,ok?. Right this system is from Ken but I don't know that if this one is for pay. In many comunity is for free. I think Ken should be intresting where his system is public. If is scam , he have to report this bro. I just wanna fix for this attr guys, maybe I don't wanna public this system in oficial server,aaaa? If you don't wanna hel me please be silent. Please help some one who can help, ok? In topic please or private message. #Push Yes on poor communities with few members with all stolen content? Link to comment Share on other sites More sharing options...
RealReznov 15 Posted March 9, 2016 Share Posted March 9, 2016 Hi I had this attr bug too. I'v solved it. It was simple, but hard to find what is wrong. In offline shop config files (in core folders), the socket default is 4. Change it to the real number. (max socket = max stone = default 3) I've solved 6-7 bonuses too. If you have the latest public file just see char.cpp: Search for this: char szColumns[QUERY_MAX_LEN], szValues[QUERY_MAX_LEN]; And make it like this below: char szColumns[QUERY_MAX_LEN], szValues[QUERY_MAX_LEN]; int iLen = snprintf(szColumns, sizeof(szColumns), "id,owner_id,pos,count,price,vnum"); int iUpdateLen = snprintf(szValues, sizeof(szValues), "%u,%u,%d,%u,%u,%u", pkItem->GetID(), GetPlayerID(), (pTable + i)->display_pos, pkItem->GetCount(), (pTable + i)->price, pkItem->GetVnum()); iLen += snprintf(szColumns + iLen, sizeof(szColumns) - iLen, ",socket0,socket1,socket2"); iUpdateLen += snprintf(szValues + iUpdateLen, sizeof(szValues) - iUpdateLen, ",%ld,%ld,%ld", pkItem->GetSocket(0), pkItem->GetSocket(1), pkItem->GetSocket(2)); iLen += snprintf(szColumns + iLen, sizeof(szColumns) - iLen, ",attrtype0,attrvalue0,attrtype1,attrvalue1,attrtype2,attrvalue2,attrtype3,attrvalue3,attrtype4,attrvalue4,attrtype5,attrvalue5,attrtype6,attrvalue6"); iUpdateLen += snprintf(szValues + iUpdateLen, sizeof(szValues) - iUpdateLen, ",%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d", pkItem->GetAttributeType(0), pkItem->GetAttributeValue(0), pkItem->GetAttributeType(1), pkItem->GetAttributeValue(1), pkItem->GetAttributeType(2), pkItem->GetAttributeValue(2), pkItem->GetAttributeType(3), pkItem->GetAttributeValue(3), pkItem->GetAttributeType(4), pkItem->GetAttributeValue(4), pkItem->GetAttributeType(5), pkItem->GetAttributeValue(5), pkItem->GetAttributeType(6), pkItem->GetAttributeValue(6)); char szInsertQuery[QUERY_MAX_LEN]; snprintf(szInsertQuery, sizeof(szInsertQuery), "INSERT INTO %soffline_shop_item (%s) VALUES (%s)", get_table_postfix(), szColumns, szValues); std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery(szInsertQuery)); pkItem->RemoveFromCharacter(); If doesn't works, than you doesn't have latest files, then PM me. P.S. I don't want to fight anyone who had buy or not the system, It's everyone own business, and conscience. Peace 1 Link to comment Share on other sites More sharing options...
terrorr 15 Posted March 9, 2016 Author Share Posted March 9, 2016 RealReznov Ok I gonna try it and I gonna let you know. Thanks for your reply brother... Edit: Fixed. Thank you very much my friend. 1 Link to comment Share on other sites More sharing options...
Curinga 1 Posted September 19, 2016 Share Posted September 19, 2016 On 09/03/2016 at 5:48 PM, terrorr said: RealReznov Ok I gonna try it and I gonna let you know. Thanks for your reply brother... Edit: Fixed. Thank you very much my friend. @terrorr who you fix? i make the @RealReznov changes fix in server but no fix visual. if i see looks bad attr but if i buy the attr fix. You know if i need change something in client? Link to comment Share on other sites More sharing options...
terrorr 15 Posted September 19, 2016 Author Share Posted September 19, 2016 8 hours ago, Curinga said: @terrorr who you fix? i make the @RealReznov changes fix in server but no fix visual. if i see looks bad attr but if i buy the attr fix. You know if i need change something in client? Set for just 3 socket. 1 Link to comment Share on other sites More sharing options...
Curinga 1 Posted September 20, 2016 Share Posted September 20, 2016 no need realreznov fix? Link to comment Share on other sites More sharing options...
terrorr 15 Posted September 20, 2016 Author Share Posted September 20, 2016 3 hours ago, Curinga said: no need realreznov fix? You need it. Link to comment Share on other sites More sharing options...
Curinga 1 Posted September 21, 2016 Share Posted September 21, 2016 unfortly my probleme presist. I add one item with for example 1 single bonus bonus vs animal 4%. but in weapon information show inteligence 10%. looks like the information no begin in attr_type0 but begin in attr value0. but in sql the information is good and if i remove the item the item is good. Only visual bug :S Link to comment Share on other sites More sharing options...
timsah724 0 Posted May 30, 2017 Share Posted May 30, 2017 (edited) How is 4 stone compatible? 4 stones bonus attr bug Edited September 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
timsah724 0 Posted May 31, 2017 Share Posted May 31, 2017 up Link to comment Share on other sites More sharing options...
timsah724 0 Posted May 31, 2017 Share Posted May 31, 2017 (edited) The market is settled down. help please i using 4 stones system Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
timsah724 0 Posted June 1, 2017 Share Posted June 1, 2017 up Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now