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

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


Post New Thread Reply   
 
Thread Tools Display Modes
dcx2
Senior Member
Join Date: Sep 2011
Old 08-05-2013 , 12:54   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #581

At least your other plugin works again.

I don't know why you're getting the missing signatures messages in console. Plugins don't usually change signatures, but extensions do...if you're using playerslots, are you perhaps using other extensions too? It's possible some other extension is detouring those functions. I think the command is "sm exts list"

I also wanna know which signature is the wrong that's complaining "could not find address for detour". I'll have to figure that out later.

I don't know whether playerslots is working on Windows. Martijn confirmed the .so he posted has functioning playerslots, and I *think* I found the right signatures and offsets on Windows, and I don't think it requires a new binary of downtown2 like it did for Linux...but I haven't tested it so I can't confirm one way or the other.
__________________
dcx2 is offline
Bakuryu
Member
Join Date: Dec 2011
Old 08-05-2013 , 15:28   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #582

Here's a list of my ext

Code:
[01] Automatic Updater (1.5.0-dev+3871): Updates SourceMod gamedata files
[02] Webternet (1.5.0-dev+3871): Extension for interacting with URLs
[03] Left 4 Downtown 2 Extension (0.5.4.2): Downtown1's extension to perform useful L4D1/L4D2 calls
[04] BinTools (1.5.0-dev+3871): Low-level C/C++ Calling API
[05] Top Menus (1.5.0-dev+3871): Creates sorted nested menus
[06] SDK Tools (1.5.0-dev+3871): Source SDK Tools
[07] Client Preferences (1.5.0-dev+3871): Saves client preference settings
[08] SQLite (1.5.0-dev+3871): SQLite Driver
[09] SDK Hooks (1.5.0-dev+3871): Source SDK Hooks
Bakuryu is offline
dcx2
Senior Member
Join Date: Sep 2011
Old 08-06-2013 , 10:26   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #583

Hmm. I looked at GetDifficulty. It's very short, so the sig requires bytes that will inevitably change. Worse, those bytes are actually an address. Which makes me wonder...what version of Windows are you using? If you're using Vista or above, is it possible that ASLR is modifying that address when the dll is loaded? My server runs on XP (yeah, yeah, I know...) which does not have ASLR.
__________________
dcx2 is offline
Bakuryu
Member
Join Date: Dec 2011
Old 08-06-2013 , 15:47   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #584

Quote:
Originally Posted by dcx2 View Post
Hmm. I looked at GetDifficulty. It's very short, so the sig requires bytes that will inevitably change. Worse, those bytes are actually an address. Which makes me wonder...what version of Windows are you using? If you're using Vista or above, is it possible that ASLR is modifying that address when the dll is loaded? My server runs on XP (yeah, yeah, I know...) which does not have ASLR.
I am in fact using Windows 7 64Bit
Bakuryu is offline
dcx2
Senior Member
Join Date: Sep 2011
Old 08-06-2013 , 17:39   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #585

I'm not *convinced* that it's ASLR. But apparently you can shut off ASLR in W7 by using the Windows Enhanced Mitigation Experience Toolkit. You can use this to turn ASLR off.

I highly recommend AGAINST leaving ASLR off permanently. ASLR is a good thing that keeps your system more secure. Should you decide to turn it off to test whether this is the cause of your problem, make sure you turn it back on after you are done.

Also, apparently L4D2 had another update recently (yesterday?). If you've updated, that could also cause the broken signature. But it appears you've had your issue since before the update.
__________________
dcx2 is offline
disawar1
AlliedModders Donor
Join Date: Aug 2011
Location: Russian
Old 08-07-2013 , 06:41   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #586

Another broken offset SpawnTimer https://github.com/ConfoglTeam/l4d2_direct/pull/11
__________________
disawar1 is offline
Bakuryu
Member
Join Date: Dec 2011
Old 08-16-2013 , 12:43   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #587

Quote:
Originally Posted by dcx2 View Post
I'm not *convinced* that it's ASLR. But apparently you can shut off ASLR in W7 by using the Windows Enhanced Mitigation Experience Toolkit. You can use this to turn ASLR off.

I highly recommend AGAINST leaving ASLR off permanently. ASLR is a good thing that keeps your system more secure. Should you decide to turn it off to test whether this is the cause of your problem, make sure you turn it back on after you are done.

Also, apparently L4D2 had another update recently (yesterday?). If you've updated, that could also cause the broken signature. But it appears you've had your issue since before the update.
Tried this and it still happened so it isn't ASLR
Bakuryu is offline
winged_box
Senior Member
Join Date: Aug 2013
Location: Singapore
Old 08-23-2013 , 04:36   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #588

I downloaded left4downtown2-v0.5.4.2.zip and merged those files to my sourcemod folder.

After that my game will always crashed to desktop at the loading screen when i click start game.

I'm using this in a custom map.
winged_box is offline
Tenshisan
Junior Member
Join Date: Jul 2011
Location: Germany
Old 08-28-2013 , 15:48   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #589

Doesnt found a Linux Version of 0.5.4.2 which was working (mb i doesnt saw it in this thread) so i compiled it new.
Attached Files
File Type: so left4downtown.ext.2.l4d2.so (378.9 KB, 298 views)
__________________


Last edited by Tenshisan; 08-28-2013 at 15:50.
Tenshisan is offline
winniethepooh
SourceMod Donor
Join Date: Sep 2012
Old 08-28-2013 , 17:12   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #590

Quote:
Originally Posted by Tenshisan View Post
Doesnt found a Linux Version of 0.5.4.2 which was working (mb i doesnt saw it in this thread) so i compiled it new.
Can you please post the source that you compiled and/or clarify what version you compiled (the left4downtown2-v0.5.4.2-src.zip from the original post? The src on the google code page? A different set?)
winniethepooh 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 02:44.


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