Raised This Month: $32 Target: $400
 8% 

CBasePlayer::AddPlayerItem crash


Post New Thread Reply   
 
Thread Tools Display Modes
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 03-16-2015 , 16:16   Re: CBasePlayer::AddPlayerItem crash
Reply With Quote #21

PHP Code:
if(!(<= id <= MaxClients)) return; 
Why return? If you have registred with "player"
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 03-16-2015 at 16:16.
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
OnePL
BANNED
Join Date: May 2012
Location: GB
Old 03-16-2015 , 16:22   Re: CBasePlayer::AddPlayerItem crash
Reply With Quote #22

How I use entity "player" doesn't have to be check players?
OnePL is offline
Send a message via ICQ to OnePL Send a message via AIM to OnePL Send a message via Yahoo to OnePL Send a message via Skype™ to OnePL
Old 03-16-2015, 19:18
WildCard65
This message has been deleted by WildCard65. Reason: How?
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 03-16-2015 , 21:16   Re: CBasePlayer::AddPlayerItem crash
Reply With Quote #23

Quote:
Originally Posted by OnePL View Post
How I use entity "player" doesn't have to be check players?
Only remove, you already using player:

if(!(1 <= id <= MaxClients)) return;

__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
OnePL
BANNED
Join Date: May 2012
Location: GB
Old 03-19-2015 , 11:24   Re: CBasePlayer::AddPlayerItem crash
Reply With Quote #24

What it means?:
Code:
#0  CBasePlayer::TraceAttack (this=0xf03ea068, pevAttacker=0xf39e61d0, flDamage=30.7809925, vecDir=..., ptr=0xfff9aa50, bitsDamageType=64) at ../cstrike/dlls/player.cpp:997
#0  CBasePlayer::TraceAttack (this=0xf03ea068, pevAttacker=0xf39e61d0, flDamage=30.7809925, vecDir=..., ptr=0xfff9aa50, bitsDamageType=64) at ../cstrike/dlls/player.cpp:997
#1  0xf28bb84d in Hook_Void_Entvar_Float_Vector_Trace_Int(Hook*, void*, entvars_s*, float, Vector, TraceResult*, int) () from cstrike/addons/amxmodx/modules/hamsandwich_amxx_i386.so
OnePL is offline
Send a message via ICQ to OnePL Send a message via AIM to OnePL Send a message via Yahoo to OnePL Send a message via Skype™ to OnePL
OnePL
BANNED
Join Date: May 2012
Location: GB
Old 03-21-2015 , 21:10   Re: CBasePlayer::AddPlayerItem crash
Reply With Quote #25

Such a small information:
Above-mentioned error occurs after update AMXX to git-4683
OnePL is offline
Send a message via ICQ to OnePL Send a message via AIM to OnePL Send a message via Yahoo to OnePL Send a message via Skype™ to OnePL
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-22-2015 , 05:13   Re: CBasePlayer::AddPlayerItem crash
Reply With Quote #26

What it means is you hook Ham_TraceAttack, and it crashes inside the real game function CBasePlayer::TraceAttack.

You do probably something weird inside a plugin. Don't know.
__________________
Arkshine is offline
OnePL
BANNED
Join Date: May 2012
Location: GB
Old 03-22-2015 , 07:56   Re: CBasePlayer::AddPlayerItem crash
Reply With Quote #27

Spoiler

Last edited by OnePL; 03-22-2015 at 07:56.
OnePL is offline
Send a message via ICQ to OnePL Send a message via AIM to OnePL Send a message via Yahoo to OnePL Send a message via Skype™ to OnePL
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 03-23-2015 , 09:15   Re: CBasePlayer::AddPlayerItem crash
Reply With Quote #28

I am almost 100% sure that

Spoiler

those two are using AddPlayerItem or something like that (probably for weaponList message).
__________________


Last edited by NiHiLaNTh; 03-23-2015 at 09:15.
NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
OnePL
BANNED
Join Date: May 2012
Location: GB
Old 03-23-2015 , 09:54   Re: CBasePlayer::AddPlayerItem crash
Reply With Quote #29

Quote:
Originally Posted by NiHiLaNTh View Post
I am almost 100% sure that

Spoiler

those two are using AddPlayerItem or something like that (probably for weaponList message).
No.
OnePL is offline
Send a message via ICQ to OnePL Send a message via AIM to OnePL Send a message via Yahoo to OnePL Send a message via Skype™ to OnePL
OnePL
BANNED
Join Date: May 2012
Location: GB
Old 03-23-2015 , 12:28   Re: CBasePlayer::AddPlayerItem crash
Reply With Quote #30

Each time it is the same:
Code:
#0  CBasePlayer::TraceAttack (this=0xf10e9748, pevAttacker=0xf39c98fc, flDamage=31.0339794, vecDir=..., ptr=0xffbf59a0, bitsDamageType=64) at ../cstrike/dlls/player.cpp:997
#0  CBasePlayer::TraceAttack (this=0xf10e9748, pevAttacker=0xf39c98fc, flDamage=31.0339794, vecDir=..., ptr=0xffbf59a0, bitsDamageType=64) at ../cstrike/dlls/player.cpp:997
#1  0xf280784d in Hook_Void_Entvar_Float_Vector_Trace_Int(Hook*, void*, entvars_s*, float, Vector, TraceResult*, int) () from cstrike/addons/amxmodx/modules/hamsandwich_amxx_i386.so
#2  0xffbf59a0 in ?? ()
#3  0xbf204634 in ?? ()
#4  0x3f455237 in ?? ()
#5  0xffbf59f8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
bShouldBleed = true
bShouldSpark = false
bHitShield = false
pAttacker = 0xecdfbe40
Reason may be an impact on damage (lower or higher)?

Last edited by OnePL; 03-23-2015 at 12:49.
OnePL is offline
Send a message via ICQ to OnePL Send a message via AIM to OnePL Send a message via Yahoo to OnePL Send a message via Skype™ to OnePL
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode