Capturing player stats using cheatengine

General discussion for players of Oolite.

Moderators: winston, another_commander

wannahavefun12

Re: Capturing player stats using cheatengine

Post by wannahavefun12 »

Hi, necrobumping this thread to post the full source code of the script.js of my cheat oxp.

Code: Select all

this.name           = "immunetolaser";
this.author         = "hulo";
this.copyright      = "(C) hulo";
this.licence        = "public domain";
this.description    = "Being hit by Laser restores player's foreward and aft shield";
this.version        = "1.00";

"use strict";

this.startUp = function()
{
    log(this.name, "Initialising OXP " + this.name);
}

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;
}

Note: This oxp will also make you kind of immune to missiles. As far as I know, a single missile cannot take you out (for strong ships) and whatever damage you have from missiles will get healed the moment an enemy fires laser at you. Not sure about bombs though, as I don't know how ships fare against bombs.

Also, this oxp can be modified to make damage taken halved or quartered instead of full invulnerability. Somebody has to figure that out.
User avatar
Cholmondely
Archivist
Archivist
Posts: 5364
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Capturing player stats using cheatengine

Post by Cholmondely »

Hello "Wanna"!

How is the Ooliting coming along?

Which OXP's are you using nowadays? ... and have you tried any of the missions?

We've added a Planet Textures Gallery to the Guide to Ambience OXPs to give a better idea of the planet retexture oxp's. And a lot more OXP's too. Still no black holes, I'm afraid.

If you are into multi-player, Hiran has been developing Nexus and needs play testers.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
wannahavefun12

Re: Capturing player stats using cheatengine

Post by wannahavefun12 »

Cholmondely wrote: Mon Jun 13, 2022 2:22 pm
Hello "Wanna"!

How is the Ooliting coming along?

Which OXP's are you using nowadays? ... and have you tried any of the missions?

We've added a Planet Textures Gallery to the Guide to Ambience OXPs to give a better idea of the planet retexture oxp's. And a lot more OXP's too. Still no black holes, I'm afraid.

If you are into multi-player, Hiran has been developing Nexus and needs play testers.
Hi Cholmondely! Actually, now-a-days I've not been playing Oolite that much. Currently, I'm playing a game called Genshin Impact. Surely, you must have heard about it. This game has so many waifus and I love each one of them.

Anyway, I shall check out some newer OXPs when I have time.
Post Reply