[Momentum] Arcade Clear Script

10/07/2018 14:48 RingleRangleRob#1
Quote:
Originally Posted by 0N1K4G3 View Post
:feelsbadman:
Faze i wanna buy you
Praise the god RingleRangleRob, son!

You need to install Cheat Engine!
Where can i get it? [Only registered and activated users can see links. Click Here To Register...]

[Tutorial]

Hint: You can remove the "BE Service Disconnect" messagebox by pressing escape (ESC)

- Start Bypass.exe
- Start S4League
- Start Cheat Engine, attach Cheat Engine to S4Client.exe and open the *.ct file
- Check the "Arcade Clear Script!"
- Create an arcade room
- Select a stage and start the match
- Wait one minute and it will end automatically

Important

To deactivate the script use the address below the script and change the value to 1
after this you can uncheck the script

If S4League starts with Battleye close the process and start the Bypass.exe at the login window (S4EuLogin.exe)


[Script]

Code:
[ENABLE]
Alloc(Thread,512)
GlobalAlloc(StopScript,4)

label(continue)

CreateThread(Thread)

StopScript:
dd 0

S4Client.exe+2D6448:            // Disable the Mob Creation
db EB

Thread:
push #10
call Kernel32.Sleep             // Sleep(10);

cmp [StopScript],00
je continue
mov [continue],00
ret

continue:
mov ebx,[S4Client.exe+1749338] // CGameManager
mov eax,[ebx+B8]               // CGameManager->CClientRoomAgent
cmp [eax+5C],00                // The user isnt in a room!
je Thread

mov eax,[eax+5C]               // CGameManager->CClientRoomAgent->CClientRoom
cmp [eax+0C],07                // Is the room a arcade room?
jne Thread

mov eax,[ebx+138]              // MultiPlay::Mode (look in reclass for more informations ;))
cmp eax,00
je Thread

mov eax,[eax+0C]               // MultiPlay::Mode->MultiPlay::ModeState (CArcadeCV_Wait for example)
cmp eax, 00
je Thread

cmp [eax+08],02                // Is roomstate equal ingame/gameplay?
jne Thread

cmp [eax+24], #60000           // MultiPlay::Mode->MultiPlay::ModeState->Playtime < 1 minute
jb Thread                      // If playertime below 60000 milliseconds (60 seonds -> 1 minute)

call S4Client.exe+2D8C40       // Get the instance of
                               // CArcadeSystem::CSceneController::CScriptHostController
mov ecx,eax
call S4Client.exe+2EECC0       // Send Acarde_StageClear_Req in any subfunction
jmp Thread

[DISABLE]
Dealloc(StopScript)
Dealloc(Thread)

S4Client.exe+2D6448:           // Enable the Mob Creation
db 74
[Pseudocode]

Code:
auto stopScript = 0;

while(stopScript == 0)
{
    Sleep(10);

    if (CGameManager->ClientRoomAgent->CClientRoom)
        if (CGameManager->ClientRoomAgent->CClientRoom->ModeId == 7)
            if (CGameManager->Mode)
                if (CGameManager->Mode->State)
                    if (CGameManager->Mode->State->Id == 2)
                        if (CGameManager->Mode->State->Timer >= 60000)
                            ArcadeSystem->SceneController->ScriptHostController->ClearStage();
}
You can make it much cleaner by using:
- Functions
- Variables types like bool (true/false)
- continue keyword
...

but i just want to show you one option how it could work!


[Extension]

Instead of using CGameManager->ClientRoomAgent->CClientRoom you can use CGameManager->Mode->State->ModeCryption (State+0x34)

Code:
struct s_ModeCryption
{
    uint8_t value_00;
    uint8_t value_01;
    uint8_t value_02;
};

uint8_t modeId = CGameManager->Mode->State->ModeCryption.value_00 ^ CGameManager->Mode->State->ModeCryption.value_02;
in ASM it will be

Code:
mov ecx,[S4Client.exe+1749338] // CGameManager
mov ecx,[eax+138]              // MultiPlay::Mode
add ecx,34                     // MultiPlay::Mode->s_ModeCryption
movzx eax,byte ptr [ecx]
movzx ebx,byte ptr [ecx+02]
xor eax,ebx                    // The Mode Id is now in al

[Virustotal]

[Only registered and activated users can see links. Click Here To Register...]

[Credits]
Momentum: [Only registered and activated users can see links. Click Here To Register...], [Only registered and activated users can see links. Click Here To Register...]

[Note]
When someone make a video tutorial i will link it here :handsdown:
forgot to comment we access on MultiPlay::Mode by CGameManager

cya soon my fans
10/07/2018 15:12 Syc.#2
keyloggerrrr!!!!! [Only registered and activated users can see links. Click Here To Register...] !!!!:kappa: Gj
10/07/2018 15:59 SilverEmerald#3
Nothing special but still.. S4 devs could never put a decent security system into this since 10 years. (Check if user killed enough amount of mobs. [Score_Kill_Req] If did, it can clearstage. if not, do something against it. simple huh) lmfao
10/07/2018 16:10 Lorexens x#4
If I start the bypass and get to the serverlist i get a massage that im not connected to the BE and get kicked out
10/07/2018 16:15 RingleRangleRob#5
Quote:
Originally Posted by Lorexens x View Post
If I start the bypass and get to the serverlist i get a massage that im not connected to the BE and get kicked out
Please read the thread next time better

Quote:
Hint: You can remove the "BE Service Disconnect" messagebox by pressing escape (ESC)
10/07/2018 16:20 AsuraKnightXI#6
thanks for the bypass but when I start the arcade clear script in cheat engine the game doesn't end in a minute and i still have to play

nvm it worked thanks for all your help
10/07/2018 16:30 0N1K4G3#7
Lol, i was joking XD
10/07/2018 16:35 RingleRangleRob#8
Quote:
Originally Posted by 0N1K4G3 View Post
Lol, i was joking XD
Where is my money? :rtfm::bandit:
10/07/2018 16:44 vayala3#9
Does this work for Conquest? .-.
10/07/2018 16:48 0N1K4G3#10
Quote:
Originally Posted by RingleRangleRob View Post
Where is my money? :rtfm::bandit:
Ye u're right. Here is ur money
[Only registered and activated users can see links. Click Here To Register...]
10/07/2018 17:12 Zemunasu#11
i'm autistic and seeing you naming it S4EuLogin with caps makes me angry. EU smh
10/07/2018 18:21 fldeveloper#12
congratz
10/07/2018 19:08 doqukanlas#13
Works win 10 pro 64 bit
10/07/2018 21:35 DieGurkexD#14
Very nice tool, but maybe u could add that it automaticly select stage 8 and automaticly start :D would be very nice
10/07/2018 22:06 Micracoli#15
Quote:
Originally Posted by DieGurkexD View Post
Very nice tool, but maybe u could add that it automaticly select stage 8 and automaticly start :D would be very nice
fauler sack