Not answered Sanii switchbot, small problem



Thread Author
Member
Oct
Threads
2
43
1
0
6
Rating - 0%
0   0   0
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: 91
Solution
Rating - 0%
0   0   0
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
51
2
8
Rating - 0%
0   0   0
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?
 
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