
01-09-2003, 01:43 AM
|
 |
|
|
Join Date: Oct 2002
Posts: 444
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Version 0.59 is done. The original post has the updated .zip file. An upgrade file and script is included in the "upgrade" folder. Please follow the instructions carefully, they have changed from last time.
New features: - mr e was kind enough to make an element strength/weakness add-on. It allows you to specify a strength and a weakness element for each element. For example, you can say that Fire's weakness is Water, and that Water's weakness is Earth. In battle, if your Element is your opponent's weakness, then you will do 1.5 times the amount of damage normally done. However, if your Element is your opponent's strength, then you will only do .5 times the amount of damage normally done. Strengths and weaknesses can be set in the admin control panel.
- VeoMorphine was kind enough to make a bank/points moderator add-on. It allows moderators the ability to give money to users via their bank or their cash (money in pocket). Moderators can also take away money.
- VeoMorphine also made a mass points script that allows you to give numerous users different amounts of money using an input box in the admin cp.
- The battle formulas have been tweaked to reflect the new experience system.
- The whole level/experience system has been re-done and now has some nice features.
- In the admin control panel, you have the following options, related to the new experience system (found through the "Mass Experience" link in the admin cp):
- You can give all users the exact same amount of experience. The amount you specify will be added to the user's current experience.
- You can set all users' experience to the same amount. This can be used for resetting expereience or putting everyone ont he same level.
- You can reset all users' experience based on their post count. For example, if you want to set a user's experience to 10 times their number of posts, then use this script.
- You can do the same thing as above, except this script won't give a user experience if they have more experience than 10 times their number of posts. For example, let's say John has 300 experience and 40 posts. Then, if you choose to give 10 experience per post, then John will have 400 experience after this script is run. However, let's say Dave has 500 experience and 30 posts. If you decide to give 10 experience per post, then Dave's experience won't change, since 10 * 30 = 300 and is less than Dave's current experience of 500.
- User levels are now calculated in a single function located in admin/functions.php. You can adjust the formula there and it will be applied everywhere that the user level is calculated. The function name is "getlevel".
- When clicking on the link in the postbit that says "Not in battle.", you will be taken to the create new battle screen and the username of the poster in which the link was located will be automatically filled into the Opponent name field. There is no link if the poster is yourself, or if you are in battle.
- For those of you who want more information about how battles are processed, there is now a variable at the top of battle.php called "$battledebug". Setting this variable to 1 makes the battle print messages of variable values as they occur throughout the battle. Most of the variables have to do with one or two-handed weapons, since these are the most popular.
- The two opponents should now face each other while in battle.
Bug fixes: - You can no longer buy items while in battle.
- Online.php should now display the correct locations. Not fully tested.
- Some other minor bugs.
As always, let me know if you have any problems or find any bugs/errors. Enjoy
|