[CEAA-Script] Room_Mode_Change_Item_Ack

03/25/2018 21:39 RingleRangleRob#1
This packet is used by S4 to set the snowball bomber and the default skill for this gamemode called snowball fight.
S4 sends an empty version of it where it disable the mode if you join any room.
So just edit it and you can play with weapons and skill which are not in your inventory.

this screen is to show you how it looks ingame.
Perfect for private servers (at least snowball patch) to create rooms with rules
[Only registered and activated users can see links. Click Here To Register...]

GameServer::Stub : Proud::IRmiStub
Code:
virtual bool Room_Mode_Change_Item_Ack(int8_t a2, int32_t* a3, int32_t* a4);
Code:
   => [211]	S4Client.exe+0x00BAF0C0	1205	3	Room_Mode_Change_Item_Ack
Code:
[ENABLE]
Alloc(ExecutePage,2048)

GlobalAlloc(Buffer,8)
GlobalAlloc(PStruct,128)
GlobalAlloc(List,512)
GlobalAlloc(Enchant,256 )

Enchant:
dd #1201300005

Enchant+18:
dd #1201301005

Enchant+30:
dd #1299600007

Enchant+48:
dd #1299602002

Enchant+60:
dd #1999300010

Enchant+78:
dd #1999301011

Buffer:
dd 00

/*
aWaffen = true;
aSkill = true;
map_id = 52;
aWeaponID = 09;
*/

PStruct:
db 01 01 01 00

/*
ItemID = 2000009;
Unknow00 = 0;
Unknow01 = 0;
Unknow02 = 0;
Color_ID = 0;
Unknow03 = 0;
Unknow04 = 0;
Unknow05 = 0;
Unknow06 = 0;
*/
List:
dd #2000001
List+4:
dd 0
List+8:
dd 0
List+C:
dd 0
List+10:
dd 7
List+14:
dd 0
List+18: //Enchant Vector 0x18 - 0x24
dd 0

List+24:
dd #2000009

List+48:
dd #2000011

CreateThread(ExecutePage)


ExecutePage:

//Vector begin
lea ecx,[List]
mov [PStruct+4], ecx

//Vector end
lea ecx,[List+6C]
mov [PStruct+8], ecx
mov [PStruct+C], ecx

lea ecx, [Enchant]
mov[List+18],ecx
mov[List+3C],ecx
mov[List+60],ecx

lea ecx,[Enchant+60]
mov[List+1C],ecx
mov[List+20],ecx

mov[List+40],ecx
mov[List+44],ecx

mov[List+64],ecx
mov[List+68],ecx

mov [PStruct+10],#3000003

lea ecx, [Enchant+60]
mov [PStruct+28],ecx

lea ecx, [Enchant+90]
mov [PStruct+2C],ecx
mov [PStruct+30],ecx

push PStruct
push Buffer
push 01
mov ecx,["S4Client.exe"+174EA30+158]
mov eax,[ecx+D3*4]//34C
call eax
ret

[DISABLE]
Dealloc(Enchant)
Dealloc(List)
Dealloc(PStruct)
Dealloc(Buffer)
Dealloc(ExecutePage)
Code:
struct Room_Mode_Change_Item:
uint8_t aWaffen = 1;
uint8_t aSkill = 1;
uint8_t map_id = 00;
uint8_t aWeaponID = 00;
std::vector<sItem> Weapons;
sItem Skill;
Code:
struct sItem:
uint32_t ItemID = 2000009;
uint32_t Unknow00 = 0;
uint32_t Unknow01 = 0;
uint32_t Unknow02 = 0;
uint32_t Color_ID = 0;
uint32_t Unknow03 = 0;
std::vector<sEffect> Effect;
sEffect you can get [Only registered and activated users can see links. Click Here To Register...]
03/25/2018 21:44 CodeNero#2
Much Nice, Much Wow.
03/26/2018 03:25 nmnmnm1343#3
how ?
03/26/2018 12:37 Micracoli#4
Nice work
03/27/2018 17:03 merdaumana10#5
still code on s4league? HAHHAHAHHA
05/05/2018 16:45 012oab#6
how do i add fp stats like atk+11 , hp+5 .. etc ?
05/05/2018 17:46 Micracoli#7
With the id i think or?
05/05/2018 18:24 012oab#8
yes i know with the id , which part should i add the id ?
05/06/2018 14:42 La Loggia#9
Hang my only mozza. ;) Gj.
07/29/2018 07:04 SilverEmerald#10
Get fucked by equipcheck, a7a :rtfm:
08/03/2018 18:39 djdamaso#11
How I can use that code?
08/06/2018 11:58 narutos4#12
works ?
08/08/2018 21:19 kevinsssx#13
Ich behaupte mal, dass man sich damit relativ gut auskennen sollte, um damit was anfangen zu können richtig?
08/11/2018 16:09 Micracoli#14
Du solltest zumindest wissen was du zu tuen hast
08/11/2018 16:23 Cezen12#15
pls make video How to use

How to use?