EvEmu-Project / evemu_Crucible

Emulator for EvE Online's Crucible expansion
https://evemu.dev
174 stars 68 forks source link

Fix for character that has access to corp wallet being unable to buy #278

Closed d10sfan closed 1 year ago

d10sfan commented 1 year ago

Fixes: https://github.com/EvEmu-Project/evemu_Crucible/issues/273

When a player tries to buy from the market and the character has a corp wallet, the client sends a PyInt instead of a PyBool to PlaceCharOrder for useCorp.

This PR adds a new function that handles receiving the int and calls the normal PlaceCharOrder function.

With these changes, I was able to successfully buy on a character in an npc corp and a character that has access to a corp wallet. I also tested trying to order with the corp wallet and got the message saying that Corp market transactions are not supported at this time, as expected.

jdhirst commented 1 year ago

Thanks for the contribution!