<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Little Fighter Empire - Forums - Tutorials]]></title>
		<link>https://lf-empire.de/forum/</link>
		<description><![CDATA[Little Fighter Empire - Forums - https://lf-empire.de/forum]]></description>
		<pubDate>Sat, 14 Nov 2026 12:05:48 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[[Tut] Reversing the effects of a CFG.]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=7183</link>
			<pubDate>Tue, 25 Oct 2011 12:10:26 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=3646">Electric2Shock</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=7183</guid>
			<description><![CDATA[This tutorial will show you how to reverse the effects of a CFG. Once you applied a CFG, you cant deactivate a CFG by applying it again.<br />
<br />
You need:<br />
1. Either a Hex editor or a CFG patcher.<br />
2. Some patience<br />
3. Ability to understand<br />
<br />
<div class="tborder spoiler"><div class="spoiler_header">Using Hex editor <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';this.parentNode.className = 'spoiler_header';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';;this.parentNode.className += ' spoiler_header_cornered';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">
1. Take any CFG. Suppose I use 0001FDBD,D0,00 <br />
2. Open the LF2 exe with the HEX editor.<br />
3. Go to the offset i.e the first number. Here the offset is 0001FDBD<br />
4. You see the number '00' in HEX.<br />
5. Change it to 'D0'<br />
6. Save the file.<br />
And you are done. <br />
P.S: You need to have the CFG applied before you can use this method.</div></div><div class="tborder spoiler"><div class="spoiler_header">Using CFG patcher <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';this.parentNode.className = 'spoiler_header';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';;this.parentNode.className += ' spoiler_header_cornered';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">
1. Open the CFG in notepad. Here, I take 0001FDBD,D0,00<br />
2. Change the second no. i.e, 'D0' to '00'<br />
3. Change the third no. i.e, '00' to 'D0'.<br />
4. Patch the CFG.<br />
And you done.</div></div>
P.S: You need to have the CFG applied before you can use this method.<br />
And to know how to apply CFGs without the Patcher, see <a href="http://www.lf-empire.de/forum/showthread.php?tid=6343&amp;pid=118095#pid118095" target="_blank" rel="noopener" class="mycode_url">&gt;&gt;this&lt;&lt;</a><br />
<br />
Some moderator who happens to pass by please move this thread to the Tutorials section.]]></description>
			<content:encoded><![CDATA[This tutorial will show you how to reverse the effects of a CFG. Once you applied a CFG, you cant deactivate a CFG by applying it again.<br />
<br />
You need:<br />
1. Either a Hex editor or a CFG patcher.<br />
2. Some patience<br />
3. Ability to understand<br />
<br />
<div class="tborder spoiler"><div class="spoiler_header">Using Hex editor <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';this.parentNode.className = 'spoiler_header';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';;this.parentNode.className += ' spoiler_header_cornered';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">
1. Take any CFG. Suppose I use 0001FDBD,D0,00 <br />
2. Open the LF2 exe with the HEX editor.<br />
3. Go to the offset i.e the first number. Here the offset is 0001FDBD<br />
4. You see the number '00' in HEX.<br />
5. Change it to 'D0'<br />
6. Save the file.<br />
And you are done. <br />
P.S: You need to have the CFG applied before you can use this method.</div></div><div class="tborder spoiler"><div class="spoiler_header">Using CFG patcher <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';this.parentNode.className = 'spoiler_header';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';;this.parentNode.className += ' spoiler_header_cornered';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">
1. Open the CFG in notepad. Here, I take 0001FDBD,D0,00<br />
2. Change the second no. i.e, 'D0' to '00'<br />
3. Change the third no. i.e, '00' to 'D0'.<br />
4. Patch the CFG.<br />
And you done.</div></div>
P.S: You need to have the CFG applied before you can use this method.<br />
And to know how to apply CFGs without the Patcher, see <a href="http://www.lf-empire.de/forum/showthread.php?tid=6343&amp;pid=118095#pid118095" target="_blank" rel="noopener" class="mycode_url">&gt;&gt;this&lt;&lt;</a><br />
<br />
Some moderator who happens to pass by please move this thread to the Tutorials section.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Tut] Apply CFG Patches using HEX Editor.]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=6343</link>
			<pubDate>Tue, 26 Apr 2011 16:58:53 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=3646">Electric2Shock</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=6343</guid>
			<description><![CDATA[Hey guys, this is my first tutorial regarding some small aspects of HEX, the CFG. Many of you guys know to apply CFG's using the Patcher, some such as Lord Silva know to apply them through HEX because he keeps making them. But some people are keeping me asking about that how to apply CFG's using a HEX Editor. This is especially for the ones with modified EXE's such as CE-LF2.<br />
P.S: Never use this tutorial on Moleboxed exe's such as NTSD.<br />
<div class="tborder spoiler"><div class="spoiler_header">Tutorial <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';this.parentNode.className = 'spoiler_header';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';;this.parentNode.className += ' spoiler_header_cornered';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">
For example, I take the F6 during stages CFG.<br />
<div class="tborder spoiler"><div class="spoiler_header">CFG <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';this.parentNode.className = 'spoiler_header';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';;this.parentNode.className += ' spoiler_header_cornered';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">0001FDBD,D0,00</div></div>Copy the CFG to any text editor. Then open the EXE with the HEX Editor. After opening, go to the offset which is the first number for example here is 0001FDBD so go to offset no. 0001FDBD. Then, look at the HEX of that offset. If it is D0 [the second number] change it to 00 [the third number]. Then save it and run the EXE. And voila you are done!</div></div>Also do not mind to use this tutorial unless it is a very small CFG or a modified EXE. Please have a little bit mercy to me as becuase it is my first HEX tutorial. I did not post this in the Tutorials section becuase I was not allowed to. Feedback is welcome.]]></description>
			<content:encoded><![CDATA[Hey guys, this is my first tutorial regarding some small aspects of HEX, the CFG. Many of you guys know to apply CFG's using the Patcher, some such as Lord Silva know to apply them through HEX because he keeps making them. But some people are keeping me asking about that how to apply CFG's using a HEX Editor. This is especially for the ones with modified EXE's such as CE-LF2.<br />
P.S: Never use this tutorial on Moleboxed exe's such as NTSD.<br />
<div class="tborder spoiler"><div class="spoiler_header">Tutorial <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';this.parentNode.className = 'spoiler_header';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';;this.parentNode.className += ' spoiler_header_cornered';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">
For example, I take the F6 during stages CFG.<br />
<div class="tborder spoiler"><div class="spoiler_header">CFG <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';this.parentNode.className = 'spoiler_header';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';;this.parentNode.className += ' spoiler_header_cornered';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">0001FDBD,D0,00</div></div>Copy the CFG to any text editor. Then open the EXE with the HEX Editor. After opening, go to the offset which is the first number for example here is 0001FDBD so go to offset no. 0001FDBD. Then, look at the HEX of that offset. If it is D0 [the second number] change it to 00 [the third number]. Then save it and run the EXE. And voila you are done!</div></div>Also do not mind to use this tutorial unless it is a very small CFG or a modified EXE. Please have a little bit mercy to me as becuase it is my first HEX tutorial. I did not post this in the Tutorials section becuase I was not allowed to. Feedback is welcome.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Newbie Hex Introduction + Edit Solid Colors]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=852</link>
			<pubDate>Wed, 13 Aug 2008 17:19:02 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=15">Silverthorn</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=852</guid>
			<description><![CDATA[<span style="font-size: xx-small;" class="mycode_size">I know, in this area I still feel like a noob <img src="https://lf-empire.de/forum/images/smilies/tongue2.gif" alt="=P" title="=P" class="smilie smilie_31" /></span><br />
<br />
Sometimes, people ask, how you change the colors that are not stored in a bitmap (which themselves are integrated in the exe as socalled "Resources"). If you've never heard about hex yet, it's time to get into the matter now. Let's get started <img src="https://lf-empire.de/forum/images/smilies/smile.gif" alt=":)" title=":)" class="smilie smilie_19" /><br />
<br />
LF2 was programmed in C, a language that looks like this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
 
int main(void)
{
    printf("Hello World!&#92;n");
    return EXIT_SUCCESS;
}</code></div></div><br />
Well, this would be the raw code, but for a computer, a code file is not more than a useless bunch of letters. To give the computer the information that it needs to work with, you need to compile the code. Compiling = making the code unreadable for humans but very readable for the computer.<br />
Now, our program has become something totally different. You can't really edit it anymore (except you have knowledge of hex-editing) and it's a pretty secure way of hiding algorithms.<br />
<br />
To get back to our topic, get the exe ready (probably it's a good idea to make a backup in case you get something wrong). Then, open the hex-editor of your choice (if you don't have any, go &gt;<a href="http://www.lf-empire.de/content/view/170/153/lang,en/" target="_blank" rel="noopener" class="mycode_url">here</a>&lt;). Paste the exe in there, and you'll see a bunch of random numbers, between 00 and FF.<br />
00-FF? Yes, this is the hexadecimal system, our common decimal system has (as you hopefully know) 10 different digits, the hexadecimal system (latin ftw!) has 16 different digits: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. So, FF is the same like 255 in decimal system.<br />
Now we need another tool to work with: FarbHexe. It sounds funny, works simple but thus is easy to use. You can download it from the link a few lines ago. Start FarbHexe and then LF2 (actually, the order doesn't really matter). You have this typical blue background that doesn't really fit if you have, for example an orange skin in progress. So, we need a nice, orange color. Now, hover over the background and read what FarbHexe says:<br />
10 20 6c<br />
Well, that sounds promising. Go back to the hex editor, and search for the value. But if you'll look for 10206c (I'd recommend no space if you search for hex), you'll be disappointed. The problem is that not every color is in RGB (Red,Green,Blue). There are also some things in BGR (the devil knows why...). What you're ought to do is just switch the value from 10206c to 6c2010. And, surprise, you'll get a 6c2010! If you have 1.9c as a basis, the value should be in line 26ec, on the e-th place. Convenient-wise you'd write it as an offset: 26ece (For the lf2-patcher, you should add the zeros in front, so 00026ece). Let's change it to orange. I'll take <span style="color: #FF8800;" class="mycode_color">this color</span>. Since it's BGR, you have to write it as 0088FF. Be sure to have the exe already closed, so that you can save your result!<br />
Save the change, and you should have an orange background at the start screen.<br />
<br />
You can do the same with any color that you can't find in the bitmaps. However, you should first search for RGB, if the supposed change doesn't work at any offset, try to search for BGR.<br />
<br />
I know, this was a lot matter for such a simple thing, I just tried to write it in a way that people with absolutely no knowledge of hex can understand it <img src="https://lf-empire.de/forum/images/smilies/;).gif" alt=";)" title=";)" class="smilie smilie_24" /><br />
<br />
Hope this helps <img src="https://lf-empire.de/forum/images/smilies/smile.gif" alt=":)" title=":)" class="smilie smilie_19" />]]></description>
			<content:encoded><![CDATA[<span style="font-size: xx-small;" class="mycode_size">I know, in this area I still feel like a noob <img src="https://lf-empire.de/forum/images/smilies/tongue2.gif" alt="=P" title="=P" class="smilie smilie_31" /></span><br />
<br />
Sometimes, people ask, how you change the colors that are not stored in a bitmap (which themselves are integrated in the exe as socalled "Resources"). If you've never heard about hex yet, it's time to get into the matter now. Let's get started <img src="https://lf-empire.de/forum/images/smilies/smile.gif" alt=":)" title=":)" class="smilie smilie_19" /><br />
<br />
LF2 was programmed in C, a language that looks like this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
 
int main(void)
{
    printf("Hello World!&#92;n");
    return EXIT_SUCCESS;
}</code></div></div><br />
Well, this would be the raw code, but for a computer, a code file is not more than a useless bunch of letters. To give the computer the information that it needs to work with, you need to compile the code. Compiling = making the code unreadable for humans but very readable for the computer.<br />
Now, our program has become something totally different. You can't really edit it anymore (except you have knowledge of hex-editing) and it's a pretty secure way of hiding algorithms.<br />
<br />
To get back to our topic, get the exe ready (probably it's a good idea to make a backup in case you get something wrong). Then, open the hex-editor of your choice (if you don't have any, go &gt;<a href="http://www.lf-empire.de/content/view/170/153/lang,en/" target="_blank" rel="noopener" class="mycode_url">here</a>&lt;). Paste the exe in there, and you'll see a bunch of random numbers, between 00 and FF.<br />
00-FF? Yes, this is the hexadecimal system, our common decimal system has (as you hopefully know) 10 different digits, the hexadecimal system (latin ftw!) has 16 different digits: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. So, FF is the same like 255 in decimal system.<br />
Now we need another tool to work with: FarbHexe. It sounds funny, works simple but thus is easy to use. You can download it from the link a few lines ago. Start FarbHexe and then LF2 (actually, the order doesn't really matter). You have this typical blue background that doesn't really fit if you have, for example an orange skin in progress. So, we need a nice, orange color. Now, hover over the background and read what FarbHexe says:<br />
10 20 6c<br />
Well, that sounds promising. Go back to the hex editor, and search for the value. But if you'll look for 10206c (I'd recommend no space if you search for hex), you'll be disappointed. The problem is that not every color is in RGB (Red,Green,Blue). There are also some things in BGR (the devil knows why...). What you're ought to do is just switch the value from 10206c to 6c2010. And, surprise, you'll get a 6c2010! If you have 1.9c as a basis, the value should be in line 26ec, on the e-th place. Convenient-wise you'd write it as an offset: 26ece (For the lf2-patcher, you should add the zeros in front, so 00026ece). Let's change it to orange. I'll take <span style="color: #FF8800;" class="mycode_color">this color</span>. Since it's BGR, you have to write it as 0088FF. Be sure to have the exe already closed, so that you can save your result!<br />
Save the change, and you should have an orange background at the start screen.<br />
<br />
You can do the same with any color that you can't find in the bitmaps. However, you should first search for RGB, if the supposed change doesn't work at any offset, try to search for BGR.<br />
<br />
I know, this was a lot matter for such a simple thing, I just tried to write it in a way that people with absolutely no knowledge of hex can understand it <img src="https://lf-empire.de/forum/images/smilies/;).gif" alt=";)" title=";)" class="smilie smilie_24" /><br />
<br />
Hope this helps <img src="https://lf-empire.de/forum/images/smilies/smile.gif" alt=":)" title=":)" class="smilie smilie_19" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Fusion Tutorial]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=734</link>
			<pubDate>Tue, 29 Jul 2008 12:50:29 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=8">Boop</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=734</guid>
			<description><![CDATA[I was actually writing a very descriptive tutorial, and then I accidentally closed the firefox tab and it was lost <img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />. So here is a really quick and easy way to do it ( I'll write a detailed explanation at some point <img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />). PS : I decided to just release this without an explanation because I doubt most people will read it anyway...<br />
<br />
First of all apply this patch with the cfg patcher(remove all the spaces the board adds):<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>0000238D,83F9077409,E994000400
00002405,BA0F0000,E9500004
00002537,83BAF406000033,E93DFF03009090
000025C1,C7427022010000,E9E2FE03009090
000026BA,83BAF406000033,E90CFE03009090
000442426,000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,83F907740583F908750CC605D01F450000E95FFFFBFF83F915740983F9160F855902FCFFC605D01F450001E945FFFBFF00000000803DD01F450000750ABA0F000000E99DFFFBFFBA2B000000E993FFFBFF0000803DD01F450000751283BAF4060000330F84CA00FCFFE9AC00FCFF83BAF4060000340F84B800FCFFE99A00FCFF0000803DD01F450000750CC7427022010000E90B01FCFFC7427036010000E9FF00FCFF0000803DD01F450000751283BAF4060000330F84E601FCFFE9F006FCFF83BAF4060000340F84D401FCFFE9DE06FCFF</code></div></div><br />
Then right click &gt; go to &gt; expression &gt; 00442426 .<br />
<br />
Here is an out line of what you have to change :<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00442426   &gt; 83F9 07        CMP ECX,7
00442429   . 74 05          JE SHORT lf2_fusi.00442430
0044242B   . 83F9 08        CMP ECX,8
0044242E   . 75 0C          JNZ SHORT lf2_fusi.0044243C
00442430   &gt; C605 D01F4500 &gt;MOV BYTE PTR DS:[451FD0],0
00442437   .^E9 5FFFFBFF    JMP lf2_fusi.0040239B
0044243C   &gt; 83F9 15        CMP ECX,15                               ;  ID 1
0044243F   . 74 09          JE SHORT lf2_fusi.0044244A
00442441   . 83F9 16        CMP ECX,16                               ;  ID 2
00442444   .^0F85 5902FCFF  JNZ lf2_fusi.004026A3
0044244A   &gt; C605 D01F4500 &gt;MOV BYTE PTR DS:[451FD0],1
00442451   .^E9 45FFFBFF    JMP lf2_fusi.0040239B
00442456     00             DB 00
00442457     00             DB 00
00442458     00             DB 00
00442459     00             DB 00
0044245A   &gt; 803D D01F4500 &gt;CMP BYTE PTR DS:[451FD0],0
00442461   . 75 0A          JNZ SHORT lf2_fusi.0044246D
00442463   . BA 0F000000    MOV EDX,0F
00442468   .^E9 9DFFFBFF    JMP lf2_fusi.0040240A
0044246D   &gt; BA 2B000000    MOV EDX,2B                               ;  ID 1 + ID 2(in this case 16+15 = 2B)
00442472   .^E9 93FFFBFF    JMP lf2_fusi.0040240A
00442477     00             DB 00
00442478     00             DB 00
00442479   &gt; 803D D01F4500 &gt;CMP BYTE PTR DS:[451FD0],0
00442480   . 75 12          JNZ SHORT lf2_fusi.00442494
00442482   . 83BA F4060000 &gt;CMP DWORD PTR DS:[EDX+6F4],33
00442489   .^0F84 CA00FCFF  JE lf2_fusi.00402559
0044248F   .^E9 AC00FCFF    JMP lf2_fusi.00402540
00442494   &gt; 83BA F4060000 &gt;CMP DWORD PTR DS:[EDX+6F4],34            ;  ID you want to fuse too
0044249B   .^0F84 B800FCFF  JE lf2_fusi.00402559
004424A1   .^E9 9A00FCFF    JMP lf2_fusi.00402540
004424A6     00             DB 00
004424A7     00             DB 00
004424A8   &gt; 803D D01F4500 &gt;CMP BYTE PTR DS:[451FD0],0
004424AF   . 75 0C          JNZ SHORT lf2_fusi.004424BD
004424B1   . C742 70 220100&gt;MOV DWORD PTR DS:[EDX+70],122
004424B8   .^E9 0B01FCFF    JMP lf2_fusi.004025C8
004424BD   &gt; C742 70 360100&gt;MOV DWORD PTR DS:[EDX+70],136            ;  frame you go to after fusion
004424C4   .^E9 FF00FCFF    JMP lf2_fusi.004025C8
004424C9     00             DB 00
004424CA     00             DB 00
004424CB   &gt; 803D D01F4500 &gt;CMP BYTE PTR DS:[451FD0],0
004424D2   . 75 12          JNZ SHORT lf2_fusi.004424E6
004424D4   . 83BA F4060000 &gt;CMP DWORD PTR DS:[EDX+6F4],33
004424DB   .^0F84 E601FCFF  JE lf2_fusi.004026C7
004424E1   .^E9 F006FCFF    JMP lf2_fusi.00402BD6
004424E6   &gt; 83BA F4060000 &gt;CMP DWORD PTR DS:[EDX+6F4],34            ;  id you you fuse 2, if you want the fusion to be permanent then just put some unused id here
004424ED   .^0F84 D401FCFF  JE lf2_fusi.004026C7
004424F3   .^E9 DE06FCFF    JMP lf2_fusi.00402BD6</code></div></div><br />
Detailed explanation :<br />
<br />
Coming at some point.]]></description>
			<content:encoded><![CDATA[I was actually writing a very descriptive tutorial, and then I accidentally closed the firefox tab and it was lost <img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />. So here is a really quick and easy way to do it ( I'll write a detailed explanation at some point <img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />). PS : I decided to just release this without an explanation because I doubt most people will read it anyway...<br />
<br />
First of all apply this patch with the cfg patcher(remove all the spaces the board adds):<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>0000238D,83F9077409,E994000400
00002405,BA0F0000,E9500004
00002537,83BAF406000033,E93DFF03009090
000025C1,C7427022010000,E9E2FE03009090
000026BA,83BAF406000033,E90CFE03009090
000442426,000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,83F907740583F908750CC605D01F450000E95FFFFBFF83F915740983F9160F855902FCFFC605D01F450001E945FFFBFF00000000803DD01F450000750ABA0F000000E99DFFFBFFBA2B000000E993FFFBFF0000803DD01F450000751283BAF4060000330F84CA00FCFFE9AC00FCFF83BAF4060000340F84B800FCFFE99A00FCFF0000803DD01F450000750CC7427022010000E90B01FCFFC7427036010000E9FF00FCFF0000803DD01F450000751283BAF4060000330F84E601FCFFE9F006FCFF83BAF4060000340F84D401FCFFE9DE06FCFF</code></div></div><br />
Then right click &gt; go to &gt; expression &gt; 00442426 .<br />
<br />
Here is an out line of what you have to change :<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00442426   &gt; 83F9 07        CMP ECX,7
00442429   . 74 05          JE SHORT lf2_fusi.00442430
0044242B   . 83F9 08        CMP ECX,8
0044242E   . 75 0C          JNZ SHORT lf2_fusi.0044243C
00442430   &gt; C605 D01F4500 &gt;MOV BYTE PTR DS:[451FD0],0
00442437   .^E9 5FFFFBFF    JMP lf2_fusi.0040239B
0044243C   &gt; 83F9 15        CMP ECX,15                               ;  ID 1
0044243F   . 74 09          JE SHORT lf2_fusi.0044244A
00442441   . 83F9 16        CMP ECX,16                               ;  ID 2
00442444   .^0F85 5902FCFF  JNZ lf2_fusi.004026A3
0044244A   &gt; C605 D01F4500 &gt;MOV BYTE PTR DS:[451FD0],1
00442451   .^E9 45FFFBFF    JMP lf2_fusi.0040239B
00442456     00             DB 00
00442457     00             DB 00
00442458     00             DB 00
00442459     00             DB 00
0044245A   &gt; 803D D01F4500 &gt;CMP BYTE PTR DS:[451FD0],0
00442461   . 75 0A          JNZ SHORT lf2_fusi.0044246D
00442463   . BA 0F000000    MOV EDX,0F
00442468   .^E9 9DFFFBFF    JMP lf2_fusi.0040240A
0044246D   &gt; BA 2B000000    MOV EDX,2B                               ;  ID 1 + ID 2(in this case 16+15 = 2B)
00442472   .^E9 93FFFBFF    JMP lf2_fusi.0040240A
00442477     00             DB 00
00442478     00             DB 00
00442479   &gt; 803D D01F4500 &gt;CMP BYTE PTR DS:[451FD0],0
00442480   . 75 12          JNZ SHORT lf2_fusi.00442494
00442482   . 83BA F4060000 &gt;CMP DWORD PTR DS:[EDX+6F4],33
00442489   .^0F84 CA00FCFF  JE lf2_fusi.00402559
0044248F   .^E9 AC00FCFF    JMP lf2_fusi.00402540
00442494   &gt; 83BA F4060000 &gt;CMP DWORD PTR DS:[EDX+6F4],34            ;  ID you want to fuse too
0044249B   .^0F84 B800FCFF  JE lf2_fusi.00402559
004424A1   .^E9 9A00FCFF    JMP lf2_fusi.00402540
004424A6     00             DB 00
004424A7     00             DB 00
004424A8   &gt; 803D D01F4500 &gt;CMP BYTE PTR DS:[451FD0],0
004424AF   . 75 0C          JNZ SHORT lf2_fusi.004424BD
004424B1   . C742 70 220100&gt;MOV DWORD PTR DS:[EDX+70],122
004424B8   .^E9 0B01FCFF    JMP lf2_fusi.004025C8
004424BD   &gt; C742 70 360100&gt;MOV DWORD PTR DS:[EDX+70],136            ;  frame you go to after fusion
004424C4   .^E9 FF00FCFF    JMP lf2_fusi.004025C8
004424C9     00             DB 00
004424CA     00             DB 00
004424CB   &gt; 803D D01F4500 &gt;CMP BYTE PTR DS:[451FD0],0
004424D2   . 75 12          JNZ SHORT lf2_fusi.004424E6
004424D4   . 83BA F4060000 &gt;CMP DWORD PTR DS:[EDX+6F4],33
004424DB   .^0F84 E601FCFF  JE lf2_fusi.004026C7
004424E1   .^E9 F006FCFF    JMP lf2_fusi.00402BD6
004424E6   &gt; 83BA F4060000 &gt;CMP DWORD PTR DS:[EDX+6F4],34            ;  id you you fuse 2, if you want the fusion to be permanent then just put some unused id here
004424ED   .^0F84 D401FCFF  JE lf2_fusi.004026C7
004424F3   .^E9 DE06FCFF    JMP lf2_fusi.00402BD6</code></div></div><br />
Detailed explanation :<br />
<br />
Coming at some point.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[10 HP when Opointed]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=711</link>
			<pubDate>Sun, 27 Jul 2008 17:01:29 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=8">Boop</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=711</guid>
			<description><![CDATA[As most of you know when you opoint julian or rudolfs I'd they appear with 10hp. Here is a short tutorial <img src="https://lf-empire.de/forum/images/smilies/biggrin.gif" alt=":D" title=":D" class="smilie smilie_20" />.<br />
<br />
0042269A   . 83F9 05        CMP ECX,5 &lt;&lt; Rudolf's ID<br />
0042269D     74 05          JE SHORT lf2.<span style="color: #008000;" class="mycode_color">004226A4</span><br />
<span style="color: #FF0000;" class="mycode_color">0042269F</span>   . 83F9 34        CMP ECX,34 &lt;&lt; Julian's ID<br />
004226A2     75 36          JNZ SHORT lf2.<span style="color: #FFA500;" class="mycode_color">004226DA</span><br />
004226A4   &gt; B9 0A000000    MOV ECX,0A &lt;&lt; 10 hp<br />
<br />
<br />
Replace CMP ECX,5 with JMP 00442XXX (I'm using JMP 00442963). Then Right click&gt;Go to&gt;expression &gt; 00442XXX( 00442963)<br />
<br />
And write this code:<br />
<br />
CMP ECX,5<br />
JE <span style="color: #008000;" class="mycode_color">004226A4</span><br />
CMP ECX, ID (the ID you want to copy to)<br />
JE <span style="color: #008000;" class="mycode_color">004226A4</span><br />
JMP <span style="color: #FFA500;" class="mycode_color">004226DA</span><br />
<br />
Have fun.]]></description>
			<content:encoded><![CDATA[As most of you know when you opoint julian or rudolfs I'd they appear with 10hp. Here is a short tutorial <img src="https://lf-empire.de/forum/images/smilies/biggrin.gif" alt=":D" title=":D" class="smilie smilie_20" />.<br />
<br />
0042269A   . 83F9 05        CMP ECX,5 &lt;&lt; Rudolf's ID<br />
0042269D     74 05          JE SHORT lf2.<span style="color: #008000;" class="mycode_color">004226A4</span><br />
<span style="color: #FF0000;" class="mycode_color">0042269F</span>   . 83F9 34        CMP ECX,34 &lt;&lt; Julian's ID<br />
004226A2     75 36          JNZ SHORT lf2.<span style="color: #FFA500;" class="mycode_color">004226DA</span><br />
004226A4   &gt; B9 0A000000    MOV ECX,0A &lt;&lt; 10 hp<br />
<br />
<br />
Replace CMP ECX,5 with JMP 00442XXX (I'm using JMP 00442963). Then Right click&gt;Go to&gt;expression &gt; 00442XXX( 00442963)<br />
<br />
And write this code:<br />
<br />
CMP ECX,5<br />
JE <span style="color: #008000;" class="mycode_color">004226A4</span><br />
CMP ECX, ID (the ID you want to copy to)<br />
JE <span style="color: #008000;" class="mycode_color">004226A4</span><br />
JMP <span style="color: #FFA500;" class="mycode_color">004226DA</span><br />
<br />
Have fun.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Tutorial Links Libary]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=706</link>
			<pubDate>Sun, 27 Jul 2008 15:22:19 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=8">Boop</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=706</guid>
			<description><![CDATA[Random stuff:<br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=277" target="_blank" rel="noopener" class="mycode_url">Change Loading text</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=64" target="_blank" rel="noopener" class="mycode_url">Stage Mode Only LF2</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=63" target="_blank" rel="noopener" class="mycode_url">Bitmap In Middle Of Screen (random stupid thing)</a><br />
<br />
ID Related:<br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=489" target="_blank" rel="noopener" class="mycode_url">AI Part 1</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=638" target="_blank" rel="noopener" class="mycode_url">AI Part 2</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=697" target="_blank" rel="noopener" class="mycode_url">Range AI</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=684" target="_blank" rel="noopener" class="mycode_url">ID Armor</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=690" target="_blank" rel="noopener" class="mycode_url">Weapon Broken Peices</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=68" target="_blank" rel="noopener" class="mycode_url">MP Regeneration</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=711" target="_blank" rel="noopener" class="mycode_url">10 HP when opointed</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=734" target="_blank" rel="noopener" class="mycode_url">Fusion</a>]]></description>
			<content:encoded><![CDATA[Random stuff:<br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=277" target="_blank" rel="noopener" class="mycode_url">Change Loading text</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=64" target="_blank" rel="noopener" class="mycode_url">Stage Mode Only LF2</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=63" target="_blank" rel="noopener" class="mycode_url">Bitmap In Middle Of Screen (random stupid thing)</a><br />
<br />
ID Related:<br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=489" target="_blank" rel="noopener" class="mycode_url">AI Part 1</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=638" target="_blank" rel="noopener" class="mycode_url">AI Part 2</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=697" target="_blank" rel="noopener" class="mycode_url">Range AI</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=684" target="_blank" rel="noopener" class="mycode_url">ID Armor</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=690" target="_blank" rel="noopener" class="mycode_url">Weapon Broken Peices</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=68" target="_blank" rel="noopener" class="mycode_url">MP Regeneration</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=711" target="_blank" rel="noopener" class="mycode_url">10 HP when opointed</a><br />
<a href="http://www.lf-empire.de/forum/showthread.php?tid=734" target="_blank" rel="noopener" class="mycode_url">Fusion</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Range AI]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=697</link>
			<pubDate>Sat, 26 Jul 2008 22:10:59 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=8">Boop</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=697</guid>
			<description><![CDATA[Update: I missed one part... Its all here now though(I hope)<br />
<br />
Range AI is split into <span style="font-weight: bold;" class="mycode_b">4</span> parts. I didn't bother finding out what each part does <img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />.<br />
<br />
part one:<br />
<br />
00407A8A  |. 8B89 F4060000  MOV ECX,DWORD PTR DS:[ECX+6F4]           ;  RANGE<br />
00407A90  |. 83F9 04        CMP ECX,4 &lt;&lt; ID 4<br />
00407A93  |. 0F84 3B010000  <span style="color: #FF0000;" class="mycode_color">JE lf2.00407BD4</span><br />
<span style="color: #32CD32;" class="mycode_color">00407A99 </span> |. 83F9 05        CMP ECX,5 &lt;&lt; ID 5<br />
00407A9C  |. 0F84 32010000  JE lf2.00407BD4<br />
00407AA2  |. 83F9 1F        CMP ECX,1F &lt;&lt; ID 31<br />
00407AA5  |. 0F84 29010000  JE lf2.00407BD4<br />
<br />
part 2<img src="https://lf-empire.de/forum/images/smilies/sad.gif" alt=":(" title=":(" class="smilie smilie_16" />looks the same as part one)<br />
00407EC8  |. 8B80 F4060000  MOV EAX,DWORD PTR DS:[EAX+6F4]           ;  RANGE<br />
00407ECE  |. 83F8 04        CMP EAX,4<br />
00407ED1  |. 74 0A          JE SHORT lf2.00407EDD<br />
00407ED3  |. 83F8 05        CMP EAX,5<br />
00407ED6  |. 74 05          JE SHORT lf2.00407EDD<br />
00407ED8  |. 83F8 1F        CMP EAX,1F<br />
<br />
part 3:<br />
0040806B  |. 83F8 04        CMP EAX,4                                <br />
0040806E  |. 74 13          JE SHORT lf2.00408083<br />
00408070  |. 83F8 05        CMP EAX,5<br />
00408073  |. 74 0E          JE SHORT lf2.00408083<br />
00408075  |. 83F8 1F        CMP EAX,1F<br />
00408078  |. 74 09          JE SHORT lf2.00408083<br />
0040807A  |. 83F8 24        CMP EAX,24 &lt;&lt; jans' ID! huh?!<br />
<br />
I suspect part 3 just tell them to run around a lot <img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />, if you haven't noticed jans AI tries to keep a distance and cast those devil/angle things all the time, doesn't usually fight melee if she can help it<img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />.<br />
<br />
Part 4 (update, I guess I missed this):<br />
00407F81  |. 8B82 F4060000  MOV EAX,DWORD PTR DS:[EDX+6F4]<br />
00407F87  |. 83F8 04        CMP EAX,4                                <br />
00407F8A  |. 74 0E          JE SHORT lf2.00407F9A<br />
00407F8C  |. 83F8 05        CMP EAX,5<br />
00407F8F  |. 74 09          JE SHORT lf2.00407F9A<br />
00407F91  |. 83F8 1F        CMP EAX,1F<br />
00407F94  |. 0F85 B2000000  JNZ lf2.0040804C<br />
<br />
<br />
<br />
<br />
To copy the range AI to more ID's just replace(using part one as an example :<br />
00407A90  |. 83F9 04        CMP ECX,4 &lt;&lt; ID 4<br />
<br />
With<br />
JMP XXXXXXX<br />
<br />
Then at XXXXXX:<br />
<br />
CMP ECX,4<br />
<span style="color: #FF0000;" class="mycode_color">JE 00407BD4</span><br />
CMP ECX,30 (id 48, the ID you want to copy to)<br />
<span style="color: #FF0000;" class="mycode_color">JE 00407BD4</span><br />
JMP <span style="color: #32CD32;" class="mycode_color">00407A99</span><br />
<br />
Hopefully you should be able to apply this to the other 2 parts (if you can't I'll edit the tutorial).]]></description>
			<content:encoded><![CDATA[Update: I missed one part... Its all here now though(I hope)<br />
<br />
Range AI is split into <span style="font-weight: bold;" class="mycode_b">4</span> parts. I didn't bother finding out what each part does <img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />.<br />
<br />
part one:<br />
<br />
00407A8A  |. 8B89 F4060000  MOV ECX,DWORD PTR DS:[ECX+6F4]           ;  RANGE<br />
00407A90  |. 83F9 04        CMP ECX,4 &lt;&lt; ID 4<br />
00407A93  |. 0F84 3B010000  <span style="color: #FF0000;" class="mycode_color">JE lf2.00407BD4</span><br />
<span style="color: #32CD32;" class="mycode_color">00407A99 </span> |. 83F9 05        CMP ECX,5 &lt;&lt; ID 5<br />
00407A9C  |. 0F84 32010000  JE lf2.00407BD4<br />
00407AA2  |. 83F9 1F        CMP ECX,1F &lt;&lt; ID 31<br />
00407AA5  |. 0F84 29010000  JE lf2.00407BD4<br />
<br />
part 2<img src="https://lf-empire.de/forum/images/smilies/sad.gif" alt=":(" title=":(" class="smilie smilie_16" />looks the same as part one)<br />
00407EC8  |. 8B80 F4060000  MOV EAX,DWORD PTR DS:[EAX+6F4]           ;  RANGE<br />
00407ECE  |. 83F8 04        CMP EAX,4<br />
00407ED1  |. 74 0A          JE SHORT lf2.00407EDD<br />
00407ED3  |. 83F8 05        CMP EAX,5<br />
00407ED6  |. 74 05          JE SHORT lf2.00407EDD<br />
00407ED8  |. 83F8 1F        CMP EAX,1F<br />
<br />
part 3:<br />
0040806B  |. 83F8 04        CMP EAX,4                                <br />
0040806E  |. 74 13          JE SHORT lf2.00408083<br />
00408070  |. 83F8 05        CMP EAX,5<br />
00408073  |. 74 0E          JE SHORT lf2.00408083<br />
00408075  |. 83F8 1F        CMP EAX,1F<br />
00408078  |. 74 09          JE SHORT lf2.00408083<br />
0040807A  |. 83F8 24        CMP EAX,24 &lt;&lt; jans' ID! huh?!<br />
<br />
I suspect part 3 just tell them to run around a lot <img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />, if you haven't noticed jans AI tries to keep a distance and cast those devil/angle things all the time, doesn't usually fight melee if she can help it<img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />.<br />
<br />
Part 4 (update, I guess I missed this):<br />
00407F81  |. 8B82 F4060000  MOV EAX,DWORD PTR DS:[EDX+6F4]<br />
00407F87  |. 83F8 04        CMP EAX,4                                <br />
00407F8A  |. 74 0E          JE SHORT lf2.00407F9A<br />
00407F8C  |. 83F8 05        CMP EAX,5<br />
00407F8F  |. 74 09          JE SHORT lf2.00407F9A<br />
00407F91  |. 83F8 1F        CMP EAX,1F<br />
00407F94  |. 0F85 B2000000  JNZ lf2.0040804C<br />
<br />
<br />
<br />
<br />
To copy the range AI to more ID's just replace(using part one as an example :<br />
00407A90  |. 83F9 04        CMP ECX,4 &lt;&lt; ID 4<br />
<br />
With<br />
JMP XXXXXXX<br />
<br />
Then at XXXXXX:<br />
<br />
CMP ECX,4<br />
<span style="color: #FF0000;" class="mycode_color">JE 00407BD4</span><br />
CMP ECX,30 (id 48, the ID you want to copy to)<br />
<span style="color: #FF0000;" class="mycode_color">JE 00407BD4</span><br />
JMP <span style="color: #32CD32;" class="mycode_color">00407A99</span><br />
<br />
Hopefully you should be able to apply this to the other 2 parts (if you can't I'll edit the tutorial).]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Weapon's Broken Pieces of ID]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=690</link>
			<pubDate>Sat, 26 Jul 2008 07:21:49 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=724">xxtomnyxx</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=690</guid>
			<description><![CDATA[If you want to creat a new weapon and add it into LF2,<br />
yuo may think about problem, it has no pieces after it broke.<br />
Now this problem could be solved.<br />
<br />
There are three parts that relate with the broken pieces of each id.<br />
If you want to copy the id or creat a new one,you have to change these parts.<br />
<br />
<br />
First part<br />
<br />
004228E3            .  8B81 F4060000                   mov eax,dword ptr ds:[ecx+6F4]<br />
004228E9            .  83F8 65                         cmp eax,<span style="color: #FF0000;" class="mycode_color">65</span><br />
004228EC            .  74 07                           je short lf2-t.004228F5<br />
004228EE            .  3D DA000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0DA</span><br />
004228F3            .  75 09                           jnz short lf2-t.004228FE<br />
004228F5            &gt;  BE 07000000                     mov esi,7<br />
004228FA            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
004228FE               83F8 64                         cmp eax,<span style="color: #FF0000;" class="mycode_color">64</span><br />
00422901               74 0E                           je short lf2-t.00422911<br />
00422903            .  3D D5000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0D5</span><br />
00422908            .  74 07                           je short lf2-t.00422911<br />
0042290A            .  3D D9000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0D9</span><br />
0042290F            .  75 09                           jnz short lf2-t.0042291A<br />
00422911            &gt;  BE 05000000                     mov esi,5<br />
00422916            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042291A            &gt;  3D C9000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0C9</span><br />
0042291F            .  75 09                           jnz short lf2-t.0042292A<br />
00422921            .  BE 03000000                     mov esi,3<br />
00422926            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042292A            &gt;  3D 96000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">96</span><br />
0042292F            .  75 09                           jnz short lf2-t.0042293A<br />
00422931            .  BE 0D000000                     mov esi,0D<br />
00422936            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042293A            &gt;  3D 97000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">97</span><br />
0042293F            .  75 09                           jnz short lf2-t.0042294A<br />
00422941            .  BE 0F000000                     mov esi,0F<br />
00422946            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042294A            &gt;  83F8 78                         cmp eax,<span style="color: #FF0000;" class="mycode_color">78</span><br />
0042294D            .  74 05                           je short lf2-t.00422954<br />
0042294F            .  83F8 7C                         cmp eax,<span style="color: #FF0000;" class="mycode_color">7C</span><br />
00422952            .  75 09                           jnz short lf2-t.0042295D<br />
00422954            &gt;  BE 03000000                     mov esi,3<br />
00422959            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042295D            &gt;  83F8 79                         cmp eax,<span style="color: #FF0000;" class="mycode_color">79</span><br />
00422960            .  75 09                           jnz short lf2-t.0042296B<br />
00422962            .  BE 04000000                     mov esi,4<br />
00422967            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042296B            &gt;  83F8 7A                         cmp eax,<span style="color: #FF0000;" class="mycode_color">7A</span><br />
0042296E            .  74 05                           je short lf2-t.00422975<br />
00422970            .  83F8 7B                         cmp eax,<span style="color: #FF0000;" class="mycode_color">7B</span><br />
00422973            .  75 09                           jnz short lf2-t.0042297E<br />
00422975            &gt;  BE 09000000                     mov esi,9<br />
0042297A            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042297E            &gt;  8B81 AC000000                   mov eax,dword ptr ds:[ecx+AC]<br />
<br />
<br />
Second part<br />
<br />
00422AD9            .  8B82 F4060000                   mov eax,dword ptr ds:[edx+6F4]<br />
00422ADF            .  3D 96000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">96</span><br />
00422AE4            .  74 0E                           je short lf2-t.00422AF4<br />
00422AE6            .  3D 97000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">97</span><br />
00422AEB            .  74 07                           je short lf2-t.00422AF4<br />
00422AED            .  3D D5000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0D5</span><br />
00422AF2            .  75 29                           jnz short lf2-t.00422B1D<br />
00422AF4            &gt;  6A 14                           push 14<br />
00422AF6            .  E8 4572FFFF                     call lf2-t.00419D40<br />
00422AFB            .  99                              cdq<br />
00422AFC            .  2BC2                            sub eax,edx<br />
00422AFE            .  83C4 04                         add esp,4<br />
00422B01            .  D1F8                            sar eax,1<br />
00422B03            .  F7D8                            neg eax<br />
00422B05            .  894424 24                       mov dword ptr ss:[esp+24],eax<br />
00422B09            .  8B84B3 94010000                 mov eax,dword ptr ds:[ebx+esi*4+194]<br />
00422B10            .  DB4424 24                       fild dword ptr ss:[esp+24]<br />
00422B14            .  DC25 30324400                   fsub qword ptr ds:[443230]<br />
00422B1A            .  DD58 48                         fstp qword ptr ds:[eax+48]<br />
00422B1D            &gt;  8B8CBB 94010000                 mov ecx,dword ptr ds:[ebx+edi*4+194]<br />
00422B24            .  8B91 68030000                   mov edx,dword ptr ds:[ecx+368]<br />
00422B2A            .  8B82 F4060000                   mov eax,dword ptr ds:[edx+6F4]<br />
00422B30            .  E9 8BF90100                     jmp lf2-t.004424C0<br />
00422B35            &gt;  3D C9000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0C9</span><br />
00422B3A            .  74 2C                           je short lf2-t.00422B68<br />
00422B3C            .  83F8 65                         cmp eax,<span style="color: #FF0000;" class="mycode_color">65</span><br />
00422B3F            .  74 27                           je short lf2-t.00422B68<br />
00422B41            .  83F8 78                         cmp eax,<span style="color: #FF0000;" class="mycode_color">78</span><br />
00422B44            .  74 22                           je short lf2-t.00422B68<br />
00422B46            .  83F8 79                         cmp eax,<span style="color: #FF0000;" class="mycode_color">79</span><br />
00422B49            .  74 1D                           je short lf2-t.00422B68<br />
00422B4B            .  83F8 7A                         cmp eax,<span style="color: #FF0000;" class="mycode_color">7A</span><br />
00422B4E            .  74 18                           je short lf2-t.00422B68<br />
00422B50            .  83F8 7B                         cmp eax,<span style="color: #FF0000;" class="mycode_color">7B</span><br />
00422B53            .  74 13                           je short lf2-t.00422B68<br />
00422B55            .  83F8 7C                         cmp eax,<span style="color: #FF0000;" class="mycode_color">7C</span><br />
00422B58            .  74 0E                           je short lf2-t.00422B68<br />
00422B5A            .  3D D9000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0D9</span><br />
00422B5F            .  74 07                           je short lf2-t.00422B68<br />
00422B61            .  3D DA000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0DA</span><br />
00422B66            .  75 29                           jnz short lf2-t.00422B91<br />
00422B68            &gt;  6A 08                           push 8<br />
<br />
<br />
Third part<br />
<br />
00422BB3           |.  8B94BB 94010000                 ||mov edx,dword ptr ds:[ebx+edi*4+194]<br />
00422BBA           |.  8B82 68030000                   ||mov eax,dword ptr ds:[edx+368]<br />
00422BC0           |.  81B8 F4060000 96000000          ||cmp dword ptr ds:[eax+6F4],<span style="color: #FF0000;" class="mycode_color">96</span><br />
00422BCA           |.  75 34                           ||jnz short lf2.00422C00<br />
00422BCC           |.  8B4424 10                       ||mov eax,dword ptr ss:[esp+10]<br />
　　　.　　　　　　　　　.　　　　　　　　　　　　　　　　　.　<br />
　　　.　　　　　　　　　.　　　　　　　　　　　　　　　　　.　<br />
　　　.　　　　　　　　　.　　　　　　　　　　　　　　　　　.　<br />
　　　.　　　　　　　　　.　　　　　　　　　　　　　　　　　.　<br />
　　　.　　　　　　　　　.　　　　　　　　　　　　　　　　　.　<br />
　　　.　　　　　　　　　.　　　　　　　　　　　　　　　　　.　<br />
00422F54           |&gt; \8B8CBB 94010000                 ||mov ecx,dword ptr ds:[ebx+edi*4+194]<br />
00422F5B           |.  8B91 68030000                   ||mov edx,dword ptr ds:[ecx+368]<br />
00422F61           |.  8B82 F4060000                   ||mov eax,dword ptr ds:[edx+6F4]<br />
00422F67           |.  3D D9000000                     ||cmp eax,<span style="color: #FF0000;" class="mycode_color">0D9</span><br />
00422F6C           |.  74 07                           ||je short lf2.00422F75<br />
00422F6E           |.  3D DA000000                     ||cmp eax,<span style="color: #FF0000;" class="mycode_color">0DA</span><br />
00422F73           |.  75 19                           ||jnz short lf2.00422F8E<br />
00422F75           |&gt;  6A 04                           ||push 4<br />
00422F77           |.  E8 C46DFFFF                     ||call lf2.00419D40<br />
00422F7C           |.  8B8CB3 94010000                 ||mov ecx,dword ptr ds:[ebx+esi*4+194]<br />
00422F83           |.  83C4 04                         ||add esp,4<br />
00422F86           |.  05 AE000000                     ||add eax,0AE<br />
00422F8B           |.  8941 70                         ||mov dword ptr ds:[ecx+70],eax<br />
00422F8E           |&gt;  8B4424 10                       ||mov eax,dword ptr ss:[esp+10]<br />
00422F92           |.  8B4C24 14                       ||mov ecx,dword ptr ss:[esp+14]<br />
00422F96           |.  40                              ||inc eax<br />
00422F97           |.  3BC1                            ||cmp eax,ecx<br />
00422F99           |.  894424 10                       ||mov dword ptr ss:[esp+10],eax<br />
00422F9D           |.^ 0F8C 07FAFFFF                   |\jl lf2.004229AA<br />
<br />
Third part settles each id and it's pieces. <br />
The red code is the weapon's id.<br />
I created a new weapon id and it's own broken pieces.<br />
You can consult it to copy or creat a new id and broke pieces by yourself.<br />
<br />
I use id 100 (weapon0) to make procedure detour.<br />
<br />
First part<br />
004228FA . 897424 14 mov dword ptr ss:[esp+14],esi <br />
004228FE E9 9DFB0100 <span style="color: #FFFF00;" class="mycode_color">jmp lf2-t.004424A0 </span><br />
00422903 . 3D D5000000 cmp eax,0D5 <br />
00422908 . 74 07 je short lf2-t.00422911 <br />
<br />
Second part<br />
00422B2A . 8B82 F4060000 mov eax,dword ptr ds:[edx+6F4] <br />
00422B30 . E9 8BF90100 <span style="color: #FFC0CB;" class="mycode_color">jmp lf2-t.004424C0 </span><br />
00422B35 &gt; 3D C9000000 cmp eax,0C9 <br />
00422B3A . 74 2C je short lf2-t.00422B68 <br />
<br />
Third part <br />
00422C00 &gt; \8B84BB 94010000 mov eax,dword ptr ds:[ebx+edi*4+194] <br />
00422C07 . 8B88 68030000 mov ecx,dword ptr ds:[eax+368] <br />
00422C0D . E9 EEF80100 <span style="color: #FFA500;" class="mycode_color">jmp lf2-t.00442500 </span><br />
00422C12 90 nop <br />
00422C13 90 nop <br />
00422C14 . 75 37 jnz short lf2-t.00422C4D <br />
00422C16 &gt; 8B4424 10 mov eax,dword ptr ss:[esp+10] <br />
00422C1A . 6A 04 push 4 <br />
00422C1C . 83F8 02 cmp eax,2 <br />
<br />
<br />
Detour of First part <br />
<span style="color: #FFFF00;" class="mycode_color">004424A0</span> 83F8 64 cmp eax,64 <br />
004424A3 ^ 0F84 6804FEFF je lf2-t.00422911 <br />
004424A9 3D 82000000 cmp eax,<span style="color: #32CD32;" class="mycode_color">82</span> <br />
004424AE ^ 0F84 5D04FEFF je lf2-t.00422911 <br />
004424B4 ^ E9 4A04FEFF jmp lf2-t.00422903 <br />
<br />
Detour of Second part <br />
<span style="color: #FFC0CB;" class="mycode_color">004424C0</span> &gt; 83F8 64 cmp eax,64 <br />
004424C3 .^ 0F84 9F06FEFF je lf2-t.00422B68 <br />
004424C9 3D 82000000 cmp eax,<span style="color: #32CD32;" class="mycode_color">82</span> <br />
004424CE .^ 0F84 9406FEFF je lf2-t.00422B68 <br />
004424D4 .^ E9 5C06FEFF jmp lf2-t.00422B35 <br />
<br />
Detour of Third part <br />
<span style="color: #FFA500;" class="mycode_color">00442500</span> &gt; \83B9 F4060000 64 cmp dword ptr ds:[ecx+6F4],64 <br />
00442507 .^ 0F84 0907FEFF je lf2-t.00422C16 <br />
0044250D . 81B9 F4060000 82000000 cmp dword ptr ds:[ecx+6F4],<span style="color: #32CD32;" class="mycode_color">82</span> <br />
<span style="color: #008000;" class="mycode_color">00442517</span> ^ 0F85 3007FEFF jnz lf2-t.00422C4D <br />
<span style="color: #008000;" class="mycode_color">0044251D</span> 8B4424 10 mov eax,dword ptr ss:[esp+10] <br />
00442521 6A 04 push 4 <br />
00442523 83F8 02 cmp eax,2 <br />
00442526 7D 20 jge short lf2-t.00442548 <br />
00442528 90 nop <br />
00442529 90 nop <br />
0044252A 90 nop <br />
0044252B 90 nop <br />
0044252C E8 0F78FDFF call lf2-t.00419D40 <br />
00442531 8B94B3 94010000 mov edx,dword ptr ds:[ebx+esi*4+194] <br />
00442538 83C4 04 add esp,4 <br />
0044253B 05 B4000000 add eax,<span style="color: #A52A2A;" class="mycode_color">0B4</span> <br />
00442540 8942 70 mov dword ptr ds:[edx+70],eax <br />
00442543 ^ E9 0507FEFF jmp lf2-t.00422C4D <br />
00442548 E8 F377FDFF call lf2-t.00419D40 <br />
0044254D 8B8CB3 94010000 mov ecx,dword ptr ds:[ebx+esi*4+194] <br />
00442554 83C4 04 add esp,4 <br />
00442557 05 B8000000 add eax,<span style="color: #FF0000;" class="mycode_color">0B8</span> <br />
0044255C 8941 70 mov dword ptr ds:[ecx+70],eax <br />
0044255F ^ E9 E906FEFF jmp lf2-t.00422C4D <br />
<br />
The new id I creat is 130(82 in Hex).<br />
After it broke, it's pieces is frame 180(<span style="color: #A52A2A;" class="mycode_color">0B4</span>) and frame 184(<span style="color: #FF0000;" class="mycode_color">0B8</span>) in broken_weapon.dat<br />
<br />
<br />
If you only want to copy the id, just replace the code at <span style="color: #008000;" class="mycode_color">00442517</span> and <span style="color: #008000;" class="mycode_color">0044251D</span><br />
with<br />
00442517　　je lf2-t.00422C16 <br />
0044251D　　jmp 00422C4D<br />
And you don't have to write anything after line 0044251D]]></description>
			<content:encoded><![CDATA[If you want to creat a new weapon and add it into LF2,<br />
yuo may think about problem, it has no pieces after it broke.<br />
Now this problem could be solved.<br />
<br />
There are three parts that relate with the broken pieces of each id.<br />
If you want to copy the id or creat a new one,you have to change these parts.<br />
<br />
<br />
First part<br />
<br />
004228E3            .  8B81 F4060000                   mov eax,dword ptr ds:[ecx+6F4]<br />
004228E9            .  83F8 65                         cmp eax,<span style="color: #FF0000;" class="mycode_color">65</span><br />
004228EC            .  74 07                           je short lf2-t.004228F5<br />
004228EE            .  3D DA000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0DA</span><br />
004228F3            .  75 09                           jnz short lf2-t.004228FE<br />
004228F5            &gt;  BE 07000000                     mov esi,7<br />
004228FA            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
004228FE               83F8 64                         cmp eax,<span style="color: #FF0000;" class="mycode_color">64</span><br />
00422901               74 0E                           je short lf2-t.00422911<br />
00422903            .  3D D5000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0D5</span><br />
00422908            .  74 07                           je short lf2-t.00422911<br />
0042290A            .  3D D9000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0D9</span><br />
0042290F            .  75 09                           jnz short lf2-t.0042291A<br />
00422911            &gt;  BE 05000000                     mov esi,5<br />
00422916            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042291A            &gt;  3D C9000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0C9</span><br />
0042291F            .  75 09                           jnz short lf2-t.0042292A<br />
00422921            .  BE 03000000                     mov esi,3<br />
00422926            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042292A            &gt;  3D 96000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">96</span><br />
0042292F            .  75 09                           jnz short lf2-t.0042293A<br />
00422931            .  BE 0D000000                     mov esi,0D<br />
00422936            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042293A            &gt;  3D 97000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">97</span><br />
0042293F            .  75 09                           jnz short lf2-t.0042294A<br />
00422941            .  BE 0F000000                     mov esi,0F<br />
00422946            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042294A            &gt;  83F8 78                         cmp eax,<span style="color: #FF0000;" class="mycode_color">78</span><br />
0042294D            .  74 05                           je short lf2-t.00422954<br />
0042294F            .  83F8 7C                         cmp eax,<span style="color: #FF0000;" class="mycode_color">7C</span><br />
00422952            .  75 09                           jnz short lf2-t.0042295D<br />
00422954            &gt;  BE 03000000                     mov esi,3<br />
00422959            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042295D            &gt;  83F8 79                         cmp eax,<span style="color: #FF0000;" class="mycode_color">79</span><br />
00422960            .  75 09                           jnz short lf2-t.0042296B<br />
00422962            .  BE 04000000                     mov esi,4<br />
00422967            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042296B            &gt;  83F8 7A                         cmp eax,<span style="color: #FF0000;" class="mycode_color">7A</span><br />
0042296E            .  74 05                           je short lf2-t.00422975<br />
00422970            .  83F8 7B                         cmp eax,<span style="color: #FF0000;" class="mycode_color">7B</span><br />
00422973            .  75 09                           jnz short lf2-t.0042297E<br />
00422975            &gt;  BE 09000000                     mov esi,9<br />
0042297A            .  897424 14                       mov dword ptr ss:[esp+14],esi<br />
0042297E            &gt;  8B81 AC000000                   mov eax,dword ptr ds:[ecx+AC]<br />
<br />
<br />
Second part<br />
<br />
00422AD9            .  8B82 F4060000                   mov eax,dword ptr ds:[edx+6F4]<br />
00422ADF            .  3D 96000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">96</span><br />
00422AE4            .  74 0E                           je short lf2-t.00422AF4<br />
00422AE6            .  3D 97000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">97</span><br />
00422AEB            .  74 07                           je short lf2-t.00422AF4<br />
00422AED            .  3D D5000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0D5</span><br />
00422AF2            .  75 29                           jnz short lf2-t.00422B1D<br />
00422AF4            &gt;  6A 14                           push 14<br />
00422AF6            .  E8 4572FFFF                     call lf2-t.00419D40<br />
00422AFB            .  99                              cdq<br />
00422AFC            .  2BC2                            sub eax,edx<br />
00422AFE            .  83C4 04                         add esp,4<br />
00422B01            .  D1F8                            sar eax,1<br />
00422B03            .  F7D8                            neg eax<br />
00422B05            .  894424 24                       mov dword ptr ss:[esp+24],eax<br />
00422B09            .  8B84B3 94010000                 mov eax,dword ptr ds:[ebx+esi*4+194]<br />
00422B10            .  DB4424 24                       fild dword ptr ss:[esp+24]<br />
00422B14            .  DC25 30324400                   fsub qword ptr ds:[443230]<br />
00422B1A            .  DD58 48                         fstp qword ptr ds:[eax+48]<br />
00422B1D            &gt;  8B8CBB 94010000                 mov ecx,dword ptr ds:[ebx+edi*4+194]<br />
00422B24            .  8B91 68030000                   mov edx,dword ptr ds:[ecx+368]<br />
00422B2A            .  8B82 F4060000                   mov eax,dword ptr ds:[edx+6F4]<br />
00422B30            .  E9 8BF90100                     jmp lf2-t.004424C0<br />
00422B35            &gt;  3D C9000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0C9</span><br />
00422B3A            .  74 2C                           je short lf2-t.00422B68<br />
00422B3C            .  83F8 65                         cmp eax,<span style="color: #FF0000;" class="mycode_color">65</span><br />
00422B3F            .  74 27                           je short lf2-t.00422B68<br />
00422B41            .  83F8 78                         cmp eax,<span style="color: #FF0000;" class="mycode_color">78</span><br />
00422B44            .  74 22                           je short lf2-t.00422B68<br />
00422B46            .  83F8 79                         cmp eax,<span style="color: #FF0000;" class="mycode_color">79</span><br />
00422B49            .  74 1D                           je short lf2-t.00422B68<br />
00422B4B            .  83F8 7A                         cmp eax,<span style="color: #FF0000;" class="mycode_color">7A</span><br />
00422B4E            .  74 18                           je short lf2-t.00422B68<br />
00422B50            .  83F8 7B                         cmp eax,<span style="color: #FF0000;" class="mycode_color">7B</span><br />
00422B53            .  74 13                           je short lf2-t.00422B68<br />
00422B55            .  83F8 7C                         cmp eax,<span style="color: #FF0000;" class="mycode_color">7C</span><br />
00422B58            .  74 0E                           je short lf2-t.00422B68<br />
00422B5A            .  3D D9000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0D9</span><br />
00422B5F            .  74 07                           je short lf2-t.00422B68<br />
00422B61            .  3D DA000000                     cmp eax,<span style="color: #FF0000;" class="mycode_color">0DA</span><br />
00422B66            .  75 29                           jnz short lf2-t.00422B91<br />
00422B68            &gt;  6A 08                           push 8<br />
<br />
<br />
Third part<br />
<br />
00422BB3           |.  8B94BB 94010000                 ||mov edx,dword ptr ds:[ebx+edi*4+194]<br />
00422BBA           |.  8B82 68030000                   ||mov eax,dword ptr ds:[edx+368]<br />
00422BC0           |.  81B8 F4060000 96000000          ||cmp dword ptr ds:[eax+6F4],<span style="color: #FF0000;" class="mycode_color">96</span><br />
00422BCA           |.  75 34                           ||jnz short lf2.00422C00<br />
00422BCC           |.  8B4424 10                       ||mov eax,dword ptr ss:[esp+10]<br />
　　　.　　　　　　　　　.　　　　　　　　　　　　　　　　　.　<br />
　　　.　　　　　　　　　.　　　　　　　　　　　　　　　　　.　<br />
　　　.　　　　　　　　　.　　　　　　　　　　　　　　　　　.　<br />
　　　.　　　　　　　　　.　　　　　　　　　　　　　　　　　.　<br />
　　　.　　　　　　　　　.　　　　　　　　　　　　　　　　　.　<br />
　　　.　　　　　　　　　.　　　　　　　　　　　　　　　　　.　<br />
00422F54           |&gt; \8B8CBB 94010000                 ||mov ecx,dword ptr ds:[ebx+edi*4+194]<br />
00422F5B           |.  8B91 68030000                   ||mov edx,dword ptr ds:[ecx+368]<br />
00422F61           |.  8B82 F4060000                   ||mov eax,dword ptr ds:[edx+6F4]<br />
00422F67           |.  3D D9000000                     ||cmp eax,<span style="color: #FF0000;" class="mycode_color">0D9</span><br />
00422F6C           |.  74 07                           ||je short lf2.00422F75<br />
00422F6E           |.  3D DA000000                     ||cmp eax,<span style="color: #FF0000;" class="mycode_color">0DA</span><br />
00422F73           |.  75 19                           ||jnz short lf2.00422F8E<br />
00422F75           |&gt;  6A 04                           ||push 4<br />
00422F77           |.  E8 C46DFFFF                     ||call lf2.00419D40<br />
00422F7C           |.  8B8CB3 94010000                 ||mov ecx,dword ptr ds:[ebx+esi*4+194]<br />
00422F83           |.  83C4 04                         ||add esp,4<br />
00422F86           |.  05 AE000000                     ||add eax,0AE<br />
00422F8B           |.  8941 70                         ||mov dword ptr ds:[ecx+70],eax<br />
00422F8E           |&gt;  8B4424 10                       ||mov eax,dword ptr ss:[esp+10]<br />
00422F92           |.  8B4C24 14                       ||mov ecx,dword ptr ss:[esp+14]<br />
00422F96           |.  40                              ||inc eax<br />
00422F97           |.  3BC1                            ||cmp eax,ecx<br />
00422F99           |.  894424 10                       ||mov dword ptr ss:[esp+10],eax<br />
00422F9D           |.^ 0F8C 07FAFFFF                   |\jl lf2.004229AA<br />
<br />
Third part settles each id and it's pieces. <br />
The red code is the weapon's id.<br />
I created a new weapon id and it's own broken pieces.<br />
You can consult it to copy or creat a new id and broke pieces by yourself.<br />
<br />
I use id 100 (weapon0) to make procedure detour.<br />
<br />
First part<br />
004228FA . 897424 14 mov dword ptr ss:[esp+14],esi <br />
004228FE E9 9DFB0100 <span style="color: #FFFF00;" class="mycode_color">jmp lf2-t.004424A0 </span><br />
00422903 . 3D D5000000 cmp eax,0D5 <br />
00422908 . 74 07 je short lf2-t.00422911 <br />
<br />
Second part<br />
00422B2A . 8B82 F4060000 mov eax,dword ptr ds:[edx+6F4] <br />
00422B30 . E9 8BF90100 <span style="color: #FFC0CB;" class="mycode_color">jmp lf2-t.004424C0 </span><br />
00422B35 &gt; 3D C9000000 cmp eax,0C9 <br />
00422B3A . 74 2C je short lf2-t.00422B68 <br />
<br />
Third part <br />
00422C00 &gt; \8B84BB 94010000 mov eax,dword ptr ds:[ebx+edi*4+194] <br />
00422C07 . 8B88 68030000 mov ecx,dword ptr ds:[eax+368] <br />
00422C0D . E9 EEF80100 <span style="color: #FFA500;" class="mycode_color">jmp lf2-t.00442500 </span><br />
00422C12 90 nop <br />
00422C13 90 nop <br />
00422C14 . 75 37 jnz short lf2-t.00422C4D <br />
00422C16 &gt; 8B4424 10 mov eax,dword ptr ss:[esp+10] <br />
00422C1A . 6A 04 push 4 <br />
00422C1C . 83F8 02 cmp eax,2 <br />
<br />
<br />
Detour of First part <br />
<span style="color: #FFFF00;" class="mycode_color">004424A0</span> 83F8 64 cmp eax,64 <br />
004424A3 ^ 0F84 6804FEFF je lf2-t.00422911 <br />
004424A9 3D 82000000 cmp eax,<span style="color: #32CD32;" class="mycode_color">82</span> <br />
004424AE ^ 0F84 5D04FEFF je lf2-t.00422911 <br />
004424B4 ^ E9 4A04FEFF jmp lf2-t.00422903 <br />
<br />
Detour of Second part <br />
<span style="color: #FFC0CB;" class="mycode_color">004424C0</span> &gt; 83F8 64 cmp eax,64 <br />
004424C3 .^ 0F84 9F06FEFF je lf2-t.00422B68 <br />
004424C9 3D 82000000 cmp eax,<span style="color: #32CD32;" class="mycode_color">82</span> <br />
004424CE .^ 0F84 9406FEFF je lf2-t.00422B68 <br />
004424D4 .^ E9 5C06FEFF jmp lf2-t.00422B35 <br />
<br />
Detour of Third part <br />
<span style="color: #FFA500;" class="mycode_color">00442500</span> &gt; \83B9 F4060000 64 cmp dword ptr ds:[ecx+6F4],64 <br />
00442507 .^ 0F84 0907FEFF je lf2-t.00422C16 <br />
0044250D . 81B9 F4060000 82000000 cmp dword ptr ds:[ecx+6F4],<span style="color: #32CD32;" class="mycode_color">82</span> <br />
<span style="color: #008000;" class="mycode_color">00442517</span> ^ 0F85 3007FEFF jnz lf2-t.00422C4D <br />
<span style="color: #008000;" class="mycode_color">0044251D</span> 8B4424 10 mov eax,dword ptr ss:[esp+10] <br />
00442521 6A 04 push 4 <br />
00442523 83F8 02 cmp eax,2 <br />
00442526 7D 20 jge short lf2-t.00442548 <br />
00442528 90 nop <br />
00442529 90 nop <br />
0044252A 90 nop <br />
0044252B 90 nop <br />
0044252C E8 0F78FDFF call lf2-t.00419D40 <br />
00442531 8B94B3 94010000 mov edx,dword ptr ds:[ebx+esi*4+194] <br />
00442538 83C4 04 add esp,4 <br />
0044253B 05 B4000000 add eax,<span style="color: #A52A2A;" class="mycode_color">0B4</span> <br />
00442540 8942 70 mov dword ptr ds:[edx+70],eax <br />
00442543 ^ E9 0507FEFF jmp lf2-t.00422C4D <br />
00442548 E8 F377FDFF call lf2-t.00419D40 <br />
0044254D 8B8CB3 94010000 mov ecx,dword ptr ds:[ebx+esi*4+194] <br />
00442554 83C4 04 add esp,4 <br />
00442557 05 B8000000 add eax,<span style="color: #FF0000;" class="mycode_color">0B8</span> <br />
0044255C 8941 70 mov dword ptr ds:[ecx+70],eax <br />
0044255F ^ E9 E906FEFF jmp lf2-t.00422C4D <br />
<br />
The new id I creat is 130(82 in Hex).<br />
After it broke, it's pieces is frame 180(<span style="color: #A52A2A;" class="mycode_color">0B4</span>) and frame 184(<span style="color: #FF0000;" class="mycode_color">0B8</span>) in broken_weapon.dat<br />
<br />
<br />
If you only want to copy the id, just replace the code at <span style="color: #008000;" class="mycode_color">00442517</span> and <span style="color: #008000;" class="mycode_color">0044251D</span><br />
with<br />
00442517　　je lf2-t.00422C16 <br />
0044251D　　jmp 00422C4D<br />
And you don't have to write anything after line 0044251D]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Armour Effect of ID]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=684</link>
			<pubDate>Fri, 25 Jul 2008 16:38:35 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=724">xxtomnyxx</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=684</guid>
			<description><![CDATA[I found where causes ids have Armour Effect.<br />
<br />
<br />
0042CCE6           |.  8B87 F4060000                   |mov eax,dword ptr ds:[edi+6F4]<br />
0042CCEC           |.  83F8 25                         |cmp eax,25←←←←←←←←←←←←←←←id 37， Knight<br />
0042CCEF           |.  894424 30                       |mov dword ptr ss:[esp+30],eax<br />
0042CCF3           |.  75 61                           |jnz short lf2.0042CD56<br />
0042CCF5           |.  83BE B8000000 0F                |cmp dword ptr ds:[esi+B8],0F←←←←←←bdefend restore speed<br />
0042CCFC           |.  7F 58                           |jg short lf2.0042CD56<br />
0042CCFE           |.  8B4C24 10                       |mov ecx,dword ptr ss:[esp+10]<br />
0042CD02           |.  B8 67666666                     |mov eax,66666667<br />
0042CD07           |.  8B49 2C                         |mov ecx,dword ptr ds:[ecx+2C]<br />
0042CD0A           |.  F7E9                            |imul ecx<br />
0042CD0C           |.  C1FA 02                         |sar edx,2<br />
0042CD0F           |.  8BC2                            |mov eax,edx<br />
0042CD11           |.  C1E8 1F                         |shr eax,1F<br />
0042CD14           |.  03D0                            |add edx,eax<br />
0042CD16           |.  83FA 02                         |cmp edx,2<br />
0042CD19           |.  74 33                           |je short lf2.0042CD4E<br />
0042CD1B           |.  83FA 03                         |cmp edx,3<br />
0042CD1E           |.  74 2E                           |je short lf2.0042CD4E<br />
0042CD20           |.  83F9 02                         |cmp ecx,2<br />
0042CD23           |.  74 29                           |je short lf2.0042CD4E<br />
0042CD25           |.  83F9 03                         |cmp ecx,3<br />
0042CD28           |.  74 24                           |je short lf2.0042CD4E<br />
0042CD2A           |.  8B4C24 0C                       |mov ecx,dword ptr ss:[esp+C]<br />
0042CD2E           |.  8B11                            |mov edx,dword ptr ds:[ecx]<br />
0042CD30           |.  8B82 68030000                   |mov eax,dword ptr ds:[edx+368]<br />
0042CD36           |.  8B80 F4060000                   |mov eax,dword ptr ds:[eax+6F4]<br />
0042CD3C           |.  3D D6000000                     |cmp eax,0D6←←←←←←←←←←←←←←which id's attack can't be withstood<br />
0042CD41           |.  74 0B                           |je short lf2.0042CD4E<br />
0042CD43           |.  3D D0000000                     |cmp eax,0D0←←←←←←←←←←←←←←which id's attack can't be withstood<br />
0042CD48           |.  0F85 49130000                   |jnz lf2.0042E097<br />
0042CD4E           |&gt;  8B5424 14                       |mov edx,dword ptr ss:[esp+14]<br />
0042CD52           |.  8B4424 30                       |mov eax,dword ptr ss:[esp+30]<br />
<br />
<br />
0042CD56           |&gt;  83F8 06                         |cmp eax,6←←←←←←←←←←←←←←←id 6， Louis<br />
0042CD59           |.  0F85 97000000                   |jnz lf2.0042CDF6<br />
0042CD5F               83BE B8000000 01                |cmp dword ptr ds:[esi+B8],1←←←←←←bdefend  restore speed<br />
0042CD66           |.  0F8F 8A000000                   |jg lf2.0042CDF6<br />
0042CD6C           |.  8B4C24 10                       |mov ecx,dword ptr ss:[esp+10]<br />
0042CD70           |.  B8 67666666                     |mov eax,66666667<br />
0042CD75           |.  8B49 2C                         |mov ecx,dword ptr ds:[ecx+2C]<br />
0042CD78           |.  F7E9                            |imul ecx<br />
0042CD7A           |.  C1FA 02                         |sar edx,2<br />
0042CD7D           |.  8BC2                            |mov eax,edx<br />
0042CD7F           |.  C1E8 1F                         |shr eax,1F<br />
0042CD82           |.  03D0                            |add edx,eax<br />
0042CD84           |.  83FA 02                         |cmp edx,2<br />
0042CD87           |.  74 65                           |je short lf2.0042CDEE<br />
0042CD89           |.  83FA 03                         |cmp edx,3<br />
0042CD8C           |.  74 60                           |je short lf2.0042CDEE<br />
0042CD8E           |.  83F9 02                         |cmp ecx,2<br />
0042CD91           |.  74 5B                           |je short lf2.0042CDEE<br />
0042CD93           |.  83F9 03                         |cmp ecx,3<br />
0042CD96           |.  74 56                           |je short lf2.0042CDEE<br />
0042CD98           |.  8B4C24 0C                       |mov ecx,dword ptr ss:[esp+C]<br />
0042CD9C           |.  8B11                            |mov edx,dword ptr ds:[ecx]<br />
0042CD9E           |.  8B82 68030000                   |mov eax,dword ptr ds:[edx+368]<br />
0042CDA4           |.  8B80 F4060000                   |mov eax,dword ptr ds:[eax+6F4]<br />
0042CDAA           |.  3D D6000000                     |cmp eax,0D6←←←←←←←←←←←←←←which id's attack can't be withstood<br />
0042CDAF           |.  74 3D                           |je short lf2.0042CDEE<br />
0042CDB1           |.  3D D0000000                     |cmp eax,0D0←←←←←←←←←←←←←←which id's attack can't be withstood<br />
0042CDB6           |.  74 36                           |je short lf2.0042CDEE<br />
0042CDB8           |.  8B46 70                         |mov eax,dword ptr ds:[esi+70]<br />
0042CDBB           |.  83F8 14                         |cmp eax,14<br />
0042CDBE           |.  0F8C D3120000                   |jl lf2.0042E097<br />
0042CDC4           |.  8D0C40                          |lea ecx,dword ptr ds:[eax+eax*2]<br />
0042CDC7           |.  C1E1 04                         |shl ecx,4<br />
0042CDCA           |.  2BC8                            |sub ecx,eax<br />
0042CDCC           |.  8B84CF AC070000                 |mov eax,dword ptr ds:[edi+ecx*8+7AC]<br />
0042CDD3           |.  83F8 05                         |cmp eax,5<br />
0042CDD6           |.  0F84 BB120000                   |je lf2.0042E097<br />
0042CDDC           |.  83F8 04                         |cmp eax,4<br />
0042CDDF           |.  0F84 B2120000                   |je lf2.0042E097<br />
0042CDE5           |.  83F8 07                         |cmp eax,7<br />
0042CDE8           |.  0F84 A9120000                   |je lf2.0042E097<br />
0042CDEE           |&gt;  8B5424 14                       |mov edx,dword ptr ss:[esp+14]<br />
0042CDF2           |.  8B4424 30                       |mov eax,dword ptr ss:[esp+30]<br />
<br />
<br />
0042CDF6           |&gt;  83F8 34                         |cmp eax,34←←←←←←←←←←←←←←←id 52 ，Julian<br />
0042CDF9           |.  75 2D                           |jnz short lf2.0042CE28<br />
0042CDFB           |.  83BE B8000000 0F                |cmp dword ptr ds:[esi+B8],0F←←←←←←bdefend  restore speed<br />
0042CE02           |.  7F 24                           |jg short lf2.0042CE28<br />
0042CE04           |.  8B4424 0C                       |mov eax,dword ptr ss:[esp+C]<br />
0042CE08           |.  8B08                            |mov ecx,dword ptr ds:[eax]<br />
0042CE0A           |.  8B81 68030000                   |mov eax,dword ptr ds:[ecx+368]<br />
0042CE10           |.  8B80 F4060000                   |mov eax,dword ptr ds:[eax+6F4]<br />
0042CE16           |.  3D D6000000                     |cmp eax,0D6 ←←←←←←←←←←←←←←which id's attack can't be withstood<br />
0042CE1B           |.  74 0B                           |je short lf2.0042CE28<br />
0042CE1D           |.  3D D0000000                     |cmp eax,0D0 ←←←←←←←←←←←←←←which id's attack can't be withstood<br />
0042CE22           |.  0F85 73120000                   |jnz lf2.0042E09B<br />
0042CE28           |&gt;  8B7424 10                       |mov esi,dword ptr ss:[esp+10]<br />
<br />
The id can't be withstood can also be character or weapon.<br />
If you want creat a new id with Armour Effect, just replace the code ''mov eax,dword ptr ds:[edi+6F4]'' at 0042CCE6 with ''JMP XXXXXXXX ''.<br />
Then at XXXXXXXX should like this:<br />
XXXXXXXX　　　　　 　mov eax,dword ptr ds:[edi+6F4]<br />
XXXXXXXX　　　　　　cmp eax,25<br />
XXXXXXXX　　　　　　je 0042CCEF<br />
XXXXXXXX　　　　　　cmp eax,#←←←the id you want to creat<br />
XXXXXXXX　　　　　　jnz 0042CD56<br />
XXXXXXXX　　　　　　cmp dword ptr ds:[esi+B8],0F←←←you can type any number(hex) you want. The bigger the number is, the stronger your character will be<br />
XXXXXXXX　　　　　　jg lf2.0042CD56<br />
XXXXXXXX　　　　　　mov ecx,dword ptr ss:[esp+10]<br />
XXXXXXXX　　　　　　mov eax,66666667<br />
XXXXXXXX　　　　　　mov ecx,dword ptr ds:[ecx+2C]<br />
XXXXXXXX　　　　　　imul ecx<br />
XXXXXXXX　　　　　　sar edx,2<br />
XXXXXXXX　　　　　　mov eax,edx<br />
XXXXXXXX　　　　　　shr eax,1F<br />
XXXXXXXX　　　　　　add edx,eax<br />
XXXXXXXX　　　　　　cmp edx,2<br />
XXXXXXXX　　　　　　je lf2.0042CD4E<br />
XXXXXXXX　　　　　　cmp edx,3<br />
XXXXXXXX　　　　　　je lf2.0042CD4E<br />
XXXXXXXX　　　　　　cmp ecx,2<br />
XXXXXXXX　　　　　　je lf2.0042CD4E<br />
XXXXXXXX　　　　　　cmp ecx,3<br />
XXXXXXXX　　　　　　je lf2.0042CD4E<br />
XXXXXXXX　　　　　　mov ecx,dword ptr ss:[esp+C]<br />
XXXXXXXX　　　　　　mov edx,dword ptr ds:[ecx]<br />
XXXXXXXX　　　　　　mov eax,dword ptr ds:[edx+368]<br />
XXXXXXXX　　　　　　mov eax,dword ptr ds:[eax+6F4]<br />
XXXXXXXX　　　　　　*cmp eax,%%%←which id's attack can break defend<br />
XXXXXXXX　　　　　　*je lf2.0042CD4E<br />
XXXXXXXX　　　　　　*cmp eax,%%%←which id's attack can break defend<br />
XXXXXXXX　　　　　　*je lf2.0042CD4E<br />
　　.　　　　　　　　　　　　　.<br />
　　.　　　　　　　　　　　　　.<br />
　　.　　　　　　　　　　　　　.<br />
　　.　　　　　　　　　　　　　.<br />
　　.　　　　　　　　　　　　　.<br />
XXXXXXXX　　　　　　*cmp eax,%%%←which id's attack can break defend<br />
XXXXXXXX　　　　　　*je lf2.0042CD4E<br />
XXXXXXXX　　　　　　jmp 0042E097<br />
<br />
If you want your new id to be invincible,<br />
just don't type * code<br />
<br />
<br />
This is my fist time post a thread.<br />
Besides, I come from Taiwan, and my English grade is poor....<br />
If there has any problem, please tell me.]]></description>
			<content:encoded><![CDATA[I found where causes ids have Armour Effect.<br />
<br />
<br />
0042CCE6           |.  8B87 F4060000                   |mov eax,dword ptr ds:[edi+6F4]<br />
0042CCEC           |.  83F8 25                         |cmp eax,25←←←←←←←←←←←←←←←id 37， Knight<br />
0042CCEF           |.  894424 30                       |mov dword ptr ss:[esp+30],eax<br />
0042CCF3           |.  75 61                           |jnz short lf2.0042CD56<br />
0042CCF5           |.  83BE B8000000 0F                |cmp dword ptr ds:[esi+B8],0F←←←←←←bdefend restore speed<br />
0042CCFC           |.  7F 58                           |jg short lf2.0042CD56<br />
0042CCFE           |.  8B4C24 10                       |mov ecx,dword ptr ss:[esp+10]<br />
0042CD02           |.  B8 67666666                     |mov eax,66666667<br />
0042CD07           |.  8B49 2C                         |mov ecx,dword ptr ds:[ecx+2C]<br />
0042CD0A           |.  F7E9                            |imul ecx<br />
0042CD0C           |.  C1FA 02                         |sar edx,2<br />
0042CD0F           |.  8BC2                            |mov eax,edx<br />
0042CD11           |.  C1E8 1F                         |shr eax,1F<br />
0042CD14           |.  03D0                            |add edx,eax<br />
0042CD16           |.  83FA 02                         |cmp edx,2<br />
0042CD19           |.  74 33                           |je short lf2.0042CD4E<br />
0042CD1B           |.  83FA 03                         |cmp edx,3<br />
0042CD1E           |.  74 2E                           |je short lf2.0042CD4E<br />
0042CD20           |.  83F9 02                         |cmp ecx,2<br />
0042CD23           |.  74 29                           |je short lf2.0042CD4E<br />
0042CD25           |.  83F9 03                         |cmp ecx,3<br />
0042CD28           |.  74 24                           |je short lf2.0042CD4E<br />
0042CD2A           |.  8B4C24 0C                       |mov ecx,dword ptr ss:[esp+C]<br />
0042CD2E           |.  8B11                            |mov edx,dword ptr ds:[ecx]<br />
0042CD30           |.  8B82 68030000                   |mov eax,dword ptr ds:[edx+368]<br />
0042CD36           |.  8B80 F4060000                   |mov eax,dword ptr ds:[eax+6F4]<br />
0042CD3C           |.  3D D6000000                     |cmp eax,0D6←←←←←←←←←←←←←←which id's attack can't be withstood<br />
0042CD41           |.  74 0B                           |je short lf2.0042CD4E<br />
0042CD43           |.  3D D0000000                     |cmp eax,0D0←←←←←←←←←←←←←←which id's attack can't be withstood<br />
0042CD48           |.  0F85 49130000                   |jnz lf2.0042E097<br />
0042CD4E           |&gt;  8B5424 14                       |mov edx,dword ptr ss:[esp+14]<br />
0042CD52           |.  8B4424 30                       |mov eax,dword ptr ss:[esp+30]<br />
<br />
<br />
0042CD56           |&gt;  83F8 06                         |cmp eax,6←←←←←←←←←←←←←←←id 6， Louis<br />
0042CD59           |.  0F85 97000000                   |jnz lf2.0042CDF6<br />
0042CD5F               83BE B8000000 01                |cmp dword ptr ds:[esi+B8],1←←←←←←bdefend  restore speed<br />
0042CD66           |.  0F8F 8A000000                   |jg lf2.0042CDF6<br />
0042CD6C           |.  8B4C24 10                       |mov ecx,dword ptr ss:[esp+10]<br />
0042CD70           |.  B8 67666666                     |mov eax,66666667<br />
0042CD75           |.  8B49 2C                         |mov ecx,dword ptr ds:[ecx+2C]<br />
0042CD78           |.  F7E9                            |imul ecx<br />
0042CD7A           |.  C1FA 02                         |sar edx,2<br />
0042CD7D           |.  8BC2                            |mov eax,edx<br />
0042CD7F           |.  C1E8 1F                         |shr eax,1F<br />
0042CD82           |.  03D0                            |add edx,eax<br />
0042CD84           |.  83FA 02                         |cmp edx,2<br />
0042CD87           |.  74 65                           |je short lf2.0042CDEE<br />
0042CD89           |.  83FA 03                         |cmp edx,3<br />
0042CD8C           |.  74 60                           |je short lf2.0042CDEE<br />
0042CD8E           |.  83F9 02                         |cmp ecx,2<br />
0042CD91           |.  74 5B                           |je short lf2.0042CDEE<br />
0042CD93           |.  83F9 03                         |cmp ecx,3<br />
0042CD96           |.  74 56                           |je short lf2.0042CDEE<br />
0042CD98           |.  8B4C24 0C                       |mov ecx,dword ptr ss:[esp+C]<br />
0042CD9C           |.  8B11                            |mov edx,dword ptr ds:[ecx]<br />
0042CD9E           |.  8B82 68030000                   |mov eax,dword ptr ds:[edx+368]<br />
0042CDA4           |.  8B80 F4060000                   |mov eax,dword ptr ds:[eax+6F4]<br />
0042CDAA           |.  3D D6000000                     |cmp eax,0D6←←←←←←←←←←←←←←which id's attack can't be withstood<br />
0042CDAF           |.  74 3D                           |je short lf2.0042CDEE<br />
0042CDB1           |.  3D D0000000                     |cmp eax,0D0←←←←←←←←←←←←←←which id's attack can't be withstood<br />
0042CDB6           |.  74 36                           |je short lf2.0042CDEE<br />
0042CDB8           |.  8B46 70                         |mov eax,dword ptr ds:[esi+70]<br />
0042CDBB           |.  83F8 14                         |cmp eax,14<br />
0042CDBE           |.  0F8C D3120000                   |jl lf2.0042E097<br />
0042CDC4           |.  8D0C40                          |lea ecx,dword ptr ds:[eax+eax*2]<br />
0042CDC7           |.  C1E1 04                         |shl ecx,4<br />
0042CDCA           |.  2BC8                            |sub ecx,eax<br />
0042CDCC           |.  8B84CF AC070000                 |mov eax,dword ptr ds:[edi+ecx*8+7AC]<br />
0042CDD3           |.  83F8 05                         |cmp eax,5<br />
0042CDD6           |.  0F84 BB120000                   |je lf2.0042E097<br />
0042CDDC           |.  83F8 04                         |cmp eax,4<br />
0042CDDF           |.  0F84 B2120000                   |je lf2.0042E097<br />
0042CDE5           |.  83F8 07                         |cmp eax,7<br />
0042CDE8           |.  0F84 A9120000                   |je lf2.0042E097<br />
0042CDEE           |&gt;  8B5424 14                       |mov edx,dword ptr ss:[esp+14]<br />
0042CDF2           |.  8B4424 30                       |mov eax,dword ptr ss:[esp+30]<br />
<br />
<br />
0042CDF6           |&gt;  83F8 34                         |cmp eax,34←←←←←←←←←←←←←←←id 52 ，Julian<br />
0042CDF9           |.  75 2D                           |jnz short lf2.0042CE28<br />
0042CDFB           |.  83BE B8000000 0F                |cmp dword ptr ds:[esi+B8],0F←←←←←←bdefend  restore speed<br />
0042CE02           |.  7F 24                           |jg short lf2.0042CE28<br />
0042CE04           |.  8B4424 0C                       |mov eax,dword ptr ss:[esp+C]<br />
0042CE08           |.  8B08                            |mov ecx,dword ptr ds:[eax]<br />
0042CE0A           |.  8B81 68030000                   |mov eax,dword ptr ds:[ecx+368]<br />
0042CE10           |.  8B80 F4060000                   |mov eax,dword ptr ds:[eax+6F4]<br />
0042CE16           |.  3D D6000000                     |cmp eax,0D6 ←←←←←←←←←←←←←←which id's attack can't be withstood<br />
0042CE1B           |.  74 0B                           |je short lf2.0042CE28<br />
0042CE1D           |.  3D D0000000                     |cmp eax,0D0 ←←←←←←←←←←←←←←which id's attack can't be withstood<br />
0042CE22           |.  0F85 73120000                   |jnz lf2.0042E09B<br />
0042CE28           |&gt;  8B7424 10                       |mov esi,dword ptr ss:[esp+10]<br />
<br />
The id can't be withstood can also be character or weapon.<br />
If you want creat a new id with Armour Effect, just replace the code ''mov eax,dword ptr ds:[edi+6F4]'' at 0042CCE6 with ''JMP XXXXXXXX ''.<br />
Then at XXXXXXXX should like this:<br />
XXXXXXXX　　　　　 　mov eax,dword ptr ds:[edi+6F4]<br />
XXXXXXXX　　　　　　cmp eax,25<br />
XXXXXXXX　　　　　　je 0042CCEF<br />
XXXXXXXX　　　　　　cmp eax,#←←←the id you want to creat<br />
XXXXXXXX　　　　　　jnz 0042CD56<br />
XXXXXXXX　　　　　　cmp dword ptr ds:[esi+B8],0F←←←you can type any number(hex) you want. The bigger the number is, the stronger your character will be<br />
XXXXXXXX　　　　　　jg lf2.0042CD56<br />
XXXXXXXX　　　　　　mov ecx,dword ptr ss:[esp+10]<br />
XXXXXXXX　　　　　　mov eax,66666667<br />
XXXXXXXX　　　　　　mov ecx,dword ptr ds:[ecx+2C]<br />
XXXXXXXX　　　　　　imul ecx<br />
XXXXXXXX　　　　　　sar edx,2<br />
XXXXXXXX　　　　　　mov eax,edx<br />
XXXXXXXX　　　　　　shr eax,1F<br />
XXXXXXXX　　　　　　add edx,eax<br />
XXXXXXXX　　　　　　cmp edx,2<br />
XXXXXXXX　　　　　　je lf2.0042CD4E<br />
XXXXXXXX　　　　　　cmp edx,3<br />
XXXXXXXX　　　　　　je lf2.0042CD4E<br />
XXXXXXXX　　　　　　cmp ecx,2<br />
XXXXXXXX　　　　　　je lf2.0042CD4E<br />
XXXXXXXX　　　　　　cmp ecx,3<br />
XXXXXXXX　　　　　　je lf2.0042CD4E<br />
XXXXXXXX　　　　　　mov ecx,dword ptr ss:[esp+C]<br />
XXXXXXXX　　　　　　mov edx,dword ptr ds:[ecx]<br />
XXXXXXXX　　　　　　mov eax,dword ptr ds:[edx+368]<br />
XXXXXXXX　　　　　　mov eax,dword ptr ds:[eax+6F4]<br />
XXXXXXXX　　　　　　*cmp eax,%%%←which id's attack can break defend<br />
XXXXXXXX　　　　　　*je lf2.0042CD4E<br />
XXXXXXXX　　　　　　*cmp eax,%%%←which id's attack can break defend<br />
XXXXXXXX　　　　　　*je lf2.0042CD4E<br />
　　.　　　　　　　　　　　　　.<br />
　　.　　　　　　　　　　　　　.<br />
　　.　　　　　　　　　　　　　.<br />
　　.　　　　　　　　　　　　　.<br />
　　.　　　　　　　　　　　　　.<br />
XXXXXXXX　　　　　　*cmp eax,%%%←which id's attack can break defend<br />
XXXXXXXX　　　　　　*je lf2.0042CD4E<br />
XXXXXXXX　　　　　　jmp 0042E097<br />
<br />
If you want your new id to be invincible,<br />
just don't type * code<br />
<br />
<br />
This is my fist time post a thread.<br />
Besides, I come from Taiwan, and my English grade is poor....<br />
If there has any problem, please tell me.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[AI copying [Part 2]]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=638</link>
			<pubDate>Sat, 19 Jul 2008 10:51:28 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=8">Boop</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=638</guid>
			<description><![CDATA[This is a better explanation on how to add the D&gt;A to AI.<br />
<br />
Right click &gt; goto &gt; expression &gt; 004093B5.<br />
<br />
You will see some code like this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>004093B5  |. 83F8 02        CMP EAX,2
004093B8  |. 74 31          JE SHORT lf2.004093EB
&gt;&gt;&gt;004093BA&lt;&lt;&lt;  |. 83F8 04        CMP EAX,4</code></div></div><br />
Replace :<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>CMP EAX,2</code></div></div><br />
With(You can jump anywhere you want, I just choose a random place) :<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>JMP 0044280D</code></div></div>This line will overwrite the CMP and JE in the next line, this is suppoused to happen.<br />
<br />
Now right click&gt;goto&gt;expression&gt; 0044280D(or where ever you jumped to). First thing that has to be done is writing the code we over wrote, so write this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>CMP EAX,2
JE 004093EB</code></div></div><br />
Now we begin adding our own ID's to the code. This is done by writing CMP EAX, ID and then a JE 004093EB after it. After all adding all your ID's you have to jump back to the rest of the code, so write "JMP 004093BA" ( look at the first snippet of code if you don't understand where I got the number from).<br />
<br />
Here is an example of how your code can look:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>004093B5     E9 53940300    JMP lf2.0044280D
004093BA  |. 83F8 04        CMP EAX,4</code></div></div><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>0044280D     83F8 02        CMP EAX,2
00442810    ^0F84 D56BFCFF  JE lf2.004093EB
00442816     83F8 40        CMP EAX,40
00442819    ^0F84 CC6BFCFF  JE lf2.004093EB
0044281F     83F8 45        CMP EAX,45
00442822    ^0F84 C36BFCFF  JE lf2.004093EB
00442828    ^E9 8D6BFCFF    JMP lf2.004093BA</code></div></div><br />
The same code appears at 004094B2, it is basically the same except you have to change the numbers. I won't bother explaining it all again and I'll just show you how the code should look like.<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>004094B2     E9 56950300    JMP lf2.00442A0D
004094B7  |. 83F8 04        CMP EAX,4</code></div></div><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00442A0D     83F8 02        CMP EAX,2
00442A10    ^0F84 D26AFCFF  JE lf2.004094E8
00442A16     83F8 40        CMP EAX,40
00442A19    ^0F84 C96AFCFF  JE lf2.004094E8
00442A1F     83F8 45        CMP EAX,45
00442A22    ^0F84 C06AFCFF  JE lf2.004094E8
00442A28    ^E9 8A6AFCFF    JMP lf2.004094B7</code></div></div><br />
Notice how the JE's and JMP's go to different places than before. Anyway you are done <img src="https://lf-empire.de/forum/images/smilies/smile.gif" alt=":)" title=":)" class="smilie smilie_19" />]]></description>
			<content:encoded><![CDATA[This is a better explanation on how to add the D&gt;A to AI.<br />
<br />
Right click &gt; goto &gt; expression &gt; 004093B5.<br />
<br />
You will see some code like this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>004093B5  |. 83F8 02        CMP EAX,2
004093B8  |. 74 31          JE SHORT lf2.004093EB
&gt;&gt;&gt;004093BA&lt;&lt;&lt;  |. 83F8 04        CMP EAX,4</code></div></div><br />
Replace :<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>CMP EAX,2</code></div></div><br />
With(You can jump anywhere you want, I just choose a random place) :<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>JMP 0044280D</code></div></div>This line will overwrite the CMP and JE in the next line, this is suppoused to happen.<br />
<br />
Now right click&gt;goto&gt;expression&gt; 0044280D(or where ever you jumped to). First thing that has to be done is writing the code we over wrote, so write this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>CMP EAX,2
JE 004093EB</code></div></div><br />
Now we begin adding our own ID's to the code. This is done by writing CMP EAX, ID and then a JE 004093EB after it. After all adding all your ID's you have to jump back to the rest of the code, so write "JMP 004093BA" ( look at the first snippet of code if you don't understand where I got the number from).<br />
<br />
Here is an example of how your code can look:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>004093B5     E9 53940300    JMP lf2.0044280D
004093BA  |. 83F8 04        CMP EAX,4</code></div></div><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>0044280D     83F8 02        CMP EAX,2
00442810    ^0F84 D56BFCFF  JE lf2.004093EB
00442816     83F8 40        CMP EAX,40
00442819    ^0F84 CC6BFCFF  JE lf2.004093EB
0044281F     83F8 45        CMP EAX,45
00442822    ^0F84 C36BFCFF  JE lf2.004093EB
00442828    ^E9 8D6BFCFF    JMP lf2.004093BA</code></div></div><br />
The same code appears at 004094B2, it is basically the same except you have to change the numbers. I won't bother explaining it all again and I'll just show you how the code should look like.<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>004094B2     E9 56950300    JMP lf2.00442A0D
004094B7  |. 83F8 04        CMP EAX,4</code></div></div><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00442A0D     83F8 02        CMP EAX,2
00442A10    ^0F84 D26AFCFF  JE lf2.004094E8
00442A16     83F8 40        CMP EAX,40
00442A19    ^0F84 C96AFCFF  JE lf2.004094E8
00442A1F     83F8 45        CMP EAX,45
00442A22    ^0F84 C06AFCFF  JE lf2.004094E8
00442A28    ^E9 8A6AFCFF    JMP lf2.004094B7</code></div></div><br />
Notice how the JE's and JMP's go to different places than before. Anyway you are done <img src="https://lf-empire.de/forum/images/smilies/smile.gif" alt=":)" title=":)" class="smilie smilie_19" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[NEW 4xxx]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=531</link>
			<pubDate>Sun, 29 Jun 2008 11:55:34 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=146">manxeater</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=531</guid>
			<description><![CDATA[The new 4xxx isnt cfged yet.<br />
but i just managed to find out how to turn the old one into the new one.<br />
i persuaded silva to help,and succeeded.<br />
(initially i thought persuading him would be harder than coding the exe)<br />
but i was wrong.i didnt know how to save the exe =='<br />
any way,<br />
<blockquote class="mycode_quote"><cite>silva Wrote:</cite>Patch the exe with normal state 4xxx.<br />
Open exe with olly and go to line 00442D7A . Right click that line &gt; Binary &gt; Fill with nops . You are done...</blockquote><br />
its that easy.<br />
<br />
<!--DVZ_ME#0--> invisible wont take you anywhere.<br />
  oh and i wanted to PM you to say <span style="color: #FF0000;" class="mycode_color"><span style="font-size: xx-large;" class="mycode_size">thanks</span></span> but you were ignoring me.........<img src="https://lf-empire.de/forum/images/smilies/;).gif" alt=";)" title=";)" class="smilie smilie_24" />]]></description>
			<content:encoded><![CDATA[The new 4xxx isnt cfged yet.<br />
but i just managed to find out how to turn the old one into the new one.<br />
i persuaded silva to help,and succeeded.<br />
(initially i thought persuading him would be harder than coding the exe)<br />
but i was wrong.i didnt know how to save the exe =='<br />
any way,<br />
<blockquote class="mycode_quote"><cite>silva Wrote:</cite>Patch the exe with normal state 4xxx.<br />
Open exe with olly and go to line 00442D7A . Right click that line &gt; Binary &gt; Fill with nops . You are done...</blockquote><br />
its that easy.<br />
<br />
<!--DVZ_ME#0--> invisible wont take you anywhere.<br />
  oh and i wanted to PM you to say <span style="color: #FF0000;" class="mycode_color"><span style="font-size: xx-large;" class="mycode_size">thanks</span></span> but you were ignoring me.........<img src="https://lf-empire.de/forum/images/smilies/;).gif" alt=";)" title=";)" class="smilie smilie_24" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[AI Copying [Part 1]]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=489</link>
			<pubDate>Fri, 20 Jun 2008 23:34:46 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=8">Boop</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=489</guid>
			<description><![CDATA[In this tutorial I'll teach you how to copy the AI of one ID to another ID which has no AI.<br />
<br />
Requirements :<br />
*LF2<br />
*OllyDbg<br />
*A half decent brain<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Do not attempt this if you lack a half decent brain.</span><br />
<br />
First thing is first, open up Olly and load LF2 up. After it finishes press CTRL+F and copy paste this command(make sure the "Entire block" checkbox is ticked):<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>CMP DWORD PTR DS:[ECX+6F4],X</code></div></div> Where X is the ID number you want to duplicate. For example if you want to copy ID 4 then you type in:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>CMP DWORD PTR DS:[ECX+6F4],04</code></div></div><br />
You will then get to a point where you see these three lines:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>0040A0DD   . 83B9 F4060000 &gt;CMP DWORD PTR DS:[ECX+6F4],4
0040A0E4   . 0F85 44020000  JNZ lf2.&gt;&gt;&gt;&gt;&gt;0040A32E&lt;&lt;&lt;&lt;&lt;
&gt;&gt;&gt;&gt;0040A0EA&lt;&lt;&lt;&lt;   . 81B8 08030000 &gt;CMP DWORD PTR DS:[EAX+308],168</code></div></div>( don't worry about the arrows pointing at the number, you'll see why I put them when you keep reading)<br />
<br />
Now I'll try to explain what they mean. The first line is a compare(CMP) command, it checks if [ECX+6F4](the address where the character ID is stored) is equal to 4. The next line is "Jump if not equal"(or to be exact Jump if not Zero, but don't worry about that <img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />), so that means if the CMP in the line above isn't true it will jump and skip all the AI code. For example if the character ID is 6 the jump is executed and all the AI stuff is skipped, if its 4 it isn't skipped and AI code is executed.<br />
<br />
So basically, if we want to "Copy" the AI functions to another ID we just have to make the jump NOT execute on 4 AND our new ID. There are a lot of ways of writing that code, but I'm going to teach the simplest, straight forward , no brainier way of doing it.<br />
<br />
Lets replace:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>CMP DWORD PTR DS:[ECX+6F4],4</code></div></div>With:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>JMP 00442612</code></div></div>This is just a JMP to a random place near the end of the program that is empty, it doesn't really matter where you jump. Now just press CTRL+G and type in 00442612 (or where ever you choose to jump) so that we can start writing our code at the new location. <br />
<br />
First lets start by writing the original compare line. After that we will write a JE command(Jump if Equal) to <span style="font-weight: bold;" class="mycode_b">0040A0EA</span>(this is the line after the JNZ, look up at the first block of code I copy pasted if you still don't know where the number came from). So your code should like like this:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00442612     83B9 F4060000 &gt;CMP DWORD PTR DS:[ECX+6F4],4
00442619    ^0F84 CB7AFCFF  JE lf2.0040A0EA</code></div></div>In english the code pretty much says: " If the id is 4 then go to the part of the code that handles AI".<br />
<br />
So lets say we want to copy ID 4 AI to ID 60(which is 3C in hex, remember everything is in hex), all we have to do is add another CMP and a JE. So now our code looks like this: <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00442612     83B9 F4060000 &gt;CMP DWORD PTR DS:[ECX+6F4],4
00442619    ^0F84 CB7AFCFF  JE test.0040A0EA
0044261F     83B9 F4060000 &gt;CMP DWORD PTR DS:[ECX+6F4],3C
00442626    ^0F84 BE7AFCFF  JE test.0040A0EA</code></div></div><br />
To copy it to more ID's you just need to add another CMP and another JE after that. You can do this as much as you want.<br />
<br />
All thats left now is to add a JMP(Unconditional jump) at the end of all of that, this is to make sure that if its any other ID the code continues to work and the program doesn't crash. So we do JMP 0040A32E(this is where it would normally jump if the ID wasn't 4, look at the JNZ part in the first block of code if you don't understand where the number came from).<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00442612     83B9 F4060000 &gt;CMP DWORD PTR DS:[ECX+6F4],4
00442619    ^0F84 CB7AFCFF  JE test.0040A0EA
0044261F     83B9 F4060000 &gt;CMP DWORD PTR DS:[ECX+6F4],3C
00442626    ^0F84 BE7AFCFF  JE test.0040A0EA
0044262C    ^E9 FD7CFCFF    JMP test.0040A32E</code></div></div><br />
In pseudo code the code means this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>IF ID = 4 OR ID = 60 {
Goto: AI section 4 }
ElSE {
Skip AI section 4}</code></div></div><br />
<span style="font-weight: bold;" class="mycode_b">NOTE</span> : Thanks to RUDOLF27 for finding out that ID's<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>John - 2 (or 02)<br />
Jack - 33 (21)<br />
Jan - 36 (24)<br />
Bat - 38 (26)</blockquote>
don't work. If you want to copy them, then just follow the tutorial normally and everytime you see <span style="font-weight: bold;" class="mycode_b">ECX+6F4</span> replace it with <span style="font-weight: bold;" class="mycode_b">EDX+6F4 </span>.<br />
<br />
----------------------------------------------------------<br />
<br />
Tutorial end, don't copy this next bit if you want to copy this tutorial anywhere <img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />.<br />
I tried my best to explain everything as clearly as possible, if you still don't understand that means you aren't trying enough, or you lack one of the requirements (half decent brain). Don't PM me for help as that will just annoy me, post here if something isn't clear.]]></description>
			<content:encoded><![CDATA[In this tutorial I'll teach you how to copy the AI of one ID to another ID which has no AI.<br />
<br />
Requirements :<br />
*LF2<br />
*OllyDbg<br />
*A half decent brain<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Do not attempt this if you lack a half decent brain.</span><br />
<br />
First thing is first, open up Olly and load LF2 up. After it finishes press CTRL+F and copy paste this command(make sure the "Entire block" checkbox is ticked):<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>CMP DWORD PTR DS:[ECX+6F4],X</code></div></div> Where X is the ID number you want to duplicate. For example if you want to copy ID 4 then you type in:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>CMP DWORD PTR DS:[ECX+6F4],04</code></div></div><br />
You will then get to a point where you see these three lines:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>0040A0DD   . 83B9 F4060000 &gt;CMP DWORD PTR DS:[ECX+6F4],4
0040A0E4   . 0F85 44020000  JNZ lf2.&gt;&gt;&gt;&gt;&gt;0040A32E&lt;&lt;&lt;&lt;&lt;
&gt;&gt;&gt;&gt;0040A0EA&lt;&lt;&lt;&lt;   . 81B8 08030000 &gt;CMP DWORD PTR DS:[EAX+308],168</code></div></div>( don't worry about the arrows pointing at the number, you'll see why I put them when you keep reading)<br />
<br />
Now I'll try to explain what they mean. The first line is a compare(CMP) command, it checks if [ECX+6F4](the address where the character ID is stored) is equal to 4. The next line is "Jump if not equal"(or to be exact Jump if not Zero, but don't worry about that <img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />), so that means if the CMP in the line above isn't true it will jump and skip all the AI code. For example if the character ID is 6 the jump is executed and all the AI stuff is skipped, if its 4 it isn't skipped and AI code is executed.<br />
<br />
So basically, if we want to "Copy" the AI functions to another ID we just have to make the jump NOT execute on 4 AND our new ID. There are a lot of ways of writing that code, but I'm going to teach the simplest, straight forward , no brainier way of doing it.<br />
<br />
Lets replace:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>CMP DWORD PTR DS:[ECX+6F4],4</code></div></div>With:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>JMP 00442612</code></div></div>This is just a JMP to a random place near the end of the program that is empty, it doesn't really matter where you jump. Now just press CTRL+G and type in 00442612 (or where ever you choose to jump) so that we can start writing our code at the new location. <br />
<br />
First lets start by writing the original compare line. After that we will write a JE command(Jump if Equal) to <span style="font-weight: bold;" class="mycode_b">0040A0EA</span>(this is the line after the JNZ, look up at the first block of code I copy pasted if you still don't know where the number came from). So your code should like like this:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00442612     83B9 F4060000 &gt;CMP DWORD PTR DS:[ECX+6F4],4
00442619    ^0F84 CB7AFCFF  JE lf2.0040A0EA</code></div></div>In english the code pretty much says: " If the id is 4 then go to the part of the code that handles AI".<br />
<br />
So lets say we want to copy ID 4 AI to ID 60(which is 3C in hex, remember everything is in hex), all we have to do is add another CMP and a JE. So now our code looks like this: <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00442612     83B9 F4060000 &gt;CMP DWORD PTR DS:[ECX+6F4],4
00442619    ^0F84 CB7AFCFF  JE test.0040A0EA
0044261F     83B9 F4060000 &gt;CMP DWORD PTR DS:[ECX+6F4],3C
00442626    ^0F84 BE7AFCFF  JE test.0040A0EA</code></div></div><br />
To copy it to more ID's you just need to add another CMP and another JE after that. You can do this as much as you want.<br />
<br />
All thats left now is to add a JMP(Unconditional jump) at the end of all of that, this is to make sure that if its any other ID the code continues to work and the program doesn't crash. So we do JMP 0040A32E(this is where it would normally jump if the ID wasn't 4, look at the JNZ part in the first block of code if you don't understand where the number came from).<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00442612     83B9 F4060000 &gt;CMP DWORD PTR DS:[ECX+6F4],4
00442619    ^0F84 CB7AFCFF  JE test.0040A0EA
0044261F     83B9 F4060000 &gt;CMP DWORD PTR DS:[ECX+6F4],3C
00442626    ^0F84 BE7AFCFF  JE test.0040A0EA
0044262C    ^E9 FD7CFCFF    JMP test.0040A32E</code></div></div><br />
In pseudo code the code means this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>IF ID = 4 OR ID = 60 {
Goto: AI section 4 }
ElSE {
Skip AI section 4}</code></div></div><br />
<span style="font-weight: bold;" class="mycode_b">NOTE</span> : Thanks to RUDOLF27 for finding out that ID's<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>John - 2 (or 02)<br />
Jack - 33 (21)<br />
Jan - 36 (24)<br />
Bat - 38 (26)</blockquote>
don't work. If you want to copy them, then just follow the tutorial normally and everytime you see <span style="font-weight: bold;" class="mycode_b">ECX+6F4</span> replace it with <span style="font-weight: bold;" class="mycode_b">EDX+6F4 </span>.<br />
<br />
----------------------------------------------------------<br />
<br />
Tutorial end, don't copy this next bit if you want to copy this tutorial anywhere <img src="https://lf-empire.de/forum/images/smilies/tongue.gif" alt=":p" title=":p" class="smilie smilie_22" />.<br />
I tried my best to explain everything as clearly as possible, if you still don't understand that means you aren't trying enough, or you lack one of the requirements (half decent brain). Don't PM me for help as that will just annoy me, post here if something isn't clear.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[About LF2 Text [Loading Text Example]]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=277</link>
			<pubDate>Thu, 01 May 2008 19:38:04 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=8">Boop</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=277</guid>
			<description><![CDATA[In this tutorial I will be using the loading text as an example but this applies to all (most) of the text in lf2 which isn't stored in the bitmaps.<br />
<br />
Open up lf2 in OllyDBG and goto 00412198 (Right click&gt;Goto&gt;expression, or press ctrl+G)<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>0041218D  |. 68 27010000    ||PUSH 127                               ;  Y pos
00412192  |. 68 0F010000    ||PUSH 10F                               ;  x Pos
00412197  |. 68 5A77D800    ||PUSH 0D8775A                           ;  Text Color
0041219C  |. 8D9424 F400000&gt;||LEA EDX,DWORD PTR SS:[ESP+F4]          ;  Makes EDX point to the text
004121A3  |. 68 12256500    ||PUSH client.00652512                   ;  Background Color
004121A8  |. 52             ||PUSH EDX                               ;  Push text(edx contains text)
004121A9  |. 50             ||PUSH EAX                               ;  random stuff(I don't know)
004121AA  |. E8 A1F1FEFF    ||CALL client.00401350                   ;  call the showy text function</code></div></div>(the name of my exe is client.exe that's why it says client.004xxxx , in your window it'll probably say lf2.004xxxx or what ever your exe is called)<br />
Okay that is the code you'll see there. As you can see I took the time to add comments to explain which each bit does. As you can see it's all very simple, you can change all the stuff quite easily, the only hard bit is the text which requires a bit more work. Lets change <div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>LEA EDX,DWORD PTR SS:[ESP+F4]</code></div></div>into <div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>LEA EDX,DWORD PTR DS:[442474]</code></div></div>(I know for a fact that 42474 is empty) and save the exe(copy to executable&gt;all modifications | New window pops up&gt;Right click&gt;save file) as lf2text.exe.<br />
<br />
Open lf2text.exe with Hex workshop and go to offset 42474( not 442474, you need to remove one 4). Type the text you want to display and save the file. Volia you are done.<br />
<br />
PS: If you just want to remove text, you can either make the color the same as the color of the background bitmap, or you can make the X pos or the Y pos be off screen.<br />
<br />
Screenshot:<br />
<img src="http://img177.imageshack.us/img177/752/85549577mt6.png" loading="lazy"  alt="[Image: 85549577mt6.png]" class="mycode_img" /><br />
<br />
I would like to say, that this might of not been the best example in the world, since the loading text always changes so we have an extra function (LEA EDX,DWORD PTR SS:[ESP+F4]) which we normally wouldn't have. But you get the idea.<br />
<br />
Usually it's something like<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00423D17   . 68 646A4400    PUSH client1.00446A64                    ;  ASCII "Press F4 or 'Attack' to exit"
00423D1C   . 52             PUSH EDX
00423D1D   . E8 2ED6FDFF    CALL client1.00401350</code></div></div><br />
And you just have to change PUSH 00446A64 to the your address( push 442474 , if you are using the address from this example.]]></description>
			<content:encoded><![CDATA[In this tutorial I will be using the loading text as an example but this applies to all (most) of the text in lf2 which isn't stored in the bitmaps.<br />
<br />
Open up lf2 in OllyDBG and goto 00412198 (Right click&gt;Goto&gt;expression, or press ctrl+G)<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>0041218D  |. 68 27010000    ||PUSH 127                               ;  Y pos
00412192  |. 68 0F010000    ||PUSH 10F                               ;  x Pos
00412197  |. 68 5A77D800    ||PUSH 0D8775A                           ;  Text Color
0041219C  |. 8D9424 F400000&gt;||LEA EDX,DWORD PTR SS:[ESP+F4]          ;  Makes EDX point to the text
004121A3  |. 68 12256500    ||PUSH client.00652512                   ;  Background Color
004121A8  |. 52             ||PUSH EDX                               ;  Push text(edx contains text)
004121A9  |. 50             ||PUSH EAX                               ;  random stuff(I don't know)
004121AA  |. E8 A1F1FEFF    ||CALL client.00401350                   ;  call the showy text function</code></div></div>(the name of my exe is client.exe that's why it says client.004xxxx , in your window it'll probably say lf2.004xxxx or what ever your exe is called)<br />
Okay that is the code you'll see there. As you can see I took the time to add comments to explain which each bit does. As you can see it's all very simple, you can change all the stuff quite easily, the only hard bit is the text which requires a bit more work. Lets change <div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>LEA EDX,DWORD PTR SS:[ESP+F4]</code></div></div>into <div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>LEA EDX,DWORD PTR DS:[442474]</code></div></div>(I know for a fact that 42474 is empty) and save the exe(copy to executable&gt;all modifications | New window pops up&gt;Right click&gt;save file) as lf2text.exe.<br />
<br />
Open lf2text.exe with Hex workshop and go to offset 42474( not 442474, you need to remove one 4). Type the text you want to display and save the file. Volia you are done.<br />
<br />
PS: If you just want to remove text, you can either make the color the same as the color of the background bitmap, or you can make the X pos or the Y pos be off screen.<br />
<br />
Screenshot:<br />
<img src="http://img177.imageshack.us/img177/752/85549577mt6.png" loading="lazy"  alt="[Image: 85549577mt6.png]" class="mycode_img" /><br />
<br />
I would like to say, that this might of not been the best example in the world, since the loading text always changes so we have an extra function (LEA EDX,DWORD PTR SS:[ESP+F4]) which we normally wouldn't have. But you get the idea.<br />
<br />
Usually it's something like<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00423D17   . 68 646A4400    PUSH client1.00446A64                    ;  ASCII "Press F4 or 'Attack' to exit"
00423D1C   . 52             PUSH EDX
00423D1D   . E8 2ED6FDFF    CALL client1.00401350</code></div></div><br />
And you just have to change PUSH 00446A64 to the your address( push 442474 , if you are using the address from this example.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ID Specfic MP Regeneration]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=68</link>
			<pubDate>Sat, 08 Mar 2008 12:12:36 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=8">Boop</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=68</guid>
			<description><![CDATA[Alrighty then, the new forum is here so I decided to finally write this tutorial!! :P<br />
<br />
First of all you have to decide if you want it to be one ID or a range of ID's.<br />
<br />
For one ID use this CFG for the patcher: (For some reason, the forum auto adds a space in the cfg, I don't know why... Just remove it when you copy paste)<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00021F6F,8B89F4060000,E96C0B020090
00042AE0,000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,8B89F406000083F9000F8586F4FDFFB9F40100002BC8B81F85EB51F7E9C1FA058BC2C1E81F03D08B86080300008D4C1004E990F4FDFF</code></div></div><br />
For a range of ID's use this CFG for the patcher: (For some reason, the forum auto adds a space in the cfg, I don't know why... Just remove it when you copy paste)<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00021F6F,8B89F4060000,E96C0B020090
00042AE0,000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,8B89F406000083F9000F8C86F4FDFF83F90A0F8F7DF4FDFFB9F40100002BC8B81F85EB51F7E9C1FA058BC2C1E81F03D08B86080300008D4C1004E987F4FDFF</code></div></div><br />
Alright, so after you patched the exe with one of these thingies, open the the exe with olly and go to offset 00442AE0 (Press ctrl+g and write in 00442AE0).<br />
<br />
Then you will see a bunch of code like this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00442AE0   &gt; 8B89 F4060000  MOV ECX,DWORD PTR DS:[ECX+6F4]
00442AE6   . 83F9 00        CMP ECX,0                                ;  First ID
00442AE9    ^0F8C 86F4FDFF  JL id_0.00421F75
00442AEF     83F9 0A        CMP ECX,0A                               ;  last ID
00442AF2    ^0F8F 7DF4FDFF  JG id_0.00421F75
00442AF8     B9 F4010000    MOV ECX,1F4
00442AFD     2BC8           SUB ECX,EAX
00442AFF     B8 1F85EB51    MOV EAX,51EB851F
00442B04     F7E9           IMUL ECX
00442B06     C1FA 05        SAR EDX,5
00442B09     8BC2           MOV EAX,EDX
00442B0B     C1E8 1F        SHR EAX,1F
00442B0E     03D0           ADD EDX,EAX
00442B10     8B86 08030000  MOV EAX,DWORD PTR DS:[ESI+308]
00442B16     8D4C10 04      LEA ECX,DWORD PTR DS:[EAX+EDX+4]         ;  MP Regen Rate
00442B1A    ^E9 87F4FDFF    JMP id_0.00421FA6</code></div></div><br />
I took the time to label the important parts, as you can see you only have to edit the CMP ECX,0 (replace 0 with your start ID) and CMP ECX,0A (replace 0A with your end ID). By default all ID's between 0 and 10 get uber fast mana regeneration(Remember the numbers should be in hex, thats why 0A = 10).<br />
*Note*If you want only 1 ID, it's basically the same, you only have to change the CMP ECX,0<br />
<br />
To change the rate the mana regenerates you need to change this line : LEA ECX,DWORD PTR DS:[EAX+EDX<span style="font-weight: bold;" class="mycode_b">+4</span>] , I set it to +4, the original is +1. If you set it -1 he will lose mp, but when his HP is low he will start regenerating again, this has something to do with the other part of the code which I don't understand <img src="https://lf-empire.de/forum/images/smilies/biggrin.gif" alt=":D" title=":D" class="smilie smilie_20" />.<br />
<br />
There you have it folks <img src="https://lf-empire.de/forum/images/smilies/smile.gif" alt=":)" title=":)" class="smilie smilie_19" />, I might dig deeper into this to figure out the other code, but I don't think I'll be doing that any time soon <img src="https://lf-empire.de/forum/images/smilies/biggrin.gif" alt=":D" title=":D" class="smilie smilie_20" />.]]></description>
			<content:encoded><![CDATA[Alrighty then, the new forum is here so I decided to finally write this tutorial!! :P<br />
<br />
First of all you have to decide if you want it to be one ID or a range of ID's.<br />
<br />
For one ID use this CFG for the patcher: (For some reason, the forum auto adds a space in the cfg, I don't know why... Just remove it when you copy paste)<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00021F6F,8B89F4060000,E96C0B020090
00042AE0,000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,8B89F406000083F9000F8586F4FDFFB9F40100002BC8B81F85EB51F7E9C1FA058BC2C1E81F03D08B86080300008D4C1004E990F4FDFF</code></div></div><br />
For a range of ID's use this CFG for the patcher: (For some reason, the forum auto adds a space in the cfg, I don't know why... Just remove it when you copy paste)<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00021F6F,8B89F4060000,E96C0B020090
00042AE0,000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,8B89F406000083F9000F8C86F4FDFF83F90A0F8F7DF4FDFFB9F40100002BC8B81F85EB51F7E9C1FA058BC2C1E81F03D08B86080300008D4C1004E987F4FDFF</code></div></div><br />
Alright, so after you patched the exe with one of these thingies, open the the exe with olly and go to offset 00442AE0 (Press ctrl+g and write in 00442AE0).<br />
<br />
Then you will see a bunch of code like this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>00442AE0   &gt; 8B89 F4060000  MOV ECX,DWORD PTR DS:[ECX+6F4]
00442AE6   . 83F9 00        CMP ECX,0                                ;  First ID
00442AE9    ^0F8C 86F4FDFF  JL id_0.00421F75
00442AEF     83F9 0A        CMP ECX,0A                               ;  last ID
00442AF2    ^0F8F 7DF4FDFF  JG id_0.00421F75
00442AF8     B9 F4010000    MOV ECX,1F4
00442AFD     2BC8           SUB ECX,EAX
00442AFF     B8 1F85EB51    MOV EAX,51EB851F
00442B04     F7E9           IMUL ECX
00442B06     C1FA 05        SAR EDX,5
00442B09     8BC2           MOV EAX,EDX
00442B0B     C1E8 1F        SHR EAX,1F
00442B0E     03D0           ADD EDX,EAX
00442B10     8B86 08030000  MOV EAX,DWORD PTR DS:[ESI+308]
00442B16     8D4C10 04      LEA ECX,DWORD PTR DS:[EAX+EDX+4]         ;  MP Regen Rate
00442B1A    ^E9 87F4FDFF    JMP id_0.00421FA6</code></div></div><br />
I took the time to label the important parts, as you can see you only have to edit the CMP ECX,0 (replace 0 with your start ID) and CMP ECX,0A (replace 0A with your end ID). By default all ID's between 0 and 10 get uber fast mana regeneration(Remember the numbers should be in hex, thats why 0A = 10).<br />
*Note*If you want only 1 ID, it's basically the same, you only have to change the CMP ECX,0<br />
<br />
To change the rate the mana regenerates you need to change this line : LEA ECX,DWORD PTR DS:[EAX+EDX<span style="font-weight: bold;" class="mycode_b">+4</span>] , I set it to +4, the original is +1. If you set it -1 he will lose mp, but when his HP is low he will start regenerating again, this has something to do with the other part of the code which I don't understand <img src="https://lf-empire.de/forum/images/smilies/biggrin.gif" alt=":D" title=":D" class="smilie smilie_20" />.<br />
<br />
There you have it folks <img src="https://lf-empire.de/forum/images/smilies/smile.gif" alt=":)" title=":)" class="smilie smilie_19" />, I might dig deeper into this to figure out the other code, but I don't think I'll be doing that any time soon <img src="https://lf-empire.de/forum/images/smilies/biggrin.gif" alt=":D" title=":D" class="smilie smilie_20" />.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Making A stage mode only lf2.]]></title>
			<link>https://lf-empire.de/forum/showthread.php?tid=64</link>
			<pubDate>Sat, 08 Mar 2008 08:48:33 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://lf-empire.de/forum/member.php?action=profile&uid=8">Boop</a>]]></dc:creator>
			<guid isPermaLink="false">https://lf-empire.de/forum/showthread.php?tid=64</guid>
			<description><![CDATA[Tools needed:<br />
<br />
OllyDbg ( found on the main site)<br />
PE explorer: <a href="http://www.heaventools.com" target="_blank" rel="noopener" class="mycode_url">http://www.heaventools.com</a> (get the 30 day trial)<br />
Hex workshop ( found on the main site).<br />
<br />
Behind the secene stuff:<br />
<br />
Well this works by changing the first item selected by lf2 to stage mode and then using my hex tweak to pass the menu( found in the quick reference theard).<br />
<br />
<br />
How to do it:<br />
<br />
Open olly and then using it open lf2. Right click anywhere in the upper part of the screen and press goto &gt;expression and type in 442BE7, it will take you to this place double click the selected line and copy paste this : "MOV BYTE PTR DS:[449094],1" (without the qoutes ). Now on the line under it type: "JMP 0043AB71" (without qoutes). Now save the exe by doing the following :<br />
1.Right click on the upper part of the screen<br />
2.Copy to exuctable &gt; All modifications &gt; copy all<br />
3. On the new window which poped up, right click on the upper part of the screen and press save file.<br />
<br />
Now quit olly and run PE explorer, and open lf2 using it. Now where it says Address of entery point change it to 442BE7 and press the green tick/v (no idea how it's called in english) and press ctrl+s to save the file . Now test you're exe and make sure everything works fine and that when you start the game the first thing which is slected is stage mode. Now just go to the Hex reference theard and do the hex tweak, and if you're to lazy here you go:<br />
<br />
-------------------------------------------------------------------------------------<br />
Title: Skip Menu (Goes straight to the first thing selected by default thats VS mode, trying to change it)<br />
Original: 0F84C3000000<br />
Offset: 0002FE2B<br />
Edit: 909090909090<br />
-------------------------------------------------------------------------------------<br />
<br />
<br />
<br />
Fun stuff :<br />
<br />
If you change the last number of this line you can get to any part of the menu(it starts from 0, for example vs mode is 0 stage mode is 1 etc etc etc) : MOV BYTE PTR DS:[449094],1<br />
<br />
Tutorial By Silva!!(me <img src="https://lf-empire.de/forum/images/smilies/biggrin.gif" alt=":D" title=":D" class="smilie smilie_20" />)]]></description>
			<content:encoded><![CDATA[Tools needed:<br />
<br />
OllyDbg ( found on the main site)<br />
PE explorer: <a href="http://www.heaventools.com" target="_blank" rel="noopener" class="mycode_url">http://www.heaventools.com</a> (get the 30 day trial)<br />
Hex workshop ( found on the main site).<br />
<br />
Behind the secene stuff:<br />
<br />
Well this works by changing the first item selected by lf2 to stage mode and then using my hex tweak to pass the menu( found in the quick reference theard).<br />
<br />
<br />
How to do it:<br />
<br />
Open olly and then using it open lf2. Right click anywhere in the upper part of the screen and press goto &gt;expression and type in 442BE7, it will take you to this place double click the selected line and copy paste this : "MOV BYTE PTR DS:[449094],1" (without the qoutes ). Now on the line under it type: "JMP 0043AB71" (without qoutes). Now save the exe by doing the following :<br />
1.Right click on the upper part of the screen<br />
2.Copy to exuctable &gt; All modifications &gt; copy all<br />
3. On the new window which poped up, right click on the upper part of the screen and press save file.<br />
<br />
Now quit olly and run PE explorer, and open lf2 using it. Now where it says Address of entery point change it to 442BE7 and press the green tick/v (no idea how it's called in english) and press ctrl+s to save the file . Now test you're exe and make sure everything works fine and that when you start the game the first thing which is slected is stage mode. Now just go to the Hex reference theard and do the hex tweak, and if you're to lazy here you go:<br />
<br />
-------------------------------------------------------------------------------------<br />
Title: Skip Menu (Goes straight to the first thing selected by default thats VS mode, trying to change it)<br />
Original: 0F84C3000000<br />
Offset: 0002FE2B<br />
Edit: 909090909090<br />
-------------------------------------------------------------------------------------<br />
<br />
<br />
<br />
Fun stuff :<br />
<br />
If you change the last number of this line you can get to any part of the menu(it starts from 0, for example vs mode is 0 stage mode is 1 etc etc etc) : MOV BYTE PTR DS:[449094],1<br />
<br />
Tutorial By Silva!!(me <img src="https://lf-empire.de/forum/images/smilies/biggrin.gif" alt=":D" title=":D" class="smilie smilie_20" />)]]></content:encoded>
		</item>
	</channel>
</rss>