8

黑客爆改《GTA OL》代码后速度快了70% R星采纳并奖励1万美元

 3 years ago
source link: https://hot.cnbeta.com/articles/game/1102107.htm
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

黑客爆改《GTA OL》代码后速度快了70% R星采纳并奖励1万美元

2021年03月16日 09:17 7171 次阅读 稿源:快科技 8 条评论

和《GTA5》一样热度不减的同样有上线7年多的《GTA Online》(侠盗猎车手联机版)。不过,前不久,黑客t0st出手,曝光了《GTA Online》打开时间过久、CPU资源占用过度是代码的锅,比如10MB的JSON文件反复读取63000次以计算所有商店购买项目,于是乎等待加载中要执行19.8亿次if命令等。

c31ed65cefe83c1.jpg

(图自:Rockstar Games)

经过代码重构,t0st把加载时间从6分多改进到1分50秒,提速达70%。

这件事在网络上、玩家圈引发轩然大波,显然,《GTA》制作方R星也注意到了。

黑客t0st在最新动态中表示,基于自己的发现和方案,他收到了R星奖励的1万美元,作为BUG悬红。

R星随后表示,经过彻底的检查确认t0st优化加载时间的方案行之有效,予以采纳。很快会发布游戏更新,让更多玩家享用到。

r2.gif


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK