The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Experience System
Author Message
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #1
Experience System
Guys... I was testing the hardcoded system Experience and I noticed that a player just wins exps killing monsters when he attack the npc before be attacked!

Basically:
Code:
Player --- Attack --> Monster
the system works normally

Monster --- Attack ---> Player
the player don't win exp killing this monster

How fix it? Sad
(This post was last modified: 07-31-2013 04:33 AM by Staff_Stanic.)
07-31-2013 04:27 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
xwerswoodx
Journeyman
*

Posts: 86
Likes Given: 4
Likes Received: 7 in 4 posts
Joined: Jun 2012
Reputation: 0

UoMMO

Post: #2
RE: Experience System
Can you copy your sphere.ini settings?

Code:
// Enable experience system
ExperienceSystem=1

// Experience system settings:
//  0001    gain experience in combat
//  0002    gain experience in crafts
//  0004    allow experience to go down
//  0008    limit experience decrease by a range witheen a current level
//  0010    auto-init EXP/LEVEL for NPCs if not set in @Create
//  0020    allow trigger @ExpChange
//  0040    allow trigger @ExpLevelChange
ExperienceMode=01|02|04|08|010|020|040

// If combat experience gain is allowed, use these percents for gaining exp in
// Player versus Monster and Player versus Player combats. Value 0 disables gain.
ExperienceKoefPVM=80
ExperienceKoefPVP=100

// Enable levels system (as a part of experience system)
LevelSystem=1

// Level system settings:
//  linear = 0  (each NextLevelAt exp will give a level up)
//  double = 1  (you need (NextLevelAt * (level+1)) to get a level up)
LevelMode=1

// Amount of experience to raise to the next level
LevelNextAt=50
08-01-2013 11:16 AM
Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #3
RE: Experience System
Code:
//    Enable experience system
ExperienceSystem=1

//    Experience system settings:
//    0001 gain experience in combat
//    0002 gain experience in crafts
//    0004 allow experience to go down
//    0008 limit experience decrease by a range witheen a current level
//    0010 auto-init EXP/LEVEL for NPCs if not set in @Create
//    0020 allow trigger @ExpChange
//    0040 allow trigger @ExpLevelChange
ExperienceMode=0001|0010|0004|0020|0040

//    If combat experience gain is allowed, use these percents for gaining exp in
//    Player versus Monster and Player versus Player combats. Value 0 disables gain.
ExperienceKoefPVM=100
ExperienceKoefPVP=0

//    Enable levels system (as a part of experience system)
LevelSystem=1

//    Level system settings:
//    linear = 0 (each NextLevelAt exp will give a level up)
//    double = 1 (you need (NextLevelAt * (level+1)) to get a level up)
LevelMode=1

//    Amount of experience to raise to the next level
LevelNextAt=7000
08-01-2013 12:36 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #4
RE: Experience System
Hello? Sad
(This post was last modified: 08-04-2013 01:40 AM by Staff_Stanic.)
08-04-2013 01:40 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)