Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

PBEM Helper

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Shadow Empire >> PBEM Helper Page: [1] 2   next >   >>
Login
Message << Older Topic   Newer Topic >>
PBEM Helper - 5/22/2021 3:08:35 PM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
I made some software to simplify PBEM Games.

** Note Please ensure you are using pbem4se client at least version 0.0.11 if you can ** Older versions will should still work though.


It automatically shares saves between players remotely with minimal user intervention, while playing the game.

It has a windows client which can be downloaded here. It also works in wine.

And a server that links up the clients is hosted at https://www.tgc37.uk/


From the readme:

PBEM4SE


A helper client for playing Shadow Empire PBEM games.


What it does

Enables seamless PBEM game play for Shadow Empire. Once set up, all players have to do is play the game normally.
Saves are exchanged between players automatically.

How it does it

A multiplayer game is configured on the server using a web page, where details such as number of players and turn order are specified. Once configured, the various players clients co-ordinate through the server to maintain game saves.
Each player's client is authorised to their secure account through an SHA-1 token to ensure only they can take their turns and the game saves are safe.

No, really, how does it do it?

It creates a specifically named blank file in your save folder, eg, yourname_b8a8_round1_overwrite_me.se1. When you save after your turn you overwrite this file, it notices, and will upload this to the server.
Then next player will receive this in their save folder as theirname_b8a8_round2_load_me.se1. which they load and play, they will have a file like theirname_b8a8_round2_overwrite_me.se1, to save their game over, and so-on.

Important!!! Make sure you load/overwrite the correct save, especially if you have more than one game on the go. the second part of the filename uniquely identifies the game.

Installing and setting up the client
Unzip to a folder where you have write access. If you are using windows then pbem4se_client.exe should just run.
The python version, once set up should run on most platforms.

You will need to give the client your unique authorisation token from the client settings page on the website. This can be done with "menu->server->change user", and tell it where to look for save game files using "menu->file->Choose Savefile Dir", within the client, or editing the pbem4se_settings.json file directly for the settings to persist.

Everything should be simple enough, the main points are, be a player in an activated game on the server - have your token from the server imported into your client - have your client pointed at a save folder.
Have the client running when you play especially when saving/loading games.

There are three tabs in the client.

Play Game Tab

Here you can select from games that have been created and choose by clicking in the dropown to select one to play.
Also displays state of current game, are we playing or waiting, what round is it, etc.

The Poll Server Checkbox needs to be checked for other players games to be automatically downloaded when they save their game. It can be unchecked to ease strain on the server if you want to keep the client running but are not playing.

If the The Delete Uploaded Saves checkbox is ticked then local copies of uploaded saves will be deleted. This makes sense as in PBEM games you cannot load a turn you have played. Untick to keep them just in case... (Remember, if in doubt always back up saves)

Note: If you are able to save between turns, make sure you do not overwrite the overwrite_me file! When this file is overwritten it is uploaded to the server as the next players download.


Create Game Tab

This takes you to the create game page on the website. You will be able to create games on this tab directly when I get
round to it.

Info Tab

This tells you the current state of the client and has a scrolling text log of recent events, which can help inform in case of difficulty, state of connection to server or issues with settings, etc.


Toubleshooting

Check the text in the info tab for hints if things are not working. Click menu>server>check server status and see what it says.

Make sure the authorisation token is correct.

Make sure the other settings in pbem4se_client.json are correct.

Make sure you have a game selected and the info in the Play Game Tab seems sane.

Make sure The Poll Server Checkbox is checked.


The Website

This is where games are created and shared between players. It acts as a single point of contact between the clients.

There is a bit of help on the website which will be more up-to-date.

There are basically three functions to the website.

1. Create an account and provide authorisation token for the client.

2. Choose people who you can play games with.

3. Create games.


The server itself functions to receive uploaded games from clients and download them. This automatically happens when a game is activated and chosen in a client.

There is no function to communicate with other players on the server. It is assumed that you have arranged for a game on the forum or are otherwise in contact with who you want to play with.

There may be some kind of lobby or player looking for game / starting game thing added if it seems to work.




There is a possibly more up-to-date readme here https://gitlab.com/deMangler/pbem4se-client/-/blob/release/readme.md

There are helpful notes in various places. This is just a thread I am starting so that I have something to link back to in the docs and on the site.

Please feel free to try it out and break things. I have tested it as much as one person can.

I will fix things and respond to feedback here.

The source code for the client is public at https://gitlab.com/deMangler/pbem4se-client. I will make the server source public when it is more finished it is all just getting started.

Edit - updated client link to v0.0.2. Just a small fix
Edit - updated client link to v0.0.3. fixed download url issue to not use debug path.
Edit - updated client link to v0.0.4. UI QOL tweaks.
Edit - updated client link to v0.0.5. tweaks.
Edit - updated client link to v0.0.6. Windows version no longer displays extra console.
Edit - updated client link to v0.0.7. Refactor and better logging. Fixed outdated game dropdown sometimes.
Edit - updated client link to v0.0.8. Reduced error spam in info pane.
Edit - updated client link to v0.0.10. Some optimisation and code clean.
Edit - updated client link to v0.0.11. Better client/server awareness... or something...

Help testing it appreciated.


< Message edited by deMangler -- 8/1/2021 3:29:27 PM >
Post #: 1
RE: PBEM Helper - 5/22/2021 3:35:40 PM   
Malagant

 

Posts: 372
Joined: 3/13/2004
Status: offline
A great idea, thanks!

(in reply to deMangler)
Post #: 2
RE: PBEM Helper - 5/22/2021 6:55:21 PM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
quote:

ORIGINAL: Malagant

A great idea, thanks!

Thanks :)

I am hoping that if the concept works out and I can get the process ultra-simplified and tested a bit I can post it to the steam discussion. It might bring in some of those people who would only play with friends and to whom e-mail is a stone-age thing.

Give me stone-age any day when it comes to social media....

Anyway - if anyone wants to play a PBEM with me using this software I am totally up for it. I can only play one game at a time though and I warn you I may not be fast.

Then I can iron out the bugs and streamline everything. Also would motivate me to make the website a bit prettier...



(in reply to Malagant)
Post #: 3
RE: PBEM Helper - 5/23/2021 4:45:26 PM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
I am thinking that I could implement an ELO rating type system on the server - it would only work if when completing a game, all players agreed to tag the winner, to prevent abuse, and there would need to be a visible record of game history of games that had scored towards a particular ELO score, to prevent sock-puppet exploits.

Yep, I know standard ELO is two player zero-sum. That is why I am throwing the idea out there. There are versions that could work for Shadow Empire if the winning player counts as a win and others counts as a loss. What to so in shared wins?

Anyway, I guess if it is a popular enough idea that will become apparent here :)


(in reply to deMangler)
Post #: 4
RE: PBEM Helper - 5/23/2021 5:17:04 PM   
zgrssd

 

Posts: 3385
Joined: 6/9/2020
Status: offline
quote:

ORIGINAL: deMangler

I am thinking that I could implement an ELO rating type system on the server - it would only work if when completing a game, all players agreed to tag the winner, to prevent abuse, and there would need to be a visible record of game history of games that had scored towards a particular ELO score, to prevent sock-puppet exploits.

Yep, I know standard ELO is two player zero-sum. That is why I am throwing the idea out there. There are versions that could work for Shadow Empire if the winning player counts as a win and others counts as a loss. What to so in shared wins?

Anyway, I guess if it is a popular enough idea that will become apparent here :)



The Youtuber "Spirit of the Law" did Videos on the ELO System as used in Age of Empires 2:
https://www.youtube.com/watch?v=GTaAWtuLHuo
including a recent fix:
https://www.youtube.com/watch?v=uLrfT8l1SYQ

