SRCDS Steam group


100 tic server much?
#16
(04-26-2012, 02:25 AM)Reich Wrote:  
(04-25-2012, 02:59 PM)click4dylan Wrote:  im not sure why you can't get the DLL to open, but for the sv_maxupdaterate, open the engine.dll from the bin folder in ollydbg, then do a string search for "sv_maxupdaterate" doubleclick on it, and youll see a 66 above it. doubleclick on the push offset for 66, copy the address after PUSH, press ctrl+g and paste the address. youll now see CHAR 6, CHAR 6. just click and drag on the 66 and the blank space (DB 00) after it. and then rightclick - edit - binary edit. change the ASCII 66 to 100. rightclick on the newly changed string, click edit - copy to executable. then rightclick and press save file and overwrite the old engine.dll



EDIT: i think i know why you may not be able to open it. make sure you download ollydbg v2.01 alpha 3. alpha 4 is bugged and takes forever to load, and ollydbg 1.10 can't load DLLS on windows vista/7 x64. link: http://ollydbg.de/odbg201c.zip

Awesome man thanks so much. Now its working.

ok, now on the maxupdaterate, You say you will see the 66 above it. Above what really? You say double click on the push offset for 66? I dont see this push offset for 66.

press ctrl+a and you should see it

youll see something like PUSH OFFSET 1234567 and to the right youll see ASCII 66
Reply
#17
here's a screenshot of it:

[Image: 2ch6j3t.png]
Reply
#18
Hi there, im having trouble with the sv_maxupdaterate as well, even though i try to set it to 100 it still only update at 66, and if i change the sv_minupdaterate it goes all the way down to 30, any advice please?
Reply
#19
Okey, since nobody answers i attach pics and a server.cfg and see if it helps!

[Image: srcdsupload2.png]

and whats ingame:

[Image: srcdsupload.png]

and the server.cfg:

Code:
hostname "************"
rcon_password "**********"
exec banned_user.cfg
exec banned_ip.cfg
mp_logdetail 1
mp_timelimit 25
mp_autokick 0
mp_autoteambalance 1
mp_c4timer 300
mp_allowspectators 1
mp_flashlight 1
mp_footsteps 1
mp_freezetime 1
mp_friendlyfire 0
mp_hostagepenalty 0
mp_limitteams 1
mp_roundtime 6
mp_tkpunish 0
sv_maxspeed 320
mp_startmoney 800
mp_chattime 15
sv_allowupload 1
sv_allowdownload 1
sv_voiceenable 1
sv_alltalk 0
sv_voicecodec vaudio_speex
decalfrequency 40
mp_falldamage 1
mp_forcecamera 0
sv_airaccelerate 150
mp_winlimit 0
mp_maxrounds 0
sv_timeout 300

//Enabling sv_cheats will allow anyone to execute rcon commands and add/remove admins
sv_cheats 0


sv_maxrate 50000
sv_minrate 12000
sv_lan 0
sv_contact *******
sv_region 255

sv_max and min updaterate is in the startline at the moment as im in testing phase.

Hope anyone can help, thanks.

I noticed you talked about the client was forced to 66 tickrate, but this cant be true since many servers is running at 100 tickrate still.

Or could anyone try to throw their 100 tick server.dll and engine.dll to me so i could see if it works?

EDIT: image links fixed.
Reply
#20
try putting in server.cfg sv_mincmdrate 100, sv_maxcmdrate 100


if that doesn't do it, open up ollydbg and set the sv_mincmdrate to 100 manually in the engine.dll. if that doesnt do it, then ill do another quick tutorial on how to change the setinfo limits but this should be enough to get the client to send more than 66 updates a sec


and btw, don't set it to 101 because not only is it pointless, it causes more rounding errors (1/100 = 0.01 vs 1/101 = 0.009900990099009900990099009900990099..)
Reply
#21
(04-25-2012, 05:31 AM)Reich Wrote:  ok, I put the server.dll into the C:\HLServer\orangebox\bin fold, but when i go to open it, it gives me this:

"File 'C:\HLServer\orangebox\bin\server.dll' is a DLL. Windows cant directly execute DLLs. Try to load anyways?" I hit yes and I get the: "Unable to Start file C:|HLServer\orangebox\bin\server.dll" Message

Now my srcds is in file C:\HLServer\orangebox\srcds.exe\

What am I doing wrong? Am I not doing what you told me to do?
found out your problem. rightclick on ollydbg and press Run as Administrator
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)