GG Starts on wrong IP

Ask questions and share info about GunGame 5

GG Starts on wrong IP

Postby Huggs » Wed Jul 14, 2010 3:13 am

The GG Server starts up nicely and continues to run. The only problem is that it picks the primary server IP.
the command line I use to start is -

srcds -console -game cstrike +ip 8.2.122.13 -port 27015 +maxplayers 20 +exec server.cfg -autoupdate +map gg_aim_shotty -tickrate 66 -secure

It's up and running on 8.2.122.12:27015 and I have no idea why. Can anyone help me out?
Is there a different place to specify the IP now?
I run this as a service (Windows) using FireDaemon. It used to work fine - no change to the command line.




PCH
I remember Todd - 'Let's Roll!'
Huggs

Private
Private
User avatar
 
Posts: 77
Joined: Tue Dec 29, 2009 4:28 am
Location: NJ

Re: GG Starts on wrong IP

Postby Huggs » Wed Jul 14, 2010 4:15 am

I tried playing on the wrong IP and it's running OK so far.
The DM, Turbo and Elim seem to be working now (executed manually).

FYI - I did a complete reinstall from scratch not an update.



PCH
I remember Todd - 'Let's Roll!'
Huggs

Private
Private
User avatar
 
Posts: 77
Joined: Tue Dec 29, 2009 4:28 am
Location: NJ

Postby Monday » Wed Jul 14, 2010 1:35 pm

try using the -ip tag instead of +ip
Monday

Site Admin
Site Admin
User avatar
 
Posts: 97
Joined: Sat Feb 14, 2009 1:51 am

Postby pyro » Wed Jul 14, 2010 2:01 pm

-ip tag i have found causes the server not to start up at all.
pyro

Private 1st Class
Private 1st Class
User avatar
 
Posts: 181
Joined: Wed Nov 04, 2009 1:26 pm
Location: Melbourne, Australia
Xfire Name: pyromaniac771

Re: GG Starts on wrong IP

Postby MikE3D » Wed Jul 14, 2010 3:09 pm

See here: http://forums.gungame5.com/viewtopic.php?p=6305&f=70#p6305

try to load your server w/o es_load gungame51 in the autoexec.cfg and manually rcon: es_delayed 1 es_load gungame51 after the server starts.

This will be a temporary fox until the dev team can officially fix it.
Image
MikE3D

Private
Private
User avatar
 
Posts: 13
Joined: Mon Feb 16, 2009 2:46 pm
Steam Friends Name: -=BwA=- MikE3D

Postby XE_ManUp » Wed Jul 14, 2010 3:12 pm

The problem is that the above isn't a solution. It would only be a solution if the delay actually allowed your server to load normally via the autoexec.cfg without the IP issue.
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Postby XE_ManUp » Wed Jul 14, 2010 3:23 pm

Okay - let's try something different. In the autoexec.cfg, do this (and it HAS to be in this order):

stuffcmds
es_load gungame51


How does that do?
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Re: GG Starts on wrong IP

Postby RasterMan » Wed Jul 14, 2010 3:24 pm

This is driving me mad no errors in logs:

*******************************************************************************
* *
* GUNGAME v5.1 ERROR LOGGING *
* HTTP://WWW.GUNGAME5.COM/ *
* *
* GG VERSION: 5.1.477 IP: 81.19.217.96 *
* SPE VERSION: 1.5.0f r78 PORT: 27035 *
* PLATFORM: POSIX DATE: 07-13-2010 *
* ES VERSION: 2.1.1.338 ES CORE VERSION: 2.1.1.336 *
* MM VERSION: 0 SM VERSION: 0 *
* MANI VERSION: 0 EST VERSION: 0 *
* *
*******************************************************************************
As you can see GG thinks it's on the right IP address! but it's on the main box IP :(

I'm also getting spammed with: Unknown command "wait"
Last edited by RasterMan on Wed Jul 14, 2010 3:51 pm, edited 1 time in total.
RasterMan

Private
Private
User avatar
 
Posts: 19
Joined: Mon Dec 22, 2008 4:38 pm
Steam Friends Name: [BBz]RasterMan[CL]

Postby RasterMan » Wed Jul 14, 2010 3:30 pm

stuffcmds
es_load gungame51


That works!!!


Just need to stop the Unknown command "wait" spamming now.
RasterMan

Private
Private
User avatar
 
Posts: 19
Joined: Mon Dec 22, 2008 4:38 pm
Steam Friends Name: [BBz]RasterMan[CL]

Postby XE_ManUp » Wed Jul 14, 2010 3:34 pm

sv_allow_wait_command 1

It should be that by default, so you must be disabling it somewhere (like the server.cfg?).
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Re:

Postby MikE3D » Wed Jul 14, 2010 3:35 pm

XE_ManUp wrote:Okay - let's try something different. In the autoexec.cfg, do this (and it HAS to be in this order):

stuffcmds
es_load gungame51


How does that do?


that appears to work! :)

