Version: , by Knoman
Developer Last Online: Jun 2008
Version: 2.2.x
Rating:
Released: 10-29-2001
Last Update: Never
Installs: 237
No support by the author.
After my rantings in the other thread about people posting my codes, I've decided to forget everything that happen and post my version of the EXP/HP/MP hack. Most people will not need this hack because it will only apply to gaming forums; specifically RPG forums.
This hack works in such a way that:
HP drops and rises according to the members activeness.
MP determins how long a user has been with the forums, and how active they are.
EXP determins how close a user is to reaching the next level.
EDIT: To prevent non-legit vb owners from installing this hack, I have removed it from this post. Instead, just scroll down to Neo's post in this thread and download the file.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
UOSaint, the EXP would be calculated in the variable $EP. And yes, you need to use my levels code because all the other parts requires the $levels variable.
Edit:
but if you mean that if you should add each and every level in by hand, no you shouldn't. This code should create the levels automatically.
Yes, we've all seen that code before. But the problem with that is that you have to type in every levels by hand and also, the EXP will eventually surpass 100%
I've made mines so that when the exp reaches 100%, you would "level up" and the EXP starts all over.
Edit: Also in my version, I've included an HP bonus multiplyer for those who greatly exceeds the 10 post per day average. This way, it's impossible for people with the same level to get the same stats
I dont know how this code got out, I havent posted it anywhere, anyhow I just had to post it, I will do a mod to your code, your is well written, I just didnt think, was going for that admin could set its own vars the way he/she wants them displayed.
Was thinking about costum administration.
same thing with my stars hack, its edited by hand for full control, and well sames a hell of a time when upgrading to new version of the forum.
make stars.php
insert and call it by where ever you want it, include('./stars.php'); in any .php file
PHP Code:
<?php
// #######################################################
// #
// # NanoEntity
// #
// # Stars Hack
// # Version: 2.0.1
// #
// # ?Copyright 2001 HOLOLITH.COM.
// # Created: 10/07/2001
// #
// #######################################################
// #
// # COPYRIGHT NOTICE:
// #
// # Copyright 2001 HOLOLITH.COM, All Rights Reserved.
// #
// # Selling the code for this script
// # without prior written consent is
// # expressly forbidden. In all cases
// # copyright and header must remain intact.
// #
// #######################################################
unset($stars);
// ##################### S T A R S G I F #####################
modify the code as much as you want.
i never added in a custom admin or cutom mod stats
because i treat all my members the same way.
the reason why i'm willing to give up my hack is
because i'm currently expanding it myself.
soon, people will be able to use their mp to "heal"
themselves and other members. afterwards, i'm
creating a money system where members are
awarded cash for allowances and for completing
quests. this money can be used to buy upgrades
in amor and weapons in the local shops in the Role
Playing Forums.