shengli's blog

Tick the World

Drgon ball release their code to explain the reason, cool

Posted at — Nov 1, 2018

Today, I was surffing the web and saw a very interesting story about the players suspected the Drogon Ball game maker cheat on the game here and here

Dragon Ball finally release their code to explain the reason, which is really HACKER way. I like it. In now days, as a player, you need not only the crack skills as before, but also some basic code skills. :-)

About the problem:

In the game application " Dragon Ball Z Dokkan Battle " there was a typographical mistake in some gacha and the influence "There might have been a character that does not appear for each user (whether there was a wrong setting)" According to the problem being said, the management side explained “by mistake of notation”. However, the source code has been released this time whether the riot did not fit.

info1116_01.png

Some points were here:

The problem caused by the Sql query and following handling branch.

Beside the logical error, some improvements could be:

vector<CardDataPtr> result(masterCardIds.size());

Finally, I like the working way of Dragon Ball exposing the problem. It is cool.

comments powered by Disqus