However I do not think can work with anything but Fixed Teams or No Player Diplomacy - players allying would throw a wrench into it.

(in reply to deMangler)
Post #: 5
RE: PBEM Helper - 5/23/2021 8:40:24 PM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline

quote:

ORIGINAL: zgrssd

quote:

ORIGINAL: deMangler

I am thinking that I could implement an ELO rating type system on the server - it would only work if when completing a game, all players agreed to tag the winner, to prevent abuse, and there would need to be a visible record of game history of games that had scored towards a particular ELO score, to prevent sock-puppet exploits.

Yep, I know standard ELO is two player zero-sum. That is why I am throwing the idea out there. There are versions that could work for Shadow Empire if the winning player counts as a win and others counts as a loss. What to so in shared wins?

Anyway, I guess if it is a popular enough idea that will become apparent here :)



The Youtuber "Spirit of the Law" did Videos on the ELO System as used in Age of Empires 2:
https://www.youtube.com/watch?v=GTaAWtuLHuo
including a recent fix:
https://www.youtube.com/watch?v=uLrfT8l1SYQ

However I do not think can work with anything but Fixed Teams or No Player Diplomacy - players allying would throw a wrench into it.


I think you are right.

(in reply to zgrssd)
Post #: 6
RE: PBEM Helper - 5/23/2021 11:00:32 PM   
BlueTemplar


Posts: 887
Joined: 4/29/2010
Status: offline
Thank you, this should be very useful software !

You might want to contact the Zero-K/Spring devs :
http://zero-k.info/Forum/Thread/32347?postID=230972#230972

