Raised This Month: $51 Target: $400
 12% 

[L4D2] Cannot access memory at address


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 04-14-2018 , 17:44   [L4D2] Cannot access memory at address
Reply With Quote #1

I was just trying to run readyup plugin for L4D2 and it keeps crashing the server.

Link to the plugin - https://github.com/Attano/L4D2-Compe...ing/readyup.sp

PHP Code:
BFDWarning: /home/server/l4d2_ds/core is truncatedexpected core file size >= 445833216found1077248.
Cannot access memory at address 0xf77aa908
Cannot access memory at address 0xf77aa904
Failed to read a valid object file image from memory
.
Cannot access memory at address 0xf77aa908
Cannot access memory at address 0xf77aa904 
PHP Code:
Accelerator logKVAH-E62W-EPYX 
L4D_OnFirstSurvivorLeftSafeArea is the only call that is made to the server memory and I already checked the signature for that function. it matches exactly and I'm running Linux, so not sure what's going wrong here.

Does anyone have any pointers towards fixing this problem?
__________________
Spirit_12 is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 04-14-2018 , 18:43   Re: [L4D2] Cannot access memory at address
Reply With Quote #2

You could replace the downtown forward in readyup.sp with a player_left_start_area hook. It would work the same...

Last edited by Visual77; 04-14-2018 at 18:45.
Visual77 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-14-2018 , 18:58   Re: [L4D2] Cannot access memory at address
Reply With Quote #3

Please attach a copy of your left4downtown.ext.2.l4d2.so - it doesn't match the one in that repo (or any other I can find).
__________________
asherkin is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 04-14-2018 , 19:21   Re: [L4D2] Cannot access memory at address
Reply With Quote #4

Quote:
Originally Posted by Visual77 View Post
You could replace the downtown forward in readyup.sp with a player_left_start_area hook. It would work the same...
I'm aware, but I plan on using downtown for some other functions so it shouldn't matter either way.

Quote:
Originally Posted by asherkin View Post
Please attach a copy of your left4downtown.ext.2.l4d2.so - it doesn't match the one in that repo (or any other I can find).
I compiled a lite version of the downtown extension with only the required functions. Here is the attached extension file. I think I tried it with Accelerators version as well and had the same results.
Attached Files
File Type: so left4downtown.ext.2.l4d2.so (265.0 KB, 86 views)
__________________
Spirit_12 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-14-2018 , 20:06   Re: [L4D2] Cannot access memory at address
Reply With Quote #5

The crash is inside a call to L4D2_CTimerStart, something going wonky after the call to CountdownTimer::Now(...).
__________________

Last edited by asherkin; 04-14-2018 at 20:06.
asherkin is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 04-14-2018 , 22:03   Re: [L4D2] Cannot access memory at address
Reply With Quote #6

Thanks a lot Asherkin. I'll look into that cpp.
__________________
Spirit_12 is offline
Reply



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 14:52.


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