Vegas wrote:
Maybe devoltz can look into it.
The issue isn't with anti-cheat measures; certain game constraints are passed as variables through functions in the map. Therefore, increasing some game constraints using Blizzard natives isn't possible. Since the map does not work for me, here's how to fix it:
Code:
elseif loc_string01 == "lumber" then
call AdjustPlayerStateG(Player( loc_integer01 ),PLAYER_STATE_RESOURCE_LUMBER,loc_integer03)
elseif loc_string01 == "gold" then
call AdjustPlayerStateG(Player( loc_integer01 ),PLAYER_STATE_RESOURCE_GOLD,loc_integer03)
This way, we adjust the player state using a function already defined by the map itself, 'AdjustPlayerStateG'."