Go Back   Savage 2: A Tortured Soul Forum > Savage 2 Modding > Documentation

Notices

Documentation Post useful tutorials and other informative material.

Reply
 
Thread Tools Display Modes
Old 03-15-2013, 04:57 PM   #1
Durwyn

 
Join Date: Jul 2011
Location: Belgium
Posts: 264
Thanks: 47
Thanked 67 Times in 54 Posts
Default Dedicated Server - Windows

Digged through the forum.

Found this: http://forums.savage2.com/showthread.php?t=21435 which corresponds to my problem.

Easy solution:

The following solution needs at least 2 processors on your machine.

edit DedicatedServer.bat and replace all by the following:

Quote:
@echo off
:Restart
start /affinity 1 savage2.exe -"set host_dedicatedServer true; set host_autoexec "changeworld AI-ancientcitiesv2""
IF %ERRORLEVEL% NEQ 0 goto Restart
you can change the "changeworld" param with the map you want to start first.

e.g : changeworld storm
changeworld eden
...

Create a launch.bat and add this:
Quote:
@echo off
:Restart
start /affinity 2 savage2.exe
IF %ERRORLEVEL% NEQ 0 goto Restart

Use dedicatedserver.bat to launch your server, and use the launch.bat to play. Your game won't hang up anymore and everything is done automaticaly.



Don't know where to add the post, so move it if necessary
__________________
Operating System: Windows 7 x64
Graphic card : Geforce GT 540M
RAM : 8gb
Savage2MapsAI

Last edited by Durwyn; 03-16-2013 at 01:20 PM.
Durwyn is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 09:26 PM.