Author Topic: Looking for standalone testers  (Read 5773 times)

0 Members and 1 Guest are viewing this topic.

Offline Spicious

  • Master Chief John-158
  • 210
Looking for standalone testers
I've recently ported the standalone server thingo to use wxWidgets and it needs some testing so if you're planning on using the standalone to host some games on any of the following OSs (and don't mind too much if it all suddenly dies for no apparent reason) please give it a go: Windows Linux x64.

Don't forget to post any problems/comments you may have!
« Last Edit: July 07, 2009, 09:09:34 pm by Spicious »

 

Offline captain-custard

  • previously known as andicirk
  • 210
  • one sandwich short of a picnic
Re: Looking for standalone testers
this is a 3.6.11 build i see , will this have compatability probllems with other builds etc , will it work with RC3 builds or will everyone need to be running 3.6.11 builds
"Duct tape is like the force. It has a light side, a dark side, and it holds the universe together."

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Looking for standalone testers
It should (and I stress the SHOULD part) work with RC3.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline captain-custard

  • previously known as andicirk
  • 210
  • one sandwich short of a picnic
Re: Looking for standalone testers
guess there is only one way to find out
"Duct tape is like the force. It has a light side, a dark side, and it holds the universe together."

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Looking for standalone testers
I don't recall adding anything that breaks compatibility with RC3. That said there is a lot of difference in the code between the two, 4-5 months worth of code in fact.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • Moderator
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Looking for standalone testers
I stuck one up for testing. 

I can tell you that running that exe immediately froze my system at the splash screen without the standalone flag.   Now I did forget to disable a mod so that may be part of it.   
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Looking for standalone testers
I tried a quick and nasty backport to RC3 but that resulted in exiting only working with a debugger attached.

Edit: A rather less nasty backport produced useful results: Windows Linux x64.
« Last Edit: July 06, 2009, 03:03:16 am by Spicious »

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Looking for standalone testers
Using the first one, I was able to start up the standalone with retail or MediaVPs, or just run the game, with no crashes.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • Moderator
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Looking for standalone testers
Well I left it up but it had crashed.  For some reason it isn't writing to the fs2_open.log file so I have no idea why. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Looking for standalone testers
The builds in the first post should write fs2_open.log properly now.

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Looking for standalone testers
Based on the lack of other reports of problems I assume this works perfectly for everyone since the last update.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • Moderator
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Looking for standalone testers
Well we've been busy testing the 3.6.10 RC3 fixes so this kind of got put on the back burner for now.
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 
Re: Looking for standalone testers
Is there code available for this? (or a diff)
I'd love to see how this one is done!
STRONGTEA. Why can't the x86 be sane?

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Looking for standalone testers
Enjoy!

[attachment deleted by MSC

 
Re: Looking for standalone testers
You sure that's the right diff?

This doesn't compile:
Code: [Select]
+int std_connect_set_connect_count() {
+ int idx,count;
+
+ // determine how many players are actually connected
+ count = 0;
+ for(idx=0;idx<MAX_PLAYERS;idx++){
+ if(MULTI_CONNECTED(Net_players[idx]) && (Net_player != &Net_players[idx])){
+ count++;
+ }
+ }
+
+
+ // set the text itself
+ frame->lbl_connections->SetLabel(wxString::format(wxT("%s%d"), wxString(str, wxConvUTF8).c_str(), count));
+
+ // return the num of players found
+ return count;
+}

It's wxString::Format, and str isn't defined anywhere.
STRONGTEA. Why can't the x86 be sane?

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Looking for standalone testers
And that's what happens when you get distracted half way through changing something and forget about it.

[attachment deleted by MSC

 
Re: Looking for standalone testers
We're also having trouble with linking
Which edition of wxWidgets are you using, what do we need to define in code,Freespace to use (other than WX_STANDALONE), and did you use the prebuilts or compile your own?
STRONGTEA. Why can't the x86 be sane?

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Looking for standalone testers
It should just require whatever the specific platform needs. On linux wx-config --cxxflags should list them and wx-config --libs for linker flags. I'm using 2.8; prebuilt on linux, compiled on windows; unicode on linux, ANSI on windows.

 
Re: Looking for standalone testers
Can you share whatever you're using to build wx under windows - I'm getting linker errors related to the strings classes, and I'm not entirely sure what I'm doing wrong!
STRONGTEA. Why can't the x86 be sane?

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: Looking for standalone testers
I added ";WINVER=0x0400;__WXMSW__;wxUSE_GUI=1;__WXDEBUG__;_CRT_NONSTDC_NO_DEPRECATE" to the defines, ;&quot;$(WXWIN)\include&quot;;&quot;$(WXWIN)\include\msvc&quot; to the include path, ;&quot;$(WXWIN)\lib\vc_lib&quot; to the linker path and wxmsw28d_core.lib wxbase28d.lib rpcrt4.lib to the input files. I also had to change the runtime library in code generation from multithreaded (debug) to multithreaded (debug) dll.