Help needed! - NetCommands

Our own Blood Bowl stats/fixtures database system.

Moderator: Area Leader

User avatar
Gandalf
Moderator
Moderator
Posts: 2064
Joined: Sat Nov 24, 2012 1:44 am

Help needed! - NetCommands

Postby Gandalf » Thu Sep 24, 2015 8:27 pm

I now have coded enough that you can upload games, and view the "netcommands" table. This is the table that contains all the actions required to replay a game, but I have no idea what all the numbers mean. This is where you come in people!

1) Play a single player game, that has very little happening in it. You can even quit after a turn or two. Or you can play a hot-seat game. Make a note of what happened in the game.
2) Upload the game on the nascent website http://31.216.48.18/~gandalfgames/bbdb/
3) Go to the match listings on the website, click the number next to your match and the NetCommands info will display.
4) Try and match up what you see with what happened in your match & post your findings in this thread.
5) Profit!

A full match has over 4,000 lines of data in NetCommands, that's an awful lot of data, hence the recommendation to upload games where very little happens.

Don't worry about uploading all not-real games. I will delete everything before go-live, it's very much a development/testing platform for now.

User avatar
lawastooshort
Very Prolific Poster
Very Prolific Poster
Posts: 915
Joined: Thu Apr 17, 2014 3:34 pm
Location: nonsense

Re: Help needed! - NetCommands

Postby lawastooshort » Fri Sep 25, 2015 7:09 pm

I'll try (to remember) and have a play for a spare hour tomorrow evening.

User avatar
Gandalf
Moderator
Moderator
Posts: 2064
Joined: Sat Nov 24, 2012 1:44 am

Re: Help needed! - NetCommands

Postby Gandalf » Fri Sep 25, 2015 9:46 pm

That's great. This is the one bit of the project I can outsource to others to the help would be much appreciated. In fact I don't think I will be progressing the player stats part of the code further without people's assistance on this. I'm hoping people can help out between September & October - and I can pick this up again in November, when the new baby will all be done & sorted. But I will do my usual weekly update in the progress thread this weekend.

User avatar
lawastooshort
Very Prolific Poster
Very Prolific Poster
Posts: 915
Joined: Thu Apr 17, 2014 3:34 pm
Location: nonsense

Re: Help needed! - NetCommands

Postby lawastooshort » Sat Sep 26, 2015 7:27 am

The file Replay_2015-09-26_08-08-01.db has been uploaded

Hmm. This is tricky. I played a single short turn of a hotseat game and there are 100 commands.

It might be useful doing a game where you quite straight after kickoff or even earlier, to see what is part of the pre-game routine and what is actually game.

[...]

The file Replay_2015-09-26_08-19-36.db has been uploaded.
Well this gave 19 lines.

Gouged Eye faced Reikland Reavers. GE chose tails. It was heads. RR chose to Receive. I abandoned. End game sequence.

Both times the final "iType" was 59. Both times the first "iTypes" were 3-4-6-7-88


Hmm, will have to come back to this.

User avatar
DaigaroOgami
Very Prolific Poster
Very Prolific Poster
Posts: 830
Joined: Mon Jun 23, 2014 8:55 am

Re: Help needed! - NetCommands

Postby DaigaroOgami » Sat Sep 26, 2015 8:12 am

I thought that said Net Commandments at first...

Happy to help, I should be able to have a go tomorrow sometime and then feedback to thee whilst we watch Ravs evil plan come to fruition.

User avatar
Gandalf
Moderator
Moderator
Posts: 2064
Joined: Sat Nov 24, 2012 1:44 am

Re: Help needed! - NetCommands

Postby Gandalf » Sat Sep 26, 2015 1:16 pm

Great, thanks. la, Were they single-player games or hotseat games? It's interesting, some of the data looks a bit different (which is why the "team name" column is blank).

I've updated the page with a new column "interpretation" so as we make more observations I can fill them in there.

I'm thinking iType 8 would seem to be initial player positions. They are only there for one player so I'm thinking the other player is the AI and that they are determined in some other fashion? In game 1 that is uploaded, there are iType 8 records for both players early on, then some more around rows 1400, so probably after the first TD.

Ultimately the actions I'm interested in are the dice, and other events that will make it onto the log. So... kick-off rolls are interesting, maybe even who won the toss, but where people put their players before kick-off is out of scope.

User avatar
lawastooshort
Very Prolific Poster
Very Prolific Poster
Posts: 915
Joined: Thu Apr 17, 2014 3:34 pm
Location: nonsense

Re: Help needed! - NetCommands

Postby lawastooshort » Sat Sep 26, 2015 4:46 pm

Both hotseat. I'll try to do some systematic testing such as repeat identicalish blocks and passing or something like that.

User avatar
Gandalf
Moderator
Moderator
Posts: 2064
Joined: Sat Nov 24, 2012 1:44 am

Re: Help needed! - NetCommands

Postby Gandalf » Sun Sep 27, 2015 2:01 pm

If we can find out what a touchdown is, that would be great...

I looked at the saved game la & I had last week expecting to see an iType there once with my team and once with la's team as the game finished 1-1. However the only such iType was 4, which as we have already determined is some start-of-game thing (maybe start-of-half??). So a touchdown is stored in a more subtle manner.

I googled the name of the table and was rather down after reading this thread - http://bbtactics.com/forum/threads/pars ... e.2722/.... and also this one http://bbtactics.com/forum/threads/bbma ... post-48428 ..... so I suspect I will have to reach the same conclusion as other that the replay file is not sufficient. :(

User avatar
Gandalf
Moderator
Moderator
Posts: 2064
Joined: Sat Nov 24, 2012 1:44 am

Re: Help needed! - NetCommands

Postby Gandalf » Sun Sep 27, 2015 2:31 pm

la... what are the other files you upload to that other website... you did say but I can't find the post.

EDIT: never mind, figured it out. All files in Documents/BloodBowlLegendary
BB_LE000.txt = log file of the game (basically what you see in the bottom left)
/saves/replays/replay2015-01-01_01-01-01.db pre-game data, and NetCommands
MatchReport.sqlite - post-game data (much smaller!)

User avatar
lawastooshort
Very Prolific Poster
Very Prolific Poster
Posts: 915
Joined: Thu Apr 17, 2014 3:34 pm
Location: nonsense

Re: Help needed! - NetCommands

Postby lawastooshort » Mon Sep 28, 2015 7:53 pm

Yes - although there are occasionally up to 3 log files, 000, 001 and 002. Or is it just 2?

User avatar
Gandalf
Moderator
Moderator
Posts: 2064
Joined: Sat Nov 24, 2012 1:44 am

Re: Help needed! - NetCommands

Postby Gandalf » Mon Sep 28, 2015 10:41 pm

Ah, thanks for the intel.

I'm locking this thread now. I've come to the conclusion the NetCommands isn't very useful, at least for now. Maybe I will come back to it in the future, maybe not.

Thanks to people for being willing to help.


Who is online

Users browsing this forum: No registered users and 1 guest