Logo

CS.RIN.RU - Steam Underground Community

IRC: #cs.rin.ru at irc.rizon.net
It is currently Friday, 17 Apr 2015, 22:33

English | Русский




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 225 posts ] 
Author Message

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Thursday, 17 Feb 2011, 21:56   
Advanced forumer Завсегдатай
User avatar
Joined: Saturday, 28 Nov 2009, 12:31
Posts: 85
Location: France ! :D
No, really man...
The system.cfg I provided you just make the game more stable, so that you can play it almost normally, and even online !
If you wanna blame something it gotta be the beta, but in the meantime you better not because a beta is not meant to work perfectly.

Conclusion -> just play while you can, and if you want your rank 13 back, just type "pp_GainXP 50000" in your console. Done.

_________________
Wanna make a Crysis 2 ONLINE DEDICATED SERVER ? Click here !
Wanna play Crysis 2 online (you don't need Hamachi or Tunngle !) ? Click here !


Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Thursday, 17 Feb 2011, 22:29   
Advanced forumer Завсегдатай
Joined: Saturday, 10 Apr 2010, 05:14
Posts: 58
Well, thank you xD And Sorry If I blamed you... I was pretty excited about lvl 13. Sorry mate... and thank you

PD: I could get my rank back as you said but I cant edit any class and I cant unlock any module of the suit. My suit modes are all lvl 1. So in conclusion it's all the same as lvl1. Do you know any other command to add unlocks or XP points for the suit mods? Thank you


Last edited by Hernan_ER on Thursday, 17 Feb 2011, 22:34, edited 1 time in total.

Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Thursday, 17 Feb 2011, 22:31   
Advanced forumer Завсегдатай
User avatar
Joined: Saturday, 28 Nov 2009, 12:31
Posts: 85
Location: France ! :D
No problem ^^

_________________
Wanna make a Crysis 2 ONLINE DEDICATED SERVER ? Click here !
Wanna play Crysis 2 online (you don't need Hamachi or Tunngle !) ? Click here !


Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Thursday, 17 Feb 2011, 22:35   
Advanced forumer Завсегдатай
Joined: Saturday, 10 Apr 2010, 05:14
Posts: 58
I could get my rank back as you said but I cant edit any class and I cant unlock any module of the suit. My suit modes are all lvl 1. So in conclusion it's all the same as lvl1. Do you know any other command to add unlocks or XP points for the suit mods? Thank you


Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Thursday, 17 Feb 2011, 22:41   
Advanced forumer Завсегдатай
User avatar
Joined: Saturday, 28 Nov 2009, 12:31
Posts: 85
Location: France ! :D
Either "pp_GainSuitXP X" (replace X by a reasonable number ;) )
Or pp_UnlockAll...

_________________
Wanna make a Crysis 2 ONLINE DEDICATED SERVER ? Click here !
Wanna play Crysis 2 online (you don't need Hamachi or Tunngle !) ? Click here !


Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Thursday, 17 Feb 2011, 22:45   
Advanced forumer Завсегдатай
Joined: Saturday, 10 Apr 2010, 05:14
Posts: 58
Nice. I will try it, and you know any other command to have unlock points to unlock special modules? (I dont want to unlockall because I want to progress myself)

And talking about the server... it closes after some time automatically. It says "root exceed 250kb" or something like that...


Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Thursday, 17 Feb 2011, 23:08   
Advanced forumer Завсегдатай
User avatar
Joined: Saturday, 28 Nov 2009, 12:31
Posts: 85
Location: France ! :D
No, sorry but you can search for it here :
http://pastebin.com/gvTCchRW


For your server crash try this command :

variable: net_profile_socket_budget
type: float
current: 256
help: maximum bandwidth budget for root node

Like "net_profile_socket_budget 512" or "net_profile_socket_budget 1024"

_________________
Wanna make a Crysis 2 ONLINE DEDICATED SERVER ? Click here !
Wanna play Crysis 2 online (you don't need Hamachi or Tunngle !) ? Click here !


Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Thursday, 17 Feb 2011, 23:15   
Advanced forumer Завсегдатай
Joined: Saturday, 10 Apr 2010, 05:14
Posts: 58
Thank you. I could add unlock tokens with "pts_addTokens". I also tried GainSuitXP and I type:
pp_GainSuitXP stealth 500
pp_GainSuitXP armour 500
pp_GainSuitXP power 500

But if I type armour or stealth it just add XP points to power mode... stealth and armour are lvl 1. Even If I type pp_GainSuitXP power 500


Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Thursday, 17 Feb 2011, 23:49   
Beginner Без звания
Joined: Sunday, 09 Nov 2008, 12:06
Posts: 13
to everyone who wanna keep their rank and prevent it from reseting well... you cant :ROFL:
No seriously you cant prevent it from reseting because it will reset anytime your game crash(almost always) or when you dont exit the game by going back to singleplayer. BUT you can make a backup of your profile folder every now and then so when it resets you delete your profile folder and replace it with your backup.

I do it like every 2 or 3 matches and im level 21 right now, i think im the highest level(legit) AFAIK :D

BTW im gonna try the net budget command since i get that error a lot and come back with results


Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Friday, 18 Feb 2011, 00:19   
Beginner Без звания
Joined: Friday, 18 Feb 2011, 00:13
Posts: 1
hi friends
sorry for machine translation
what commands to a dedicated server needed to server.cfg
to work properly Lobby ????


Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Friday, 18 Feb 2011, 00:50   
Advanced forumer Завсегдатай
Joined: Saturday, 10 Apr 2010, 05:14
Posts: 58
So how can you backup your profile? Can you tell us?


Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Friday, 18 Feb 2011, 02:36   
Beginner Без звания
Joined: Monday, 09 Feb 2009, 05:30
Posts: 5
how do i join a match, im hosting my own dedicated server and when i ge tinto the match im stuck as spectetor mode and i cant seem to join, is there any command to spawn?


Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Friday, 18 Feb 2011, 02:54   
Beginner Без звания
Joined: Friday, 18 Feb 2011, 02:49
Posts: 5
Technologeek wrote:
Hi everyone !
I’m new to this forum, but I’m here to help !

For my first topic, I’m gonna show you how to make a Crysis 2 Dedicated Server for Online use !
I think I'm actually the FIRST ON EARTH to have made a FULLY FONCTIONNAL - but little bit buggy - ONLINE DEDICATED SERVER for the Crysis 2 Beta...
Yeah, you got it right ! No need of Hamachi or Tunngle ! :D

Oh, and one last thing before I start : if you're just searching for a server to connect to, you're in the wrong thread :)
Just go here -> http://cs.rin.ru/forum/viewtopic.php?f=10&t=58874 (big thanks to Nomad13 ;) )

Now let's get started...



I) Open ports on your router…

I’m not gonna explain this, so you’re on your own, just open these ports :
TCP 64000 to 64100
UDP 64000 to 64100
UDP 53835
UDP 52264
UDP 54155



II) Server configuration :

Make a server.cfg file in the root Crysis 2 directory, and type that in :
  1. ; Dedicated Server Configuration
  2.  
  3. sv_servername Crysis 2 Dedicated Server
  4.  
  5. sv_lanonly 0
  6. sv_maxplayers 16
  7. sv_packetrate 30
  8. sv_cheatprotection 1
  9. net_enable_voice_chat 1
  10. g_useOnlineServiceForDedicated 1
  11. net_profile_enable 1
  12. sv_levelrotation levelrotation.xml
  13. gl_skip 1
  14.  
  15. sv_gs_report 0
  16. sv_gs_trackstats 0
  17. sv_ranked 0
  18.  
  19. g_nextlevel


Change this line to change the name of your server :
  1. sv_servername Crysis 2 Dedicated Server


Then, make a levelrotation.xml file in the root of the Crysis 2 directory, and type in your maprotation with this template :
  1. <levelrotation>
  2.     <level name="MAP" gamerules="GameType">
  3.         <setting setting="Setting Value"/>
  4.     </level>
  5. </levelrotation>


For example :
  1. <levelrotation>
  2.     <level name="cw2_downtown" gamerules="TeamInstantAction">
  3.         <setting setting="g_timelimit 20"/>
  4.     </level>
  5.     <level name="cw2_rooftop_gardens" gamerules="CrashSite" />
  6. </levelrotation>


Map list is :
  1. cw2_alien_vessel
  2. cw2_alien_vessel_small
  3. cw2_church
  4. cw2_city_hall
  5. cw2_collided_buildings
  6. cw2_cxp_liberty
  7. cw2_cxp_liberty_mil
  8. cw2_cxp_liberty_statue
  9. cw2_downtown
  10. cw2_lighthouse
  11. cw2_pier
  12. cw2_rooftop_gardens
  13. cw2_terminal


GameType list is :
  1. Assault
  2. CaptureTheFlag
  3. CrashSite
  4. Extraction
  5. TeamInstantAction
  6. InstantAction




III) Server launch !

