Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Suggestions and Feature Requests

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2009, 09:22 AM
SleepWalker SleepWalker is offline
Member
 
Join Date: Jul 2009
Posts: 32
Credits: 4,495
SleepWalker
Default Experience points

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.
Reply With Quote
  #2  
Old 08-20-2009, 11:42 AM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 35,891
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: Experience points

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?
Reply With Quote
  #3  
Old 08-20-2009, 12:39 PM
SleepWalker SleepWalker is offline
Member
 
Join Date: Jul 2009
Posts: 32
Credits: 4,495
SleepWalker
Default RE: Experience points

In the first version,there is that method:the variables is:
$level=the level of the adopt
$mlevel=the level of the monster.
PHP Code:
$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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
game for points Nemesis Suggestions and Feature Requests 3 10-24-2013 01:29 AM
PKMS! a whole new experience Niku Adoptables Sites Showcase 25 01-02-2012 05:52 PM
User Points & Ranks/Levels Sasoragon Mys v1.1.x Mods 11 03-18-2011 12:55 PM
create image with name, experience, level and ranking? NsTeam Questions and Supports 1 03-09-2010 12:33 AM


All times are GMT -5. The time now is 04:31 PM.

Currently Active Users: 954 (0 members and 954 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636