• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Windows I Just downloaded the update for GM2 but everytime i try to play my game this happens

V

Vinícius_

Guest
"cmd" /c subst Z: "C:\Users\vinicius\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.0160096s for command "cmd" /c subst Z: "C:\Users\vinicius\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 10/03/2018 17:12:14
"cmd" /c subst Y: "C:\Users\vinicius\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0150098s for command "cmd" /c subst Y: "C:\Users\vinicius\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 10/03/2018 17:12:14
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.0.258"

elapsed time 00:00:00.0150109s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.0.258" started at 10/03/2018 17:12:15
Saving project to: C:\Users\vinicius\Desktop\Jogo.gmx\Joguinho\Joguinho.yyp
Saving 1 resources
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.0.258/bin/Igor.exe" -options="C:\Users\vinicius\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Windows Run

Loaded Macros from C:\Users\vinicius\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Joguinho_E239BB62\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\vinicius\AppData\Roaming/GameMakerStudio2\vynydias61_1760396\local_settings.json
Options: C:\Users\vinicius\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Joguinho_E239BB62\targetoptions.json
X://bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=4 /gn="Joguinho" /td="Y:/" /cd="Z:/Joguinho_E239BB62" /zpuf="C:\Users\vinicius\AppData\Roaming/GameMakerStudio2\vynydias61_1760396" /m=windows /tgt=64 /nodnd /cfg="default" /o="Y:/Joguinho_5E3209E_VM" /sh=True /optionsini="Y:/Joguinho_5E3209E_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\vinicius\Desktop\Jogo.gmx\Joguinho\Joguinho.yyp" /preprocess="Z:/Joguinho_E239BB62"
Reading project file....C:\Users\vinicius\Desktop\Jogo.gmx\Joguinho
Reading project file....X:\BaseProject
Reading config delta 'C:\Users\vinicius\Desktop\Jogo.gmx\Joguinho\options\main\inherited\options_main.inherited.yy'
finished.


X://bin/GMAssetCompiler.exe DONE (0)
Release build
OptionsIni
Options: Z:/Joguinho_E239BB62\PlatformOptions.json
[Compile] Run asset compiler
C:\WINDOWS\system32\cmd.exe /c ""X://bin/GMAssetCompiler.exe" /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=4 /gn="Joguinho" /td="Y:/" /cd="Z:/Joguinho_E239BB62" /zpuf="C:\Users\vinicius\AppData\Roaming/GameMakerStudio2\vynydias61_1760396" /m=windows /tgt=64 /nodnd /cfg="default" /o="Y:/Joguinho_5E3209E_VM" /sh=True /optionsini="Y:/Joguinho_5E3209E_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\vinicius\Desktop\Jogo.gmx\Joguinho\Joguinho.yyp" /bt=run"
Reading project file....C:\Users\vinicius\Desktop\Jogo.gmx\Joguinho
Reading project file....X:\BaseProject
Reading config delta 'C:\Users\vinicius\Desktop\Jogo.gmx\Joguinho\options\main\inherited\options_main.inherited.yy'
finished.
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Objects...
Error : gml_Object_oCamera_Create_0(2) : Assignment operator expected

Error : gml_Object_oCamera_Step_0(4) : unknown function or script instace_exists
finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Global scripts...finished.
Error : gml_Object_oCamera_Create_0(2) : malformed assignment statement
Final Compile...finished.
Saving IFF file... Y:/Joguinho_5E3209E_VM\Joguinho.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... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Texture Group - Default
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... STRG
Stats : GMA : Elapsed=663,488
Stats : GMA : sp=6,au=2,bk=0,pt=0,sc=0,sh=0,fo=0,tl=0,ob=4,ro=1,da=0,ex=0,ma=24,fm=0x200460880020


C:\WINDOWS\system32\cmd.exe exited with non-zero status (1)
elapsed time 00:00:02.1125056s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.0.258/bin/Igor.exe" -options="C:\Users\vinicius\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Windows Run started at 10/03/2018 17:12:15
"cmd" /c subst Z: /d

elapsed time 00:00:00.0150105s for command "cmd" /c subst Z: /d started at 10/03/2018 17:12:17
"cmd" /c subst Y: /d

elapsed time 00:00:00.0150095s for command "cmd" /c subst Y: /d started at 10/03/2018 17:12:17
 
Error : gml_Object_oCamera_Create_0(2) : Assignment operator expected

Error : gml_Object_oCamera_Step_0(4) : unknown function or script instace_exists
Fix these errors. I don't know what you have in your oCamera_Create event so can't comment on that, but the second error is quite self-explanatory: there is no such command as instace_exists, and I assume you mean instance_exists.

Show us your oCamera_Create code and we can help you find that bug.
 
B

bilouw

Guest
You have two errors :

1) Error : gml_Object_oCamera_Create_0(2) : Assignment operator expected - Seem to miss a "=" somewhere.
2) Error : gml_Object_oCamera_Step_0(4) : unknown function or script instace_exists - You wrote "instace_exists()" instead of "instance_exists()"
 
V

Vinícius_

Guest
C:\WINDOWS\system32\cmd.exe exited with non-zero status (1)
elapsed time 00:00:02.2756209s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.0.258/bin/Igor.exe" -options="C:\Users\vinicius\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Windows Run started at 10/03/2018 18:00:07
"cmd" /c subst Z: /d

elapsed time 00:00:00.0130098s for command "cmd" /c subst Z: /d started at 10/03/2018 18:00:10
"cmd" /c subst Y: /d

elapsed time 00:00:00.0140093s for command "cmd" /c subst Y: /d started at 10/03/2018 18:00:10
"cmd" /c subst X: /d

elapsed time 00:00:00.0130094s for command "cmd" /c subst X: /d started at 10/03/2018 18:00:10
FAILED: Run Program Complete
after i edited my mistake this happened
 
V

Vinícius_

Guest
oCamera step event
///taxi


//uber
if (instance_exists(follow))
{
xTo = follow.x;
yTo = follow.y
}
//ub3r
x += (xTo - x) / 25;
y += (yTo - y) / 25;

//u53r
camera_set_view_pos(cam,x-view_w_half,y-view_h-half);
 
V

Vinícius_

Guest
create event
///camera update
cam = view_camera[0];
follow obj_char;
view_w_half = camera_get_view_width(cam) * 0.5;
view_h_half = camera_get_view_height(cam) * 0.5;
xTo = xstart
yTo = ystart
 
Top