iopietro / Travianz-Legacy

Join our Discord Server: https://discordapp.com/invite/9fbJKP9 | New repo: https://github.com/iopietro/Travianz
GNU General Public License v3.0
160 stars 95 forks source link

Hero Mansion, getting 2 Heroes #371

Closed RevertIT closed 6 years ago

RevertIT commented 6 years ago

For feature requests, you can delete this whole txt.

For bug reports, please use the folowing structure:

  1. expected behaviour Having one hero
  2. incorrect behaviour Getting multiple heroes and no one sent them. This is a look from admin panel https://i.imgur.com/3I22h2m.png
  3. the operating system & version:
  4. PHP version on the server 7
  5. MySQL / MariaDB version on the server 110.1.24-MariaDB-cll-lve

Second bug:

People reporting a loss of resources from NPC attacks. (Multiple times)

martinambrus commented 6 years ago

Please use one issue to report one bug only. Heroes mechanics should now be fixed in c06c62ba6aacf22938888caf504518b7517b6247. I do not understand the second bug at all. No NPC other than Natars (which, as far as I'm aware are not on your server yet) attacks players, so what loss of resources are we talking about?

martinambrus commented 6 years ago

I've added functionality to enable hero killing in Admin even when the unit is not present anywhere in the map. This should help killing heroes that were unkillable before.

As for those 2 heroes in Oziris' village, send them back to Versus. You can then kill Versus' hero and revive him back, therefore deleting those 2 hero units along the way. You can do this with any other player as well. The database would have gone off-sync while the last batch of bugs was still present, so that's why heroes got duplicated.

I've hopefully also fixed the issue with heroes revivals.

NPC attacks, I still don't know what you mean. If you still have issues about NPC attacks, please create a new issue and provide more information. Thanks.