Setup for dedi coop insurgency testserver

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Jabil_One
Posts: 135
Joined: 2017-03-11 18:01

Setup for dedi coop insurgency testserver

Post by Jabil_One »

Hail to all tech-freaks,

i have a problem with setting up an passworded online testserver for an coop insurgency gamemode.
I see the server in the browser list but always with a ping of 2500 and i cannot connect to the server. Check your network.

I checked firewall - no success and all topics i googled wasn't helpful

Can someone give me a list of TCP's and Ports to setup the testserver server correctly?

Thanks in Advance

Fastjack
Jabil_One
Posts: 135
Joined: 2017-03-11 18:01

Re: Setup for dedi coop insurgency testserver

Post by Jabil_One »

We checked all firewall settings. No findings.

Or is it about the license keys? Sofar i know can we have three servers with one license. Could be that the problem?
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Setup for dedi coop insurgency testserver

Post by AlonTavor »

UDP only, no TCP. By default: 29000 for querying, 16567 for actual game data.
License only decides if your server is listed. if you see it and cant join, the problem is on your end.
Jabil_One
Posts: 135
Joined: 2017-03-11 18:01

Re: Setup for dedi coop insurgency testserver

Post by Jabil_One »

sv.serverIP "5.9.23.136"
sv.serverPort 16577
sv.gameSpyPort 29910

That's what i can see in the serversettings.con.
if you see it and cant join, the problem is on your end.
What you mean on your end? Our server or on my network end? Other mates have the same problem.
They see the server but no connection.
Jabil_One
Posts: 135
Joined: 2017-03-11 18:01

Re: Setup for dedi coop insurgency testserver

Post by Jabil_One »

OK, here more Intel on the subject.

We already running one server coop server (Veterans-Gaming) and it works like a charm.
Now we trying to setup a 2nd pr server on the same machine.

One big question:
In the maplist.con is a comment that coop cant be runned with another gamemode is that true?
I mean from the technical side or the DEVteam only mentioned it in the maplist because they never expected a coop ins gamemode.

All what i changed was the gamepython :

Code: Select all

# co-op
#
# $Id: gpm_coop.py 25716 2016-10-29 07:57:00Z prbot $

import coop


def init( ):
    coop.init( )


def deinit( ):
    coop.deinit( )

import insurgency


def init( ):
    insurgency.init( )


def deinit( ):
    insurgency.deinit( )
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Setup for dedi coop insurgency testserver

Post by AlonTavor »

I just realized what you're doing. No. There's no way this is ever going to work. Coop Insurgency can't work.

Do not touch the python files, especially if you don't know what you're doing.
Jabil_One
Posts: 135
Joined: 2017-03-11 18:01

Re: Setup for dedi coop insurgency testserver

Post by Jabil_One »

Why? It works on my local machine?
And why i have the same problem with a normal AAS4 server?
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Setup for dedi coop insurgency testserver

Post by AlonTavor »

You're overwriting init by adding another init function for starters.
Jabil_One
Posts: 135
Joined: 2017-03-11 18:01

Re: Setup for dedi coop insurgency testserver

Post by Jabil_One »

I just realized what you're doing. No. There's no way this is ever going to work. Coop Insurgency can't work.
Problem solved. Coop Insurgency server runs fine :cool:
Do not touch the python files, especially if you don't know what you're doing.
I really dont know anything about python but what i did worked, sir.
You're overwriting init by adding another init function for starters.
I am a python noob but it seems to me that the insurgency python can be MOUNTED to the gpm_coop gamemode.

Thx to TEDF, Melon, Semler and our techwizards. =VG= rocks!

Thread can be closed.

Greetz Fastjack
Jabil_One
Posts: 135
Joined: 2017-03-11 18:01

Re: Setup for dedi coop insurgency testserver

Post by Jabil_One »


First attack on the harbour.

When you want, you can try it yourself on a local server and see it with your own eyes.
https://www.dropbox.com/s/fhff4wplupzis ... y.rar?dl=0
You can also see, in the BF2-Editor how i placed the non Controlpoint related StrategicAreas.

You will also see bots on roofs and balconies where no navmesh is. It isn't perfect yet but we working on it. We looking for an codder who can code us some empty PCO's where the bots are able to spawn in and using their handheld weapons (like the passenger seats on the boats or support humvees).
Such ambush PCO's will replace the 50cal tripods and bipods.
We already found one major issue with mapper placed insurgent hideouts - when INS commander try to remove it, the server crashs.

The rest works funny.

... and dont forget to make the Thing that isn't supposed to work.

Code: Select all

# co-op
#
# $Id: gpm_coop.py 25716 2016-10-29 07:57:00Z prbot $

import coop


def init( ):
    coop.init( )


def deinit( ):
    coop.deinit( )

import insurgency


def init( ):
    insurgency.init( )


def deinit( ):
    insurgency.deinit( )
Last edited by Jabil_One on 2017-07-30 19:50, edited 1 time in total.
Post Reply

Return to “PR:BF2 Support”