SphereCommunity
Experience System - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Experience System (/Thread-Experience-System)



Experience System - Staff_Stanic - 07-31-2013 04:27 AM

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


RE: Experience System - xwerswoodx - 08-01-2013 11:16 AM

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



RE: Experience System - Staff_Stanic - 08-01-2013 12:36 PM

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



RE: Experience System - Staff_Stanic - 08-04-2013 01:40 AM

Hello? Sad