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
V1SoR
Member
Join Date: Jan 2011
Old 06-21-2013 , 11:17   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #401

The disasm is telling me that, despite being logically assigned to boomers only, the cvars z_exploding_shove_min and z_exploding_shove_max actually apply to all shoveable SI. Try setting them both at equal values and see if it helps.
V1SoR is offline
crasx
Member
Join Date: May 2011
Location: Lakewood, CO
Old 07-04-2013 , 19:55   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #402

is anyone working on updating this? I can do it but won't be able to until tomorrow.

Quote:
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'SpawnTank' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'SpawnWitch' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'ClearTeamScores' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'SetCampaignScores' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'OnFirstSurvivorLeftSafeArea' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'CDirector_GetScriptValueInt' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'CDirector_GetScriptValueFloat' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'CDirector_GetScriptValueString' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'TryOfferingTankBot' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'OnMobRushStart' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'Zombiemanager_SpawnITMob' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'Zombiemanager_SpawnMob' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'CTerrorPlayer_OnShovedBySurvivor' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find DifficultyChanged signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find address for detour
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'GetSurvivorSet' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'FastGetSurvivorSet' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'GetMissionVersusBossSpawning' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'CThrowActivate' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'StartMeleeSwing' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'ChangeFinaleStage' signature
L 07/04/2013 - 18:19:22: [LEFT4DOWNTOWN] Detour -- Could not find 'CDirector_IsFinale' signature
L 07/04/2013 - 18:19:23: [LEFT4DOWNTOWN] Detour -- Could not find 'CTerrorPlayer_OnEnterGhostState' signature
L 07/04/2013 - 18:19:23: [LEFT4DOWNTOWN] Detour -- Could not find 'GetMasterServerPlayerCounts' signature
crasx is offline
adrianman
Senior Member
Join Date: Sep 2010
Old 07-05-2013 , 04:17   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #403

your help will be greatly appreciated
__________________
The best thing in life's for free
adrianman is offline
Electr000999
Senior Member
Join Date: Aug 2011
Old 07-05-2013 , 04:48   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #404

http://nicholashastings.com/gdc_manu...12536-l4d2.log see line "Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/left4downtown.l4d2.txt", may be correct.. i am don't use this ext.

Last edited by Electr000999; 07-05-2013 at 04:52.
Electr000999 is offline
Send a message via Skype™ to Electr000999
crasx
Member
Join Date: May 2011
Location: Lakewood, CO
Old 07-05-2013 , 05:07   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #405

Those look like the old signatures.

i'm not exactly a pro at this but I tyhink I got the spawnwitch address - 102fcf40
with the bytes
8B 0D 60 58 71 10 E8 35 A5 F3 FF 85 C0 7C 13 8B

I have no idea how many bytes i should be copying, or which ones should be random. Are there any good resources I could look over? I have like 30 other functions i need to find -_-
crasx is offline
spumer
Senior Member
Join Date: Aug 2011
Old 07-05-2013 , 06:06   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #406

I found VersusMaxCompletionScore offsets:
Win: 1176 (not changed)
Lin: 3560
Try this.
__________________

Last edited by spumer; 07-05-2013 at 23:04.
spumer is offline
dismomen
Member
Join Date: Mar 2010
Old 07-05-2013 , 07:11   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #407

Quote:
Originally Posted by Electr000999 View Post
http://nicholashastings.com/gdc_manu...12536-l4d2.log see line "Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/left4downtown.l4d2.txt", may be correct.. i am don't use this ext.
thanks so much!!!
dismomen is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 07-05-2013 , 07:45   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #408

If someone could teach me how to update the gamedata I could do it in the future as well. I'm very much interested in knowing how to do this and my server depends on the functionality of this very extension. I have a few years experience in software development (mostly c# but also vb.net and java) and since 2011 I've been developing sourcemod plugins but I barely have a clue about reverse engineering.
Dr. Greg House is offline
spumer
Senior Member
Join Date: Aug 2011
Old 07-05-2013 , 08:21   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #409

Read the http://wiki.alliedmods.net/Signature_Scanning
I'm use the IDA Pro 5.2 with hexray plugin for investigate algorithms and find offsets.
Function signature for windows is a first bytes of function (sourcemod support wildcards).

Offset can be found in code directly: e.g. mov eax, [eax+490h]
in this case is a 490h (old offset of VersusMaxCompletionScore) and got from function.
Offset can be calc by you:
Example: Change byte in func (change sar eax, 2 to sar eax, 3)
1. Find the function and get the address of the beginning [function_start.png]
2. Go to the needed byte [function_offset.png]
3. Sub one from two: 0x0086BF0 - 0x0086B80 = 0x70 = 112
Now we have offset and when get address of this function we can add this offset and change this byte.

It's simple, but for windows you need more code analytics. Look to how work linux and try find same behavior.

A brief description, but maybe I will do a more detailed in the future.
Attached Thumbnails
Click image for larger version

Name:	function_start.PNG
Views:	546
Size:	48.8 KB
ID:	122158   Click image for larger version

Name:	function_offset.png
Views:	438
Size:	71.1 KB
ID:	122159  
__________________

Last edited by spumer; 07-05-2013 at 08:24.
spumer is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 07-05-2013 , 08:30   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #410

Isn't windows offset = linux offset - 1?
Dr. Greg House 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 23:40.


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