They have a *lot* of experience trying to figure out the best way to rank players in games going from 1vs1 to 32vs32 over more than a decade, and all possible combinations of more than 2 teams in-between. (And they'll be probably more available to answer questions than AoE2 devs ?)

But yeah, while IIRC there is *some* support for changeable in-game teams in Zero-K/Spring, I'm not sure that Elo/WHR is up to it ?

But maybe also it's not that much of a problem ? You just consider every player to be in his/her own team at the start of the game, the winner(s) go up, the loser(s) go down, and why shouldn't a player that is particularly good at diplomacy not get a higher multi-team score ?

(in reply to deMangler)
Post #: 7
RE: PBEM Helper - 5/24/2021 12:05:08 AM   
eddieballgame

 

Posts: 676
Joined: 6/29/2011
Status: offline
Where the Elo rating formulas work great for 'head to head' (1v1) competitions; maybe a ranking system similar to what Bridge uses could work out better.
Unlike Bridge, maybe some tweaks to implement losing points based on finishes in a 3 or 4 player game...or not.

& thank you for your work.

(in reply to BlueTemplar)
Post #: 8
RE: PBEM Helper - 5/24/2021 7:53:48 AM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
Good input. Thanks.
I am looking forward to it getting used so that I can iron out those bugs that only appear when other people use the software, and then also I will be able to re-write the help so that people other than me can understand it.

I also have no idea if it works in windows 10 - I develop it in linux and build and test it using windows 7 in virtual machines. No reason I can think of why it wouldn't, but you never know...

Anyway - it's all about having fun. Can't wait to writing one of my AAR's from a multiplayer game.



< Message edited by deMangler -- 5/24/2021 8:45:31 AM >

(in reply to eddieballgame)
Post #: 9
RE: PBEM Helper - 5/25/2021 1:43:00 PM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
Having looked into the whole ELO thing a bit more, I think I could easily put something together that would work.
ELO itself is ok for the job really, it is just a matter of deciding how to weigh the outcomes so that the players are treated fairly.

For example, in a 1 v 1 game - player 1 wins, player 2 loses, so you just apply the 1 to player 1 and 0 to player 2 and do the ELO maths. Same for a draw, in this case both player 1 and 2 get 0.5 and you do the ELO maths with that.

With more than 2 players it is not much more complicated than making a decision and sticking to it - so I could say that losers always get .5/number of losers and winners get .5., or that winners always get 1/number of winners and losers get 0. Or something anyway it is not the main difficulty.

The main difficulty is that the starting conditions in Shadow Empire can be so tilted that you would need many, many games played for a system like ELO to start to give a fair appraisal. And Shadow Empire games can take a long time to play.

This does not mean that I won't implement it - it just means that I will implement it with that in mind.

On another note - I am still doing bits and bobs with the client and server, fixing obvious bugs and refactoring and simplifying, which is quite satisfying - like code gardening really.
It isn't really worth me doing much more actual development on it though because I have no idea even if it works as proof of concept, if the flow is correct, or even if the auth-token generation/account process actually works, or a dozen other unknowns. Without knowing those things I might do a lot of work that would need undoing or doesn't need doing at all.
Still there is no rush so I will keep connected to it and respond to all feedback and/or bugs as I think it could make a lot of difference having Shadow Empire multiplayer be pretty much seamless.



(in reply to deMangler)
Post #: 10
RE: PBEM Helper - 5/25/2021 10:49:04 PM   
zgrssd

 

Posts: 3385
Joined: 6/9/2020
Status: offline
quote:

For example, in a 1 v 1 game - player 1 wins, player 2 loses, so you just apply the 1 to player 1 and 0 to player 2 and do the ELO maths. Same for a draw, in this case both player 1 and 2 get 0.5 and you do the ELO maths with that.

It is more complicated then that. If you compare the ELO scores, you should get a expected win chance for either player.

If Player A is 100 points higher then player B, A is expected to win 64% of the time.
If A wins, the transfer of points is minimal. A performed just about as we expected. B was hit by a poor match, him loosing is to be expected.

If B wins, the transfer of points is large. This is called a "upset win". Either A is rater higher then he should, B is rated lower then he should - or both.

The goal is for all participants to approach the ELO that actually represents their skillevel. There is a full Wikipedia Article on it and all:
https://en.wikipedia.org/wiki/Elo_rating_system

quote:

The main difficulty is that the starting conditions in Shadow Empire can be so tilted that you would need many, many games played for a system like ELO to start to give a fair appraisal. And Shadow Empire games can take a long time to play.

The cure to randomness is a large data set.
The more often you roll a die, the more average results you will get.


(in reply to deMangler)
Post #: 11
RE: PBEM Helper - 5/25/2021 11:42:51 PM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
We are in agreement I think, I just wasn't being clear. My talk of values between 0 - 1 were examples to show that the main thing is to decide equitably how to distribute the total value between players when there are more than 2, and just stick with that. That is then plugged into the ELO formula.
Yes, ELO is about calculating expected win percentages - that can be done when starting conditions are always the same and the players start with no handicap, or one that can be calculated.
The point I was trying to make is that in Shadow Empire, because the starting conditions vary so much between players and games, that any distortion introduced by making bad decisions about how to distribute the win/lose between more than two players and more than 1 win condition, would be insignificant compared to that, and in any case would need many, many games to become accurate, more so than something like chess or go.
Therefore, it is possible to implement, but only when taking that into account.



(in reply to zgrssd)
Post #: 12
RE: PBEM Helper - 5/26/2021 1:11:00 PM   
BlueTemplar


Posts: 887
Joined: 4/29/2010
Status: offline
IIRC that's what that constant is for... was it named "K" ?

(in reply to deMangler)
Post #: 13
RE: PBEM Helper - 5/26/2021 1:49:45 PM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
quote:

ORIGINAL: BlueTemplar

IIRC that's what that constant is for... was it named "K" ?

Yep. Exactly.

However, what with shadow empire being what it is, just picking a reasonably sane starting value and sticking with it is a good place to start, there is no point trying to get it perfect because this approach is always going to be hand-wavey. We just need some consistency and for players to see how each others ratings change over time relative to each other for it to become meaningful. An absolute game-theory kind of meaningfulness isn't the goal, it is about players feeling like they have a basis for comparison that will reflect how their game-play is changing over time, or in relation to other players they may have played.... or something... hand-wavey....

But having said that - I have some ranking code already (thanks to the helpful input from here) that I can plug into the server, but without knowing if what I already have actually works there is little point in complicating the code. I think it is important to have the fundamentals solid and most importantly, secure first. Which I think is in a good place at the moment, this isn't my first client/server project.
I know from experience though that actual real world usage is what exposes the problems.


< Message edited by deMangler -- 5/26/2021 1:59:35 PM >

(in reply to BlueTemplar)
Post #: 14
RE: PBEM Helper - 5/27/2021 8:22:41 AM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
Just a quick note to inform that the server is down for an upgrade/fix. Shouldn't be long.

** Edit It's back up now.**

< Message edited by deMangler -- 5/27/2021 9:17:01 AM >

(in reply to deMangler)
Post #: 15
RE: PBEM Helper - 6/13/2021 9:33:48 PM   
mroyer

 

Posts: 914
Joined: 3/6/2016
Status: offline
Geez, I missed this. Thanks deMangler for putting the effort into this.

I see you're using Tcl/Tk!! I use to use Tcl regularly back 25 years ago and loved it then. I'm surprised anyone is still using it; I assumed it was all but a dead language. We use to use it to control cable modem subscriber and infrastructure equipment for physical layer RF testing.

So, I do have one gripe -> both of my regular passwords (and variants thereof) got rejected. One is my simple password I use for gaming where security isn't a big deal - it got rejected for being too simple. The other is a very complex password that normally rates out strong or very-strong on other servers, but failed here due to 'too similar to user name'. It does happen to start with the same too letters, but after that there is little similarity.

As this is just a game, I'd recommend lowering the requirements on the password, a little.

Again, thanks for this!

-Mark R.

Edit: I did finally get in with an offshoot of my 'complex' password. (I try to keep the number of passwords I have to remember to a minimum - because of I still have a shot at entering correct credentials for accounts that are decades old ).

< Message edited by mroyer -- 6/13/2021 9:46:02 PM >

(in reply to deMangler)
Post #: 16
RE: PBEM Helper - 6/13/2021 9:57:35 PM   
mroyer

 

Posts: 914
Joined: 3/6/2016
Status: offline
Another recommendation:

quote:

In the Shadow Empire Generations screen, Passwords and PBEM option must be ticked, and disallow saving during turn should be ticked and the number of players must match


Let disallow saving be a user choice.
For example, it's not uncommon that I need to save during a turn as I will start a turn on one computer and finish on another (my wife or son might need our main office computer while I'm in the middle of play).

