Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 14:00

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 13 posts ] 
Author Message
 Post subject: Problem with teamcrash-patch (SoF2)
PostPosted: 03 Oct 2007 19:06 

Joined: 03 Oct 2007 18:41
Posts: 27
Location: Germany
http://aluigi.altervista.org/patches/q3infofix.lpatch

I tried, and I still don't know how to use.
I downloaded lpatch, lol , but dunno how to use <.< .

As what file should i save it to?

[code]FILE
*.exe

ONLY_ONE

; Soldier of Fortune 2 1.03

BYTES_ORIGINAL
90 90 90 90 90 90 90 90 90 *65 ; 00078A34
8D 44 24 20 *2a9 ; 00078AA2
50 8D 54 24 10 *20d ; 00078D4F
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 ; 00078F61

BYTES_PATCH
88 48 40 8D 44 24 20 EB 69 *65
33 C9 EB 8E *2a9
E9 0D 02 00 00 *20d
50 33 C9 88 48 40 8D 54 24 10 E9 E4 FD FF FF

; // getstatus fix
;00478A34 884840 mov byte ptr [eax+40], cl
;00478A37 8D442420 lea eax, dword ptr [esp+20]
;00478A3B EB69 jmp 00478AA6
;..
;00478AA2 33C9 xor ecx, ecx
;00478AA4 EB8E jmp 00478A34
;
; // getinfo fix
;00478D4F E90D020000 jmp 00478F61
;..
;00478F61 50 push eax
;00478F62 33C9 xor ecx, ecx
;00478F64 884840 mov byte ptr [eax+40], cl
;00478F67 8D542410 lea edx, dword ptr [esp+10]
;00478F6B E9E4FDFFFF jmp 00478D54
;
; the following patch is for sof2 1.00, I have preferred to left
; the old lpatch.dat
; ; Soldier of Fortune 2 1.00
;
;BYTES_ORIGINAL
; 03 *fff0 *fff0 *1b58 ; 0005457D
; 90 90 90 90 90 90 90 90 90 *33 ; 000760B6
; 8D 44 24 18 ; 000760F2
;
;BYTES_PATCH
; 01 *fff0 *fff0 *1b58
; 88 48 40 8D 44 24 18 EB 37 *33
; 33 C9 EB C0

; Call of Duty

BYTES_ORIGINAL
85 C0 ; test eax, eax
74 ?? ; je 00447C7D
83 F8 0A ; cmp eax, 0000000A
74 ?? ; je 00447C7D
83 F8 25 ; cmp eax, 00000025
75 ?? ; jne 00447C60
B8 2E 00 00 00 ; mov eax, 0000002E
EB ?? ; jmp 00447C6E
3C 92 ; cmp al, 92
75 ?? ; jne 00447C68
B0 27 ; mov al, 27
EB ?? ; jmp 00447C6E
3C 7F ; cmp al, 7F
76 ?? ; jbe 00447C6E
B0 2E ; mov al, 2E
88 ?? ?? ?? ?? ?? ; mov byte ptr [esi+00916F88], al
46 ; inc esi
81 FE FF 03 00 00 ; cmp esi, 000003FF

BYTES_PATCH
?? ??
?? ??
?? ?? ??
?? ??
?? ?? ??
?? ??
?? ?? ?? ?? ??
?? ??
?? ??
?? ??
?? ??
?? ??
?? ??
?? ??
?? ??
?? ?? ?? ?? ?? ??
??
?? ?? 7F 01 00 00 ; cmp esi, 0000017F

; any other executable

BYTES_ORIGINAL
74 ?? ; je 004299DF
83 f8 0a ; cmp eax, 0000000A
74 ?? ; je 004299DF
83 f8 25 ; cmp eax, 00000025
75 ?? ; jne 004299D0
b8 2e 00 00 00 ; mov eax, 0000002E
88 ?? ?? ?? ?? ?? ; mov byte ptr [esi+008C5CD0], al
?? ; inc esi
81 ?? ff 03 00 00 ; cmp esi, 000003FF

BYTES_PATCH
?? ??
?? ?? ??
?? ??
?? ?? ??
?? ??
?? ?? ?? ?? ??
?? ?? ?? ?? ?? ??
??
?? ?? 7f 01 00 00 ; cmp esi, 0000017f[/code]


Top
 Profile  
 
 
 Post subject:
PostPosted: 03 Oct 2007 21:37 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
This video will solve any doubt:

http://aluigi.org/video.htm

lpatch.avi naturally ih ih ih


Top
 Profile  
 
 Post subject:
PostPosted: 03 Oct 2007 23:11 

Joined: 03 Oct 2007 18:41
Posts: 27
Location: Germany
lol, which video of them ? lpatch.avi aren't there.


Top
 Profile  
 
 Post subject:
PostPosted: 04 Oct 2007 08:56 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
Are you joking or what?

"How to use my patches with the Lpatch program (lpatch)"


Top
 Profile  
 
 Post subject:
PostPosted: 04 Oct 2007 11:54 

Joined: 03 Oct 2007 18:41
Posts: 27
Location: Germany
lol , you add it there -.- i'm sure there was nothing about lpatch :p

However, it say -> http://www.imgnow.de/uploads/image17c2png.png

Work that only with gold ver. ? Because I play 1.01 , and there are much children that love to crash other ppl ...
Just want to patch this shit teamcrash bug :p


Top
 Profile  
 
 Post subject:
PostPosted: 04 Oct 2007 12:10 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
Check if the executable file is in use (are you running the server?) or is write protected


Top
 Profile  
 
 Post subject:
PostPosted: 04 Oct 2007 12:38 

Joined: 03 Oct 2007 18:41
Posts: 27
Location: Germany
No , it isn't. I just copied the SoF2MP.exe in the folder with lpatch and the fix ( as you can see it in the video ).


Top
 Profile  
 
 Post subject:
PostPosted: 04 Oct 2007 12:44 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
"permission denied" means just that is not possible to read or write the executable for various reasons (in use, permissions, write protected and so on) so check the file better


Top
 Profile  
 
 Post subject:
PostPosted: 04 Oct 2007 14:00 

Joined: 03 Oct 2007 18:41
Posts: 27
Location: Germany
Oh, it was write-protected :P

thx :D


Top
 Profile  
 
 Post subject:
PostPosted: 06 Oct 2007 21:11 

Joined: 03 Oct 2007 18:41
Posts: 27
Location: Germany
Hm , my friend test it and... I was crashed lol . Why is this still possible?


Top
 Profile  
 
 Post subject:
PostPosted: 06 Oct 2007 21:25 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
Are you sure to have launched the patched executable?
What game version has been patched?


Top
 Profile  
 
 Post subject:
PostPosted: 06 Oct 2007 21:26 

Joined: 03 Oct 2007 18:41
Posts: 27
Location: Germany
1.01g(erman) has been patched . And in his serverconsole stand :

Com_sprintf: overflow of 1024 in 1024 for '%s'
Com_sprintf: overflow of 1024 in 1024 for '%s'
Com_sprintf: overflow of 1024 in 1024 for '%s'
Com_sprintf: overflow of 1024 in 1024 for '%s'


Top
 Profile  
 
 Post subject:
PostPosted: 07 Oct 2007 15:05 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
This problem doesn't happen with sof2 1.03 or 1.02a


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 13 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: