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 15 of 15

Author:  eric010 [ Monday, 21 Feb 2011, 14:57 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

when I try to connect to any server gives me this error why?

error:
http://img9.imageshack.us/img9/810/semttulohd.png

thanks

Author:  Xtremage [ Monday, 21 Feb 2011, 23:01 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

josjikawa wrote:
cheaters are really becoming a big issue in my server, the kickfunction doesnt work properly and that bind f3 to quit command doesnt really seem to working very well either. :s anyone know a way to disable devmode for players?


Edit: Indeed i joined an USA server, people flying. and noreload... nicely ask to put hacks off........ server admin noob tells me to stop whining?
Tells me enough -.-...
Ok then i,ll just leave, i refuse to cheat or hack the game, and ill play on good hosted servers with more serious people on it.

What are people exacly doing?
In the time i host dedicated server, i only seen 1 guy fly...
And i asked/told him that he was not special, to please put it off and play like us.
And i havent seen any noticable cheaters since then, maybe a god mode here n there or super accuracy, but also after asking please put god mode off, on or not, i dunno, , but game seemed to change :P

For now we should just be very happy that it more or less works :)

Be patient till the final game is out and play it on our own servers or official hosted servers for best quality.

Author:  Siavash_2009 [ Monday, 21 Feb 2011, 23:30 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

Siavash_2009 wrote:
Hello everyone.i have problem.im run server and crash detected server and show erorr.Please help me
  1.  
  2. Call Stack:
  3.  
  4. 13) CDownloadableResource::StartDownloading()  [downloadmgr.cpp:589]
  5. 12) CDownloadableResource::AddDataListener()  [downloadmgr.cpp:743]
  6. 11) CDataPatcher::CDataPatcher()  [datapatcher.cpp:47]
  7. 10) CGame::InitGameType()  [game.cpp:1632]
  8.  9) CGame::Init()  [game.cpp:1057]
  9.  8) CGameStartup::Reset()  [gamestartup.cpp:441]
  10.  7) CGameStartup::Init()  [gamestartup.cpp:296]
  11.  6) WinMain()  [main.cpp:207]
  12.  5) __tmainCRTStartup()  [crtexe.c:578]
  13.  4) BaseThreadInitThunk()
  14.  3) LdrInitializeThunk()
  15.  2) LdrInitializeThunk()
  16.  1) LdrInitializeThunk()
  17.  

@== :wall: ::-| :loverin: :loverin:

help helpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp @== :wall: ::-| :loverin:

Author:  josjikawa [ Tuesday, 22 Feb 2011, 04:53 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

Xtremage wrote:
josjikawa wrote:
cheaters are really becoming a big issue in my server, the kickfunction doesnt work properly and that bind f3 to quit command doesnt really seem to working very well either. :s anyone know a way to disable devmode for players?


What are people exacly doing?
In the time i host server, i only seen 1 guy fly...
And i asked/told him that he was not special, to please put it off and play like us.
And i havent seen any noticable cheaters since then, maybe a god mode here n there, but also after asking please put god mode off, on or not, game seemed to change :P

For now we should just be very happy that it more or less works :)

Be patient till the final game is out and play it on our own servers or official hosted servers for best quality.


flying people mostly, theres always 1 guy joining who find it nessasary to use it.
i tried "sv_sendConsoleCommand bind f3 quit" but i think it only works for yourself, lolz. i was hoping someone knew a nice command or server.cfg line that could disable flying or devmode.

Author:  Xtremage [ Tuesday, 22 Feb 2011, 18:36 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

The UK server has "anticheat" there you cant use the F,1,2,3 ,11 buttons... when i asked host how to do it, i was asked to join tungle for info, and i dont have tunngle :(

So if somebody else could ask player/admin Gav.

Its real nice to play there, accept that there are too many players for the connection...

Lags like a mofo when its full...

Edit: Anyone find anything interesting about the crash?

My suspicions are that the server wants to search for new game related content, before end of game, but cant initialize, and gets return message to close server down.

I remember seeing a command line in somewhere my error lists, talking out contacting for xbox360 online service, got returned "0" and initializes closedown... hence the Gc errors those are gamelobby errors.
I also saw a cvar that decided when the service should start looking for new content, how many seconds from end of round/map, it said 20 default.

My server seemed to randomly stop, not crash when the last 15 seconds of the round started...

Just my input, i could be totally wrong ofcs ^^

But im far from anything coder/programmer related, im a mechanic... lol so i cant read the code stuff ^^...

Edit: Ok thanks for trying, i talked to the guy, and he will be releasing a tool for server admins anytime soon, to remotely control the server i heard, stable map rotation etc.

Lets just patiently wait for his magic tool, maybe i t fixes the crashes also.

Has anybody seen this come by?

net_inactivitytimeout
net_inactivitytimeoutdevmode

They seems to load when i start my game to play on server, standard set at 3600 seconds
i believe, every few minutes my game rendomly discconnects, and says connection lost, i reconnect and everyone is still playing....
Could it be that my game registers it as inactive?And closes net connecton down, even though im raping all souls in the server...
Im trying the setting now from 3600 to 14400, see if i will be randomly kicked every few minutes or longer periods :)

Author:  Godammit [ Wednesday, 23 Feb 2011, 22:32 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

My bat file always say "server crashed" and tried everything including your system.cfg, any help ?


Thanks....

Author:  Xtremage [ Wednesday, 23 Feb 2011, 22:57 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

Could you be more specific?

If its about server crash.... its normal... lol for now its a beta still ):

We have to live with it.

Edit: (Knocks Wood) All day my server has been crashing..... seriously annoining, i decided to go on a journey of neverending misery again, but secretly MAYBE have found some sort of small solution in the pile of shit called crysis 2 beta dedi.

I decided to take the line "randomization" out my map rotation, since i just felt it must be something in there... started up in hopes it would still run my map file, nogo, but hell, its on rooftops so a very nice map anyways, but it has been full ever since, and not 1 crash (knocks again)...

Would be very coincedental dont you think, i leave it like this for now, to see its random crashes after 5 minutes or 5 hours... i hope not at all, at least got 1 map running x)...

Some new info b.t.w, havent got the chance to test it properly but it runs, i have tested it on my game pc, fast and map&game loaded without a problem, server pc was being used still :)
but maybe MAYBE it fixes the problem, if not, never shot always missed...

If somebody could try this:

<levelrotation>

<ExtendedInfo
enabled = "1"
requiresUnlocking = "0"
uniquename = "TIA" />

<level name="Wars/cw2_rooftop_gardens" gameRules="TeamInstantAction" />

<level name="Wars/cw2_terminal" gameRules="TeamInstantAction" />

<level name="Wars/cw2_cxp_liberty_statue" gameRules="TeamInstantAction" />

<level name="Wars/cw2_cxp_liberty_mil" gameRules="TeamInstantAction" />

<level name="Wars/cw2_pier" gameRules="TeamInstantAction" />

<level name="Wars/cw2_city_hall" gameRules="TeamInstantAction" />

<level name="Wars/cw2_downtown" gameRules="TeamInstantAction" />

<level name="Wars/cw2_collided_buildings" gameRules="TeamInstantAction" />

<level name="Wars/cw2_alien_vessel" gameRules="TeamInstantAction" />

<level name="Wars/cw2_alien_vessel_small" gameRules="TeamInstantAction" />

<level name="Wars/cw2_church" gameRules="TeamInstantAction"/>

<level name="Wars/cw2_lighthouse" gameRules="TeamInstantAction"/>

</levelrotation>


My server,s busy atm :) it will startup etc like normal, but maybe not crash?

:D

