Jump to content

Gamestat.Autoparty


Niil945

Recommended Posts

I apologize if this isn't the appropriate location, I thought there was a questions forum but I must be blind atm because I'm not seeing it.

 

A buddy of mine put up a server and saw when he used the ggs console command a line that indicated the following:

 

GameStat.AutoParty = False

 

At a whim he tried changing that value to True by adding a line to the serverconfig xml file and had no luck. He was looking for functionality that automatically adds allied people to a party as they come and go. Digging a bit I wasn't able to find any information on server configuration or a mod that does this. I'm curious if this is an old thing that's defunct, a new things that's in development and just not usable yet, or something we can functionally use. If it is functional, does it do what it sounds like it does? If so, how would I go about enabling this?

 

Thanks for any assistance.

Link to comment
Share on other sites

At a whim he tried changing that value to True by adding a line to the serverconfig xml file and had no luck.

 

Did he try using setgamestat in the console? Probably he should do that while you're out of the game and then see what happens when you log in. It would be a neat feature if it works.

 

We merged the question forum into the General Discussion forums so that questions would be more visible and possibly discussed.

 

GrumpyCatGood.jpg

Link to comment
Share on other sites

Nah. He tried the line in the serverconfig xml and then went into the office and wasn't able to do much else with it so I told him I'd check here. I VPN'd in and ran setgamestat AutoParty true at the console and it indicated it changed the value to true. Another one of our friends was already on playing when I did this and everything seemed fine. I logged in. It did not automatically party us up. When I tried to go to the players tab my client started spamming errors and would not open the player tab. I logged out wanting to test if it was a fluke and tried to log back in. At first I noticed that the server showed 2 players still and I got an error message saying that my Steam account was already logged into the server. Then I noticed the server console was also spamming errors indicating null reference exceptions and my player information. We automate backups every 30 mins so after warning my buddy that I was bringing the server down I killed it and quickly restored the saved data just in case. I asked the guy to hold off on logging in until I changed the settings, brought the server back up, applied the command again, got confirmation in the console that it worked, and then logged in. Went to the players tab I had no problems. Told him to login and it automatically added him to my group. He experienced no noticeable errors. Nothing erroring on the server console either. I logged back out again and rejoined. It did not add me to the group. At first I thought it was a player distance thing as he had left the base and started mining but I ran out to him, logged out, logged back in and had the same result. When I looked at the player tab it showed the party icon like we were already grouped but the icon was grayed out and we were unable to send each other party invite requests. We tried a variety of logins/logouts and the only thing that seemed consistent was when I was logged in first it would group us. I was the party lead in the last group we made though I'm not sure if that's what caused it or simply being the first person to login after the server was brought up and AutoParty was set to true. Either way, it seems like it's a setting that may be a work in progress and it does function. I just have to ensure that I login first I guess.

 

Edit: I'm having ISP issues atm including intermittent outages so that might have been the reason for the funky issue when I disconnected from the server initially. Just adding for clarity that they probably weren't related issues.

Link to comment
Share on other sites

Just wanted to update after some further testing.

 

Using console command: setgamestat AutoParty true

 

... results in the first person to join a server to be the pseudo party leader. As long as that person remains online anyone allied who joins will automatically join their party. If that person logs off while any other player is online the group leader does not switch resulting in a semi-bugged state where people are unable to manually party up. The only thing that seems to reset it is if every player logs off. Then the next person who logs in becomes the pseudo party leader. We tested variations of logging in and out using 2 people. We even tried de-allying people and then re-allying but it didn't seem to fix the issue. Not sure how this works with people who normally aren't allies and we didn't test with more than 2 so there's potentially other unmentioned quirks.

 

Edit: My buddy logged in solo and had the same console spamming error after going to the player tab that I did. It seems to happen anytime someone clicks on that tab if they're the only person on. Bleh.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...