Skocz do zawartości
ALT

Grid

Rekomendowane odpowiedzi

Mam problem, po kompilacji niby wszystko jest ok, ale gra się nie uruchamia

choć pisze "startgame()", log:

Process Chunk: SCPT 196

Process Chunk: DBGI 7724

Process Chunk: STRG 9646

Reading File C:\Users\Dawid\AppData\Local\Temp\gm_ttt_40352\\Lulamoon.win

Loaded File C:\Users\Dawid\AppData\Local\Temp\gm_ttt_40352\\Lulamoon.win

IFF wad found

Get Resolution

Get Header Information

InitGMLFunctions

HighScore..Game..Math..Graphic..Action..File..Resource..Interaction..3D..Particl

e..Misc..DS..Sound..DPlay..Physics..Gamepad..GAMEPAD: 4 axis values (last) at 0x21bf420

GAMEPAD: 4 axis values (last) at 0x21bf470

GAMEPAD: 4 axis values (last) at 0x21bf4c0

GAMEPAD: 4 axis values (last) at 0x21bf510

Buffers..Networking..Shaders..YoYo..Fini

Code_Load()

VARI_Load()

ID_STRG

Create Window

AdjustWindowRectEx

RegisterClassEx

CreateWindowEx

Init Graphics

GR_D3D_Init()

Enable DwmEnableMMCSS

Create D3D9Ex interface

Enumerate Adapters

Selected Resolution: 640x480

Get Current Desktop Display Mode

Prepare to create device

Creating D3D device - ARGB=32bit, D24S8, SwapEffect=Copy, Hardware vertex processing

Creating screen render target

Get Device Caps

Graphics initialisation end...

Background_InitTextures()

Sprite_InitTextures()

Font_InitTextures()

IO Init

Process Messages

Splash!

Start Frame

Part Create Textures

Debug Init Remote Interface

VM Init

Create Score Form

Create Load Form

Create Error Form

Do The Work

LoadGameData()

initialise everything!

Process Chunk: GEN8 132

Process Chunk: OPTN 144

Process Chunk: EXTN 4

Process Chunk: SOND 4

Audio_Load()

Process Chunk: SPRT 38856

Process Chunk: BGND 244

Process Chunk: PATH 4

Process Chunk: SCPT 196

Process Chunk: SHDR 4

Process Chunk: FONT 516

Process Chunk: TMLN 4

Process Chunk: OBJT 1380

Process Chunk: ROOM 984

Process Chunk: DAFL 0

Process Chunk: TPAG 368

Process Chunk: CODE 8712

Process Chunk: VARI 852

Process Chunk: FUNC 804

Process Chunk: STRG 4104

Process Chunk: TXTR 208968

Process Chunk: AUDO 4

Audio_WAVs()

PrepareGame()

Extension_Prepare()

Code_Constant_Prepare()

Script_Prepare()

TimeLine_Prepare()

Object_Prepare()

Preparing 4 objects:

Objects 0: oControl

Objects 1: oTree1

Objects 2: oLand

Objects 3: oGrass

Room_Prepare()

Sound_Prepare()

InitGraphics()

Finished PrepareGame()

Run_Start

StartGame()

Grid 0, index out of bounds writing [0,8] - size is [8,8]

Grid 0, index out of bounds writing [1,8] - size is [8,8]

Grid 0, index out of bounds writing [2,8] - size is [8,8]

Grid 0, index out of bounds writing [3,8] - size is [8,8]

Grid 0, index out of bounds writing [4,8] - size is [8,8]

Grid 0, index out of bounds writing [5,8] - size is [8,8]

Grid 0, index out of bounds writing [6,8] - size is [8,8]

Grid 0, index out of bounds writing [7,8] - size is [8,8]

Grid 0, index out of bounds writing [8,0] - size is [8,8]

Grid 0, index out of bounds writing [8,1] - size is [8,8]

Grid 0, index out of bounds writing [8,2] - size is [8,8]

Grid 0, index out of bounds writing [8,3] - size is [8,8]

Grid 0, index out of bounds writing [8,4] - size is [8,8]

Grid 0, index out of bounds writing [8,5] - size is [8,8]

Grid 0, index out of bounds writing [8,6] - size is [8,8]

Grid 0, index out of bounds writing [8,7] - size is [8,8]

Grid 0, index out of bounds writing [8,8] - size is [8,8]

Grid 1, index out of bounds writing [0,8] - size is [8,8]

Grid 1, index out of bounds writing [1,8] - size is [8,8]

Grid 1, index out of bounds writing [2,8] - size is [8,8]

Grid 1, index out of bounds writing [3,8] - size is [8,8]

Grid 1, index out of bounds writing [4,8] - size is [8,8]

Grid 1, index out of bounds writing [5,8] - size is [8,8]

Grid 1, index out of bounds writing [6,8] - size is [8,8]

Grid 1, index out of bounds writing [7,8] - size is [8,8]

Grid 1, index out of bounds writing [8,0] - size is [8,8]

Grid 1, index out of bounds writing [8,1] - size is [8,8]

Grid 1, index out of bounds writing [8,2] - size is [8,8]

Grid 1, index out of bounds writing [8,3] - size is [8,8]

Grid 1, index out of bounds writing [8,4] - size is [8,8]

Grid 1, index out of bounds writing [8,5] - size is [8,8]

Grid 1, index out of bounds writing [8,6] - size is [8,8]

Grid 1, index out of bounds writing [8,7] - size is [8,8]

Grid 1, index out of bounds writing [8,8] - size is [8,8]

