Experience points

Forum
Last Post
Threads / Messages

SleepWalker

Member
Member
Joined
Jul 6, 2009
Messages
32
Points
0
Mysidian Dollar
0
Hi!
I'm planning a fighting and an experience point system,because I'm planning a MMORPG with the petsite script.The adopt must have a field named exp_points.You can increase the EXP with leveling.But there is an owner-only
function,fighting.The database will choose from different monsters.The chance of wins:your warrior's level is 5.If the monster's level:
-lower than the warrior's actual level -70% to win,30% to lose 20 EXP
-equals to the warrior's actual level - 50% to win,50% to lose 30 EXP
-higher than the warrior's actual level - 30% to win,70% to lose 30 EXP +10 EXP varies to the level highness,example a level 5 warrior defeats a lv.8 monster,he/she gets 60 EXP(30 EXP +30 EXP because the monsters level is higher with 3).If the warrior lose,he/she couldn't get any EXP.The monsters are need a field called adopts_monsters,and the fields are:
-monster_ID
-name
-level
.
Plus,somebody will fight at 36 times per day.
 
This is something more for the Trading Section.

Because other then answering some of your questions, it would require us to code it for you.

But, why don't you just use the Leveling Points that are already there, for experience.
Because there is an easier, less confusing, and quicker way to do the whole EXP/Winning-Losing Percentage etc. By not incorporating it with the actual leveling system.

I say this, because again, it would require us to code it for you, that is time off our hands, without anything in return, and plus, its not a "modification" that everyone else would use.


I am not trying to discourage you here, just trying to give you some helpful pointers. But I do have a question for you, do you have any experience in coding with PHP?
 
In the first version,there is that method:the variables is:
$level=the level of the adopt
$mlevel=the level of the monster.
PHP:
$plusexp = currentexp + 20

//Set EXP in the database

$query = "UPDATE " .$prefix."owned_adoptables SET
currentexp='".$plusexp"' WHERE aid='".$id."'";
	mysql_query($query);
This code needs updates,and it works when is a win.
EDIT:I found a random link script in PHP.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,132
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top