![]() |
Can offer negative money on trades
I tested this out on this site
http://dragonsfarm.host56.com/ It is using the latest version of the Mysidia script You can send someone a offer of a pet for -999999999 from the trades page. The person accepting loses the money. I made 2 accounts 1 named tittlemouse the other named avfctom I send a offer of -999999999 tittlemouse from avfctom and accepted it and I got this. On tittlemouse You have -999996999 Dragon Yen. Your links: ADOPT NEW PETS ACQUIRE POUNDED PETS MANAGE ADOPTABLES |
Seems like people always forgot to filter the (-) minus sign.
Anyway, I think this should fix the problem. Open your trade.php find this code PHP Code:
PHP Code:
|
umm I see, add this line after if($cashenabled == "yes")[
PHP Code:
@Fadillzzz: Another possible way to fix this issue is to generate an error message when negative amount is entered. |
I don't know since that is not my site buy hopefully the owner of it will log on later and be able to see if that works.
|
@HoF
Yeah. That should works too. |
How do i fix this for mytrades.php too? Is it the same way?
|
For mytrades.php
After this PHP Code:
PHP Code:
|
Ok I'll try testing it.
|
All times are GMT -5. The time now is 06:49 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.