so here's my autoexec.cfg that is working:
sv_allow_wait_command 1
mattie_eventscripts 1
eventscripts_subdirectory events

stuffcmds
es_load gungame51
Last edited by MikE3D on Wed Jul 14, 2010 3:37 pm, edited 1 time in total.
Image
MikE3D

Private
Private
User avatar
 
Posts: 13
Joined: Mon Feb 16, 2009 2:46 pm
Steam Friends Name: -=BwA=- MikE3D

Re:

Postby RasterMan » Wed Jul 14, 2010 3:36 pm

XE_ManUp wrote:
sv_allow_wait_command 1

It should be that by default, so you must be disabling it somewhere (like the server.cfg?).


I added "sv_allow_wait_command 1" to the server.cfg and that did it. Looks like it's not always added to a default new install.
Last edited by RasterMan on Wed Jul 14, 2010 3:41 pm, edited 1 time in total.
RasterMan

Private
Private
User avatar
 
Posts: 19
Joined: Mon Dec 22, 2008 4:38 pm
Steam Friends Name: [BBz]RasterMan[CL]

Re: GG Starts on wrong IP

Postby Huggs » Wed Jul 14, 2010 3:37 pm

Thanks Manup. I'll give it a shot this evening after work.

This STUFFCMDS just does a delay? I have a few other things in the AUTOEXEC. Do these go before or after the STUFFCMDS?



PCH
I remember Todd - 'Let's Roll!'
Huggs

Private
Private
User avatar
 
Posts: 77
Joined: Tue Dec 29, 2009 4:28 am
Location: NJ

Postby XE_ManUp » Wed Jul 14, 2010 3:37 pm

Then a script must be disabling it. Because the engine defaults to enabling it.
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Postby XE_ManUp » Wed Jul 14, 2010 3:38 pm

I would suggest AFTER stuffcmds.
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Postby RasterMan » Wed Jul 14, 2010 3:50 pm

Whoopie RedBull all around :) Thx XE_ManUp your work is appreciated :)
RasterMan

Private
Private
User avatar
 
Posts: 19
Joined: Mon Dec 22, 2008 4:38 pm
Steam Friends Name: [BBz]RasterMan[CL]

Re: GG Starts on wrong IP

Postby Venjax » Wed Jul 14, 2010 4:25 pm

Huggs wrote:Thanks Manup. I'll give it a shot this evening after work.

This STUFFCMDS just does a delay? I have a few other things in the AUTOEXEC. Do these go before or after the STUFFCMDS?



PCH


stuffcmds is the command Valve uses to push the command-line parameters into server variables.
As a work around, doing this earlier than loading your scripts seems to resolve some of the issues for now.
Venjax

Private
Private
 
Posts: 6
Joined: Wed Oct 22, 2008 4:12 am

Re: GG Starts on wrong IP

Postby Huggs » Wed Jul 14, 2010 11:04 pm

Thanks Manup!
It worked like a charm.



Best regards,
PCH
I remember Todd - 'Let's Roll!'
Huggs

Private
Private
User avatar
 
Posts: 77
Joined: Tue Dec 29, 2009 4:28 am
Location: NJ

Postby RasterMan » Thu Jul 15, 2010 10:01 am

@XE_ManUp

My linux test server has now been running for almost 18 hrs without any crashes :)
RasterMan

Private
Private
User avatar
 
Posts: 19
Joined: Mon Dec 22, 2008 4:38 pm
Steam Friends Name: [BBz]RasterMan[CL]

Postby XE_ManUp » Thu Jul 15, 2010 10:45 pm

Awesome. Good to hear.
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Next


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 7 guests

cron