Looking for a pop-up message in-game from the Jass code
Posted: February 22nd, 2020, 4:25 pm
Hey there, I managed to figure out how to edit/add stats with the help of nuzamacuxa, so I really appreciate that!
But with the newer versions there seems to be some warning of these editings/modifications of stats. Whenever I create a game with my own modified version of the map, it warns the user with the following message: ""This map has been modified with cheats, please make sure to use the official version""
Is there any way to remove this message using the Jass code or in any other way?
Map source: https://www.hiveworkshop.com/pastebin/5 ... f88a20526/
This is my modification in the code:
Thanks in advance!
[EDIT]
Another issue occurs when editing the map:
The game doesn't start, it gets stuck at 1 seconds. I tried the original version of the map without editing it and it works fine, so there must be something that detects stat-change and disables the timer = no income = no gameplay. Would you have any idea where this could be happening in the code?
But with the newer versions there seems to be some warning of these editings/modifications of stats. Whenever I create a game with my own modified version of the map, it warns the user with the following message: ""This map has been modified with cheats, please make sure to use the official version""
Is there any way to remove this message using the Jass code or in any other way?
Map source: https://www.hiveworkshop.com/pastebin/5 ... f88a20526/
This is my modification in the code:
Code: Select all
call SetPlayerState( Player( 0 ), PLAYER_STATE_RESOURCE_GOLD, 1000000000 )
Thanks in advance!
[EDIT]
Another issue occurs when editing the map:
The game doesn't start, it gets stuck at 1 seconds. I tried the original version of the map without editing it and it works fine, so there must be something that detects stat-change and disables the timer = no income = no gameplay. Would you have any idea where this could be happening in the code?