View topic - include springsettings.cfg in infolog



All times are UTC + 1 hour


Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: 04 Aug 2011, 21:15 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
I have a suggestion that I think will vet a lot of support from other gamedevs, and that is that I would like springsettings.cfg to be printed out at the end of infolog, properly commented as to the beginning and the end of it of course. Would be wonderful for troubleshooting.


Top
 Offline Profile  
 
PostPosted: 04 Aug 2011, 22:56 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
Please, no.


Top
 Offline Profile  
 
PostPosted: 04 Aug 2011, 23:25 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
will never happen.
we will also never use google accounts/auth for the forum and the lobby (and don't try to tell me you did not want to ask that next).

ask for both files (cfg file location is in infolog) or make some auto report tool that packs them together and sends them to you (btw, we have that plus much much more already, ask zydox).


Top
 Offline Profile  
 
PostPosted: 05 Aug 2011, 00:13 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
FLOZi wrote:
Please, no.


Top
 Offline Profile  
 
PostPosted: 05 Aug 2011, 04:01 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
hoijui wrote:
will never happen.
we will also never use google accounts/auth for the forum and the lobby (and don't try to tell me you did not want to ask that next).


Actually that's a good idea that I've never thought of, but in The same sentence, fuck you, eat a Dick. I'm tired of you being a Fucking douchebag out of nowhere for no good reason.

Lolsmoth, who has trouble even getting infologs from his reporters is going to get springsettings.cfg too. Lolz.


Top
 Offline Profile  
 
PostPosted: 05 Aug 2011, 04:27 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
everybody fuck the fucking fuck up ok?


Top
 Offline Profile  
 
PostPosted: 05 Aug 2011, 10:07 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
hmmmm could one do this via a widget/gadget printing out the necessary data at startup? Could one not print it out into a different file along with any other details?


Top
 Offline Profile  
 
PostPosted: 05 Aug 2011, 13:05 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
Forboding Angel wrote:
Lolsmoth, who has trouble even getting infologs from his reporters is going to get springsettings.cfg too. Lolz.

if the can find infolog they can find springsettings.


Top
 Offline Profile  
 
PostPosted: 05 Aug 2011, 15:36 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Well apparently only knorke qt and I see the value in this. That's fine.

Switching directions... How easy is the pastebin Ali to work with? Ideally for me, I could have an option on the launcher that basically sends the most recent infolog to pastebin, that would be nice.

@AF, now that you mention it, it may be doable. I'm not sure if lua has access to root install dir tho (because of the widget/gadget that lurker posted ages ago). Maybe that isn't relevant anymore.


Top
 Offline Profile  
 
PostPosted: 05 Aug 2011, 16:03 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
Why would you need this forb you game "has no bugs.."

All fun loving poking aside, yes you could generate better debugging stuff. I'd be willing to bet such things can be gotten pretty easily.

Also feature place poops to the base spring dir farb. Use you thinking cap and you've got what you need.


Top
 Offline Profile  
 
PostPosted: 05 Aug 2011, 18:39 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
didnt support the idea, was just trying to prevent the thread going in the same direction as "lobby protocol aka porn porn"
---
Quote:
ask for both files (cfg file location is in infolog) or make some auto report tool that packs them together and sends them to you (btw, we have that plus much much more already, ask zydox).
I think that is best. What if somebody needs ctrlpanel.txt, script.txt or other files?
You can not just pack everything into infolog.
Also if infolog is spammed with settings stuff, what file would you use to catch lua errors?

combining files is also possible with with .bat files that you so love ;) , I think it is something like
copy infolog.txt+springsettings.cfg combined_file.txt

reading springsettings.cfg by Lua works too:
Code:
function widget:Initialize()
fh = io.open("springsettings.cfg","r")
   while true do
      line = fh.read(fh)
      if not line then break end
      Spring.Echo (line)
   end
end

That is with springsettings.cfg next to spring.exe
Did not test if you have it in "my documents\" or elsewhere.
Ideally you would first read infolog.txt to get the location of springsettings.cfg, it says
"using default configuration source "C:\Spiele\spring-0.82.7.1\/springsettings.cfg""


Top
 Offline Profile  
 
PostPosted: 05 Aug 2011, 21:43 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
smoth wrote:
Why would you need this forb you game "has no bugs.."


I have users. Nuff said. Don't need bugs in the game if your users aren't always so bright. :-) and yeah, good points


Top
 Offline Profile  
 
PostPosted: 05 Aug 2011, 22:34 
Lobby Developer
User avatar

Joined: 14 Aug 2007, 15:15
We can easily work out what you want in sasi, Forb. The functionality to put all relevant files in a zip and upload that somewhere is already present in SL.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.