Jump to content

[Guide] Installing server with protocol 47 + 48 Linux (Dproto)


CryStaliN

Recommended Posts

Cbooster is an older mod and after my opinion not so good,you have problems if you wanna

to run with sv_lan 1.Here i will post an complete tutorial of HLDS on linux 47 + 48 with patch dproto.

 

1.Open terminal,loggin in root and create an new director:

 

Code:
mkdir /usr/hlds
cd /usr/hlds

 

2.Download all necesary program for instal:

 

hldsupdatetool.bin

 

3.Let's beggin the instal:

 

 

Code:
chmod +x hldsupdatetool.bin 
./hldsupdatetool.bin

 

4.Is possible to give you an error related by uncompress.If yes,write that:

 

 

Code:
ln -s /usr/bin/gunzip /usr/bin/uncompress
chmod +x hldsupdatetool.bin 
./hldsupdatetool.bin

 

Instal valve mode:

 

Code:
./steam -command update -game valve -dir .

 

Instal Cs Mode:

 

Code:
./steam -command update -game cstrike -dir .

 

7.Now we got an server protocol 48 Steam Only.Each men must to put him favorite addon,and to edit server.cfg etc....

 

8.Now let's do the server to accept and client 47 and 48.

Download DOWNLOAD VUP-FINAL.RAR and unrar and put this in /hlds.

ATENTION: to can unrar files .rar open terminal and write:

 

Code:
sudo apt-get install unrar

 

Copy vup_i686 in the principal folder of server (hlds)

Execut next step in terminal :

 

 

Code:
  chmod +x vup_i686 
  ./vup_i686 -advanced engine_amd.so 
  ./vup_i686 -advanced engine_i486.so 
  ./vup_i686 -advanced engine_i686.so

 

While makes the engine's patch,you will be ask by some options

 

 

Code:

You wanna to leave all players from any network to can play on server in the mod sv_lan 0?
  answer with Y (yes)
You wanna the players from local network to can play on server in the sv_lan 1 mod?
  answer with Y (yes)
You wanna to allow protocols to play on server?
  Answer with  Y (yes)
You wanna...etc etc...even if this option is dangerous ?
  Answer with  N (no)

 

 

Now download and configure dproto

In addons creat an folder new called dproto and copy in him from arhive

above dproto_4383_a19_i686.so.

Dont forget to add  the way  in plugins.ini to

metamod (linux addons/dproto/dproto_4383_a19_i686.so)

Dproto.cfg copy it  in the principal folder (hlds) and set in hit that :

 

 

Code:

  LoggingMode = 1
  RefreshRate = 100
  UserinfoVerification = 2
  MaxUserInfoSize = 195
  ValidInfoFields = 
\name\bottomcolor\topcolor\model\_cl_autowepswitch\cl_lc\cl_lw\cl_updaterate\cl_dlmax\rate\_pw\_pass\_parola
  RejUserInfo_Msg = Too long info string. Try to clean setinfo in your config.
  MEmu_Enable = 0
  Patching_Doubleproto = 1
  Patching_AuthId = 1
  Patching_GameVersion = 1
  Patching_Serverinfo_Fix = 1
  Patching_Serverinfo_Nomaster = 1
  Patching_Pig = 1
  Patching_SteamTickets = 1
  Patching_DisableSteamConnection = 0
  Patching_UserinfoControl = 1
  Patching_DataDumping = 1

 

 

9.To can change the files from hlds folder write in terminal:

 

 

C

ode:

cd /usr
chmod -R 777 hlds

 

10.Now we have a cs server with last  engine 47+48.The server run perfect with sv_lan 0 or with sv_lan 1.

 

11.The most eficient  open of server:in server.cfg add the line sys_ticrate 10000.In linux you can give acces realtime to an proces  distinct and that we will do and again with hlds,we will allocate priority -20 (realtime).

 

***For sv_lan 1 write in terminal that:

 

