Page 4 of 11

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Tue Apr 23, 2019 5:27 pm
by Archerodees
This has to be the most well put together and comprehensive tables I 've ever seen. Good job.

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Tue Apr 30, 2019 5:13 am
by rewdoody
What would be the best way to cheat the Moxxi's greater challenge achievements? Kill all enemies each round to progress the rounds super fast? Automatically jump to round 20?

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Tue Apr 30, 2019 9:56 am
by SunBeam
^ Play the damn game. OCD freak.

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Tue Apr 30, 2019 4:06 pm
by rewdoody
The greater challenge achievements are 20 rounds of Moxxi's Underdome Riot. They take about 4-5 hours solo. I did all three of them by myself and it did not give me the achievement for completing them all, only the individual achievements. Now I am sitting here debating doing them all over again to see which one needs to be redone to trigger the achievement. I looked in the upk files for it and found some stuff for possibly jumping rounds, as well as some stuff for a Brick action skill that kills all enemies. I also found the addresses for what I believe to be the rounds in CE, however I am very inexperienced when it comes to actually figuring out how to use that stuff to my advantage, hence why I asked you pros here :)

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Wed May 01, 2019 12:10 am
by SunBeam
Meanwhile I've finished doing this :P



Yes, Z movement isn't yet available, since I've not used PlayerController::GotoState('PlayerFlying'). Just did some manual changes.

Table incoming tomorrow :)

BR,
Sun

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Wed May 01, 2019 12:30 am
by SunBeam
ShyTwig16 wrote: ...
Although everything is not native anymore, the UObjects (UFunctions, etc.) got cooked ;) Even if UE Explorer can't deserialize properly, I was able to find "Console.Open.InputKey" and "Console.Typing.InputKey" UFunctions. Hot-patching the FName_Index in the bytecode allowed me to use the Console without anymore "say"-ing :P

Since there wasn't any update in effect and everyone has the same files, here's the way to do it:

Code: Select all

1B 83 6E 00 00 00 00 00 00 00
^ Scan for that as "Array of byte". You'll find 2 occurrences. Change both to:

Code: Select all

1B 5F 46 00 00 00 00 00 00 00
In case you're wondering WTF we just did.. well, we swapped the FName_Index in the bytecode for the 2 functions so instead of executing "Engine.Console.ShippingConsoleCommand" UFunction (with id 0x6E83), the Console will run "Engine.Console.ConsoleCommand" UFunction (whose id is 0x465F). The base function just runs Console commands; doesn't do any "say" :P

EDIT: Installing BioShock Infinite for a quick revisit. Wanna see if the Console is really in or not ;)

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Wed May 01, 2019 3:42 am
by SunBeam
Turns out patching IsDeveloper to return TRUE and forcing a 0x6 (Jump) to the offset where 0x1B bytecode designates the FindFunctionById( "WillowPlayerController.ExpLevelUp" ) in DeveloperFreeLevels works wonders :D Leveled up to level 69 :P

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Wed May 01, 2019 8:41 am
by alset85
Did you find anything related to the sanity checks for items?

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Wed May 01, 2019 11:16 am
by TimFun13
SunBeam wrote:
Wed May 01, 2019 3:42 am
...
I'm going to have to get back to this one and join you, looks like I missing out on some fun. Hopefully after work today.

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Thu May 02, 2019 8:04 pm
by SunBeam
Looked into Bioshock: Infinite. The mystery I want to unravel now is determining where in the code is the actual Console UObject initialized. Then figure out why that fails in Infinite. Because, the way I see it in UE Explorer, it does get initialized:

Code: Select all

event bool Init(out string OutError)
{
    local PlayerManagerInteraction PlayerInteraction;
    local int NumCustomInteractions;
    local class<UIInteraction> CustomInteractionClass;
    local UIInteraction CustomInteraction;
    local int idx;

    ActiveSplitscreenType = DesiredSplitscreenType;
    // End:0xE2
    if(Outer.ConsoleClass != none)
    {
        ViewportConsole = new (self) Outer.ConsoleClass; <-- here
        // End:0xE2
        if(ViewportConsole != none)
        {
            // End:0xE2
            if((InsertInteraction(ViewportConsole)) == -1)
            {
                OutError = "Failed to add interaction to GlobalInteractions array:" @ string(ViewportConsole);
                return false;
            }
        }
    }
However, when checking the respective offset in the GameViewport UObject via "Default__ObjectProperty Engine.GameViewportClient.ViewportConsole" (that's how I found the offset), well.. it's NULL. So either the "Outer.ConsoleClass" is "none" or some other shit is going on.

Sorry for off-topic-ing. Will return to BL in a bit :D

BR,
Sun

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Thu May 02, 2019 11:59 pm
by TimFun13
SunBeam wrote:
Wed Apr 17, 2019 3:43 pm
^ Seriously now.. check my dumper for Batman series, dump UObjects (it's UE3), then also use UE Explorer to have a look at the .upk files. Most functions are UScript bytecode, so you can't just "call" them. And to execute bytecode in the single threaded UE handler, you need to hook ProcessEvent (else the interlocks will crash your ass).
...
So can the object dumper (viewtopic.php?f=4&t=946) be made to work with this game? I was looking it over and it seems like it could, but there's a lot going on with it and I'm still just trying to figure it out.

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Fri May 03, 2019 1:29 am
by SunBeam
Yeah, I got the compiled DLL for it :P How do you think I was able to do that hot-patching? :) Meanwhile:

Image

Eurika!

P.S. #1: The default cheats were removed. Am looking for some nice developer shit, hope there is any.. :D
P.S. #2: Time to fix my old table ;) Then I get back to BL.
P.S. #3: Started looking into the rarity for BL2, to understand how it works. Once I do, I will port it to BL:E and get us some nice Legendaries :P

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Fri May 03, 2019 1:48 am
by TimFun13
^^ I'm still just trying to get an Item leveler working and not having any luck so far, a rarity cheat would be badass.

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Fri May 03, 2019 2:47 am
by SunBeam
I might be able to restore the GET/SET commands :D It then would be simple as fuck to do shit in-game ;) Talking about Bioshock.

Try set/get in the console in BL:E; see if it does anything (e.g.: get Engine.PlayerController bCheatFlying). Should return "False"; use the "say" patcher first.

EDIT #1: It works ;)

Image

Guess what you can do now if you find the right UObjects ;)

get <ClassName> <PropertyName>
set <ClassName> <PropertyName> <Value>

EDIT #2: "set" doesn't work; just "get" :( Hmm.

Re: Borderlands GOTY Enhanced - table v: 1.0.2 CT

Posted: Fri May 03, 2019 3:28 am
by SunBeam
HAHAHAHA! Owned. There are two "SET" string locations in the game code. The initial one, which leads to a dead end, is here:

Image

You can see from the code flow that the TEST EAX,EAX + JNE hop over to a CMP. In the standard UDK version of the Shooter Game, as I checked, right below the JNE there's the SET function CALL. In this build you can see the code immediately hops over to check for SETNOPEC. But.. if we patch this location so that when SET is used it will not jump over.. the loop continues.. and it gets here:

Image

What I've highlighted is the execution of SET :) Tested it in-game and I got this:

Image

Patch this in a script ;) And you can set whatever crap you want in the Engine :)

Code: Select all

SET Command Enabler:
BorderlandsGOTY.exe+681EA0 -> 75 15
to
BorderlandsGOTY.exe+681EA0 -> 75 00
Result (get to see state -> False, set to 'true', get to see it has changed -> True):

Image

BR,
Sun