• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

help with "unable to evaluate"

TsukaYuriko

☄️
Forum Staff
Moderator
Nah. The x and y in your code have nothing to do with the X, Y and Z drives in your computer.
"Unable to evaluate" means that variable doesn't exist - because whatever the code is in has no active instances, because none were created yet.


Is what you posted the full output of the compile log? If not, please post the full compile log that appears when you try to run your game. So far, the things you've posted aren't error messages. The console output is a bunch of commands that are being executed while the one in the debugger is an info that these variables don't exist yet.
 
i cant take a photo of the entire debug list
"Loaded Macros from C:\Users\Arjun\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\insert_nam_7A926330_961A616F\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\Arjun\AppData\Roaming/GameMakerStudio2\gamemaker323_2719192\local_settings.json
Options: C:\Users\Arjun\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\insert_nam_7A926330_961A616F\targetoptions.json
Setting up the Asset compiler
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="insert name here" /td="Y:/" /cd="Z:/insert_nam_7A926330_961A616F" /zpuf="C:\Users\Arjun\AppData\Roaming/GameMakerStudio2\gamemaker323_2719192" /m=windows /tgt=64 /nodnd /cfg="Default" /o="Y:/insert_name_here_2D21C460_VM" /sh=True /optionsini="Y:/insert_name_here_2D21C460_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\Arjun\Documents\GameMakerStudio2\insert name here\insert name here.yyp" /preprocess="Z:/insert_nam_7A926330_961A616F"
We have a Zeus Project!
Found Project Format 2
ProjectFileWatcher:StartWatching:C:\Users\Arjun\Documents\GameMakerStudio2\insert name here
Started: 2/4/2021 8:55:44 PM
Finished: 2/4/2021 8:55:44 PM
Diff: 00:00:00.3293786
Loaded Project: insert name here
finished.
Debug build
Options: Z:/insert_nam_7A926330_961A616F\ExtensionOptions.json
OptionsIni
Options: Z:/insert_nam_7A926330_961A616F\PlatformOptions.json
[Compile] Run asset compiler
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="insert name here" /td="Y:/" /cd="Z:/insert_nam_7A926330_961A616F" /zpuf="C:\Users\Arjun\AppData\Roaming/GameMakerStudio2\gamemaker323_2719192" /m=windows /tgt=64 /nodnd /cfg="Default" /o="Y:/insert_name_here_2D21C460_VM" /sh=True /optionsini="Y:/insert_name_here_2D21C460_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\Arjun\Documents\GameMakerStudio2\insert name here\insert name here.yyp" /dbgp=6509 /debug /nofs /bt=run /rt=vm /64bitgame=false
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Rooms...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Final Compile...finished.
Saving IFF file... Y:/insert_name_here_2D21C460_VM\insert name here.win
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... GLOB
Writing Chunk... SHDR
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ACRV
Writing Chunk... SEQN
Writing Chunk... TAGS
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Texture Group - Default
Writing Chunk... TGIN
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... DFNC
Writing Chunk... STRG
Stats : GMA : Elapsed=609.5928
Stats : GMA : sp=10,au=0,bk=0,pt=0,sc=2,sh=0,fo=0,tl=0,ob=2,ro=2,da=0,ex=0,ma=10,fm=0x220440080024
DoSteam
Igor complete.
[Run] Run game
Options: Z:/insert_nam_7A926330_961A616F\MainOptions.json
[Debugger]target=127.0.0.1,yydebug="Y:/insert_name_here_2D21C460_VM\insert name here.yydebug"
X://windows/Runner.exe -game "Y:/insert_name_here_2D21C460_VM\insert name here.win"
Attempting to set gamepadcount to 12
DirectX11: Using hardware device
Start debug server
Creating Debugger server port:6509
[DbgServer]6509
Collision Event time(microsecs)=1
Waiting for debugger to connect...
Client(-1) Connected: 127.0.0.1
Debugger connected
6 code buffers added (261)"
so i copy pasted it
 

TsukaYuriko

☄️
Forum Staff
Moderator
You're not supposed to post screenshots of code (or text) anyway, so that's quite alright. ;)

I don't see anything "obviously wrong" in the compile log. Sounds like the game is running fine. So, what happens after you run the game? What is the problem you're facing?
 
ok so when i run it normally i get this message:

___________________________________________
############################################################################################
ERROR in
action number 1
of Create Event
for object <undefined>:

Variable <unknown_object>.y(1, -2147483648) not set before reading it.
at gml_GlobalScript_move_state (line 17) - if (place_meeting(x+hspd, y, Obj_wall)) {
############################################################################################
gml_GlobalScript_move_state (line 17)

when i do it in debug mode, it creates a small white screen
 

Attachments

TsukaYuriko

☄️
Forum Staff
Moderator
Top