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)
-   -   Promocode (http://www.mysidiaadoptables.com/forum/showthread.php?t=3580)

SilverDragonTears 04-11-2012 08:58 PM

Promocode
 
HoF can you take a look at this really fast? I need it fixed asap as I just released a dragon that gives a reward. It adds everything blacnk in the database.

SilverDragonTears 04-11-2012 09:21 PM

Update: Now it's adding in the info but it rewards it to system instead of the owner.

Hall of Famer 04-12-2012 12:18 AM

umm are you trying to create a promo code that can be used for more than once?

SilverDragonTears 04-12-2012 12:20 AM

yep I already did... It sends a message to the user saying they got a reward. Then you click and it says you get the reward. I look in the db and it's in the inventory and the owner is listed as SYSTEM.

Hall of Famer 04-12-2012 12:23 AM

umm strange, perhaps it has something to do with the way reward is handled? I will look into that.

SilverDragonTears 04-12-2012 12:25 AM

Thanks. I tried looking myself but I don't see anything. And the reward is already out and some people are missing out on it :(

Hall of Famer 04-12-2012 12:27 AM

Can you take a screenshot from table prefix.promocodes(you may or may not cover the actual codes, as the codes are unique to each member anyway. Cheaters will be banned)? Id like to see if the record inserted into the table is malfunctioning. This will determine if the flaw is in admin control panel script, or the class file.

SilverDragonTears 04-12-2012 12:31 AM

http://img1.UploadScreenshot.com/ima...0116244492.png

Hall of Famer 04-12-2012 12:44 AM

Well yeah it indeed is not recording the user data. On 197, check if the line looks like this:

PHP Code:

<input name='user' type='text' id='user'


SilverDragonTears 04-12-2012 12:46 AM

Which script?


All times are GMT -5. The time now is 12:25 AM.

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