Page 1 of 2

Capturing player stats using cheatengine

Posted: Wed Jun 09, 2021 6:46 am
by wannahavefun12
Hi All,

I am new to Oolite and thus have a very hard time in combat. I used Cheat Engine while playing Oolite in Window mode to capture the forward and aft shield values so that I can cheat using them. I searched with datatype 'int32' but it did not capture the address for those parameters. So does anyone know how those addresses for forward and aft shield can be found? I just want to practice combat with cheat to get good at it.

Thanks.

Re: Capturing player stats using cheatengine

Posted: Wed Jun 09, 2021 10:53 am
by Cholmondely
wannahavefun12 wrote: Wed Jun 09, 2021 6:46 am
Hi All,

I am new to Oolite and thus have a very hard time in combat. I used Cheat Engine while playing Oolite in Window mode to capture the forward and aft shield values so that I can cheat using them. I searched with datatype 'int32' but it did not capture the address for those parameters. So does anyone know how those addresses for forward and aft shield can be found? I just want to practice combat with cheat to get good at it.

Thanks.
Sorry - don't know about this sort of thing ... but was the in-game Tutorial really no help? (http://wiki.alioth.net/index.php/Tutorial)

And - Welcome to the Bulletin Boards! The friendliest this side of Riedquat! Enjoy!!

Oh! ... and whatever happened to wannahavefuns 1-11? Did they end up eating vacuum?

Re: Capturing player stats using cheatengine

Posted: Wed Jun 09, 2021 11:39 am
by phkb
wannahavefun12 wrote: Wed Jun 09, 2021 6:46 am
I searched with datatype 'int32' but it did not capture the address for those parameters.
This feels like you’re working too hard for your cheats! Most players, when looking for ways to get ahead, usually just resort to just editing the save file to award yourself lots of money in order to purchase all the upgrades you can eat.

Can I also recommend having a browse through some of the [EliteWiki] combat tactics on the wiki? There’s a lot of great advice on how to survive combat.

Re: Capturing player stats using cheatengine

Posted: Wed Jun 09, 2021 11:54 am
by hiran
phkb wrote: Wed Jun 09, 2021 11:39 am
wannahavefun12 wrote: Wed Jun 09, 2021 6:46 am
I searched with datatype 'int32' but it did not capture the address for those parameters.
This feels like you’re working too hard for your cheats! Most players, when looking for ways to get ahead, usually just resort to just editing the save file to award yourself lots of money in order to purchase all the upgrades you can eat.

Can I also recommend having a browse through some of the [EliteWiki] combat tactics on the wiki? There’s a lot of great advice on how to survive combat.
Maybe we need a cheat guide...
  1. Edit savegame and increase your cash to insane value
  2. Try traveling to a planet with high techlevel so you can actually buy most of the nice upgrades, but
  3. along the way check the available ships to see which one you feel comfortable with
  4. Finally be aware that on the highest techlevel one or the other upgrade may be considered illegal and gets removed so you may need to find another planet to stock up again.

Re: Capturing player stats using cheatengine

Posted: Wed Jun 09, 2021 12:33 pm
by montana05
hiran wrote: Wed Jun 09, 2021 11:54 am
Maybe we need a cheat guide...
You can use a simple script to make your shields nearly unbreakable, I use it sometimes to observe battles I started. :lol:

Re: Capturing player stats using cheatengine

Posted: Wed Jun 09, 2021 12:56 pm
by Cholmondely
montana05 wrote: Wed Jun 09, 2021 12:33 pm
hiran wrote: Wed Jun 09, 2021 11:54 am
Maybe we need a cheat guide...
... I use it sometimes to observe battles I started. :lol:
Location: lurking in The Devils Triangle (G1)

So that's why the Devil's Triangle is called the Devil's Triangle....

Re: Capturing player stats using cheatengine

Posted: Wed Jun 09, 2021 1:03 pm
by montana05
Cholmondely wrote: Wed Jun 09, 2021 12:56 pm
Location: lurking in The Devils Triangle (G1)

So that's why the Devil's Triangle is called the Devil's Triangle....
Oops, you got me, now you know why only anarchies are left there. :oops:

Re: Capturing player stats using cheatengine

Posted: Wed Jun 09, 2021 2:10 pm
by wannahavefun12
Cholmondely wrote: Wed Jun 09, 2021 10:53 am

Oh! ... and whatever happened to wannahavefuns 1-11? Did they end up eating vacuum?
That's is so that if other wannahavefuns join they will never have to hit the number 12. ;)
phkb wrote: Wed Jun 09, 2021 11:39 am
This feels like you’re working too hard for your cheats!
I'm just trying to be invulnerable, so that I can just mow through enemies without looking at my armor. A bit crude, I know. But I just want to visit all the systems and galaxies and I don't have the time and patience to be good at combat.
montana05 wrote: Wed Jun 09, 2021 12:33 pm
You can use a simple script to make your shields nearly unbreakable, I use it sometimes to observe battles I started. :lol:
Please tell me how? Do I have to write an OXP?

