Guinness-Bot icon indicating copy to clipboard operation
Guinness-Bot copied to clipboard

Game Actions

Open Romain-P opened this issue 6 years ago • 1 comments

  • Make GameActionService
  • Must handle actions type
  • custom serialize/deserialize must be done because data structure differ according to the actionId

From ankama

  • https://github.com/Romain-P/Guinness-Bot/blob/master/dofus/src/dofus/aks/DataProcessor.as#L313
  • onActionStart: https://github.com/Romain-P/Guinness-Bot/blob/master/dofus/src/dofus/aks/DataProcessor.as#L313
  • onActionFinish: https://github.com/Romain-P/Guinness-Bot/blob/master/dofus/src/dofus/aks/GameActions.as#L87
  • onAction: https://github.com/Romain-P/Guinness-Bot/blob/master/dofus/src/dofus/aks/GameActions.as#L115

GameAction sent by ankama

  • unknown(Nullable Int) ; actionId(Int) ; characterGuid(Long); actionData (string)
  • action data is mostly an array of int splitted by ,. Some exception like action ids 780, 147, 180, 181 (https://github.com/Romain-P/Guinness-Bot/blob/master/dofus/src/dofus/aks/GameActions.as#L411)

Romain-P avatar Oct 28 '19 00:10 Romain-P

added client parsers

Romain-P avatar Oct 29 '19 13:10 Romain-P