Log in

View Full Version : is possible to process without using graphics ?


liga
February 21st, 2005, 11:41 AM
I need to process a turn for a game I'm hosting withiut launching the graphics

I have tryed something like

dom2 -T -g 3m2

but doesn't' work ... it is possible to process by command line just only for tcp/ip games ?

good play
Liga

BigDaddy
February 21st, 2005, 03:05 PM
If the game is named 3m2, then it should work... Was there any output to stderr or stdout? If there isn't any output, try running it with the -d option and see if there is any output.

Verjigorm
February 21st, 2005, 03:08 PM
-dd would give a more complete output.

liga
February 21st, 2005, 03:12 PM
3m2 was the name of the game.

that was the output with the command:

dom2 -T -g 3m2


Något gick fel!
Text only mode can only be used with --tcpserver
Något gick fel!
Text only mode can only be used with --tcpserver
Abort (core dumped)




and that one with the command

dom2 -g 3m2


Could not init SDL: No available video device
Något gick fel!
Failed to init OpenGL
Något gick fel!
Failed to init OpenGL
Segmentation fault (core dumped)




and that was the reason I supposed that the -T option works only with tcp/ip ...

thank you anyway ...

Liga

Verjigorm
February 21st, 2005, 03:19 PM
Try adding the --tcpserver option.

liga
February 21st, 2005, 04:47 PM
Thank you ... it works doing

dom2 --tcpserver -T -q -g

then he ask me a port number ... it generates the new turn and when it is done it start to wait ... then I have to kill it.

It seems that the -g options doesn't work fine ... anyway now I can host the turn without graphics

thank you
Liga