Re: Capturing player stats using cheatengine

Posted: Thu Jun 10, 2021 8:35 am
by wannahavefun12
Guys, I figured this out. If anyone wondering, you need to write an OXP and use these following events and properties.

Code: Select all

this.shipBeingAttacked
this.shipBeingAttackedByCloaked
player.ship.aftShield
player.ship.maxAftShield
player.ship.forwardShield
player.ship.maxForwardShield

Re: Capturing player stats using cheatengine

Posted: Thu Jun 10, 2021 8:58 am
by montana05
wannahavefun12 wrote: Thu Jun 10, 2021 8:35 am
Guys, I figured this out. If anyone wondering, you need to write an OXP and use these following events and properties.

Code: Select all

this.shipBeingAttacked
this.shipBeingAttackedByCloaked
player.ship.aftShield
player.ship.maxAftShield
player.ship.forwardShield
player.ship.maxForwardShield

Code: Select all

this.shipLaunchedFromStation = function(stationLaunchedFrom)
{
	player.ship.maxForwardShield = player.ship.maxForwardShield * 100;
	player.ship.maxAftShield = player.ship.maxAftShield * 100;
	player.ship.energy = player.ship.maxEnergy;
	player.ship.forwardShield = player.ship.maxForwardShield;
	player.ship.aftShield = player.ship.maxAftShield;
}
Something like that ? :wink:

Re: Capturing player stats using cheatengine

Posted: Thu Jun 10, 2021 11:28 am
by wannahavefun12
montana05 wrote: Thu Jun 10, 2021 8:58 am
wannahavefun12 wrote: Thu Jun 10, 2021 8:35 am
Guys, I figured this out. If anyone wondering, you need to write an OXP and use these following events and properties.

Code: Select all

this.shipBeingAttacked
this.shipBeingAttackedByCloaked
player.ship.aftShield
player.ship.maxAftShield
player.ship.forwardShield
player.ship.maxForwardShield

Code: Select all

this.shipLaunchedFromStation = function(stationLaunchedFrom)
{
	player.ship.maxForwardShield = player.ship.maxForwardShield * 100;
	player.ship.maxAftShield = player.ship.maxAftShield * 100;
	player.ship.energy = player.ship.maxEnergy;
	player.ship.forwardShield = player.ship.maxForwardShield;
	player.ship.aftShield = player.ship.maxAftShield;
}
Something like that ? :wink:
Nah, I use this. This makes you immune to all laser attacks.

Code: Select all

this.shipBeingAttacked = function(whom)
{
     player.ship.aftShield = player.ship.maxAftShield;
     player.ship.forwardShield = player.ship.maxForwardShield;
}

this.shipBeingAttackedByCloaked = function()
{
     player.ship.aftShield = player.ship.maxAftShield;
     player.ship.forwardShield = player.ship.maxForwardShield;
}

Re: Capturing player stats using cheatengine

Posted: Thu Jun 10, 2021 11:32 am
by montana05
wannahavefun12 wrote: Thu Jun 10, 2021 11:28 am
Nah, I use this. This makes you immune to all laser attacks.
Lasers yes, missiles or some OXP weapons no.

Re: Capturing player stats using cheatengine

Posted: Fri Jun 11, 2021 2:17 am
by wannahavefun12
montana05 wrote: Thu Jun 10, 2021 11:32 am
wannahavefun12 wrote: Thu Jun 10, 2021 11:28 am
Nah, I use this. This makes you immune to all laser attacks.
Lasers yes, missiles or some OXP weapons no.
True. But, Lasers were my main difficulty.

Re: Capturing player stats using cheatengine

Posted: Fri Jun 11, 2021 6:43 am
by montana05
wannahavefun12 wrote: Fri Jun 11, 2021 2:17 am
montana05 wrote: Thu Jun 10, 2021 11:32 am
wannahavefun12 wrote: Thu Jun 10, 2021 11:28 am
Nah, I use this. This makes you immune to all laser attacks.
Lasers yes, missiles or some OXP weapons no.
True. But, Lasers were my main difficulty.
Well, enjoy your trip over the 8 sectors. :wink:

Re: Capturing player stats using cheatengine

Posted: Sat Jun 12, 2021 4:16 pm
by wannahavefun12
montana05 wrote: Fri Jun 11, 2021 6:43 am
wannahavefun12 wrote: Fri Jun 11, 2021 2:17 am
montana05 wrote: Thu Jun 10, 2021 11:32 am


Lasers yes, missiles or some OXP weapons no.
True. But, Lasers were my main difficulty.
Well, enjoy your trip over the 8 sectors. :wink:
Thanks, I will.