![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
#41
|
|||
|
|||
![]()
Im getting the same error as well, It has to be because of the 'egg' part.
|
#42
|
|||
|
|||
![]()
i think a "kind" and "cost" row has to be added to the adoptables table......
|
#43
|
|||
|
|||
![]()
yeah, i'll try it.
EDIT: YES! I did it! you have to add a 'kind' column to the table 'adoptables'. then when you add the adoptable, you use this query: Code:
INSERT INTO adoptables VALUES ('', 'name','level 0 image','shop','cost','kind') Code:
$query = "SELECT * FROM adoptables WHERE kind = 'egg' LIMIT 0,5"; The adoptable still appears in the adoption page, but i will look and try to fix this. NEW EDIT: Fixed that too! in the database, go to the 'adoptables' table, and in the adoptables you want in the offcial adoption place, set their kind to something like, 'adoptable'. then, in adopt.php, find this line: Code:
$query = "SELECT * FROM adoptables" Code:
$query = "SELECT * FROM adoptables WHERE kind = 'adoptable'"; :) |
#44
|
|||
|
|||
![]()
Thats what i did too, and changed the "egg" to "shop" and the "full" to "shop2"
The creator of this mod must have forgotten to post the bit about adding the new rows to the adoptables table as well.... |
#45
|
|||
|
|||
![]()
Erm... How exactly do you add the column?
|
#46
|
|||
|
|||
![]()
@ rosepose:
Click here: ![]() Then fill it in like this: ![]() And click Save. Thanks mattalien, everything works perfectly now. =) |
#47
|
|||
|
|||
![]()
Ok, with the update, there is now no need to add new columns. It adds "shop" to the "memberlevel" column and the cost to the "description" table.
Also this is a more secure buying method so people cannot get them for free. |
#48
|
|||
|
|||
![]()
I still don't get how to add a pet to the shop :P Heh, i've looked over the files..but I'm not sure what to change or add...
|
#49
|
|||
|
|||
![]()
we now have the shop.. thanks
visit : fresbopet.netau.net to see |
#50
|
|||
|
|||
![]() Quote:
Quote:
EDIT: buyconfirm doesn't work, the new shop file doesn't work (it screws up the template and when you buy something, nothing appears on the page... |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
leveling idea | Nemesis | Suggestions and Feature Requests | 2 | 01-08-2012 12:23 PM |
Shop to buy an adoptable? | SilverDragonTears | Questions and Supports | 8 | 08-16-2011 02:17 PM |
Adoptable shop new version! [UPDATED!] | mapleblade | Mys v1.1.x Mods | 57 | 08-15-2011 07:50 AM |
How to create a a battle system ,shop and currency?? | SieghartZeke | Questions and Supports | 9 | 11-02-2009 12:15 AM |
Pets Not leveling up | Seapyramid | Questions and Supports | 4 | 02-02-2009 05:03 PM |
What's New? |
What's Hot? |
What's Popular? |