Giter Site home page Giter Site logo

Comments (7)

peace-maker avatar peace-maker commented on July 29, 2024

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.

coty9090 avatar coty9090 commented on July 29, 2024

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.

coty9090 avatar coty9090 commented on July 29, 2024

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.

peace-maker avatar peace-maker commented on July 29, 2024

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.

coty9090 avatar coty9090 commented on July 29, 2024

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.

peace-maker avatar peace-maker commented on July 29, 2024

"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.

coty9090 avatar coty9090 commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.