Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Weird U3D Problem; It might be my own, though
Topic Started: May 11 2014, 03:29 PM (240 Views)
TheStolenbattenberg
Member Avatar
Advanced Member
[ *  *  * ]
I created a logging system for my game, because the U3D in built one is just too limited, and I can't mod it to log all the other DLLs, like FMOD etc... It came up with this.
Code:
 
AE_LOG... DATE_Y: 2014, DATE_M: 5, DATE_D: 11, DATE_H: 15, DATE_M: 7, DATE_S: 54
----------------------------------------------------------------------------------

[15:07:54] - [AE_BASE] Attempting to hook into FMOD device.
[15:07:54] - [AE_BASE] Hooked FMOD successfully.
[15:07:54] - [AE_FMOD] Setting FMOD engine: { MaxSounds32, WebMusic: 0 }
[15:07:54] - [AE_BASE] Attempting to hook into GMMovie.
[15:07:54] - [AE_BASE] Hooked into GMovie successfully.
[15:07:54] - [AE_BASE] Attempting to load language from: { C:\Users\TheStolenBattenberg\AppData\Local\Temp\gm_ttt_36435\COM\LNG\English.lang }
[15:07:54] - [AE_BASE] Loaded language successfully.
[15:08:07] - [AE_FMOD] Loaded a sound into FMOD: { Pointer: 34754344 }
[15:08:09] - [AE_FMOD] Stopping all currently playing sounds.
[15:08:10] - [AE_FMOD] Loaded a sound into FMOD: { Pointer: 199946632 }
[15:08:10] - [AE_FMOD] Playing an FMOD sound (non-streamed): { Pointer: 199946632, Instance: 270467076 }
[15:08:17] - [AE_BASE] Attempting to load font from: { C:\Users\TheStolenBattenberg\AppData\Local\Temp\gm_ttt_36435\COM\FNT\Volstead.ttf }
[15:08:17] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:18] - [AE_BASE] Hooked into Ultimate3D successfully.
[15:08:18] - [AE_U3D2] Creating DX8 Device layer with: { VW: 1280, WH: 720, ZB: 32, CD: 32 }
[15:08:18] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:18] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:18] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:19] - [AE_FMOD] Loaded a sound into FMOD: { Pointer: 34842136 }
[15:08:19] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:19] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:19] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:19] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:19] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:20] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:20] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:20] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:20] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:20] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:20] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:20] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:20] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:20] - [AE_BASE] Attempting to hook into Ultimate3D.
[15:08:20] - [AE_BASE] Attempting to hook into Ultimate3D.
I know I've not messed up, since the system is exactly the same in the other DLLs. It prints that it's attempting to load the DLL, then after it's loaded, it prints that it has loaded it... So why does U3D cause it to try and hook so many times?
You can see where U3D actually loads, so I don't think this is actually causing any critical errors, but it's definitely wasting processing power to write this string constantly...
Ashes to ashes, Dust to dust... Honor to glory; And iron to rust. Hate to bloodshed, From rise to fall... If I never have to die; Am I alive at all?
Offline Profile Quote Post Goto Top
 
Dr. Best
Member Avatar
Administrator
[ *  *  *  *  *  * ]
It is part of the design of Ultimate 3D for Game Maker to ensure that the engine is initialized before any object is being created. To this end every single Create...() function invokes initialization of Ultimate 3D. However, the initialization procedure detects when it has been invoked before and never does it a second time unless it has been deinitialized.
Offline Profile Quote Post Goto Top
 
TheStolenbattenberg
Member Avatar
Advanced Member
[ *  *  * ]
Ah, thank you. I guess I can just remove the call to 'Init()' then? If it's not doing anything it shouldn't do harm.
Ashes to ashes, Dust to dust... Honor to glory; And iron to rust. Hate to bloodshed, From rise to fall... If I never have to die; Am I alive at all?
Offline Profile Quote Post Goto Top
 
Dr. Best
Member Avatar
Administrator
[ *  *  *  *  *  * ]
Yup, just make sure that you invoke it once before the first other Ultimate 3D call.
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply