Comments (10)
You're welcome. Im glad you're still updating this :)
from smrpg.
So I played around a bit with changing weapon specific exp and different values. I found that changing knife "exp_damage" to "1" would net me 1* victim level for a kill, regardless of "exp_kill" (which I set at 2).
So to sum up the problem: My smrpg server yields me exp for kills not based on "exp_kill" but based on "exp_damage"
from smrpg.
That is very weird. Can you uncomment the _DEBUG
define in the smrpg_cstrike module and validate the output there?
Could you please paste the contents of your weapon_experience.cfg file as well?
from smrpg.
// This defines a list of weapons which's experience rates differ from the default setting.
// You can give more experience for a kill with a difficult weapon to reward players using it.
// Put the weapon classname as the section key (you might omit "weapon_")
// There are a few options:
// - "exp_kill": The experience for a kill multiplied by the victim's level.
// - "exp_damage": The experience for hurting an enemy multiplied by the damage done.
// - "exp_bonus": Extra constant experience to give on top of the regular experience on a kill.
//
// You don't have to specify each option for each weapon.
// It defaults back to the global settings of the smrpg_exp_damage, smrpg_exp_kill and smrpg_exp_kill_bonus convars.
// E.g.
//
// "weapon_knife"
// {
// "exp_damage" "8.0"
// "exp_kill" "15.0"
// "exp_bonus" "10"
// }
"SMRPGWeaponExperience"
{
"weapon_knife"
{
"exp_damage" "1.1"
}
"weapon_usp"
{
"exp_kill" "0.25"
}
"weapon_glock"
{
"exp_kill" "0.25"
}
"weapon_deagle"
{
"exp_kill" "0.25"
}
"weapon_p228"
{
"exp_kill" "0.25"
}
"weapon_elite"
{
"exp_kill" "0.25"
}
"weapon_fiveseven"
{
"exp_kill" "0.25"
}
"weapon_m3"
{
"exp_kill" "0.25"
}
"weapon_xm1014"
{
"exp_kill" "0.25"
}
"weapon_galil"
{
"exp_kill" "0.25"
}
"weapon_ak47"
{
"exp_kill" "0.25"
}
"weapon_scout"
{
"exp_kill" "0.25"
}
"weapon_famas"
{
"exp_kill" "0.25"
}
"weapon_p90"
{
"exp_kill" "0.25"
}
"weapon_ump45"
{
"exp_kill" "0.25"
}
"weapon_mp5navy"
{
"exp_kill" "0.25"
}
"weapon_mac10"
{
"exp_kill" "0.25"
}
"weapon_tmp"
{
"exp_kill" "0.25"
}
"weapon_m4a1"
{
"exp_kill" "0.25"
}
"weapon_sg552"
{
"exp_kill" "0.25"
}
"weapon_aug"
{
"exp_kill" "0.25"
}
"weapon_awp"
{
"exp_kill" "0.25"
}
"weapon_g3sg1"
{
"exp_kill" "0.25"
}
"weapon_sg550"
{
"exp_kill" "0.25"
}
"weapon_m249"
{
"exp_kill" "0.25"
}
"weapon_hegrenade"
{
"exp_damage" "8.8"
}
"weapon_smokegrenade"
{
"exp_damage" "1.0"
}
}
from smrpg.
I've uncommented _Debug define but when I try to compile it gives me this error: smrpg\scripting\include\smlib\entities.inc(1773) : error 418: deprecated syntax; see https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Typedefs
from smrpg.
You need to get the transitional_syntax branch of smlib.
https://github.com/bcserv/smlib/tree/transitional_syntax
from smrpg.
So the compiling did work. Do I have to do something for it to print out a log file? Because I am not getting anything, even when enabling the debug mode in plugin.smrpg.cfg.
from smrpg.
There should be some smrpg_experience_Xxx.log in sourcemod/data/
from smrpg.
Got it. I get lots of lines with exp gains like:
01/19/2023 - 22:31:25: Chet (lvl 1882 [424/1883]) got 168 exp for cs_playerkill Tyler (lvl 1675).
which equals 10%
my settings are:
smrpg_exp_damage "0.1"
smrpg_exp_kill "0.25"
so exp_kill doesnt seem to be called.
from smrpg.
Thank you for the detailed report! It's been a regression when updating the plugin for SM 1.11 :/
from smrpg.
Related Issues (20)
- Conflict with CCP HOT 1
- Not working strings HOT 2
- Add new translation string HOT 1
- Icestab cage beam effect not disappearing until map change HOT 6
- contact HOT 1
- How to enable Speed+
- Make these translateable
- The color is reset HOT 5
- Upgrades not working HOT 3
- [Upgrade Request] Lucky Devil
- [Upgrade Request] Conversion HOT 4
- Damage+ not working for weapon_hegrenade HOT 5
- Increase Clipsize does not accept values lower than 1 HOT 2
- Clipsize
- Upgrade addon issue after Feb update
- Regen does not accept float values for heal increase HOT 5
- Amorregen does not accept float values for regen amount increase
- RunUpgradeEffect crashes the server HOT 2
- Dont work SPEED+
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smrpg.