-Mark R

(in reply to mroyer)
Post #: 17
RE: PBEM Helper - 6/17/2021 8:39:26 AM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
Hi,
Glad the idea is good even if the implementation needs work! :)

You are the first person to use it apart from me so I apologise for bugs and usage problems. It has literally never been tested and I just knocked it up because it seemd there would be interest.


Having a strong password is preferable I think because of the possibility that games could be compromised. I am just using norms for security atm - no two factor auth.
I will put in other secure methods to make it easier, for example log in with google/discord/github etc.

Having disallow saving during turn is already optional, I just have not updated all the documentation. In some places there are warnings to let people know not to save over the overwrite-me file unless it is end of turn. I will update those docs and so-on.

I used TK because it is so simple and included in the standard library. I wanted it to be 'it just works' across platforms and I only have my linux development box and some VM's to test it.
Also I didn't know if anyone would use it so it is really just a proof of concept as it stands. Now that someone is using it I will start making it friendlier and make changes from what you have said.

Enjoy your game and please keep coming with the ideas and feedback.




_____________________________


(in reply to mroyer)
Post #: 18
RE: PBEM Helper - 6/20/2021 10:37:10 AM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
Just a quick update.
There have been a half dozen or so people using this over the last few days and I have had some feedback. Some people have had no problem and others have run into issues with the setup flow.

