Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#71
|
|||
|
|||
RE: Currency for leveling up / Adoptable shop (Fixed again)
^
You can't do that, you have to have access to MySQL. |
#72
|
|||
|
|||
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 |
#73
|
|||
|
|||
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)
|
#74
|
|||
|
|||
RE: Currency for leveling up / Adoptable shop (Fixed again)
Quote:
EDIT: If you re-install everything on the front page and re-run the queries, it all works fine. |
#75
|
|||
|
|||
RE: Currency for leveling up / Adoptable shop (Fixed again)
Quote:
:rolleyes: ;) |
#76
|
|||
|
|||
RE: Currency for leveling up / Adoptable shop (Fixed again)
^
Yum yum? =D |
#77
|
|||
|
|||
RE: Currency for leveling up / Adoptable shop (Fixed again)
Oh, very yum yum!! I still haven't fully recovered.
:o9 |
#78
|
|||
|
|||
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. |
#79
|
|||
|
|||
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') '' - 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') '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)"; } |
#80
|
|||
|
|||
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? |
|
|
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 |
What's New? |
What's Hot? |
What's Popular? |