Posted By: Garrettwademan
Odd Function execution - 08/07/18 01:30
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...
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