Product Chat / About Gameloop error

Author
Message
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 12th Apr 2016 09:55
Hi
Bassically Gameloop has something to do with healt handle and save/load game features.
I had noticed everytime I use something like below statement in a script, "Gameloop" error being raised.



afaik, gameloop.lua has to do with 3 file being generated when you save standalone.
Those 3 lua files are locate in "Files\titlesbank" in your standalone folder, and they are as follow:

fillgameslots
gamedata
restoregame

Those files are claimed by "GameLoopInit/GlobalLoop" functions in global.lua.
When standalone, do not should be a problem.
Problem comes when in test mode, since those files are only generated in standalone mode, so GG raised the error, since those files does not exists.

The question is, why GG is claiming for those files in test mode?

As aside note, I've quoted myself, nor good practice, but in this case it does the trick:

Quote: "Ignore it this has something to do, but I've found this path not correct: "scriptbank\scriptbank/gameloop.lua"
Since Global.lua in 127 line say: "gameloop = require "scriptbank\\gameloop" ."


3com

Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 12th Apr 2016 11:12
@3com ...have you applied as a beta tester ?
It may be worth it so you can help find some of these issues before release ..
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 12th Apr 2016 11:29 Edited at: 12th Apr 2016 11:29
Quote: "have you applied as a beta tester ? "

I want to, but with my crappy resources and getting 11 fps in a blank map with just a barrel, I doubt about it, just can trail and error, looking for some bug and notify it here, so if this help someone to debugg it.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
Defy
17
Years of Service
User Offline
Joined: 20th Aug 2007
Location:
Posted: 12th Apr 2016 11:51
Myself and I am sure many others appreciate what you do 3com, reporting what you find is very important to get to a end goal that we are all hoping for.
Sure there will always be a bug here or there, however it is people like yourself that make the forums a good read.
Define R4, i7, 8g, R7 360
PM

Login to post a reply

Server time is: 2024-11-25 03:50:28
Your offset time is: 2024-11-25 03:50:28