crashparty:Wreckfest的服务器监视器

  • U1_102453
    了解作者
  • 6.8KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-29 10:06
    上传日期
Crashparty-Wreckfest服务器的内存监视器 这与Wreckfest,Bugbear Entertainment或THQ Nordic无关。 动机 当Flatout 2流行时,我们就有了自己的内部计分系统,可以跟踪我们自己的Flatout 2的记录,得分和比赛。 由于Wreckfest在比赛结束后对导出游戏结果没有相同的支持,因此必须使用不同的策略。 解决方案 最简单的解决方案是让Wreckfest服务器具有详细的日志记录格式,该格式将所有事件记录到服务器日志中,从而使我们的监视器可以尾随服务器日志文件并在事件发生时对其进行解析。 但是该可执行文件不支持该功能(..我也找不到任何隐藏的支持)。 取而代之的是,我们现在解析描述游戏当前状态的结构,并检测“最后一圈”时间,赛车选择和玩家状态(“选择赛车”等)的变化。 无论如何这都不是完美的,但实际上是可行的。 项目状态 太过分了
crashparty-master.zip
  • crashparty-master
  • setup.py
    236B
  • .gitignore
    1.2KB
  • templates
  • index.html
    687B
  • LICENSE
    1KB
  • monitor.py
    6.5KB
  • server.py
    272B
  • README.md
    2.7KB
内容介绍
Crashparty - A memory monitor for Wreckfest servers --------------------------------------------------- This is no way affiliated with Wreckfest, Bugbear Entertainment or THQ Nordic. Motivation ========== When Flatout 2 was popular we had our own internal scoring system that kept track of our own Flatout 2 records, scoring and tournaments. Since Wreckfest doesn't have the same support for exporting game results after finishing a race, a different strategy had to be used. Solution ======== The easy solution would be for the Wreckfest server to have a verbose logging format that logged all events to the server log, allowing our monitor to tail the server log file and parse the events as they happen. The executable does however not support that (.. and I weren't able to find any hidden support for it either). Instead we're now parsing the structure describing the current state of the game, and detecting changes to "last lap" times, car selections and player status ("Selecting car", etc.). This is not perfect by any means, but it actually works. State of the project ==================== It's hacky. It's in progress. It's not very user friendly (if at all). It does nothing more than promised (if even that), and it's hard to get it to work. You currently have to give it the process id (pid) of the Wreckfest server manually, and use Cheat Engine (or a similiar memory scanner) to find the location of where the information structure starts in memory. Insert the values into `monitor.py` before running it. Another issue is that the project uses memorpy, and the current source version of memorpy doesn't run under Python 3. To fix this I've patched memorpy to be Python 3 compatible under Windows. This pull request can be found here: https://github.com/n1nj4sec/memorpy/pull/20 Unless these patches has been applied to the main memorpy tree, you'll have to check out my branch and install it manually with pip in your virtual environment to get a memorpy version that supports Python 3. The current version also depend on flask_sse (and thus Redis) to push Server Sent Events to a web frontend that shows the current state of the game. This web frontend is not implemented except for outputting log data when an event occurs. You'll also need to install `flask` and `flask_sse` (the latter should automagically download the former). Web Frontend ============ Does not display any information yet. It only logs events it receives to the console. Start the flask frontend with: set FLASK_APP=server.py flask run .. assuming you have a virtualenv set up with flask in your path (which happens automagically if you've activated it). License ======= The MIT License. See LICENSE.
评论
    相关推荐
    • IEC61850服务器
      61850服务器模拟工具,绿色软件。2015-4-24更新,日志查询窗口,纠正一个小bug,结束时间总是多一个月,修改。
    • meteor-bug:发现在部署到远程服务器的缩小项目上发生的流星错误。 缩小代码库
      发现在部署到远程服务器的缩小项目上发生的流星错误。 缩小代码库以查看以解决 重现步骤: 将缩小的项目部署到流星远程服务器 尝试转到类似的网址:“/app/1234”以触发相关路线 查看浏览器控制台以查看仅在项目...
    • 文件服务器—终结保存
      暂时已经处理好文件服务器的程序,BUG基本修补,程序健壮性强,为开源做贡献!
    • pmm-server:PMM服务器
      Percona监视和管理(PMM)服务器 有关更多信息,请参见。 提交错误报告 如果在Percona Monitoring and Management Server或相关项目之一中发现错误,则应向该项目的问题跟踪器提交报告。 第一步应该是现有的一组...
    • BugFree.zip
      开源BugFree,可在服务器上直接使用, 根据需要可更改代码
    • log监听bug
      程序出现bug以后,将bug通过txt文件保存到本地,然后将保存的文件上传服务器
    • beerdrinking-bugfree-batman:类似快递的服务器
      #Walter 服务员路由引擎斜线服务器 ##API ...有待记录
    • 服务器调试功能
      1、根据系统选择86或者64文件夹 2、管理员身份运行msvsmon.exe文件 3、找到调试服务器进程id 4、本地vs附件调试服务器进程 5、操作部署站点功能(服务器上要debug文件)
    • 代理猎人,代理服务器
      1. 改进了网络底层的一个Bug,增强了代理调度的稳定性 2. 改正了代理调度页工具条提示不正确的错误 3. 改正了代理调度列表排序不正确的错误 4. 增加了自动检查新版本的设置选项 5. 增加了拷贝代理任务URL的功能........