- Open Command prompt (Start-Run-cmd.exe-OK)
- Run PowerShell - 'Powershell'
- Enable powershell script executing - 'Set-ExecutionPolicy RemoteSigned'
- Exit PowerShell - 'exit'
| CS.RIN.RU - Steam Underground Community http://cs.rin.ru/forum/ |
|
| [Tutorial] Crysis 2 Beta - How to make a ONLINE dedicated server http://cs.rin.ru/forum/viewtopic.php?f=31&t=58864 |
Page 13 of 15 |
| Author: | Hernan_ER [ Saturday, 19 Feb 2011, 03:02 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
josjikawa wrote: is there a way to wait a bit in the lobby before it loads the next map in the rotation? i noticed sometimes the server crashes on mapchange so i wanna try and see if this works, + its just nice for people to say GG and stuff Yeah, I ask the same. And It does not only crash the server, it crashes my game as well if I am inside the server because as the server crashes it must start again, and when it starts it minimizes my game which means crash in this BETA. |
|
| Author: | joker4ever1 [ Saturday, 19 Feb 2011, 03:34 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
I cant use air stomp in game..sometimes it comes back and i can use it but mostly i cant,pls tell me how to fix it....... |
|
| Author: | Xtremage [ Saturday, 19 Feb 2011, 03:38 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
Back again, server seems fine, unless it switches a map it POSSIBLY kick me out -.- it wont crash but in server console give message: Session Deleted, probably the lobby session, but is still online and i can rejoin.... into the new map. And now it just worked fine... Ill see tomorrow morning if its still up @Hernan_ER: Maybe in your case its better and more logical to run a listen server, aka ingame server? As far as i know a dedicated server is ment to be run on its own machine for best perormance, hence the word dedicated, just a tip, saves you crashcrap also...And you can manage the lobby. |
|
| Author: | joker4ever1 [ Saturday, 19 Feb 2011, 05:04 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
<levelrotation> <level name="cw2_cxp_liberty" gamerules="Assault"> <setting setting="g_timelimit 30"/> </level> <level name="cw2_pier" gamerules="Assault" /> </levelrotation> This is my level rotation right now,but i want to add more maps can soem1 show me how? |
|
| Author: | GSOM9000 [ Saturday, 19 Feb 2011, 05:45 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
Can someone try to make server with 32 slots and tell if it works? To do it - use this var: Variable : "sv_maxplayers" Type : int Help : Maximum number of players allowed to join server. Example : "sv_maxplayers 16" |
|
| Author: | joker4ever1 [ Saturday, 19 Feb 2011, 06:06 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
it doesnt work i tried it |
|
| Author: | jd2504 [ Saturday, 19 Feb 2011, 07:32 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
jd2504 wrote: I wanna add: Use "wait_seconds" instead of "gl_startgame" in server.cfg since gl_startgame is bugged and might crash the server during the match. i.e. wait_seconds 25 i got a bit confused here, i meant use wait_Seconds instead of g_nextlevel in server.cfg, it doest the same but its more stable and lets you set the wait time betwen maps |
|
| Author: | omerdn1 [ Saturday, 19 Feb 2011, 12:51 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
wait_seconds is working? |
|
| Author: | josjikawa [ Saturday, 19 Feb 2011, 16:57 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
nope its not working.. atleast not for me |
|
| Author: | Nomad13 [ Saturday, 19 Feb 2011, 20:13 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
I think everyone is already annoyed with "Terminate batch job (Y/N)" message, which stops your server from auto-restart after crash. I have made a little PowerShell script, that starts dedicated server and in case of crash, restarts it within 5 seconds. So you don't need to keep an eye on server anymore. PowerShell is very popular and powerful Microsoft scripting engine, you probably already have it preinstalled. If not, download it here (Windows Management Framework Core at the bottom of the page) First you have to allow local script execution (this is one time procedure):
In root folder of game create 'server.ps1' file with following text:
and the file 'server.bat' with following text:
Now run server.bat, then try to close server, you will see that it started again after 5 seconds. |
|
| Author: | Xtremage [ Saturday, 19 Feb 2011, 20:57 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
Will that function also automaticly kill the crashinfo screen of the cryengine? (Leave a thank you post, if you think this was useful for you, spent much time trying to solve this sucky problems) (Tip) Here i use firedaemon to enable all my gameservers core affinity, priority, and manage restarts etc. but doesnt help when crysis gives the nice crash report, restarts after crashinfo report is closed.... x( (FIXED thx nomad) The wait command works, thanks for the info: g_nextlevel wait_time 25 My server kicks people out session 15 seconds before end of SOME rounds and says: session deleted in console for the "player" that "leaves", but server stays online...., with an critical exeption while reading the system.cfg.??? -.- I tried loading the system.cfg via shortcut, so it basicly would only load at server startup, but nogo yet.... I cleaned the cfg.s out to the minimum requirements, so the server runs "cleaner" You could use these in your startpost, they,re alot cleaner for server, since alot of commands are only for clients My system.cfg: (this clean .cfg also fixes server startup error bcuz: useonlineservice = listed)
My server.cfg:
Levelrotation.xml:
This is a simplified testrun cfg to check minimal loadage of bs ^^ But overall should be alot cleaner, and runs fine here. I run these files in my crysis root in seperate folder called dedi (look earlier posts) Server runs great!! but the unexplainable system.cfg exeption error kills me!!!, especially when server is used and it kicks people out EXACLY 15 seconds before the end of game! GRRRR, and noone ever rejoins after it, since it takes 20-30 secs before next map is loaded from that moment (15 secs left on map/25 wait_time/and 3.5 seconds map loading from server... Please give some feedback on this, how it works etc... or just a thx for the effort @ post under here: OMFG THX I LOVE YOU (not in a gay way x) ) |
|
| Author: | Nomad13 [ Saturday, 19 Feb 2011, 21:16 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
Xtremage wrote: Will that function also automaticly kill the crashinfo screen of the cryengine? I have this one in my system.cfg, this will do
|
|
| Author: | Technologeek [ Saturday, 19 Feb 2011, 22:34 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
I don't get why you set g_useOnlineServiceForDedicated to 0 oO ?! PS: Tutorial updated... I cleaned it up a little too |
|
| Author: | Xtremage [ Saturday, 19 Feb 2011, 22:48 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
Technologeek wrote: I don't get why you set g_useOnlineServiceForDedicated to 0 oO ?! PS: Tutorial updated... I cleaned it up a little too Hi thanks, Why to 1? It,s probably for the online matchmaking system of xboxlive and ps3online, and 0 works just as well If the whole command is taken out system.cfg OR server.cfg server fails to show online I,m only here to help explain crysis server crashes, if not needed its good also ^^ You Could take some more commands out the startpost ^^, to make it look more pro, dont worry, with some help of others, you still will be the first who fixed it If i find some nw stuff ill post it here Edit: my damn name in game, i cant change it... stays at stupid pc-admin name, tried a few things, but nogo, anyone a tip? |
|
| Author: | Technologeek [ Saturday, 19 Feb 2011, 22:59 ] |
| Post subject: | Re: Crysis 2 Beta - How to make a ONLINE dedicated server |
Xtremage wrote: Why to 1? It,s probably for the online matchmaking system of xboxlive and ps3online, and 0 woks just as well If the whole command is taken out system.cfg OR server.cfg server fails to show online Well, one time I set it to 0 because I was thinking just the same, and it turned out it didn't work... Maybe bad luck ? ^^ Xtremage wrote: You Could take some more commands out the startpost ^^, to make it look more pro, dont worry, with some help of others, you still will be the first who fixed it Sure, we made this together anyway But there's a reason I let some commands in the first post, less is better, but sometimes better is good's ennemy (if you know what I mean) Xtremage wrote: If i find some nw stuff ill post it here Thanks Xtremage wrote: Edit: my damn name in game, i cant change it... stays at stupid pc-admin name, tried a few things, but nogo, anyone a tip? Hint : cl_nickname = "NICKNAME" (in system.cfg) |
|
| Page 13 of 15 | All times are UTC + 3 hours |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|