Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Addons/Mods Graveyard

Notices

Closed Thread
 
Thread Tools Display Modes
  #41  
Old 04-01-2009, 09:54 AM
mattalien mattalien is offline
Member
 
Join Date: Dec 2008
Posts: 27
Credits: 4,827
mattalien
Default RE: Currency for leveling up and adoptable shop [Beta]

Im getting the same error as well, It has to be because of the 'egg' part.
  #42  
Old 04-01-2009, 09:57 AM
gjac1 gjac1 is offline
Member
 
Join Date: Feb 2009
Posts: 101
Credits: 11,699
gjac1
Default RE: Currency for leveling up and adoptable shop [Beta]

i think a "kind" and "cost" row has to be added to the adoptables table......
  #43  
Old 04-01-2009, 11:24 AM
mattalien mattalien is offline
Member
 
Join Date: Dec 2008
Posts: 27
Credits: 4,827
mattalien
Default RE: Currency for leveling up and adoptable shop [Beta]

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')
then go to the shop.php file, and find this:

Code:
$query = "SELECT * FROM adoptables WHERE kind = 'egg' LIMIT 0,5";
change the 'egg' bit to what ever you put in the 'kind' bit of the query. :)

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"
and change it to this:

Code:
$query = "SELECT * FROM adoptables WHERE kind = 'adoptable'";
change the 'adoptable' to whatever you set in the 'kind' area for the official adoptables.

:)
  #44  
Old 04-01-2009, 12:54 PM
gjac1 gjac1 is offline
Member
 
Join Date: Feb 2009
Posts: 101
Credits: 11,699
gjac1
Default RE: Currency for leveling up and adoptable shop [Beta]

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  
Old 04-01-2009, 04:59 PM
rosepose rosepose is offline
Member
 
Join Date: Jan 2009
Posts: 127
Credits: 12,278
rosepose
Default RE: Currency for leveling up and adoptable shop [Beta]

Erm... How exactly do you add the column?
  #46  
Old 04-02-2009, 01:29 AM
Ashje Ashje is offline
Member
 
Join Date: Jan 2009
Posts: 179
Credits: 12,488
Ashje
Default RE: Currency for leveling up and adoptable shop [Beta]

@ rosepose:

Click here:

Then fill it in like this:

And click Save.

Thanks mattalien, everything works perfectly now. =)
  #47  
Old 04-02-2009, 01:47 AM
kisazeky kisazeky is offline
Member
 
Join Date: Mar 2009
Posts: 44
Credits: 22,562
kisazeky
Default RE: Currency for leveling up and adoptable shop [Updated] [Beta]

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  
Old 04-02-2009, 07:07 PM
densaugeo densaugeo is offline
Member
 
Join Date: Mar 2009
Posts: 39
Credits: 5,329
densaugeo
Default RE: Currency for leveling up and adoptable shop [Updated] [Beta]

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  
Old 04-02-2009, 10:25 PM
zhiichiro zhiichiro is offline
Member
 
Join Date: Mar 2009
Posts: 106
Credits: 13,386
zhiichiro
Default RE: Currency for leveling up and adoptable shop [Updated] [Beta]

we now have the shop.. thanks

visit : fresbopet.netau.net to see
  #50  
Old 04-03-2009, 01:01 AM
Ashje Ashje is offline
Member
 
Join Date: Jan 2009
Posts: 179
Credits: 12,488
Ashje
Default RE: Currency for leveling up and adoptable shop [Updated] [Beta]

Quote:
Originally Posted by densaugeo
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...
Don't add or change anything. Just run the SQL Queries in Post 43.

Quote:
Originally Posted by kisazeky
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.
How is it safer? It is much easier to add a kind column with the old one. Anyways, thanks for the buyconfirm. =)

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...
Closed Thread


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


All times are GMT -5. The time now is 07:46 PM.

Currently Active Users: 942 (0 members and 942 guests)
Threads: 4,081, Posts: 32,029, 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