Client - AoM
right click a player... no trade option
click drag item starts trade(as intended) item in trade window is busted and displays random numbers + wrong icon
cannot add items to trade with the prior stated method to initiate trade.
Trading Bug
Moderator: Team Members
Forum rules
READ THE STICKY ON PROPER BUG SUBMISSION FORMAT BEFORE POSTING.
READ THE STICKY ON PROPER BUG SUBMISSION FORMAT BEFORE POSTING.
-
neatz09
- Content Lead
- Posts: 136
- Joined: Sun Dec 09, 2018 12:55 pm
Trading Bug
You do not have the required permissions to view the files attached to this post.
-
Cadimiom
- Team: Zombie
- Posts: 74
- Joined: Wed Jul 25, 2007 2:31 pm
Re: Trading Bug
WS_PlayerTrade version 1 had a quantity (your_item_quantity and their_item_quantity) of int16, setting to int32 resolves the icon + quantity for sure and multiple items are working. I have not tested other clients so I just branched out a copy of the version 1 structure to 60114 for now on my own testing.
https://imgur.com/a/PN46BRt
obviously the right click trade feature is different, I added it as part of client.cpp Client::HandleVerbRequest below 'add to ignore list'
delete_commands.push_back(player->CreateEntityCommand("Trade", 10, "start_trade", "", 0, 0));
Not sure this is the best approach for adding the command though, seemed like you shouldn't trade with someone you ignored
Also the distance is way too extreme right now I am sure lol..
Edit: 10 or less for distance probably seems more reasonable. /shrug
https://imgur.com/a/PN46BRt
obviously the right click trade feature is different, I added it as part of client.cpp Client::HandleVerbRequest below 'add to ignore list'
delete_commands.push_back(player->CreateEntityCommand("Trade", 10, "start_trade", "", 0, 0));
Not sure this is the best approach for adding the command though, seemed like you shouldn't trade with someone you ignored
Edit: 10 or less for distance probably seems more reasonable. /shrug
-
neatz09
- Content Lead
- Posts: 136
- Joined: Sun Dec 09, 2018 12:55 pm
Re: Trading Bug
appears to work flawlessly! thank you!
Who is online
Users browsing this forum: No registered users and 0 guests