View Single Post
WoZeR
Donor
Join Date: Nov 2007
Old 06-06-2008 , 01:26   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #9

predcrab can you spoof the max player packet going to a client so a server with max players of 32 shows 32/33 to the client. This will fool their client to allow them to double click the server instead of typing connect from the console. Or just hack sv_visiblemaxplayers to allow a value higher than 32.

I'm not sure if this is the spot but IDA shows this in engine.dll.

Quote:
.rdata:102AD338 ; char aGametype[]
.rdata:102AD338 aGametype db 'gametype',0 ; DATA XREF: sub_1009B220+388o
.rdata:102AD341 align 4
.rdata:102AD344 ; char aRegion[]
.rdata:102AD344 aRegion db 'region',0 ; DATA XREF: sub_1009B220+342o
.rdata:102AD34B align 4
.rdata:102AD34C ; char aLan[]
.rdata:102AD34C aLan db 'lan',0 ; DATA XREF: sub_1009B220+305o
.rdata:102AD350 ; char aOs[]
.rdata:102AD350 aOs db 'os',0 ; DATA XREF: sub_1009B220+2D5o
.rdata:102AD350 ; sub_100B4C20+2D7o ...
.rdata:102AD353 align 4
.rdata:102AD354 ; char aPassword[]
.rdata:102AD354 aPassword db 'password',0 ; DATA XREF: sub_1009B220+2BCo
.rdata:102AD354 ; sub_100B4C20+2B0o ...
.rdata:102AD35D align 10h
.rdata:102AD360 ; char aGamedir[]
.rdata:102AD360 aGamedir db 'gamedir',0 ; DATA XREF: sub_1009B220+275o
.rdata:102AD368 ; char aBots[]
.rdata:102AD368 aBots db 'bots',0 ; DATA XREF: sub_1009B220+259o
.rdata:102AD36D align 10h
.rdata:102AD370 ; char aMax[]
.rdata:102AD370 aMax db 'max',0 ; DATA XREF: sub_1009B220+1E0o
.rdata:102AD370 ; sub_1009B220+229o
.rdata:102AD374 ; char aPlayers[]
.rdata:102AD374 aPlayers db 'players',0 ; DATA XREF: sub_1009B220+1B5o
.rdata:102AD374 ; sub_1009B220+201o
.rdata:102AD37C ; char aChallenge[]
.rdata:102AD37C aChallenge db 'challenge',0 ; DATA XREF: sub_1009B220+17Bo
.rdata:102AD386 align 4
.rdata:102AD388 ; char aProtocol[]
.rdata:102AD388 aProtocol db 'protocol',0 ; DATA XREF: sub_1009B220+15Bo

Last edited by WoZeR; 06-06-2008 at 01:29.
WoZeR is offline