提取数据以创建“匹配统计信息”使用(基于闪存)的游戏重放文件 [英] Extracting data to create "Match Statistics" using (flash-based) game-replay files

查看:206
本文介绍了提取数据以创建“匹配统计信息”使用(基于闪存)的游戏重放文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我玩一个非常基本的多人Flash游戏小游戏@ http://www.haxball.com (check )

Haxball的比赛重放文件可以被用户在游戏中记录,并以.hbr文件的形式保存到磁盘。这些重放文件可以通过直接在haxball.com界面中加载.hbr重放文件,或者上传.hbr文件到第三方服务(如haxballtube.com)来查看。



我的目标是启动第三方网络服务,允许用户上传haxball比赛重播文件(.hbr),然后分析 - 有意义的匹配统计(目标,网上截图,占有率等),并从上传的重播文件中提取出来,汇总并报告给用户。 一个具有类似功能的伟大例子可以在这里看到: http://www.playwithanton.ru/haxball/stat / (为了测试功能,您需要加载或链接到haxball游戏重播文件(.hbr)来分析和生成统计信息。重播文件 - 作为讨论的一部分)



有没有人知道上面的例子可能是如何创建的?

我没有任何真正的编程经验 - 我希望有一些有用的人可以指出我在正确的方向关于如何能够从这些.hbr文件中提取数据和有意义的统计信息,以及如何生成类似于上述示例的东西。我的主要目标是看到这个项目的完成,并希望学习一些编程方式。

感谢阅读 - 任何输入/方向都非常赞赏!

p>

解决方案

这是个好主意。你将有很多问题来反编译代码,并从hbr获得游戏结果,因为它可能不包含Goal Scored事件。它可能包含简单的事件:上,下,左右。



我一直在玩一会儿 $ b $所以我想最好是等待比卢球执行联赛,球队和排行榜,而不是浪费时间与haxball。

I play a very basic multiplayer flash-applet game @ http://www.haxball.com (check it out!)

Haxball’s match Replay files can be recorded by users in-game, and saved to disk as ".hbr" files. These Replay files can later be viewed by loading the .hbr replay file directly in the haxball.com interface, or by uploading the .hbr file publicly to a third-party service like "haxballtube.com"

My goal is to launch a third-party web-service which will allow users to upload haxball match replay files (.hbr), which will then be analyzed – with meaningful "match statistics" (goals, shots on net, possession %, etc.) extracted from the uploaded replay file, summarized, and reported back to the user.

A GREAT example with similar functionality can be seen here: http://www.playwithanton.ru/haxball/stat/ (to test functionality - you will need to either load or link to a haxball game replay file (.hbr) to analyze and to generate statistics from. I will provide links to an example replay file below - as part of the discussion)

Does anybody have any idea how the above example may have been created?

I do not have any real programming experience – I am hoping some helpful person can point me in the right direction regarding how I might be able to extract data and meaningful statistics from these .hbr files, and how I might produce something similar to the above example. My primary goal is to see this project to completion, and hopefully to learn some programming along the way.

Thanks for reading - any input/direction is MUCH appreciated!

解决方案

This is a nice idea. You will have a lot of problems to decompile the code and get the results of the game from the hbr because it may not contain the "Goal Scored" event. It may contain simple events: up, down, left right.

I have been playing for a while Bilu Ball which is exactly like haxball. The only difference is that it will keep track of all the games a player player ( the have accounts, something haxball will never have ) and track games player, score, goals and other stuff.

So I guess it is better to wait for Bilu Ball to implement leagues, teams and leader boards instead of wasting time with haxball.

这篇关于提取数据以创建“匹配统计信息”使用(基于闪存)的游戏重放文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