• 🎉 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
43
1
0
6

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: 90
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
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?
 
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock