Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Addons/Mods Graveyard (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=41)
-   -   Currency for leveling up / Adoptable shop (Fixed again) (http://www.mysidiaadoptables.com/forum/showthread.php?t=561)

Ashje 04-11-2009 06:00 PM

RE: Currency for leveling up / Adoptable shop (Fixed again)
 
^
You can't do that, you have to have access to MySQL.

mugwumpr 04-11-2009 10:49 PM

RE: Currency for leveling up / Adoptable shop (Fixed again)
 
Okay, dumb question time..... Are all the fixes discussed in the 8 pages of this thread included in the first post, or do I have to go through and do a bunch of edits? I know, lame question.... it's late.... brain no workee. Humour the crazy lady, 'k?

:P

aroymart 04-12-2009 06:13 AM

RE: Currency for leveling up / Adoptable shop (Fixed again)
 
you may want to see if there are any errors the creator of this forum didn't see but once you get past his last post it should be on the first page (i hope)

Ashje 04-12-2009 04:57 PM

RE: Currency for leveling up / Adoptable shop (Fixed again)
 
Quote:

Originally Posted by mugwumpr
Okay, dumb question time..... Are all the fixes discussed in the 8 pages of this thread included in the first post, or do I have to go through and do a bunch of edits? I know, lame question.... it's late.... brain no workee. Humour the crazy lady, 'k?

:P

There seems to be one rampant issue, which I am trying to fix. Kisazeky isn't responding though.

EDIT:
If you re-install everything on the front page and re-run the queries, it all works fine.

mugwumpr 04-13-2009 12:26 AM

RE: Currency for leveling up / Adoptable shop (Fixed again)
 
Quote:

Originally Posted by Ashje
EDIT: If you re-install everything on the front page and re-run the queries, it all works fine.

Excellent, thank you! I'll give that a whirl tomorrow. The brain doesn't work very well after a heavy load of Easter ham....

:rolleyes: ;)

Ashje 04-13-2009 01:40 AM

RE: Currency for leveling up / Adoptable shop (Fixed again)
 
^
Yum yum? =D

mugwumpr 04-13-2009 09:48 PM

RE: Currency for leveling up / Adoptable shop (Fixed again)
 
Oh, very yum yum!! I still haven't fully recovered.

:o9

trollis76 04-15-2009 09:25 AM

RE: Currency for leveling up / Adoptable shop (Fixed again)
 
OK, seriously. How do I add an adoptable to the shop? And how do I make it so that it says something like this:
"You have earned 20 bucks for leveling up this pet." because it just says: You have earned (number) (currency name) for leveling up this pet.

Ashje 04-15-2009 05:06 PM

RE: Currency for leveling up / Adoptable shop (Fixed again)
 
^
Easy.

1 (Adding Adoptables to the shop). Go to MySQL and open the queries. Copy-Paste this:
Code:

INSERT INTO adoptables VALUES ('', 'name','level 0 image','shop','cost')
This is how it works:

'' - Leave this blank

'name' - Replace name with the Adoptable Name but keep the ''.

'level 0 image' - Replace level 0 image with the default image for your adoptable but keep the ''.

'shop' - Leave this as it is.

'cost' - Replace cost with how much the adoptable is going to cost but keep the ''.

Run that query. Now copy-paste this new query into the box:
Code:

INSERT INTO adoptable_rankimages VALUES ('name','1','2','3','4','5','6','7','8')
Again:

'name' - Replace name with the same name you did in the last one. It has to be the same name or your adoptable won't evolve. Keep the ''.

'1' - Replace 1 with the first adoptable image but keep the ''.

and so on and so on. When that is done, run the query and check that your adoptable appears in the shop.

2 (changing Money Message). Go to levelup.php and search for
Code:

$article_content=$article_content. "
                        <p>You have earned (number) (currency name) for leveling up this pet.
                        <br>You now have  ".$newbalance." (currency name)";
       
                        }

Change the "You have earned (number) (currency name) for leveling up this pet, etc."...

trollis76 04-16-2009 07:49 AM

RE: Currency for leveling up / Adoptable shop (Fixed again)
 
Hm, well... I don't know how to change the (number) because my users get a random amount from 10-25 "Emeralds". Does the command $money work? Or does anything else so? Maybe I can add something new to the MySQL, like $Money_Get or something, and I do it like this:
$Money_Get = rand(10,25)?
But I seriously don't think that will work.

Can anyone here help me to get the money to show? Please? I enter the code where it should be. And I get THIS error:
"Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/a8498929/public_html/index.php on line 62"
Or anything similar. How do I solve this?


All times are GMT -5. The time now is 08:55 AM.

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