Make a server.bat file in the root folder of the Crysis 2 Directory, and type in :

  1. @echo off
  2. :server
  3. echo Starting server...
  4. "Bin32\Crysis2DedicatedServer.exe" +exec server.cfg
  5. echo Server crashed...
  6. echo.
  7. goto server




IV) Enjoy !

Then, launch it !!
You just have to give us your ip then, and your server is all set :D
Don't forget to use your local ip if you are on the same network as your server, or you can also look for it in the lan browser ;)
Have fun, and you're welcome to thank me ;) it’s my only reward :D

IMPORTANT ! Now if your server works well and you want to share it with us, make sure to give this thread a look ;) -> http://cs.rin.ru/forum/viewtopic.php?f=10&t=58874

If you need other commands or cvars to change, here is the list -> http://pastebin.com/gvTCchRW



V) Troubleshooting :

If you've got some problems running the dedicated server, try the following :

1-Run all the dedicated server related batches in the root directory, in order... (BuildDedicated.bat, MakeDedicated.bat, PackageDedicated.bat and SyncDedicated.bat)

2-If you've got problems with servercrashing at start, put the following in the "system.cfg" file :
  1. ; Crysis 2 System Configuration
  2.  
  3. sys_game_folder=GameCrysis2
  4. sys_dll_game=CryGameCrysis2.dll
  5. sys_user_folder=Crysis2
  6.  
  7. r_ShaderCompilerServer=127.0.0.1;127.0.0.1
  8. r_ShadersRemoteCompiler=0
  9.  
  10. log_Verbosity = 0
  11. log_WriteToFile = 0
  12. sys_float_exceptions = 0
  13. log_IncludeTime = 0
  14. sys_languages = "english,french,spanish,german,turkish"
  15.  
  16. con_restricted = 0
  17. r_driver DX9
  18. r_width = 1280
  19. r_height = 720
  20. r_Fullscreen = 0
  21. r_VSync = 1
  22. sys_spec = 2
  23. sys_spec_full = 2
  24. q_quality = 3
  25.  
  26. r_displayInfo = 0
  27. r_enableAltTab = 0
  28.  
  29. net_inactivitytimeout = 32
  30. net_inactivitytimeoutDevmode = 32
  31. g_enableInitialLoginScreen = 0
  32. g_gamespy_loginUI = 0
  33. net_lanbrowser = 1
  34. net_initLobbyServiceToLan = 1
  35. sv_lanonly = 1
  36. sv_servername = "Crysis 2 Server"
  37. sv_gs_report = 0
  38. sv_gs_trackstats = 0
  39. sv_cheatprotection = 1
  40. cl_nickname = "NICKNAME"
  41.  
  42. s_SpeakerConfig = 2
  43. s_FormatType = 3
  44. cl_fov = 75
  45. pl_movement.power_sprint_targetFov = 65
  46. r_DrawNearFoV = 75
  47. i_mouse_smooth = 30
  48.  
  49. g_dlcPurchaseOverwrite = 1
  50. g_ignoreDLCRequirements = 1
  51. g_presaleUnlock = 0
  52. g_skipIntro = 1
  53. g_useOnlineServiceForDedicated = 0
  54.  
  55. e_TerrainDeformations = 1


3-Don't forget to connect with your local ip if you are on the same network as your server, but you can also look for it in the lan browser ;)



Hi Technologeek, i wanted to know if we can customize our servers,like changing kill and time limit etc.?And how to make 10 player server or 12 (i saw 1 server only for 10 players)?


Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Friday, 18 Feb 2011, 03:34   
Beginner Без звания
Joined: Sunday, 09 Nov 2008, 12:06
Posts: 13
Hernan_ER wrote:
So how can you backup your profile? Can you tell us?

your profile folder is here:
C:\Users\*your system user*\Saved Games\Crysis2

make a copy of the profile folder and thats your backup ::D

Remember you must completly close the game by going back to singleplayer menu and then quit, before you make the backup.


Top
 Profile  

Post Post subject: Re: Crysis 2 Beta - How to make a ONLINE dedicated server   
Posted: Friday, 18 Feb 2011, 04:26   
Beginner Без звания
Joined: Saturday, 06 Feb 2010, 17:56
Posts: 19
Hi i don't want automatic levelrotation, i want vote every round end. What need i do for this?


And i don't can join to my server, im on spectator. I don't have this problem befor...

I have this problem since, if i die 2 times, the game don't respawn me. And since i have this problem, i don't can skip the killcam, and dont have the timer center of display befor respawn.


Top
 Profile  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 225 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13, 14, 15  Next


Who is online

Users browsing this forum: No registered users and 3 guests


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum




Powered by phpBB® Forum Software © phpBB Group