0
June 20, 2013, 02:22:42 PM   
*
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 

- Shoutbox

Pages: [1]
  Print  
Author Topic: [DONE]Add SVN Version Number to Response gameversion String  (Read 1200 times)
0 Members and 1 Guest are viewing this topic.
Lohengrin
Administrator
Private
*****
Gender: Male
Posts: 43



WWW
« on: May 09, 2009, 05:09:06 PM »

Hi

is it possible to add the version number of the running svn gameserver to the response String?
Adding a version Number would make it easier to inform potential players about pitfalls and requirements relating to the running gameserver version.

Response now:
-->q:gamename\netpanzer\protocol\1019\hostname\PDX\gameversion\[blink]svn[/blink]\mapname\Hi l[...]

Suggestion:
-->q:gamename\netpanzer\protocol\1019\hostname\PDX\gameversion\[blink]svn1119[/blink]\mapname\Hi l[...]

-Lo
« Last Edit: January 14, 2010, 01:38:24 AM by krom » Logged

Rank-a-Tank: www.NETPANZER.info
krom
Administrator
Sergeant
*****
Posts: 493



« Reply #1 on: May 09, 2009, 07:38:26 PM »

Yes, it is possible when you compile, you have to change the "PACKAGE_VERSION" definition.

In the scons file (on latest svn) it gets the version automatically from svn (i believe, haven't try it for some time), but that script is not finished.

The binary files I generate has a correct version attached to "svn" string.
Logged

The rabbit doesn't fly alone
krom
Administrator
Sergeant
*****
Posts: 493



« Reply #2 on: January 14, 2010, 01:37:52 AM »

This has been done.

When compiling scons gets the version automatically, if the file RELEASE_VERSION exist, it will be used as the version.
Logged

The rabbit doesn't fly alone
Pages: [1]
  Print  
 
Jump to:  

Theme by m3talc0re. Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines MySQL | PHP | XHTML | CSS
Back To Top