Version 0.61 is done, see the first post for the new .zip file. It has some interesting changes. The upgrade instructions are included in the .zip file and are located in the "upgrade" directory.
New features:
- Battle formulas have changed. When using your fists, you do less damage than before, and there is a random factor added that is plus or minus 15% of the total damage. When using a weapon, there is now a plus or minus 25% damage factored in.
- Attack Spells now cost a minimum of 5 MA to cast.
- Healing Spells now cost 0.1 MA per HP healed (amount healed is determined by the buff of the item).
- You can now update all users' stats at one time from the admin control panel. You can also update one user's stats from the edit users menu. NOTE: If you have changed the update stats code in member.php, then you must also change the update stats code in rpgadmin.php in the same way, or else you could get unexpected results.
- You can now adjust how much it costs to heal per HP and per MA. Setting this to 0 will make healing free.
- You can now set how much HP, MA, and PP users get per level. Before, the amount per level of HP was 75, I would recommend setting it to somewhere between 20 and 50. Please experiement with this to determine the best number for your board.
- The itemshop now won't let you buy a weapons if you already own it.
There may have been some more small things that I forgot to mention. You may or may not notice them.
Bugs fixed (I hope):
- Winners and losers of battle should now get the correct win/loss status as well as the wager if they won.
- When cancelling/declining a battle, users are now refunded their money and are not given credit for a battle.
- The links in the postbit that generate a pop-up will no longer scroll to the top of the page before displaying. If you have the links in your postbit already, then open the sample potbit text file and copy and paste just the links with javascript in them.
- Fixed the level 1 users could not buy itemshop items that were at level 1 or 0 bug.
- Some other minor bugs.
As always, let me know if you find any bugs.