Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Chracters you deafeat are automaticly unlocked.
#1
:[ 
Could it ever be possible to do something like that?
Were when you defeat the character in stage mode, they are automaticly unlocked; and there is know need to write in a password or redo stage mode when you unlock them. As soon as you play the game, the characters you got are unlocked.

Is it possible?
And how?
[Image: variaboss.png]
SUPER B*NER: :3
Reply
Thanks given by:
#2
(01-26-2010, 08:05 AM)Madara Uchiha Wrote:  Is it possible?
Yes.

(01-26-2010, 08:05 AM)Madara Uchiha Wrote:  And how?
Its just not worth the effort.

This would require loads of hex and stuff like that and the only person on LFE that would be able to do this is Silva (and probably a few other ones), which is sadly, gone.

And why would you even need something like this?
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
Basically, what you have to do is the following:

Code:
--- pseudo-code ahead ---

// in stage-mode
if(ID[x].beaten()) {
  achievementsArray = readOut("data\achievements.txt");
  if(achievementsArray.doesNotInclude(ID[x])
    achievementsArray.add(ID[x]);
}

// in character selection menu
achievementsArray = readOut("data\achievements.txt");
foreach(achievementsArray)
  unlockChar();
So what does this code want to tell us? Achievements are being put into a file called "achievements.txt" (yes, this has to be existent, I didn't want to extend this code any further). The IDs are specified as an array, thus you can make it more flexible. achievements.txt could look like this:
Code:
50
51
52
This could tell the procedure that IDs 50, 51, and 52 have been unlocked and so those characters are displayed.

As you can see, the method behind it is comparably simple. However, since it's using ASM and IO-stuff, it might be a little complicated to do via a DLL. Therefore, I would refrain from doing something like this.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#4
would need alot extra code for the AI
if you don't want lf2.net to work
Reply
Thanks given by:
#5
(01-26-2010, 02:20 PM)naruto hyuuga Wrote:  would need alot extra code for the AI
if you don't want lf2.net to work

what tha hell? that post made no sense, it has nothing to do with the AI and the lf2.net cheat can be blocked with removing like 1 line...

@topic
ya, that would require one more txt file where the unlocked id's are saved, I guess it's hell lot of work and not worth doing it anyways
Reply
Thanks given by:
#6
...mainly cause with this way you could simply fake your achievements :P
Reply
Thanks given by:
#7
(01-26-2010, 03:34 PM)Bamboori Wrote:  ...mainly cause with this way you could simply fake your achievements :P

Not if you encrypt them. I basically just provided the easiest way, I totally omitted the capability of encrypting =P
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#8
Well I might consider this method anyway.
[Image: variaboss.png]
SUPER B*NER: :3
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)