Jump to content

Recommended Posts

Posted

I will show you how to create a CS 1.6 Dedicated server 

 

1. Locate HLDS.exe. It could start it from Steam.

2. Make a batch file. You could name it how you like, I writed it as start.bat. It should be located in the same folder as the HLDS.exe. It should contain something like this:

CODE

HLDS.EXE -console -game cstrike -port 27015 +maxplayers 24 +map bl_counterquake +sv_lan 0 +rcon_password yourrconpass -secure

I recommend -console to be there, couse it starts hlds.exe in console mode(it shows only the console, not showing the slow GUI with statistics and other not-necessary things), which saves up a bunch of CPU and RAM resources. It will be hard for you if you are administrating server for a first time, but you will get it quick

3. Make a shortcut on your desktop to your start.bat. Then start it. You should see a command promt application.

4. You could change the map with the command changelevel. Example: changelevel de_dust2

5. The maxplayers are changeable from the batch file - +maxplayers x, where x is your desired number. +map determines you first run map. +sv_lan is important to be 0, so the server to be in Internet mode. +rcon_password changes your rcon password. Rcon means Remote Control, with the rcon password you can manage the server from the game.

 

Now with the server running, you can play into it. Open CS and type - connect "serverip":27015.

 

The server IP is visible from the command "status" at the server console. You could also see it, using the command promt - open the Start menu, click Run, type "cmd". When the command promt is visible, type "ipconfig". Then you should see your IP under "IP Address".

 

So, I expect you have connected already to your server 

 

Now I will type the most used rcon (server console) commands (you could use rcon commands from in-game, just type rcon_password yourpasshere, then rcon and one of the following CVARs or console commands):

 

CVARS (Console Variables, which can be set up at server.cfg. They will always be reset to the value in server.cfg)

 

mp_timelimit - determines the time of the map, before the mapchange. 0 should be unlimited

mp_freezetime - determines the freezetime at the start of the map. 0 means no freezetime

 

- HLDS package here - http://server.counter-strike.net/server.php?cmd=downloads

 

Here is a full list of CVARs(both server and client): http://server.counter-strike.net/server.php?cmd=cmdall

 

Another console commands:

status - shows the current map, the ammount of players, and the active ones.

users - shows the list of users

stat - shows the list of users and their IPs

addip - adds ip to the banlist. It is located in the CS folder, as listip.cfg.

writeip - writes the added IPs to the listip.cfg. It should always be used after addip.

listip - shows the banned IPs.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • And Discord: https://discord.gg/3aYqWNqb
    • Ofc: https://discord.gg/3aYqWNqb
    • You can find some H5 skins shared in old L2 modding Discords, but most of the higher‑quality ones are either paid or come bundled with full client edits. I usually mix in commissioned work and whatever I can patch myself. On a side note, I fund a lot of these commissions by selling off game items through instant sell cs2 skins, which has been a quick way for me to get some cash for projects.
    • There is no need for gRPC in this case, even tho originally it was gRPC based but since we don't need it to be bi-directional, we switched to simple http requests for the web calls and SSEs for the data streamed from the server. There are distributed locks in place to precent race conditions between actions that can happen between multiple web instances and the server.   Local models can also be slow depending on the model, and most external models can actually be faster than local ones if you use Flash 2.5 or something along those lines. I am running on 512GB of Unified Memory on my Mac Studio M3 Ultra so the speed of the local model for a small model is pretty good but I tested it with Gemini too and it works equally as fast and in some cases faster. The way it works is that I'm using pgvector (one of the benefits of moving to Postgres) to search the data and see what the player can see etc and there is some batching of the next few actions for 2-4 seconds for the user until the next LLM request fires. The batching also includes branching on logic so if they for example fall under some HP they will move to kiting instead of attacking or maybe they heal etc.   Everything is authed and permission-based. The server and the backend of the frontend have secure communication between them, either with a symmetric key (not recommended for production) or a certificate (the recommended way), so there is no worry. It's all tied to the account's access level, etc., so nobody can make an action that they normally wouldn't be allowed to do. Even the MCP is token-based, and there are prompt injection protections in place. The MCP is audited, and every mutation needs confirmation. The admin area is only accessible to the admin account anyway so normal users can't access it.  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..