When I start an offline match and invite my mate he gets an connection error 'Server does not respond'.
How may I set up a 'Offline with Bots' - Server on which my friend can join?
EDIT :I meant an offline server within a local area network.
Paedow
PaedowPaedow
7685 gold badges18 silver badges30 bronze badges
6 Answers
You can connect with friends with bots added in all modes except classic competitive simply by going to play with friends and sending them an invite. You can do the same in classic competitive by setting up play with bots game and having your friends connect to your ip address thru the developer console (connect xxx.xx.xxx.xx). You need to port forward to 27015 doing it that way.
lpacklpack
An offline server is exactly what the title implies, an offline server where no one from the outside can join under normal settings.
You can find empty servers with bots in them by using the Community Servers option and searching for servers that way and then inviting your friend to that empty server with bots in it.
If you are on the same internal network as a friend: An 'offline with bots' game still creates a local server on port 27015. Get your internal IP and your friend should be able to connect to it. Depending on your firewall settings of course.
SoreanSorean
19.3k9 gold badges74 silver badges109 bronze badges
You can create an offline server with your friend by creating a private lobby and calling all the friends that you want. Then u can choose going casual or workshop maps. In this case, nobody can log into 'your server'! =D
LukeLuke
Playing offline with bots is exactly what it says on the tin; you're offline, with outside connections being accepted.
To play with your friends, you'll need to set up a private server. Doing this is actually pretty easy, but you will need to know how to forward ports on your router, and you will need to download the CS:GO server files.
If you can't access the admin page on your router, or your router doesn't support specific port forwarding, or if you simply don't want to download a bunch of files, the easier route is to find an empty server. That's right, the simplest way to play with friends is find an empty server through the Community server list, and invite them there. This eliminates any of the hassle of setup, but you may get random players.
If you can get into your router and you can forward ports, here's what you need to do:
-
You will need to download and install SteamCMD. That link has some more detailed instructions, but basically just make a folder named 'steamcmd' somewhere, download the file in the link, and extract it to your new folder.
-
Once you have SteamCMD, you'll need to download the server files for CSGO. This is basically redownloading the entire game, with some added features for servers. Open SteamCMD, and type the following commands:force_install_dir c:csgo-ds
force_install_dir .csgo-ds
This will create a directory for you to install the files to, and it will then open that directory in SteamCMD.
- Once you have the path set, download the files with this command:
app_update 740 validate
Once this finishes, you now have the required files for the game. The next step is to forward your ports.
-
To forward a port on your router, you'll need to know the make and model of your router. Once you know this, go to this website. It has specific guides for many routers, and will give you a much more detailed guide on the specific process. The basic process, is to log into the router, look for the port section. This will include a number of boxes, and drop down boxes with letters like TCP. Some routers have this area specifically labelled.
-
Once you have found the port forwarding section on your router's control panel, you will need to put in CS:GO's ports. CS:GO uses UDP and TCP, so make sure it is set to use both. Then forward the ports as follows:start 27015
end 27015
These are the standard ports used by CS:GO, however your server may start on a different port for whatever reason. If those ports don't work, move the start and the end up by one for each try; for example, if that didn't work, the next step would be 27016.
Remember to close your ports after shutting down your server.It can be a security issue to keep ports open and unused. This can open you up to attacks, so make sure you close the router when you're done hosting the server.
-
Finally, once you have sucessfully downloaded all the files and sucessfully forwarded your ports, use one of the following commands to start your server:Casual: srcds -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2
Competitive: srcds -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2
Arms Race: srcds -game csgo -console -usercon +game_type 1 +game_mode 0 +mapgroup mg_armsrace +map ar_shoots
Deathmatch: srcds -game csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_allclassic +map de_dust -
So now your server is running, and your ports are forwarded. Once the server has been started, it should give you an IP to tell you where your server is running; if not, Google 'what is my IP?' and that will tell you. Copy that number, and put :27015 on the end (or whatever port you ended up forwarding.) The number will look like this; 192.168.0.1:27015.
To connect to your server, take this full number you now have, open your console in CSGO (the console is opened with the ~ key), and type 'connect (your IP/port.)' So again for example, I would put 'connect 192.168.0.1:27015' without the quotation marks, into my console.
That covers the basics of it. The initial link I provided will go into details of adjusting specific server configurations, such as grenades that are allowed, disabling certain weapons, setting up a map rotation, etc. It is a little bit complicated and a little bit daunting the first time you do it. But forwarding a port is the most difficult part, and once you learn how to do that on your router, it should be pretty easy from there on.
OTTERMATICOTTERMATIC
Firstly, create a offline server then type 'status ' in the console and you will get a IP address, give that IP address to your friend and type'connect-the IP address' and then you are good to go
Anugrah TobyAnugrah Toby
Yes, it is possible. When you create a server from the main menu, you must input the
Ben
sv_lan 0
command into the console. Then type in status
to see the IP number. then others can connect using the command connect (IP number)
. Also you can remove bots using 'bot quota'. You must also have Hamachi. After it's done, your friend can join.
26.7k37 gold badges129 silver badges217 bronze badges
user56273user56273
protected by Community♦Oct 24 '18 at 3:17
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged counter-strike-global-offensive or ask your own question.
Status: Supported.
The multi1v1 plugin sets up any number of players in 1v1-situations on specially made maps and they fight in a ladder-type system each round. The winners move up an arena, and the losers go down an arena. Players choose between specific round types (for example: 'rifle', 'pistol', 'awp'), and the plugin automatically spawns and gives players the appropriate weapons each round start.
Also see the AlliedModders thread and the the wiki for more information.
Features
- Round types: there are 3 round types: rifle, pistol, and awp
- Player selection: players can select to allow pistol and awp rounds or ban them, rifle rounds are always allowed
- Player preference: players can also select a preference of round type, if player preferences match they will play that type
- Weapon selection: players can select their primary (i.e. their rifle) and their pistol
- Armor on pistol rounds: helmets are taken away, and kevlar is also taken away if the player selected an upgraded pistol
- ELO ranking system: optionally, player statistics can be stored in a database, see below for details
For plugin developers
Check the multi1v1.inc file to see what natives and forwards are avaliable to tweak the behavior of the plugin in more sophisticated ways.
Extra plugins
Sometimes it's easier to add something in a seperate plugin than add more convars, thus some features may be in support plugins. These are all optional.
- multi1v1_flashbangs: if both players in an arena say 'yes' to getting flashbangs, a flashbang is given to each player
- multi1v1_kniferounds: adds unranked knife rounds
- multi1v1_online_stats_viewer: adds the !stats and related commands that open up a stats webpage in a MOTD panel
Download
Stable releases are in the GitHub Releases section.
I strongly recommend using the Updater plugin which can automatically update the plugin for bug fixes.Any changes made through an automatic update will be backwards compatible.
You may also download the latest development build if you wish. If you report any bugs from these, make sure to include the build number (when typing
sm plugins list
into the server console, the build number will be displayed with the plugin version).
Installation
Requirements
Sourcemod 1.9 or later.
![1v1 1v1](/uploads/1/2/3/7/123700090/411340344.jpg)
Instructions
Download the archive and extract the files to the game server. From the download, you should have installed the following (to the
csgo
directory):
addons/sourcemod/plugins/multi1v1.smx
addons/sourcemod/configs/multi1v1_weapons.cfg
addons/sourcemod/translations
cfg/sourcemod/multi1v1
Configuration
The file
cfg/sourcemod/multi1v1/multi1v1.cfg
will be autogenerated when the plugin is first run and you can tweak it if you wish.
You may also tweak the values in
cfg/sourcemod/multi1v1/game_cvars.cfg
, which is executed by the plugin each map start.
Here is a brief list of some cvars available. See the auto-generated
cfg/sourcemod/multi1v1/multi1v1.cfg
file for descriptions.
- sm_multi1v1_autoupdate: whether the plugin attempts to use the auto-updater plugin
- sm_multi1v1_pistol_behavior: what types of pistols (if any) should be given in non-pistol rounds
- sm_multi1v1_roundtime: length of the round
- sm_multi1v1_use_database: whether the plugin attempts to store player statistics (e.g. elo ranking) in a MySQL database
- sm_multi1v1_verbose_spawns: whether the plugin will dump information on player-spawn clustering on map starts
addons/sourcemod/configs/multi1v1_weapons.cfg
contains the list of weapons that are available under the rifle and pistol menus. You are free to add or remove weapons from this as long as they match the correct format. Note that the team
part is only for making sure the player gets the correct weapon skin, otherwise it has no effect.
More help on setting up the stats system
There is a wiki page that explains how to setup the stats system with the provided components.
Building
The build process is managed by my smbuilder project. You can still compile multi1v1.sp without it, however.
To compile, you will need:
- SMLib (required)
You should make sure you have a relatively recent version of smlib - some changes were made to accommodate sourcemod 1.7 changes.
Maps
I have a workshop collection of maps I know of. The 'am_' prefix stands for aim_multi, reflecting the fact that the maps are similar to aim_ maps but there are multiple copies of them.
Note: standard maps (de_dust2, etc.) or aim maps (aim_map, etc.) will not work with this plugin. Maps must be custom-made with multiple arenas.
Guidelines for making a multi-1v1 map:
- Create 1 arena and test it well, and when are you happy copy it
- Create a bunch of arenas, I'd recommend making at least 16
- The players shouldn't be able to see each other on spawn
- Each group of spawns (e.g. all CT spawns in arena 1) must be within 1600.0 units of each other, this is required to cluster spawns into the arenas and not configurable
- Ensure that the arenas are sufficiently far apart so players don't hear shooting in other arenas
- If you want to edit your map, it's easiest to delete all but 1 arena and re-copy them. Be warned this can cause issues with the game's lighting and clients may crash the first time they load the new map if they had downloaded the old one previously
- You should avoid areas where it's easy for 1 player to hide; ideally they should have to cover multiple angles if they sit in one spot
- Here is an example map: am_grass2.vmf
- The cvar
sm_multi1v1_verbose_spawns
can be set to 1 to log information about how the spawns were partitioned into arenas on map changes
Using the statistics database
Note: SQLite is not supported. Only MySQL is.
You should add a database named mult1v1 to your databases.cfg file like so:
To create a MySQL user and database on the database server, you can run:
Make sure to change the IP, the username, and the password. You should probably change the database as well, especially if you already have one set up you can use.
Schema:
Note that the
accountID
field is what is returned by GetSteamAccountID, which is 'the lower 32 bits of the full 64-bit Steam ID (referred to as community id by some) and is unique per account.'
![1v1 server csgo 1v1 server csgo](/uploads/1/2/3/7/123700090/867414165.jpg)
auth
is the steam ID auth string, and the lastTime
field is the last time the player connected to the server.The time comes from GetTime, which returns the 'number of seconds since unix epoch'.
recentRounds
is simply incremented each time the player completes a round. This can be used, for example, to check the rounds played on a daily basis and lower ratings if a player didn't play a certain number of rounds.
Clientprefs Usage/Cookies
Player choices (round type preferences, weapon choices) can be saved so they persist across maps for players (via the SourceMod clientprefs API). Installing SQLite should be sufficient for this to work.
If you have a game-hosting specific provider, they may already have SQLite installed
Custom Round Types
There are two ways to add your own round types: through writing another plugin using the forward and natives in multi1v1.inc, anddefining a round type in a config file.
Adding round types via a config file
This is the simpler approach, but you are fairly restricted in the logic you can use. The file to edit is
addons/sourcemod/configs/multi1v1_customrounds.cfg
.
Here is an example file that adds a scout round and a knife round:
Adding round types via another plugin
Using the natives in multi1v1.inc, you can write more complex logic into a round type. To get a simple example, check multi1v1_kniferounds.sp. The key is calling
Multi1v1_AddRoundType
within the Multi1v1_OnRoundTypesAdded
forward.
Note that the multi1v1 plugin will
- create and update the column for the round-type stats if you set the round type as ranked and give a non-empty string as the
ratingFieldName
parameter ( note that these columns are only created on database-connections) - create and update the 'allow x rounds' clientprefs cookie for you (it uses the interalName when naming the cookie)
Contribution and Suggestions
First, check the issue tracker to ask questions or make a suggestion.If you have a suggestion you can mark it as an enhancement. Empire earth windows 10.
Guidelines
- Create a fork on github, clone that, then create a branch to work on
git checkout -b mybranchname
- Follow the code-style already used as much as you can
- Submit a pull request when you're happy with the new feature/enhancement/bugfix
- Favor readability and correctness over all else
- For a moderately advanced feature, it may be simpler to write it as a plugin that uses the multi1v1 natives from multi1v1.inc
- Keep it simple, stupid
I'm practicing CSGO and I need unlimited money so I can buy whatever I want every round. What is the command for this if there is one?
BuckyBucky
1,4535 gold badges26 silver badges46 bronze badges
5 Answers
Use
3ventic
mp_afterroundmoney 16000
, which will give you, and everyone else, up to 16 000 money, which is the maximum, at the start of each round.
21.7k31 gold badges100 silver badges155 bronze badges
It appears the maximum money a player can have is 65535, the command I'm currently using to make this happen is:
Sean BannisterSean Bannister
DBS
2,1903 gold badges15 silver badges30 bronze badges
user142537user142537
mp_maxmoney 60000
Enables your maximum money to be 60.000
mp_startmoney 60000
To get more than 16k.
JensonJenson
Open up console and write:
sv_cheats 1
impulse 101
Note: This will only give you 16000 money, so you will have to redo the command if you spend all.
mordi2kmordi2k
10.6k12 gold badges56 silver badges82 bronze badges
protected by Frank♦Jul 19 '16 at 23:34
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged counter-strike-global-offensive or ask your own question.
Posted by4 years ago
Archived
First off: I recommend going on the workshop and subscribing to a map such as 'aim_map' as there are no cvar overrides on the workshop versions. So it's best to use the workshop version when playing with a friend in a private game.
Paste this in a notepad and save it as a .cfg and put it in your CSGO config folder:
sv_cheats 1
sv_infinite_ammo 1
mp_ct_default_primary 'weapon_ak47'
mp_ct_default_secondary 'weapon_p250'
mp_free_armor 1
mp_respawn_on_death_ct 1d
mp_respawn_on_death_t 1
mp_t_default_primary 'weapon_ak47'
mp_t_default_secondary 'weapon_p250'
mp_freezetime 1.5
mp_round_restart_delay 0.5
mp_roundtime 45
bot_quota 0
6 comments
If my friend and I wanted to see who was better with the M4A1S in a 1v1, how could we 1v1 using only the M4A1S or some other guns (on Dust 2 or any map)?
lewlcat
6391 gold badge4 silver badges21 bronze badges
LuckyLucky
3 Answers
Firstly, start a multiplayer lobby and start a casual game - making sure it is private of course - then start the game. Go to the pause menu and vote to change the map to whatever map you desire: it should instantly change the map. Now invite your friend(s) from the pause menu or from the Steam overlay.
Csgo How To 1v1 Friends
There are many commands to practice by yourself or with your friends in CS:GO. Most of these commands are listed here: http://www.tobyscs.com/csgo-practice-config/. For a 1v1 with a certain weapon you would kick the bots, increase the starting money, possibly enable show impacts or whatever you want really.
lewlcatlewlcat
6391 gold badge4 silver badges21 bronze badges
The easiest way to 1v1 your friend is 1v1 servers. They allow you to pick your guns for each round so you could both pick M4A1-S. Also, they have 1v1 maps, just browse community servers and search 1v1.
SpiroDiscoBallSpiroDiscoBall
You can possibly find a empty community server or use hamachi (a networking program) and go into a bot match and kick all the bots using console and enable infinite money to buy M4A1-S every round. Also, you might want to change the maximum time limit and maximum rounds.
How To Set Up A 1v1 On Csgo Server
3ventic
21.7k31 gold badges100 silver badges155 bronze badges
StickySticky