100% found this document useful (1 vote)
4K views2 pages

Game Performance Optimization

This document contains a list of commands and settings related to lag compensation and network optimization for a game. It includes commands for enabling hardware acceleration, adjusting memory allocation, enabling lag compensation features, updating network rates and interpolation settings, and includes code for integrating lag compensation into a game's firing behavior.

Uploaded by

ikangfadli19
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
4K views2 pages

Game Performance Optimization

This document contains a list of commands and settings related to lag compensation and network optimization for a game. It includes commands for enabling hardware acceleration, adjusting memory allocation, enabling lag compensation features, updating network rates and interpolation settings, and includes code for integrating lag compensation into a game's firing behavior.

Uploaded by

ikangfadli19
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

SETEDIT COMANDOSPRINCIPAIS

ro.config.enable.hw_accel = true
sys.use_fifo_com.dts.freefireth= 1
sys.use_fifo_files= 1
sys.use_fifo_contentcache = 1
sys.use_fifo_Compulsory = 1
sys.use_fifo_Optional = 1
sys.use_fifo_android = 1
sys.use_fifo_gameassetbundles = 1
sys.use_fifo_avatar= 1
sys.use_fifo_config= 1
sys.use_fifo_ingame = 1
sys.use_fifo_localization= 1
sys.use_fifo_main = 1
sys.use_fifo_ui = 1
ro.sf.compbypass.enable = 1
dalvik.vm.heapsize = 48m
doze.display.supported = true
doze.use.accelerometer = 0
doze.pulse.delay.in = 580
pm.dexopt.first-boot = speed
pm.dexopt.install = speed
pm.dexopt.bg-dexopt = speed
pm.dexopt.boot = speed
--EXTRA
user_refresh_rate = 90
peak_refresh_rate = 90
androidsmgr.max_events_per_sec = 150
ro.min_pointer_dur = 8
ro.max.fling_velocity = 12000
ro.min.fling_velocity = 8000

/Lag Compensation\\
cl_lagcompensation "1"
cl_lagcomp_errorcheck "3"
sv_lagcompensationforcerestore "1"
sv_showlagcompensation "1"
sv_unlag "1"
sv_maxunlag "3"
sv_showhitboxes "1"
net_fakelag"1"
LAG_COMPENSATE_BOUNDS"1"
LAG_COMPENSATE_HITBOXES"1"
LAG_COMPENSATE_HITBOXES_ALONG_RAY"1"
StartLagCompensation"1"

cl_updaterate "66"

sv_minrate"60"
sv_maxrate "66"
sv_minupdaterate"60"
sv_maxupdaterate"66"

cl_cmdrate "66"
cl_fullupdate"66"
cl_interp 0.1

cl_extrapolate"340"
cl_extrapolate_amount"344"
cl_interp_ratio "60"
cl_interp"66"
cl_updaterate"66"
net_graph 1

sv_showhitboxes "1"
cl_predict "1"
sv_showimpacts 1

net_fakelag "1"
net_graph "2+graph"
cl_updaterate "4500"

#ifdef GAME_DLL

#include "freefire\server\ilagcompensationmanager.h"

void CMyPlayer::FireBullets ( const FireBulletsInfo_t &info )


{
// Source 2007
lagcompensation->StartLagCompensation( this, this->GetCurrentCommand() );

// Alien Swarm and later (see also sub-section below)


lagcompensation->StartLagCompensation( this, LAG_COMPENSATE_HITBOXES );

BaseClass::FireBullets(info);

lagcompensation->FinishLagCompensation( this );
}
#endif

You might also like