Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.
Forum rules
This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.
Its current use is for the continued development of the server and game it has always served: TMW Classic.
You are correct. The output is the same from both commands.
I apologize. I did not specify that I would like to see the SVN revision number in the 0.0.x (and future) clients.
It would be helpful to see the number in the login screen or through a command switch, rather than only the base number '0.0.24.1' in the top-left corner of the login screen.
I'd like to request this as a feature.
Should I create a Mantis ticket or request that this thread be moved to the 'Suggestions' topic?
I am not sure if it is possible to do this automatically.
Subversion can enter the revision a file was last changed automatically, but only when the specific file itself was changed. But the only file which is updated every single commit is the changelog.
Maybe Bjørn Lindeijer, our SVN guru, knows a solution to get the revision number into the client binary.
former Manasource Programmer
former TMW Pixel artist
NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
As part of the configure script, run "svn info | grep '^Last Changed Rev' | cut -d' ' --field=4". The result might be empty or erroneous, but in that case you leave it as "". AC_DEFINE an appropriate constant, and you should be good to go. Recall that this is only a debug feature, so there's no need to be universal or subtle about it.
Maybe the changelog could include the revision number, and then when you config/compile it could automatically extract the revision number from there, and insert it into the data/help/header.txt.
T H E M A N A W O R L D
==========================================
Version:0.0.24.1 Date:7 April 2008
SVN Revision:4405
Website: http://themanaworld.org
In game I am Xaru
On forums I am Superkoop
IRL I am John -View World map-
An automated solution which would provide it to the login screen would be preferred and nice on the long run. A conditional script to fetch the release number if available/applicable (SVN release tag should be parseable somehow?) and if not, fetch the SVN revision.
Actually I was thinking about adding the revision number to the Win32 client, since I already have the info when I create the installer. I'll see if I can find sometime to do it.