Introducing the RMXP Unlimited Shop - a full shop component based off RPG Maker VX.
Features Class Selection
Before being able to view any part of the shop you must select a class. At the moment there is 4 to choose from, but more may be added in the future. Each class has their own bundle of items to purchase. Profile
Displays all information related to your statistics. This includes experience, experience until level up, battle stats and of course your equiped items. You can also look up other members profiles, but they must have chosen a class before you can view their profile. Shop
This is what the whole thing is based off. You can buy and sell items. Pretty simple. There are also settings for inflation and resale percentage which are explained in the help section. Equip
Equip items that you have purchased to increase your stats. These are the same as VX; you can equip a weapon, shield, head, body and accessory item. Bank
Deposit your money to gain interest. A nice compound interest system that is added daily at midnight. Transations
See your latest purchases as well as what other members have purchased. Also displays at what price the items were purchased at because the inflation system may change the prices. -Help: I will paste this below.
Ok, here is a copy of the help page:
Spoiler
Classes
Every user must select a Class. Each Class has various strengths and weaknesses in terms of stats (Attack, Defense, Spirit and Agility). Classes also have a defined set of items avaliable for purchase, although multiple Classes may purchase various similar items.
Level & Experience
Every time you make a post you gain experience. This is the basis of all of your stats. The higher your post count is, the more experience you get for another post. For example, your 2nd post is worth experience than your 1st. Your level is based on your experience and this is like any level system. The experience needed to go from level 49 to level 50 is much higher than that needed to go from 29 to 30. Level 100 is reached at approximately 3,000 posts.
Stats
Your stats are your Attack, Defense, Spirit and Agility. Each of these have a base value and grow exponentially at different rates based off your level. These are affected when you equip items. A Sword for example which increases your attack will increase it by a certain percentage. For example, if your attack is 1,000 and you equip a Sword that has an attack value of 5%, your attack will be 1050.
Inflation
The current inflation rate is 1. This is not really an inflation system, but a method to increase/decrease the prices of each item by the same factor. The real price of the item is multiplied by the rate of inflation to get the price at which you can purchase it for.
Resale Percentage
This is the percentage of the current item price at which you can sell the item back to the shop. At the moment the percentage is 99%. For example, if you purchase an item for 1,000 Points, you can resell it to the shop for 700 Points. Note that this resale percentage takes account of the price after it is adjusted by the inflation rate which can change the resale price.
Interest Rate
The current interest rate is 2%. This is the percentage of interest you get for saving your points in the Bank. Interest is added every day at midnight. The interest is compounded. This means that you get interest on whatever value of points is currently in your bank, rather than interest on the original deposit. For example, suppose you deposit 1,000 Points into the bank and the interest rate is 10%. After day 1 your balance will be 1,100 Points (1,000 + 10% of 1,000). After day 2 your balance will be 1,210 (1,100 + 10% of 1,100), and so on.
Minimum Deposit
The minimum deposit is 100 Points. You can deposit any value lower than this into the bank.
Withdrawal Fee
The withdrawal fee is 50 Points. We like having your Points in our bank so to encourage you to keep them there, it will cost you 50 Points to make a withdrawal. As a consequence, you cannot withdraw any value under 50 Points.
So everyone can play around a little bit, I'm setting the resale percentage to 99%. So you can buy and sell items with a negligible decrease in your points.
By the way, you can only choose your class once
The link will in the menu under "Other". Hope you guys like it
Google Chrome 5.0.375.99
Fire Fox 3.6.2
Safari 5
Flock 3
Internet Explorer 8
Opera 10
Maxthon Browser 2.5
Avant Browser version 2010 Build 8
Deepnet Explorer 1.53 Beta 3
It functions as it should in all of them.
DESIGN
Design wise it displays them but:
Displays as It Should
Google Chrome 5.0.375.99
Fire Fox 3.6.2
Safari 5
Flock 3
Displays With Square Boxes
Internet Explorer 8
Opera 10
Maxthon Browser 2.5
Avant Browser version 2010 Build 8
Deepnet Explorer 1.53 Beta 3
That's strange Pol. I checked the database and it doesn't have your class, so could you try again? You should be redirected to the select class page whenever you try to view the shop. I tested it just now with my account, apart from loading slowly, it worked for me.
EDIT: You're logged in the DB now. You should be able to view the shop..
Nope but as a note to everyone.
The system only works on Firefox and IE and maybe safari.
It dont work under opera.
EDIT: The class selection only dont work under opera.
Need someone with opera to confirm.
This might be a dumb question but would it ever be possible to "Fight"*cough another member? I think something along the lines of stat comparison, Thanks Marked really nice and original Let's see if RRR can beat that.
I was aware of the browser incompatibilities. I use firefox so the whole thing is designed for firefox. Different browsers render some CSS styles differently. For example, in Pol's screenshot the borders are square. Its supposed to look like this:
Spoiler
The VX theme is a major feature of this thing.. so we have to make a decision. Keep the VX theme and have browser issues, or have a simpler layout which is more compatible across browsers.
@Franklin: First of all could you try making a purchase in firefox? Or IE, but firefox to be safe. Just to see if it is the browser which I doubt, the buy button is a simple html form. If that doesn't work then PM me instead of posting in here, just so we can sort out your issue separately since you're the only who's having it so far.
Broken Messiah, on 28 July 2010 - 03:51 AM, said:
This might be a dumb question but would it ever be possible to "Fight"*cough another member?
Researching It is possible, I used to use flash a fair bit. I already know I can connect to our DB using flash, so yes it's definitely possible. I however cannot code in flash. Lets just say I'm researching. I had more features in mind for this such as clans and a craft system, but I thought I better see how members like it before continuing.
Google Chrome 5.0.375.99
Fire Fox 3.6.2
Safari 5
Flock 3
Internet Explorer 8
Opera 10 (can not choose a class)
Maxthon Browser 2.5
Avant Browser version 2010 Build 8
Deepnet Explorer 1.53 Beta 3
It functions as it should in all of them.
DESIGN
Design wise it displays them but:
Displays as It Should
Google Chrome 5.0.375.99
Fire Fox 3.6.2
Safari 5
Flock 3
Displays With Square Boxes
Internet Explorer 8
Opera 10
Maxthon Browser 2.5
Avant Browser version 2010 Build 8
Deepnet Explorer 1.53 Beta 3
Wow Kage, thanks for the effort, really appreciate it. I added that to the first post. I'm surprised so many of you use opera... Selecting a class should work too because it uses pretty standard html.
Excuse me, but it DOESN'T WORK in Opera 10.60. Unfortunately.
Kage Kazumi here...
It does work, however it fails at the CLASS selection screen. It just reloads the page, but I was able to transfer money and what not using Opera for my Kage Kazumi account.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mounted-storage/home90a/sub009/sc47804-NPGF/rmxpunlimited.net/libraries/joomla/database/database/mysql.php on line 344
WARNING: DO NOT PRESS THE DEPOSIT BUTTON MORE THAN ONCE WHEN MAKING A DEPOSIT especially if you are depositing the entire thing
The shop does not recognize when you have 0 points on hand and will deposit nothing into the bank, while at the same time reducing your points on hand
leaving you with this
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mounted-storage/home90a/sub009/sc47804-NPGF/rmxpunlimited.net/libraries/joomla/database/database/mysql.php on line 344
Yup its certainly the code. It's very strange however that some functions work in opera while others (class selection) does not. To be honest, I'm not keen on opera. I suppose I'll download it and test it in that browser as well... dont have much of a choice. I thought firefox dominated.. really suprised there are so many opera users here. Oh by the way, remember what page you got that error? Its a query thats not running for some reason.. I'll need to know which page you got that error so I can fix it.
Kage Kazumi, on 28 July 2010 - 08:18 PM, said:
Seems Marked some browsers don't like the CLASS selection. You should probably do the following:
1) Create random beta test accounts and give log in info to members you choose.
2) If you can give them POINTS, give them enough to test it in browsers completely.
Oh, yeah... this may surprise you, but I've done a heck of a lot of testing. With many accounts. I made it offline so when i write the code its ready to test immediately. The only issue here is browers and the double submit error which i was aware of but forgot about. This works perfectly in firefox.......
Enigma, on 28 July 2010 - 08:20 PM, said:
WARNING: DO NOT PRESS THE DEPOSIT BUTTON MORE THAN ONCE WHEN MAKING A DEPOSIT especially if you are depositing the entire thing
This is a common error called the double submit error. I was aware of it before releasing this but I just forgot about it... I will fix it as soon as I can.
I actually broke my laptop charger last night and without my test site I can't really do any proper testing or file edits... If anyone loses any points due to an error, please report to me either in this topic or via PM so I can fix the error and give your points back to you.