Author Topic: Simultaneous connections to server  (Read 6061 times)

uncleSean

  • Posts: 2
  • Turrets: +0/-0
Simultaneous connections to server
« on: September 20, 2007, 09:07:31 am »
Hello forum. I want to run two tremulous clients simultaneously on one Ubuntu / ATI X1300 PC. Just trying to start two clients causes an SDL error. Is there a tried-and-beloved method in use?

Just in case the first answer is 'why?'. I found myself wondering about turret placement today, and wound up repeatedly swapping sides to move turrets and then rushing them to see how much damage I picked up. Disconnecting and reconnecting was too painful, so I want to use one human, one alien and just switch control. I realise I can use two PCs to accomplish the job, I'm just too lazy to move my hands that far.

I realise too, that such a technique would allow anybody to have an eye in the sky while they're playing. Is it straightforward to detect such a thing at the server? My guess is it would be difficult, given most players are NAT'd anyway. No need to answer this second question, unless you're feeling eloquent.

Thanks in advance!

Caveman

  • Guest
Simultaneous connections to server
« Reply #1 on: September 20, 2007, 10:04:40 am »
- make sure that you run trem in windowed mode
- make sure that both instances use a different qnet-port

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Re: Simultaneous connections to server
« Reply #2 on: September 20, 2007, 01:42:31 pm »
Quote from: "uncleSean"
causes an SDL error


I'm sorry but my crystal ball is still broken. :roll:
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

uncleSean

  • Posts: 2
  • Turrets: +0/-0
Simultaneous / balls
« Reply #3 on: September 20, 2007, 03:56:37 pm »
I can post that SDL error, but the fact that I'm getting one at all makes me think I'm doing something silly in the first place. Used singly, Tremulous works just great for me. It will start two clients, and I get the sound from both clients (v.funky) up to the Main Menu. One connects to a server, and the second will start to connect, downloads game state, then stops for a while before exiting). The first time I try this, I get an error from fglX11AllocateManagedSurface  (__FGLTexMgrAllocMem failed!!). This is after creating a local server with one of the instances. The SDL error was produced when I was using a remote (empty) server.

It's neither a surprise nor a great annoyance that two clients on one PC don't work for me, it strikes me as a perverse thing to do to a FPS. If some other Tremulous user runs two clients on one PC and has a happy experience with it, then I might persevere with it. Otherwise I could exert myself and use another PC, it is only a metre away.

Do people run two Tremulous clients on the same PC, connected to the same server? Even if my problem is due to something that could be changed in Tremulous, I wouldn't want it to be. Like I said, it works great for me, and I have the obvious other option.

Thanks for the replies - wasn't expecting them to be so quick!

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Simultaneous connections to server
« Reply #4 on: September 20, 2007, 05:41:01 pm »
there is pretty much no way you can get 2 clients to run smoothly on the same pc, it is possible in most cases, but unless one of them is minimized both will be running at <10fps (although pretty much none of the above applies to overflow's rig :D). it looks like your graphics drivers just won't let you start 2 clients (the first error is an obvious lack of video memory, you didn't specify what the 2nd error was), so save yourself a bunch of effort and grab that 2nd pc.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

doomagent13

  • Posts: 506
  • Turrets: +18/-18
Simultaneous connections to server
« Reply #5 on: September 20, 2007, 10:22:35 pm »
It's called /devmap <mapname> and /team <teamname>.

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
Simultaneous connections to server
« Reply #6 on: September 23, 2007, 10:08:52 pm »
Quote from: "kevlarman"
there is pretty much no way you can get 2 clients to run smoothly on the same pc, it is possible in most cases, but unless one of them is minimized both will be running at <10fps (although pretty much none of the above applies to overflow's rig :D).
You mean there is pretty much no way you can get 2 clients to run smoothly on HIS pc. Because on Windows, I can start even 5-6 clients and before slowing down to 10fps.

Quote from: "kevlarman"
it looks like your graphics drivers just won't let you start 2 clients (the first error is an obvious lack of video memory, you didn't specify what the 2nd error was), so save yourself a bunch of effort and grab that 2nd pc.
Try decreasing com_*megs.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Simultaneous connections to server
« Reply #7 on: September 23, 2007, 10:34:47 pm »
Quote from: "/dev/humancontroller"
You mean there is pretty much no way you can get 2 clients to run smoothly on HIS pc. Because on Windows, I can start even 5-6 clients and before slowing down to 10fps.
are any of those clients minimized? a minimized client doesn't render anything.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----