Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by VoroneTZ. 04/16/24 11:18
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (VoroneTZ, ricky_k, Nymphodora, rki, 7th_zorro, Volkovstudio), 420 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Odd Function execution #473699
08/07/18 01:30
08/07/18 01:30
Joined: Jan 2006
Posts: 245
PA
Garrettwademan Offline OP
Member
Garrettwademan  Offline OP
Member

Joined: Jan 2006
Posts: 245
PA
Hello everyone, this one has me boggled beyond belief. So I use A8 with WDL scripts. My project has been running the same "world object" function since I can't remember when, no problems (has been executed well over 100 times in my development). Now that I have added a ton of code (maybe 18MB of code), and about 5000 game objects, this function that loads the models no longer works in Full Screen mode...but works fine in Window Mode. All other functions work fine.

The oddest thing is that I am loading many numbers from a data file in this function, and when I load the value in this function and try to print it to screen, it is always a random number which isn't even in the data file, and models are loading incorrectly. Its like my variables are just random. I also rewrote the code twice simplifying it, but still same error.

I have enough video memory (usingi 3890 / 4096) and nexus (101 left out of 600) per my log file which is strange, and window mode works flawlessly with this function.

Note: Sometimes running full screen works, about 1/5 times it will work full screen. I am testing loading the game in window mode first, then loading this function, and then changing to the proper resolution.

Any ideas on this one?

Here is my acknex log, it the error "Malfunction W1301: ADDPLANE7.MDL: Can't open file" is in the function I am speaking of...

Code:
MM mixer opened
DSOUND device opened
DI interface opened
Start Window opened(c) Conitec - www.3dgamestudio.com
A8 Engine - Pro Edition V8.47.1 - Mar  9 2016
Development version
Registered to: Copperhead Studio LLC

Mouse found
Speakers (Realtek High Definition Audio) opened
NVIDIA GeForce 920MX pure T&L device 1ff9 detected
D3D device NVIDIA GeForce 920MX 1ff9 selected.
Compiling ARCADE_RANDOM.WDL - [Esc] to abort..
PATH scripts
PATH textures
PATH textures/banners
PATH textures/debug
PATH logs.........................
PATH textures/sky
PATH textures/sky/clouds
PATH textures/sky/cosmos
PATH textures/sky/weather
PATH textures/sprites
PATH textures/
PATH meshes
PATH meshes/emitters
PATH meshes/actors
PATH audio/sndfx
PATH textures/sky
PATH textures/sky/clouds
PATH textures/sky/cosmos
PATH textures/sky/weather
PATH audio/sndfx...
PATH textures/sky
PATH textures/sky/clouds
PATH textures/sky/cosmos
PATH textures/sky/weather.............
PATH meshes/terrain.
PATH accounts
PATH textures
PATH audio/sndfx
PATH textures/messages
PATH textures/skills
PATH textures/shop
PATH meshes/emitters......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
PATH textures/inventory..........................................................................................
PATH textures/map_editor
PATH audio/sndfx
PATH audio/music
PATH custom/worlds
PATH meshes/structures/
PATH meshes/actors/
PATH meshes/plants/
PATH meshes/world_editor/
PATH meshes/world_editor/extra
PATH meshes/interactive_we
PATH meshes/interactive
PATH textures/introductions......................................................................................................................................................................................
acknet.dll opened
ackoal.dll opened
ackphysX.dll opened
Running ARCADE_RANDOM.WDL.
2498 objects
D3D_Init Window: 1280x720 -> Window: 1x1280x720x32
Video memory found: 4089 MB
Main started
fncControlMouseMessages_startup started
fncScenLoadCDPlayer_startup started
fncInventoryWRITE_INVENTORY_DATA_startup started
fncInventoryReceiveBuffer2MANAGER_startup started
fncInventory_startup started
fncWatchInstallingPart_startup started
fncWatchPanels_startup started
fncUpdateMaxItems_startup started
fncWatchTimePlayed_startup started
fncWatchOpenPanelLock_startup started
fncWatchMouseAndPanels_startup started
fncSoundWeather_startup started
fncHandleSkyEnt_startup started
fncSoundAmbience_startup started
fncSettingsManageNoChatEntry_startup started
fncSettingsManageMouseOver_startup started
fncCloseDebugLog_startup started
Main loop at 164.974
LevelInit at 165.343
0 entities 0 cameras 0 lights 0 sounds 0 paths
 1 lmaps 0 textures...ok
LevelReady at 165.364....
1st frame with 4089 MB. at 166.359
D3D_Resize Screen: 1280x720 -> Screen: 1x1280x720x32
No valid technique in mtl_ffpwater - enforcing makewater2
Malfunction W1301: ADDPLANE7.MDL: Can't open file
Malfunction W1301: ADDPLANE5.MDL: Can't open file
Malfunction W1301: ADDPLANE5.MDL: Can't open file
Malfunction W1301: ADDPLANE5.MDL: Can't open file
HEADRELATIVE sound: 1
D3D_Resize Window: 320x240 -> Window: 1x320x240x32
Normal exit at 202.832
Close level,DLL,objects
Free input,funcs,panels,defs,syns,views,strings,vars..ok
Free sounds,bmaps,fonts,hash,defs1,script..ok
Close dx,multimedia,D3D,engine,nexus..ok
A8 Engine - Pro Edition V8.47.1 - Mar  9 2016
(c) Conitec - www.3dgamestudio.com
Registered to: Copperhead Studio LLC
Close window at 289.656




Last edited by Garrettwademan; 08/07/18 01:54.

Current Project: Computer Repair Simulator
https://www.computer-repair-simulator.com
Re: Odd Function execution [Re: Garrettwademan] #473700
08/07/18 02:19
08/07/18 02:19
Joined: Jan 2006
Posts: 245
PA
Garrettwademan Offline OP
Member
Garrettwademan  Offline OP
Member

Joined: Jan 2006
Posts: 245
PA
Well after testing multiple times, it appears I have a work around by calling the function before I change the video from window to full screen. I don't know how stable this will be moving forward, but seems to be working 100% now by doing this.

Still curious on what would cause this in case it gets worse later.


Current Project: Computer Repair Simulator
https://www.computer-repair-simulator.com
Re: Odd Function execution [Re: Garrettwademan] #473852
08/22/18 12:22
08/22/18 12:22
Joined: Jan 2006
Posts: 245
PA
Garrettwademan Offline OP
Member
Garrettwademan  Offline OP
Member

Joined: Jan 2006
Posts: 245
PA
Figured I would supply an update. So my functions were acting weird and some were not even executing, even some _startup functions didnt work. When compiling the .exe, it crashed every time it was run.

The issue was I had over 32 PATH declarations, after fixing this, the game is operating correctly and I cant see any crashes in the .exe.


Current Project: Computer Repair Simulator
https://www.computer-repair-simulator.com
Re: Odd Function execution [Re: Garrettwademan] #473876
08/24/18 05:43
08/24/18 05:43
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Nice find!


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1