Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not enough id in stage mode
#1
I input the following in stage mode

<stage> id: 0 #stage 1-1
<phase> bound: 900
id: 30 hp: 50 id: 30 hp: 50
id: 30 hp: 50 id: 30 hp: 50
id: 30 hp: 50 id: 30 hp: 50
id: 30 hp: 50 id: 30 hp: 50
id: 30 hp: 50 id: 30 hp: 50
id: 30 hp: 50 id: 30 hp: 50
id: 30 hp: 50 id: 30 hp: 50
id: 30 hp: 50 id: 30 hp: 50
id: 30 hp: 50 id: 30 hp: 50
id: 30 hp: 50 id: 30 hp: 50
id: 30 hp: 50 id: 30 hp: 50
<phase_end>
<stage_end>

But it does not work well, it can only output 20 bandits totally
But my expected value is 22
How can i do this without using

1.Ratio
2.Make an object point to release id

I want a way to change exe
to make it have more id

Is it necessary to edit lf2 source code?
What is source code?
Reply
Thanks given by:
#2
(12-06-2009, 11:20 AM)jf8429 Wrote:  Is it necessary to edit lf2 source code?

Nope.
This would require you to have the source code.
And as Marti wont release it you wont get it unless you decompile the exe...
Which is illegal.

(12-06-2009, 11:20 AM)jf8429 Wrote:  What is source code?

The source code is a lot of commands inside a file.
The source code is what a programmer writes and then he uses a compiler to make a exe.
It can look like this:
    C++-Code:
int p1_hp = 500;
if(p1_hp>500){
p1_hp = 500;
}
if(p1_hp<0 || p1_hp == 0){
p1_alive = false;
}else{
p1_alive = true;
}


That is just an example but some programs has over 1000000 commands.

In order to achieve this you will need to edit the exe with a hex editor.
And that looks something like this.
80 FF 50 00 90 90 00

I cant help you as im pretty much a complete n00b in hex editing.
And silva is gone, sadly.
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
Reply
Thanks given by:
#3
(12-06-2009, 11:51 AM)Someone else Wrote:  
(12-06-2009, 11:20 AM)jf8429 Wrote:  Is it necessary to edit lf2 source code?

Nope.
This would require you to have the source code.
And as Marti wont release it you wont get it unless you decompile the exe...
Which is illegal.

(12-06-2009, 11:20 AM)jf8429 Wrote:  What is source code?

The source code is a lot of commands inside a file.
The source code is what a programmer writes and then he uses a compiler to make a exe.
It can look like this:
    C++-Code:
int p1_hp = 500;
if(p1_hp>500){
p1_hp = 500;
}
if(p1_hp<0 || p1_hp == 0){
p1_alive = false;
}else{
p1_alive = true;
}


That is just an example but some programs has over 1000000 commands.

In order to achieve this you will need to edit the exe with a hex editor.
And that looks something like this.
80 FF 50 00 90 90 00

I cant help you as im pretty much a complete n00b in hex editing.
And silva is gone, sadly.

May you tell me how to edit please?
Reply
Thanks given by:
#4
He already told you he can't help you with this.
Sorry dude, but it seems like you won't get this solved :/
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)