• 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

Not answered Sanii switchbot, small problem

Member
Oct
Threads
2
41
1
0
6
HubMoney
436

AD: Mt2009 - Mobile & PC - 30 January 2026 CHECK THE PRESENTATION!

Hi!
I added sanii switchbot and if i put an item in switchbot and i teleport the item will be equiped usually not as intended. I saw a topic with same problem and the fix was the clientmanagerplayer.cpp but i couldn't fix it, can someone help me?
 

Attachments

  • fura.PNG
    fura.PNG
    54.6 KB · Views: 88
Solution
do you have a solution for this?
I could fix it. Previous person helped me. As i mentioned the problem was in the clientmanagerplayer.cpp. In the tutorial the coding was a bit different(bad).

Here is an example as a solution:
snprintf(queryStr, sizeof(queryStr),
"SELECT id,window+0,pos,count,vnum,socket0, socket1, socket2,attrtype0,attrvalue0,attrtype1,attrvalue1,attrtype2,attrvalue2,attrtype3,attrvalue3,attrtype4,attrvalue4,attrtype5,attrvalue5,attrtype6,attrvalue6 "
"FROM item%s WHERE owner_id=%d AND (window in ('INVENTORY','EQUIPMENT','DRAGON_SOUL_INVENTORY','BELT_INVENTORY','SWITCHBOT'))",
GetTablePostfix(), packet->player_id)...
Member
Jun
Threads
2
53
2
8
HubMoney
201
same problem and moreover it continues to spin the bonuses if it is active, but my clientmanagerplayer.cpp is fine, any suggestions to solve the problem?