Code:

d /usr/hlds
nice -n -20 su -c "./hlds_run -game cstrike -nomaster -pingboost 2 +sys_ticrate 10000 +ip your ip +port 27015 +maxplayers 24 +map de_dust2 +exec server.cfg -insecure +sv_lan 1 -binary ./hlds_i686"

 

Line -binary ./hlds_i686 use this line only if you have amd procesor,if you have pentium no way

 

***For sv_lan 0 write in terminal that:

 

Code:

cd /usr/hlds
nice -n -20 su -c "./hlds_run -game cstrike -master -pingboost 2 +sys_ticrate 10000 +ip your ip +port 27015 +maxplayers 24 +map de_dust2 +exec server.cfg -secure +sv_lan 0 -binary ./hlds_i686"

 

 

Line -binary ./hlds_i686 use this line only if you have amd procesor,if you have pentium no way.In this chase you need only to add in server.cfg:

 

Code:

sv_enableoldqueries "1"
sv_region "3"
setmaster add 68.142.72.250 
setmaster add 72.165.61.189 
setmaster add 69.28.151.162 
setmaster add 213.239.209.221 
setmaster enable

 

All was translated by me,from roumainian to english,i hope you will can understand what i mean,if not soz for english

 

I hope this tutorial will help you.GoodLuck !

 

Credits:To my friend Mut2nt and me CryStaliN

 

 

Link to comment
Share on other sites

  • 5 months later...
  • 6 months later...
  • 8 months later...
  • 1 month later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


  • Posts

    • L2 Insignia High Five 20x MID SERVER FOCUSED ON OLYMPIAD | PVP | AUTOFARM       OPEN BETA TEST SERVER 3 MAY 2024   GRAND OPENING 10 MAY 2024    Rates: 📜 XP/SP 20x | Spoil 15x | Drop 10x | Adena 10x 📜     Server Features: 🔥 No Olf-T Shirt, No big over-enchant, No over-power Donate 🔥 🔥 VIP Gold Color Chat, Unique Olympiad Extra Points Engine, GvG Event 🔥 🔥 Auto-Farm, LoA and DV scheduled PvP Zone, Calendar Daily Reward 🔥 🔥 Castle Instance, Solo Instance, PvP Solo Rift, Dress me system, Adena Boxes 🔥        Website: https://www.l2insignia.com  Discord: https://discord.com/invite/yEgsrHn2hQ      
    • I am selling the essence project which includes versions 388 and 439 that have been running for over 2 years or (447 as custom PVP like Pride). I have a test server for you to test them out. If you are really interested in it then contact my seller at discord: kiwi7106. Price: 4000 Euro P/s: This is a project that I have spent a lot of money and time developing, so if you are not interested in it, please get out of this topic, thank you. P/s 2: If you find the price too expensive, it's best to skip this article and find another project and don't comment negatively on my topic, thank you.
    • Someone ask me for this, it should work on any client that has Kamael race, preview:     Installation - there are two ways to install depending on how you want to use it:   Method 1: If you want to completely replace the original, do:   Copy all lines from your armorgrp to Notepad++, press Ctrl+H, check the "match whole word" option and replace:   kamael.Mkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_MKamael_m001_w_ad00   Then replace:   MKamael.Mkamael_m000_t00_w   by:   AvengersKamaelWings.MKamael_m001_t00_w   Now repeat the same process with the female, replace:   kamael.Fkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_FKamael_m001_w_ad00   Then replace:   FKamael.Fkamael_m000_t00_w   by:   AvengersKamaelWings.FKamael_m001_t00_w   You're done, paste everything back into File Edit and save!   Method 2: If you only want to replace in specific sets, execute the above process only on the armorgrp of those sets.   Repack by: AvengersTeamBr Password: LadrãoDeFrango      
    • 用于解密、加密和编辑 .u 文件的工具。
  • Topics

×
×
  • Create New...