Author:  Xtremage [ Thursday, 24 Feb 2011, 22:46 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

Here,s my current server.cfg, just for teh info,s:

sv_servername = BOOM!HEADSHOT![EU-Dedi]
log_WriteToFileVerbosity = -1
g_ignoreDLCRequirements = 1
net_enable_voice_chat = 0
sv_cheatprotection = 1
g_messageOfTheDay ServerIsBetaReturnIfDisconnect. (you see this on top in the loading screen :D)
sv_levelrotation 1
log_WriteToFile = 0
g_telemetry_gameplay_save_to_disk = 0
sv_maxmemoryusage = 1024
net_profile_socket_budget 512
sv_gs_report 0
sv_gs_trackstats 0
sv_ranked 0
gl_skip = 1

system.cfg:

sv_lanonly = 0
net_initLobbyServiceToLan = 1
g_useOnlineServiceForDedicated = 0
sv_gs_report = 0
sv_gs_trackstats = 0
sv_cheatprotection = 1
sys_game_folder=GameCrysis2
sys_dll_game=CryGameCrysis2.dll
sys_user_folder=Crysis2
sys_no_crash_dialog = 1
log_verbosity = -1
log_fileverbosity = -1
log_IncludeTime = -1
sys_languages = "english"
net_inactivitytimeout =14400
net_inactivitytimeoutdevmode =14400

Okthxbai :D

Author:  zbest [ Thursday, 24 Feb 2011, 23:05 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

Xtremage wrote:
The UK server has "anticheat" there you cant use the F,1,2,3 ,11 buttons... when i asked host how to do it, i was asked to join tungle for info, and i dont have tunngle :(

So if somebody else could ask player/admin Gav.

Its real nice to play there, accept that there are too many players for the connection...

Lags like a mofo when its full...


Hey whats up, I'm from the tunngle community and I helped Gav make that anticheat thing. This is our forum if you wanna check stuff out. http://www.tunngle.net/community/topic/ ... ands-here/ Happy Gaming :)

Author:  zbest [ Thursday, 24 Feb 2011, 23:05 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

Xtremage wrote:
The UK server has "anticheat" there you cant use the F,1,2,3 ,11 buttons... when i asked host how to do it, i was asked to join tungle for info, and i dont have tunngle :(

So if somebody else could ask player/admin Gav.

Its real nice to play there, accept that there are too many players for the connection...

Lags like a mofo when its full...


Hey whats up, I'm from the tunngle community and I helped Gav make that anticheat thing. This is our forum if you wanna check stuff out. http://www.tunngle.net/community/topic/ ... ands-here/ Happy Gaming :)

Edit: Gav's online tag is Ferocious

Author:  Sawnoff [ Friday, 25 Feb 2011, 03:42 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

Thanks everyone for all your hard work. Thanks to Xtremage for the use of his server and a few good games.
I seen this had just been released so i borrowed the page if anyone is interested in the server tool that the guys at tunngle had come up with.
Cheers Sawnoff. :D

Quote:
----------------------------------
FeRcon - Crysis2 rcon client
Version 0.1 - First release
Requires atleast .NET 2.0
----------------------------------
This is a tool you can use for unattended administration on
your server. It has a commandline interface the same as in the
dedicated server application. Ive only been working on this a
few days and its my first rcon coding experience. So there might
be some issues. I will try to fix anything that rises.

-----------
Features
-----------
* Remove dev binds F1/F2/F3/F4/F10 and F11 on player connect
* Send a message to all players at a timed interval
* Set a length of time to spend in the lobby between matches
* Shows chat from game
* Shows kills and assists
* Auto reconnects if server crashes

I plan to add:
* Remote admin through ingame chat interface
* Killstreak messages
* Random map rotation
* Map voting using ingame chat interface
* Bad word in chat / nick detection for kick / ban

and anything people can suggest!

It works by using the http rpc/xml server built into crysis2 to send
commands to the server through its console, it also reads the server
log file to find out info such as:
* Ingame chat
* Kills / Assists
* Players leaving
* Lobby entering
* Map load
I can effectivly make it pick up anything people want from the
server logs, so give me some ideas and ill give it a try!

--------------
How to use
--------------
1 ) Copy the exe into your crysis2 folder.
2 ) Edit your server.cfg so that it has the line

http_startserver port:123

change 123 to whatever port you want. I would suggest one below 1024 so
its less prone to attack through vpn (tunngle blocks under 1024). There
is currently NO WAY OF SETTING A PASSWORD FOR THE HTTP INTERFACE! so block
this port from outside access with a firewall.
3 ) Edit your system.cfg and change the line or add it if its not there to

log_WriteToFile = 1

4 ) put your local ip address into the box for server IP (whichever IP the server is bound to)
5 ) Enter the port you chose in to the port box
6 ) Pick options like map rotation and set times.
7 ) Click save.
8 ) Delete all server log files
9 ) Start server and then click Connect in FeRcon.

