Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Trade/Money Glitch (http://www.mysidiaadoptables.com/forum/showthread.php?t=2554)

Hall of Famer 12-14-2011 05:47 PM

1 Attachment(s)
Well lets try this script file then.

Note: A trade script is not a gift script, users should not attempt to trade a pet for money...

SilverDragonTears 12-14-2011 05:50 PM

You mean attempt to trade a pet without money/and or adopt?

SilverDragonTears 12-14-2011 05:55 PM

Parse error: syntax error, unexpected '}' in /home/robynswo/public_html/trade.php on line 88

Hall of Famer 12-14-2011 06:00 PM

Oh my goodness... Add a semicolon ; to the end of line 87, this is one of the most stupid mistakes a PHP coder can make, lol...

SilverDragonTears 12-14-2011 06:08 PM

LMAO! You did it twice but I fixed the other. Ok now it says:

The adoptable's id is not numeric, please go back to the last page and resubmit your trade off.

So they HAVE to put in an adopt to trade for? They can't just offer an amount of money for an adopt?

Plus I thought to get around that I could remove

PHP Code:

else{
      
$flag++;
      
$error "The adoptable's id is not numeric, please go back to the last page and resubmit your trade off.";
    } 

But it still made the users money disappear.

Hall of Famer 12-14-2011 06:11 PM

Well the concept of trade is that they have to give a pet of their own and receive another pet from their partner, this is why it is called a trade script and not a gift script.

SilverDragonTears 12-14-2011 06:13 PM

Well they're paying for the adopt they want though... so it isn't a gift.

SilverDragonTears 12-14-2011 06:25 PM

It's fine though. I just posted this for my members.

Quote:

So here's the deal.

For now...

If you want to trade a user for an adopt for silvadollars, and they only want money and no adopt, you will have to catch an egg in the den to send as a "dummy" adopt. This means that they can simply abandon the egg once the trade is completed. You can not send a trade without selecting an adopt to trade the user for.

I hope this makes sense. Please ask any questions you may have. But in general, trading for money is now working.
So it should be fine :) Thanks HoF :pleased:

Hall of Famer 12-14-2011 06:55 PM

I see, glad you come out with a good solution. XD


All times are GMT -5. The time now is 09:52 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.