The first one to address seems to be the process of authorising the client with the server could be more seamless. In the works is a feature to make that easier.

Also, now that it is being used, I plan to improve the website massively - it is awkward to use until you get used to it - however, at the moment it works and I want to make sure nobody's experience is interrupted so I will implement changes very carefully with lots of testing beforehand.

In general the client seems to be working as intended so far so QOL improvements there mostly coming soon.

Thanks for the feedback

:)

*edit* Oh yeah - Someone had a problem with their firewall, so if the server check in the client info tab says OK but player and/or game are not ok - your firewall is not the problem - probably an authorisation thing.
If the server check in the client info tab fails, and the website is loading then it could be the firewall.
click server > check server status to refresh the check.



< Message edited by deMangler -- 6/20/2021 12:47:23 PM >


_____________________________


(in reply to deMangler)
Post #: 19
RE: PBEM Helper - 6/22/2021 2:27:06 AM   
macroman247

 

Posts: 62
Joined: 3/22/2012
Status: offline
I feel as if I am 95% of the way there and just can't get to 100%. I might have a unique situation that is causing the problem. I own SE via Steam and want to play with my wife. Her on a laptop, me on another laptop. We only have the one Steam account and we can run SE just fine concurrently on the laptops...it just kicks the other person off Steam when you launch a second instance of SE, no biggie though...game doesn't close out.

I created 2 accounts on the site and each laptop is logged in and synced. Token is fine, no errors in log. I create the game and validate/activate it. Refresh list, both laptops can see the name of the game. I then start a new game in SE with our preferred setup. 2 human players, no saves during turn, password/pbem option ticked etc etc. Game starts, I set my password and take the turn. When I end the turn, the screen goes back to where you normally see the Player 1/2 it is your turn, login, save/quit yadda yadda...except it is just blank. I have the GUI of SE with the background and the X in the upper right, but that's it. I'm not sure where I have gone wrong here.

Update: I've mostly gotten past the issue with the blank screen. I can move the mouse over where the buttons should be and it causes them to appear. It's worth noting I do not have this issue in regular games and it happened on both laptops. Unfortunately, I'm still not quite able to get it working. I can now Save/Quit after Turn 1 and overwrite the overwrite me save file. It just doesn't seem to pass that file to the other laptop though (by means of downloading from the server). I have the game selected in the dropdown (still no error in log either) but there is no file for me to load.

< Message edited by macroman247 -- 6/22/2021 2:53:15 AM >

(in reply to deMangler)
Post #: 20
RE: PBEM Helper - 6/22/2021 6:57:01 AM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline

quote:

ORIGINAL: macroman247

I feel as if I am 95% of the way there and just can't get to 100%. I might have a unique situation that is causing the problem. I own SE via Steam and want to play with my wife. Her on a laptop, me on another laptop. We only have the one Steam account and we can run SE just fine concurrently on the laptops...it just kicks the other person off Steam when you launch a second instance of SE, no biggie though...game doesn't close out.

I created 2 accounts on the site and each laptop is logged in and synced. Token is fine, no errors in log. I create the game and validate/activate it. Refresh list, both laptops can see the name of the game. I then start a new game in SE with our preferred setup. 2 human players, no saves during turn, password/pbem option ticked etc etc. Game starts, I set my password and take the turn. When I end the turn, the screen goes back to where you normally see the Player 1/2 it is your turn, login, save/quit yadda yadda...except it is just blank. I have the GUI of SE with the background and the X in the upper right, but that's it. I'm not sure where I have gone wrong here.

Update: I've mostly gotten past the issue with the blank screen. I can move the mouse over where the buttons should be and it causes them to appear. It's worth noting I do not have this issue in regular games and it happened on both laptops. Unfortunately, I'm still not quite able to get it working. I can now Save/Quit after Turn 1 and overwrite the overwrite me save file. It just doesn't seem to pass that file to the other laptop though (by means of downloading from the server). I have the game selected in the dropdown (still no error in log either) but there is no file for me to load.

