Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#31
|
|||
|
|||
RE: Currency for leveling up and adoptable shop [Beta]
I have followed the instructions, i added a shop adoptable but it doesnt appear in the shop...it appears on the main adopt page and is free to adopt by anyone, but on the shop.php page i get these errors :
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/pfusions/public_html/shop.php on line 89 Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/pfusions/public_html/shop.php on line 111 Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/pfusions/public_html/shop.php on line 133 please help :( |
#32
|
|||
|
|||
RE: Currency for leveling up and adoptable shop [Beta]
What pages do you add the script to? "etc" is a little vague.
__________________
Click Sora-kun to level her up and join Living Fossil Adoptions! Only possible through the EasyAdoptables script :D |
#33
|
|||
|
|||
RE: Currency for leveling up and adoptable shop [Beta]
Is the problem not that there is no extra row added to the created adoptables table ??
I mean, there is a new one added to the users, to say how much they have earned, but there is no extra row to set how much an adoptables costs.... It still only has these tables, but no "cost" row uid name imageurl memberlevel description |
#34
|
||||
|
||||
RE: Currency for leveling up and adoptable shop [Beta]
I have run into a new error:
Code:
Parse error: syntax error, unexpected '}' in /home/enddayne/public_html/tos.php on line 159 PHP Code:
|
#35
|
|||
|
|||
RE: Currency for leveling up and adoptable shop [Beta]
enddayne, have you managed to get the currency adoptables to appear in the shop and available only to those with enough credits ??
|
#36
|
||||
|
||||
RE: Currency for leveling up and adoptable shop [Beta]
Quote:
|
#37
|
|||
|
|||
RE: Currency for leveling up and adoptable shop [Beta]
Ok thanks :)
I too am getting errors, i listed them just above your post..... :( |
#38
|
|||
|
|||
RE: Currency for leveling up and adoptable shop [Beta]
how do you insert the adoptables into the shop? I mean like..where do I put the lines of code for it? XD I don't wanna screw anything up. I know how to make a custom adoptable, i just don't know how to add it to the shop.[hr]
And I'm also one of those getting the SQL queries at the top of the page, and i haven't edited anything other than the text in your shop code :P http://sheegarden.com/test/shop.php |
#39
|
|||
|
|||
RE: Currency for leveling up and adoptable shop [Beta]
Quote:
i have an account there, my username is ZhiichirO.. you can give me rare fairies XD i hope you can create an account on fresbopet.netau.net.. |
#40
|
|||
|
|||
RE: Currency for leveling up and adoptable shop [Beta]
This is the part of the shop.php file that seems to be creating the errors :
$query = "SELECT * FROM adoptables WHERE kind = 'egg' LIMIT 0,5"; $result = mysql_query($query); $num = mysql_numrows($result); //Loop out code $i=0; while ($i < $num) { $aID=@mysql_result($result,$i,"uid"); $name=@mysql_result($result,$i,"name"); $imageurl=@mysql_result($result,$i,"imageurl"); $cost=@mysql_result($result,$i,"description"); |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
leveling idea | Nemesis | Suggestions and Feature Requests | 2 | 01-08-2012 01:23 PM |
Shop to buy an adoptable? | SilverDragonTears | Questions and Supports | 8 | 08-16-2011 03:17 PM |
Adoptable shop new version! [UPDATED!] | mapleblade | Mys v1.1.x Mods | 57 | 08-15-2011 08:50 AM |
How to create a a battle system ,shop and currency?? | SieghartZeke | Questions and Supports | 9 | 11-02-2009 01:15 AM |
Pets Not leveling up | Seapyramid | Questions and Supports | 4 | 02-02-2009 06:03 PM |
What's New? |
What's Hot? |
What's Popular? |