Comments (7)
The armor value is just a signed byte, so it can't be set higher than 127 or it would be -128. It's a restriction on the client and it's not possible to show higher numbers in the HUD.
Do you have a stack trace of such a crash? https://forums.alliedmods.net/showthread.php?t=146644
from smrpg.
I'm getting these errors in SM log. These are what come up when the server hangs.
L 03/03/2015 - 16:31:54: [SM] Displaying call stack trace for plugin "smrpg.smx":
L 03/03/2015 - 16:31:54: [SM] [0] Line 879, C:\Users\Coty\Desktop\New folder\New folder\addons\sourcemod\scripting\smrpg.sp::IsValidPlugin()
L 03/03/2015 - 16:31:54: [SM] [1] Line 761, smrpg/smrpg_upgrades.sp::IsValidUpgrade()
L 03/03/2015 - 16:31:54: [SM] [2] Line 644, smrpg/smrpg_players.sp::BotPickUpgrade()
L 03/03/2015 - 16:31:54: [SM] [3] Line 209, smrpg/smrpg_stats.sp::Stats_PlayerNewLevel()
L 03/03/2015 - 16:31:54: [SM] [4] Line 309, smrpg/smrpg_stats.sp::Stats_AddExperience()
L 03/03/2015 - 16:31:54: [SM] [5] Line 534, smrpg/smrpg_stats.sp::Native_AddClientExperience()
L 03/03/2015 - 16:31:54: [SM] Plugin encountered error 30: Script execution timed out
L 03/03/2015 - 16:31:54: [SM] Native "SMRPG_AddClientExperience" reported: Error encountered while processing a dynamic native
L 03/03/2015 - 16:31:54: [SM] Displaying call stack trace for plugin "smrpg_cstrike.smx":
L 03/03/2015 - 16:31:54: [SM] [0] Line 490, C:\Users\Coty\Desktop\New folder\New folder\addons\sourcemod\scripting\smrpg_cstrike.sp::Debug_AddClientExperience()
L 03/03/2015 - 16:31:54: [SM] [1] Line 314, C:\Users\Coty\Desktop\New folder\New folder\addons\sourcemod\scripting\smrpg_cstrike.sp::Event_OnPlayerDeath()
from smrpg.
Alright, i lowered the settings in the config and skills for exp, level, etc. and it cleared the crashing for now, but it still hangs although not that often now. (once every few hrs, when before it did it every time a bot gained exp)
from smrpg.
Try the latest version now. There were some flaws in the logic of bots picking upgrades. It didn't cover all the checks for buying upgrades that were added over time.
from smrpg.
lmao... i think that fixed it... I tried latest version and the bots level up and earn exp without the server crashing/hanging, but i guess i got to reconfigure the exp settings.... when they shot me and i shot them we all gained like 1 billion exp hahaha.... i'll let you know if my exp config is the problem.
EDIT
Alright, it's not my config... i used default config settings and every time anyone does damage they earn like 99749494040 exp. this is players vs bots and vice versa.
EDIT 2
I'm getting this error when i updated to your latest version.
L 03/26/2015 - 13:54:54: [SM] Plugin encountered error 5: Invalid plugin address
[SM] Native "SMRPG_AddClientExperience" reported: Invalid address value
L 03/26/2015 - 14:00:20: [SM] Displaying call stack trace for plugin "smrpg_cstrike.smx":
L 03/26/2015 - 14:00:20: [SM] [0] Line 490, C:\Users\Coty\Desktop\New folder\New folder\addons\sourcemod\scripting\smrpg_cstrike.sp::Debug_AddClientExperience()
L 03/26/2015 - 14:00:20: [SM] [1] Line 314, C:\Users\Coty\Desktop\New folder\New folder\addons\sourcemod\scripting\smrpg_cstrike.sp::Event_OnPlayerDeath()
L 03/26/2015 - 14:00:26: [SM] Plugin encountered error 5: Invalid plugin address
L 03/26/2015 - 14:00:26: [SM] Native "SMRPG_AddClientExperience" reported: Invalid address value
[SM] Native "GetArrayArray" reported: Invalid Handle 0 (error: 4)
L 03/26/2015 - 00:51:23: [SM] Displaying call stack trace for plugin "smrpg.smx":
L 03/26/2015 - 00:51:23: [SM] [0] Line 352, smrpg/smrpg_players.sp::GetPlayerUpgradeInfoByIndex()
L 03/26/2015 - 00:51:23: [SM] [1] Line 405, smrpg/smrpg_players.sp::IsClientUpgradeEnabled()
L 03/26/2015 - 00:51:23: [SM] [2] Line 932, smrpg/smrpg_players.sp::Native_GetClientUpgradeLevel()
L 03/26/2015 - 00:51:23: [SM] Native "SMRPG_GetClientUpgradeLevel" reported: Error encountered while processing a dynamic native
L 03/26/2015 - 00:51:23: [SM] Displaying call stack trace for plugin "smrpg_upgrade_poisonsmoke.cstrike.smx":
L 03/26/2015 - 00:51:23: [SM] [0] Line 443, C:\Users\Coty\Desktop\New folder\New folder\addons\sourcemod\scripting\smrpg_upgrade_poisonsmoke.cstrike.sp::SMRPG_CanRunEffectOnClient()
L 03/26/2015 - 00:51:23: [SM] [1] Line 212, C:\Users\Coty\Desktop\New folder\New folder\addons\sourcemod\scripting\smrpg_upgrade_poisonsmoke.cstrike.sp::Hook_OnSpawnProjectile()
L 03/26/2015 - 13:47:44: [smrpg.smx] Error executing query: disk I/O error
L 03/26/2015 - 13:47:44: [smrpg.smx] Error executing query: disk I/O error
from smrpg.
"Error executing query: disk I/O error"
is there space left on your hdd? Those are some weird errors unrelated to this plugin i guess.
from smrpg.
Well what error is making everyone gain insane amounts of exp?
EDIT
Alright... i just clean reinstalled smrpg with latest version and it seems to be working fine... so thanks and i'll let you know if i find any other bugs!
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
- Experience for Kill does not get credited HOT 10
- [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.