Hi,
If you are using the normal save directory that steam syncs to save the file, it is possible that is causing the weird file issue. Steam can modify files in this folder and the client may be confused by this. It does look like your round 1 turn 1 file uploaded to the server ok, and it is 1.8mb in size which is what I would expect, so maybe steam is restoring the blank file at some point? Maybe try to use another folder for the save files and see if that fixes it.

In the meantime I will try to reproduce the problem and see what I can do.

There have been minor gui issues reported to me from other people, although yours seems to be different and worse.
It seems that the graphical interface library I am using does not display consistently for people in windows - it works fine on my linux machines. I cannot really debug this or reproduce the issue because I don't have windows 10, and I only have a virtual copy of windows 7 to build it.
My solution to this is to re-write it to use a different library. This may take a little while so please be patient.



Thanks for posting I will keep working on it.


_____________________________


(in reply to macroman247)
Post #: 21
RE: PBEM Helper - 6/22/2021 8:37:42 AM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
The latest client version is 0.0.10, which is linked in the first post.
Now that there are more people using it isn't good that the only way to see if there are new client versions is to check this thread.

Therefore the next version (0.0.11) will have a way to detect new client versions and an option to download them. This should be ready this week sometime.

:)

< Message edited by deMangler -- 7/20/2021 12:16:33 AM >


_____________________________


(in reply to deMangler)
Post #: 22
RE: PBEM Helper - 6/22/2021 3:37:38 PM   
BlueTemplar


Posts: 887
Joined: 4/29/2010
Status: offline
quote:

ORIGINAL: macroman247

I feel as if I am 95% of the way there and just can't get to 100%. I might have a unique situation that is causing the problem. I own SE via Steam and want to play with my wife. Her on a laptop, me on another laptop. We only have the one Steam account and we can run SE just fine concurrently on the laptops...it just kicks the other person off Steam when you launch a second instance of SE, no biggie though...game doesn't close out.

[...]

Does Steam ask and/or auto-inputs a CD key like the Matrix version does ?

Even games with only cd key antipiracy protection often have cd-key based "DRM" which prevents two people on different computers from playing together if they used the same cd key during the installation.

