Jump to content
  • 0

Display Custom Folder Revision In-Game


-SkittleNugget-

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

As I currently have my own SVN File setup for ragnarok, it displays "Current Revision : Unknown" in game, How can I set it up to actually display the revision of the SVN I am using.

 

 

NOT SURE IF SOURCE OF NOT.

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

src/common/cli.c#L56

ShowInfo(CL_WHITE"rAthena SVN version: %s" CL_RESET"\n", "SkittleNuggetSVN" );
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

Will this automatically change to what the actual SVN is, Since the svn number changes every commit?, Or is it a "Set it when you make edits", kind of thing.

 

Also, thank you very much for help.

 

 

Let me define what it is exactly..

 

On My SVN, I am on Revision 132, However In-Game it says Unknown, How Can I get the message In-game to say the actual Revision Number.

So that if I make a new commit, it will say, "Revision : 133" and so on, People In-game can then see progress based on the revision number.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

i think we dont have a "valid" svn number after switch to GIT..since git doesnt store number but something like harsh value...i guess..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

Oh, No, I am using rATHENA Ragnarok Server Files, On my OWN SVN.

 

It does have a revision number since I can commit changes, but does not show the revision number in game, do I have to do something for it to show properly.

 

I am using RiouxSVN.com.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  240
  • Reputation:   40
  • Joined:  04/27/13
  • Last Seen:  

Try svn update using tortoise

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

What is that suppose to achieve..

I have copied the rAthena SVN files into my own SVN @ Riouxsvn.com

 

Because its no longer using the rAthena SVN, it displays current revision as UNKNOWN.

 

I want it to display the revision of MY OWN SVN as the CURRENT VERSION so that in-game you can see revision number.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

I think what he was saying is, IF you use Tortoise svn to grab your CUSTOM SVN, from your SVN server, it SHOULD update the current version displayed. Atleast it should now display the version noted in your svn server.

 

Where as rAthena is 17k+, yours assuming you havent committed much might be less than 100. so like, version 097 or something like that ionno.

Edited by Lionhardt
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...