Bug Reports / STANDALONE BUG REPORT

Author
Message
Medmatheus
Reviewed GameGuru on Steam
8
Years of Service
User Offline
Joined: 18th Oct 2015
Location:
Posted: 21st Nov 2017 16:11
Hey guys,

I just finished my project, saved it in standalone alot of times, and everytime I get different error messages:

- On 1st try, while loading second level it said that failed to load C:\Program Files (x86)\Steam\steamapps\common\Game Guru\Files\entitybank\Weapons/rifle or something like that. I saved game before level finishing and loaded, worked on second try;
- After loading the third game level, my huds got bugged and didn't display health amount, ammo, custom variable and other info that should be loaded from global. Also, some custom variables, like supplies (it's like a coin to my game) didn't save trough the levels;
- It has a chance to not load some of maps media;
- Big loading time;
- AI sometimes work, sometimes not.

Going to upload a demo today to see if somebody can help me out.

Thanks in advance.

Mat






Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 21st Nov 2017 17:45
1. Sometimes entities don't get copied across t the standalone, if it misses some entities then you need to copy them across yourself and it should work.

2. Custom variables do not copy across between levels, they are not designed to at the moment, only default variables like health, weapons, ammo etc will copy across.

3. Long loading levels aren't really a bug, they're normal for GameGuru, this should get better when the DirectX11 updae comes out.

4. With AI it's a two fold issue, firstly some bits of AI are very broken at the moment, again with the next update there are quite a few fixes for AI, and secondly the AI scripts aren't the be all and end all of AI, they are very basic scripts, that do very basic things, more examples than actual finished scripts, they can be scripted to do a lot more advanced things, but you need to know how to script them, just like most other game engines.

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 21st Nov 2017 20:13
Quote: "2. Custom variables do not copy across between levels, they are not designed to at the moment, only default variables like health, weapons, ammo etc will copy across."

yes they do, use g_ prefix (so g_supplies or g_items etc) and it will save your variable between the level - just be sure you're not resetting it back to 0 (or whatever) in any script that is called in the next levels (i.e. no g_variable = 0 at the top of the scripts used in the later levels)
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 21st Nov 2017 21:39 Edited at: 21st Nov 2017 21:43
Quote: "yes they do, use g_ prefix (so g_supplies or g_items etc) and it will save your variable between the level - just be sure you're not resetting it back to 0 (or whatever) in any script that is called in the next levels (i.e. no g_variable = 0 at the top of the scripts used in the later levels)"


I thought that too, but it wasn't working for me, and when I questioned it on here I was told by lee that g_ for custom variables is only global within the current level and for the save game, and don't carry overt to the next level, which is why I wrote a set of scripts to save them to a file use io write and load them at the beginning of the next level. In fact I remember exactly what I was discussing at the time, I was asking you why the batteries didn't carry over between levels on the flashlight battery script, and you didn't know, then lee (I'm sure it was lee) said that, I assume that's still the case unless he's changed it since.

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
Medmatheus
Reviewed GameGuru on Steam
8
Years of Service
User Offline
Joined: 18th Oct 2015
Location:
Posted: 22nd Nov 2017 00:50 Edited at: 22nd Nov 2017 00:56
Yea, I tried using g_ variables on global instead of calling at each script, but same problem.

Hope next update enable us to finish games in all aspects and start a release of great quality games (seen awesome projects around forum).
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 22nd Nov 2017 18:39 Edited at: 22nd Nov 2017 18:42
ah yes, sorry
been so long since i made a standalone in GG i forgot about that problem.

Belidos is correct, they only load when you load a save file - not when you load the next level.
i got around this by forcing the game to auto save at the end of each level (i believe i posted the script in my thread) and then make the game load the data from there but you could also do it the way belidos suggested and write the info to a file yourself (it basically ends up the same).

this does seem like quite an important limit to GG's flow - i will have to remember to post a better guide & scripts, it's really not that difficult to get GG to do it
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 22nd Nov 2017 20:19
Quote: "ah yes, sorry
been so long since i made a standalone in GG i forgot about that problem."


Phew i'm glad you remembered that, I though I was going crazy, either that or you were wrong, and my bet would be on me being crazy rather than you getting something to do with lua wrong lol

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 22nd Nov 2017 20:29
i have added it to my thread now
https://forum.game-guru.com/thread/207801?page=22#msg2590518
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Medmatheus
Reviewed GameGuru on Steam
8
Years of Service
User Offline
Joined: 18th Oct 2015
Location:
Posted: 24th Nov 2017 20:19
Quote: "i have added it to my thread now
https://forum.game-guru.com/thread/207801?page=22#msg2590518"


Thanks guys! Smallg your scripts are the best

Login to post a reply

Server time is: 2024-04-25 08:27:53
Your offset time is: 2024-04-25 08:27:53