If all goes well you should see some info about the game in progress in the log window.

I also strongly suggest setting sv_cheatprotection to atleast 1 on your server so people cannot
join with modified game files.

Any bugs / suggestions please post them in this thread!

Enjoy multiplayer without dev binds!

Download: http://www.mediafire...53gd3dep3j8toi5

Author:  -Ferocious- [ Friday, 25 Feb 2011, 03:45 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

Wow that travelled fast... ya beat me to it :P

Author:  Xtremage [ Friday, 25 Feb 2011, 11:49 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

Yoo Sawnoff :D old crysis owner! Hope to see u back soon, and indeed thanks to ferocious for the cooltool :D

Works like a charm ;) I overlooked Telemetry_Gameplay_Save_To_Disk..0.... must been shortage of sleep x) after a few kicks i got it up :P (F Buttons are history now, but i would like to note to El Ferocious, that the numpad numbers maybe contains infinite ammo, godmode etc also i think, maybe for later ;))

OH i still didnt sleep, im guna have a critical system.cfg error myself soon!!! :O

but hey the shit works, enjoy the server and antiCHILD program from Ferocious.

B.t.w I noticed that if i run the server on both cores of my amd cpu, it will crash a factor 10 faster :/ after 10 minutes mainly, i enabed it on core nr. 1 now, with priority set to very high, that seems to be the most stable config here...


Edit:

I was wondering, is fercon changing g_skip to move lobby to the next round?
If not, it could use gl_startgame, manually inserted,solved lobby hang prob here :)

Been tweaking alot for fun with server, worked out great, you should try it, world of difference here.
Since the server ran like 50% smoother in general, new set time & kill limit (150FTW! :D) and MANY little tweaks, havent come across the Normal problems yet!!!!
1 new one but no crash x)...

Now it just stays online, doesnt reload map etc. but literally logs, it "destroys" the lobby,....Adn KaBoom 0 Players,... and just return to lobby state...

(Says Remote connectionfailed etc? I will look into this tomorrow for fun, ive seen some special "things" ;)

Been tweaking now it runs smoother in general, and have some custom server options set, and testing some other server performance stuff in general, which impacts felt 50% better to me, but could be the low resistance of players maybe in my testgames x) like 20-0 fast&easy kills unlike "normal".
Bullets registered much directer and the server was much more responsive for everyone it seemed.
Untill it Destroyed the lobby, timeout on remote connect get destroylobby back something grr....

Bb

Author:  Riaan199 [ Sunday, 13 Mar 2011, 14:48 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

Hey now i wanted to know if its just me or when i play all the team matches if you press tab you cant see the player stats and or their name just in ffs events you casn is there any why to fix it

-- Edit --

Hey now i wanted to know if its just me or when i play all the team matches if you press tab you cant see the player stats and or their name just in ffs events you casn is there any why to fix it

Author:  CJDenton [ Monday, 14 Mar 2011, 13:18 ]
Post subject:  Re: Crysis 2 Beta - How to make a ONLINE dedicated server

Anybody knows how to do way for that's:

Game mode: Pro, Classic?

i found commands for that, for example: "g_modevarivar_disableNanosuit 1" - its command disable nanosuit like a Calssic mode. But when i put this command in levelrotation.xml in section <Settings settings = "g_modevarivar_disableNanosuit 1">
it doesn't work. And the same commands for Pro mode =( ?

Any ideas?
______________
P.S. - but other commands like a g_timelimit work fine....

Page 15 of 15 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/