Grid 2, index out of bounds writing [0,8] - size is [8,8]

Grid 2, index out of bounds writing [1,8] - size is [8,8]

Grid 2, index out of bounds writing [2,8] - size is [8,8]

Grid 2, index out of bounds writing [3,8] - size is [8,8]

Grid 2, index out of bounds writing [4,8] - size is [8,8]

Grid 2, index out of bounds writing [5,8] - size is [8,8]

Grid 2, index out of bounds writing [6,8] - size is [8,8]

Grid 2, index out of bounds writing [7,8] - size is [8,8]

Grid 2, index out of bounds writing [8,0] - size is [8,8]

Grid 2, index out of bounds writing [8,1] - size is [8,8]

Grid 2, index out of bounds writing [8,2] - size is [8,8]

Grid 2, index out of bounds writing [8,3] - size is [8,8]

Grid 2, index out of bounds writing [8,4] - size is [8,8]

Grid 2, index out of bounds writing [8,5] - size is [8,8]

Grid 2, index out of bounds writing [8,6] - size is [8,8]

Grid 2, index out of bounds writing [8,7] - size is [8,8]

Grid 2, index out of bounds writing [8,8] - size is [8,8]

Grid 3, index out of bounds writing [0,8] - size is [8,8]

Grid 3, index out of bounds writing [1,8] - size is [8,8]

Grid 3, index out of bounds writing [2,8] - size is [8,8]

Grid 3, index out of bounds writing [3,8] - size is [8,8]

Grid 3, index out of bounds writing [4,8] - size is [8,8]

Grid 3, index out of bounds writing [5,8] - size is [8,8]

Grid 3, index out of bounds writing [6,8] - size is [8,8]

Grid 3, index out of bounds writing [7,8] - size is [8,8]

Grid 3, index out of bounds writing [8,0] - size is [8,8]

Grid 3, index out of bounds writing [8,1] - size is [8,8]

Grid 3, index out of bounds writing [8,2] - size is [8,8]

Grid 3, index out of bounds writing [8,3] - size is [8,8]

Grid 3, index out of bounds writing [8,4] - size is [8,8]

Grid 3, index out of bounds writing [8,5] - size is [8,8]

Grid 3, index out of bounds writing [8,6] - size is [8,8]

Grid 3, index out of bounds writing [8,7] - size is [8,8]

Grid 3, index out of bounds writing [8,8] - size is [8,8]

Grid 4, index out of bounds writing [0,8] - size is [8,8]

Grid 4, index out of bounds writing [1,8] - size is [8,8]

Grid 4, index out of bounds writing [2,8] - size is [8,8]

Grid 4, index out of bounds writing [3,8] - size is [8,8]

Grid 4, index out of bounds writing [4,8] - size is [8,8]

Grid 4, index out of bounds writing [5,8] - size is [8,8]

Grid 4, index out of bounds writing [6,8] - size is [8,8]

Grid 4, index out of bounds writing [7,8] - size is [8,8]

Grid 4, index out of bounds writing [8,0] - size is [8,8]

Grid 4, index out of bounds writing [8,1] - size is [8,8]

Grid 4, index out of bounds writing [8,2] - size is [8,8]

Grid 4, index out of bounds writing [8,3] - size is [8,8]

Grid 4, index out of bounds writing [8,4] - size is [8,8]

Grid 4, index out of bounds writing [8,5] - size is [8,8]

Grid 4, index out of bounds writing [8,6] - size is [8,8]

Grid 4, index out of bounds writing [8,7] - size is [8,8]

Grid 4, index out of bounds writing [8,8] - size is [8,8]

Udostępnij tego posta


Odnośnik do posta
Udostępnij na innych stronach

jak dla mnie index out of bounds writing [8,8] - size is [8,8] jest bardzo zle

bo grid o wielkosci 8 liczy sie od 0-7.

Udostępnij tego posta


Odnośnik do posta
Udostępnij na innych stronach

Też miałem takie błędy ale gra się uruchamiała. ;P

Udostępnij tego posta


Odnośnik do posta
Udostępnij na innych stronach

tak, ale to jest miej wiecej wada GM:S

 

naprzyklad odczyt ds_grid_get(_ds_grid, 8, 8); chociaz niedoprowadzi do bladu, to zavsze bedzie 0;

a zapis jest poprostu ignorowany.

 

jesli ds_grid niejest uzyty do waznych rzeczy to program moze dzialac( prawidlowosc jego pracy jest watpliwa)

Udostępnij tego posta


Odnośnik do posta
Udostępnij na innych stronach

Jest bardzo ważny, przechowuje teren. Nie ma tablic trójwymiarowych

więc jeden chunk terenu wygląda tak:

GML
global.chunk[x]=ds_grid_create(x,y);

Co poradzić?

Udostępnij tego posta


Odnośnik do posta
Udostępnij na innych stronach

poprostu napraw by indexy byly < 8 :)

albo v ds_grid_create(9,9) a potem mozes uzyvac 0-8

Udostępnij tego posta


Odnośnik do posta
Udostępnij na innych stronach

A jak pozyskujesz index do którego się zwracasz?? Dzielisz pozycje x na 32 (czy jakąś inną liczbę)??

Udostępnij tego posta


Odnośnik do posta
Udostępnij na innych stronach

Okej nieważne, okazało się z robiłem ieskończoną pętle wcześniej lol

Udostępnij tego posta


Odnośnik do posta
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Tylko zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się tutaj.

Zaloguj się tutaj

  • Przeglądający   0 użytkowników

    Brak zarejestrowanych użytkowników, przeglądających tę stronę.

×