when you have 2.15~4.29M platinum then you and dupe them just simply take them out of bank and put them back
zone/client_process.cpp
Code:
- value = amount_to_take * CoinTypeCoppers(mc->cointype1);
- amount_to_add = value / CoinTypeCoppers(mc->cointype2);
+ amount_to_add = amount_to_take * ((float)CoinTypeCoppers(mc->cointype1) / (float)CoinTypeCoppers(mc->cointype2));
// the amount we're adding could be different than what was requested, so
// we have to adjust the amount we take as well
- value = amount_to_add * CoinTypeCoppers(mc->cointype2);
- amount_to_take = value / CoinTypeCoppers(mc->cointype1);
+ amount_to_take = amount_to_add * ((float)CoinTypeCoppers(mc->cointype2) / (float)CoinTypeCoppers(mc->cointype1));