Closed ejamshidiasl closed 5 years ago
You have to put your code between https://github.com/iopietro/Travianz/blob/8edd6a8d11cbff673282587a412fa987aaaaf571/GameEngine/Account.php#L148 and https://github.com/iopietro/Travianz/blob/8edd6a8d11cbff673282587a412fa987aaaaf571/GameEngine/Account.php#L149
You have to perform a query to insert the hero and update the resource fields
ok i will test it
hello i want to change these things: which files and where i must edit?
1)add hero to player when register (to hero and units table) is there function or i must do with query? 2)increase resource field level when player register (from php not sql)