Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 12-14-2011, 05:47 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 395,869
Hall of Famer is on a distinguished road
Default

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...
Attached Files
File Type: php trade.php (11.3 KB, 4 views)
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #12  
Old 12-14-2011, 05:50 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 84,831
SilverDragonTears is on a distinguished road
Default

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

Check out SilvaTales
Reply With Quote
  #13  
Old 12-14-2011, 05:55 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 84,831
SilverDragonTears is on a distinguished road
Default

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

Check out SilvaTales
Reply With Quote
  #14  
Old 12-14-2011, 06:00 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 395,869
Hall of Famer is on a distinguished road
Default

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...
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #15  
Old 12-14-2011, 06:08 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 84,831
SilverDragonTears is on a distinguished road
Default

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.
__________________

Check out SilvaTales

Last edited by SilverDragonTears; 12-14-2011 at 06:12 PM.
Reply With Quote
  #16  
Old 12-14-2011, 06:11 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 395,869
Hall of Famer is on a distinguished road
Default

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.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #17  
Old 12-14-2011, 06:13 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 84,831
SilverDragonTears is on a distinguished road
Default

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

Check out SilvaTales
Reply With Quote
  #18  
Old 12-14-2011, 06:25 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 84,831
SilverDragonTears is on a distinguished road
Default

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
__________________

Check out SilvaTales
Reply With Quote
  #19  
Old 12-14-2011, 06:55 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 395,869
Hall of Famer is on a distinguished road
Default

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


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Make pets' trade status Not For Trade by default tahbikat Questions and Supports 3 12-13-2015 10:21 PM
Trade Glitch AlexC Questions and Supports 6 05-05-2012 07:39 PM
Pound Glitch! MaximumRide Questions and Supports 10 04-24-2012 12:28 PM
Solution to fix the glitch in Mys/RA v1.10 Hall of Famer Questions and Supports 4 01-16-2011 10:57 PM
Glitch in PHP Installation?! Jgl5858 Questions and Supports 13 11-26-2010 02:10 PM


All times are GMT -5. The time now is 09:21 AM.

Currently Active Users: 835 (0 members and 835 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636