Product Chat / [SOLVED] Strange Code - GG Classic

Author
Message
Mad_Viking
5
Years of Service
User Offline
Joined: 4th Aug 2019
Location:
Posted: 26th Mar 2022 06:52
I have been finding this String popping up in some of my scrips. I have no idea what it is.

physics0 = "0,22.476852417,24.3269500732,122.939613342,0,0,0,0,0,0"

I did not write this, have no idea what is, and I am concerned.
I first noticed this when testing one of my maps, these numbers were animated on screen, they would move about and seem to count down for a bit before resetting, they would disappear after a short time.

Has anyone else seen this before?

The author of this post has marked a post as an answer.

Go to answer
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 26th Mar 2022 10:46
Looks like a debug line from one of the scripts.

Which scripts are present on the map?
Been there, done that, got all the T-Shirts!
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 26th Mar 2022 14:28
This post has been marked by the post author as the answer.
Ok, so did a bit of delving and this line is part of the "physics shapes" section of the .fpe file.

For example in entitybank/Medieval/home.fpe I have:

;physics shapes
physicscount = 1
physics0 = "0,22.8015804291,30.4000015259,0.979176461697,0,0,0,0,0,0"

I couldn't find an entry matching what you are seeing so it isn't from one of the stock models.

I imagine that the engine must display this as part of some debugging that may have been added to track down some problem or other and which didn't get removed prior to release.
It probably isn't part of a script as to the best of my knowledge the .fpe lines are only read in by the engine itself and are not accessible via a Lua function call.

Report on GitHub would be my advice.
Been there, done that, got all the T-Shirts!
PM
Mad_Viking
5
Years of Service
User Offline
Joined: 4th Aug 2019
Location:
Posted: 27th Mar 2022 07:18
Thanks!

Login to post a reply

Server time is: 2024-12-03 17:26:26
Your offset time is: 2024-12-03 17:26:26