本帖最后由 iceskycan 于 2020-3-19 13:30 编辑
黑色沙漠怎么搞中文有教程,B站有;关于老外怎么进入女皇之刃游戏的他也说了,他们定制了一个webapi绕过客户端的验证,从而进入游戏,
这是他的原话:
Currently, we're using the (custom made) web api to authenticate the client. The web-api authenticates account login and character creation. The authenticated account can log out and generate a new character based on that authentication, but it is not carried over inside the game.
Once in game, the client does not have the proper authentication to retrieve data from the database. As the web api is merely forcing an account name/password to be validated for account login / char creation only (at the moment). Once the client attempts to use character authentication (in game) to retrieve character data from the database, it fails due to not having maintained authentication of the "character inside the client". This can be validated by attempting to use in-game GUI's that reference character authentication (2 examples are the Broker or Guild Storage - which require character authentication and query from the database, but fails due to lack of character authentication via client).
Since the character authentication in game versus the database retrieval of information is not maintained; the items cannot be read from the current character stored data in the database. The server knows the character is correct and thus populates the data to the database, but retrieval is failing since the client cannot authenticate the character during the retrieval of information via database queries.
In this instance the client can only return a null value for SlotIndex (for character sheet) and the auto-equipped items get stored into the "weapon slot" since the weapon slot would have SlotIndex = 0 (queens_gui_charinfo.layouts) and SlotType (queens_gui_inventory.layouts).
Auto-equipped items are done so at time of accepting reward, so show automatically in character sheet. Problem with other gear types, they cannot validate their InvenType/SlotIndex from the db vs character. So the next item auto-equipped gets forced into weapon slot without a means to validate InvenType and SlotIndex (since the SlotIndex returns "null").
This is also why the item poofs upon logout, as the item registered in weapon slot is no longer "temporarily" stored in memory - the location slotted upon reward acceptance.
We'll continue to work on the issue. |