cso2-launcher icon indicating copy to clipboard operation
cso2-launcher copied to clipboard

Anyway to use the hidden game mode and map without CheatEngine

Open GEEKiDoS opened this issue 5 years ago • 4 comments

I just tried g_pCSO2GameManager->GetCurrentRoom() but it not returning ICSO2GameRoom, It just returns the id of current room.

GEEKiDoS avatar Feb 16 '19 06:02 GEEKiDoS

game may need to send packet data directly to the server, just like the packets you send when you click on a mode currently, the gamemode has two static base addresses (found through CE), but both are used to verify the data sent back by the server, that means that if the data is not equal, the game will keep trying to get new data from the server, and then lose connection after about 5 seconds because of trying to get too many packets (or because of too many unequal errors)

this means that the all in client modification is impossibility, and I have tried it many times, so it may be necessary to intercept the packet and modify and resend, or send the new packet directly

dounai2333 avatar Feb 17 '19 07:02 dounai2333

Do you want to play HNS mode with different maps? To do that, create a HNS lobby, then open host console and write "map de_dust2". It will create a game with lobby settings (including game mode) but on de_dust2. If other player wants to join it, he should enter the lobby and also write in console "map de_dust2".

organnerx avatar Feb 18 '19 10:02 organnerx

Do you want to play HNS mode with different maps? To do that, create a HNS lobby then open host console and write "map de_dust2". It will create a game with current lobby settings but on de_dust2

we're talking about "hidden modes", instead of a different map for example, all the modes you can't see when creating a room are "hidden modes", they can't be play in the usual way, check this

dounai2333 avatar Feb 18 '19 10:02 dounai2333

@Ochii The GetCurrentRoom() in ICSO2GameManager is GetCurrentRoomID, it returns the ID of current room instead of ICSO2GameRoom * And the sub_102950E0() is the GetCurrentRoom(), returns ICSO2GameRoom *

And set something like m_iGameModeId in a ICSO2GameRoom * directly didn't send update packet to the master server. Did you found the function to update the room info to master server and update the ui?

GEEKiDoS avatar Feb 25 '19 14:02 GEEKiDoS

@Ochii The GetCurrentRoom() in ICSO2GameManager is GetCurrentRoomID, it returns the ID of current room instead of ICSO2GameRoom * And the sub_102950E0() is the GetCurrentRoom(), returns ICSO2GameRoom *

And set something like m_iGameModeId in a ICSO2GameRoom * directly didn't send update packet to the master server. Did you found the function to update the room info to master server and update the ui?

The ICSO2GameRoom (and other interfaces) definitions are based of the Chinese client.

I haven't looked into sending the room info to master server

L-Leite avatar Feb 25 '19 19:02 L-Leite