(For SE, there's always hotseat I guess ?)

(in reply to macroman247)
Post #: 23
RE: PBEM Helper - 6/22/2021 3:38:11 PM   
macroman247

 

Posts: 62
Joined: 3/22/2012
Status: offline

quote:

ORIGINAL: deMangler


quote:

ORIGINAL: macroman247

I feel as if I am 95% of the way there and just can't get to 100%. I might have a unique situation that is causing the problem. I own SE via Steam and want to play with my wife. Her on a laptop, me on another laptop. We only have the one Steam account and we can run SE just fine concurrently on the laptops...it just kicks the other person off Steam when you launch a second instance of SE, no biggie though...game doesn't close out.

I created 2 accounts on the site and each laptop is logged in and synced. Token is fine, no errors in log. I create the game and validate/activate it. Refresh list, both laptops can see the name of the game. I then start a new game in SE with our preferred setup. 2 human players, no saves during turn, password/pbem option ticked etc etc. Game starts, I set my password and take the turn. When I end the turn, the screen goes back to where you normally see the Player 1/2 it is your turn, login, save/quit yadda yadda...except it is just blank. I have the GUI of SE with the background and the X in the upper right, but that's it. I'm not sure where I have gone wrong here.

Update: I've mostly gotten past the issue with the blank screen. I can move the mouse over where the buttons should be and it causes them to appear. It's worth noting I do not have this issue in regular games and it happened on both laptops. Unfortunately, I'm still not quite able to get it working. I can now Save/Quit after Turn 1 and overwrite the overwrite me save file. It just doesn't seem to pass that file to the other laptop though (by means of downloading from the server). I have the game selected in the dropdown (still no error in log either) but there is no file for me to load.

Hi,
If you are using the normal save directory that steam syncs to save the file, it is possible that is causing the weird file issue. Steam can modify files in this folder and the client may be confused by this. It does look like your round 1 turn 1 file uploaded to the server ok, and it is 1.8mb in size which is what I would expect, so maybe steam is restoring the blank file at some point? Maybe try to use another folder for the save files and see if that fixes it.




We're good here, 100% now. I changed the save folder to another location and everything is loading and saving to that spot just fine. The GUI issue is very minor since I can just hover to the location to get the button to appear. Test games went fine and I have a for real one loaded and ready to be played soon.

Thanks!

(in reply to deMangler)
Post #: 24
RE: PBEM Helper - 6/24/2021 2:52:59 PM   
macroman247

 

Posts: 62
Joined: 3/22/2012
Status: offline
Any issues with trying to juggle the app on multiple computers? I've been bouncing between my laptop and desktop while my wife plays strictly from her laptop. I completed a turn on my laptop and then launched the app on my desktop before my wife took her turn. When she went to take her turn though, there was no load me file for the turn, just the overwrite me file. I manually sent it over and we are proceeding but I'm not sure if we will continue to have issues with me using multiple computers with the app.

(in reply to macroman247)
Post #: 25
RE: PBEM Helper - 6/24/2021 7:25:37 PM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
Hmmmm....
There is no limit to the same player and game running a client on different machines or even on the same machine in different directories.
My experience is that if you run up the client and select a game and there is no load_me file for that turn in the saves directory, and it is that players turn, and poll server is checked then it will download the latest one.
If it does not do this then that is as bug. I will look into it.


_____________________________


(in reply to macroman247)
Post #: 26
RE: PBEM Helper - 6/25/2021 12:27:12 AM   
macroman247

 

Posts: 62
Joined: 3/22/2012
Status: offline
I suppose we have broken it as a result now. It has happened each time moving between computers. Since it didn't update, I manually emailed the file (naming it what it should be and putting it where it should be) and continued playing. I would assume the app doesn't know what to work with now though. It thinks we are still in round 16 but are actually in 18.

(in reply to deMangler)
Post #: 27
RE: PBEM Helper - 6/25/2021 6:53:05 AM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
Well, if you don't mind the game round being out of sync with the client round - Whoever's turn it is could save their game over the overwrite_me for the current round. The client won't know.
I will add the option to set starting round number in game creation, might be useful for starting new sessions with a game already in progress - but I bet it causes more problems than it solves...
Thanks for the information it really helps me think about ways to improve it.


_____________________________


(in reply to macroman247)
Post #: 28
RE: PBEM Helper - 7/19/2021 5:09:14 PM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
First, a service update.

My server provider is scheduling a systems upgrade on Wednesday 21st July 2021 (2021-07-21) at 07:00 AM UTC. They expect approximately 10 min of downtime.

Second, a client dev update.

Work is ongoing to improve QOL and incorporate a lot of suggestions from people who use the software and have given feedback. Functionally it seems to be working well as-is but it is not as friendly as it could be.

Progress is a bit slow due to RL stuff but it has my free time.

More soon :)


_____________________________


(in reply to deMangler)
Post #: 29
RE: PBEM Helper - 8/1/2021 1:00:28 PM   
deMangler


Posts: 227
Joined: 7/13/2013
Status: offline
There is a new client available here.

The only change with this version is that, once the client is authenticated, you can now check if you have the latest client by using the menu option server > check server status.
The info will appear in the info panel.

This avoids having to check in this thread.

There are some back-end preparatory code changes and refactors too, but they should not be noticeable yet.

The old clients should work ok still.

There are a lot of QOL and other changes coming but I am focusing mainly on keeping it stable for now and not interrupting the experience of people who are already using this for their multiplayer games.

:)




_____________________________


(in reply to deMangler)
Post #: 30
Page:   [1] 2   next >   >>
All Forums >> [New Releases from Matrix Games] >> Shadow Empire >> PBEM Helper Page: [1] 2   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.719