Raised This Month: $127 Target: $400
 31% 

[EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown


Post New Thread Reply   
 
Thread Tools Display Modes
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-14-2017 , 08:33   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #911

Ever since Sourcemod 1.7, Gamerules signature and offset has been removed from stock sdktools gamedata. You can check that for yourself, which made every function not work that came after it. Moving GameRules to Downtown gamedata solves this problem.

The other change was switching the debug to error for gamedata in vglobals.cpp and no longer block all functions if a single signature breaks. Makes sense to throw error for missing signature as opposed to only show it under debug version.
__________________
Spirit_12 is offline
Accelerator74
AlliedModders Donor
Join Date: Dec 2010
Location: Russia
Old 08-14-2017 , 08:36   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #912

Quote:
Originally Posted by Spirit_12 View Post
Ever since Sourcemod 1.7, Gamerules signature and offset has been removed from stock sdktools gamedata. You can check that for yourself, which made every function not work that came after it. Moving GameRules to Downtown gamedata solves this problem.
Signatures for gamerules are not needed!

https://github.com/Accelerator74/Lef...atives.cpp#L77

PHP Code:
void *gamerules g_pSDKTools->GetGameRules(); 
For all natives.

Last edited by Accelerator74; 08-14-2017 at 08:38.
Accelerator74 is offline
Send a message via ICQ to Accelerator74
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-14-2017 , 11:15   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #913

Quote:
Originally Posted by Accelerator74 View Post
Signatures for gamerules are not needed!

https://github.com/Accelerator74/Lef...atives.cpp#L77

PHP Code:
void *gamerules g_pSDKTools->GetGameRules(); 
For all natives.
Haven't looked at the code yet, but I tried your binary with current stable Sourcemod build. It doesn't work on windows.
__________________
Spirit_12 is offline
Accelerator74
AlliedModders Donor
Join Date: Dec 2010
Location: Russia
Old 08-14-2017 , 11:17   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #914

All worked for me.
Accelerator74 is offline
Send a message via ICQ to Accelerator74
Crasher_3637
Veteran Member
Join Date: May 2012
Old 09-10-2017 , 05:59   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #915

Does Left4Downtown2 not work for local servers? I keep crashing every time I use any version from this thread. I even tried Spirit's version on post #909 and I still crash. The only time I don't crash is if I use the one from the original thread by Downtown1.
__________________

Last edited by Crasher_3637; 10-22-2017 at 10:58.
Crasher_3637 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 09-10-2017 , 09:29   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #916

My guess would be you are running l4d1, instead of l4d2 or you have bad signatures.
__________________
Spirit_12 is offline
Crasher_3637
Veteran Member
Join Date: May 2012
Old 09-11-2017 , 02:32   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #917

I'm actually only using SM & MM for L4D2. I'm not sure how to really fix the crashes since I did follow the installation instructions carefully.

If it helps, I'm running on Windows.

EDIT: I used Marudo's version on post #817 and I'm no longer crashing.
__________________

Last edited by Crasher_3637; 10-22-2017 at 10:36.
Crasher_3637 is offline
dinhojack
Junior Member
Join Date: Sep 2017
Old 09-18-2017 , 04:19   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #918

A lot of value, thanks for this
dinhojack is offline
eziosid
Senior Member
Join Date: Sep 2017
Old 12-04-2017 , 00:35   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #919

L 12/04/2017 - 11:01:47: SourceMod error session started
L 12/04/2017 - 11:01:47: Info (map "c2m1_highway") (file "errors_20171204.log")
L 12/04/2017 - 11:01:47: [LEFT4DOWNTOWN] Detour -- Could not find DifficultyChanged signature
L 12/04/2017 - 11:01:47: [LEFT4DOWNTOWN] Detour -- Could not find address for detour
L 12/04/2017 - 11:02:04: Error log file session closed.

i need this two signature & address .

using win7 64 bit

Last edited by eziosid; 12-04-2017 at 00:39.
eziosid is offline
kot4404
Senior Member
Join Date: Mar 2013
Old 12-22-2017 , 06:40   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #920

What is the latest working windows build? I can't get the @infected and @survivors targets to work
kot4404 is offline
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 02:52.


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