2025-07-21 06:23 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003408Spring engineGeneralpublic2013-02-05 02:07
Reporterabma 
Assigned Toabma 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0003408: cheat / globallos is ignored when run before game start
Descriptionfound with toolbox...
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0009629

Kloot (developer)

Last edited: 2013-01-20 17:31

View 2 revisions

?

works fine when entered manually before pressing alt+f in SP sandbox, so you need to present more evidence...

~0009630

abma (administrator)

sorry, was to few info.

what i do: use toolbox: https://github.com/gajop/Toolbox

before start it calls globallos:
[f=0000000] [GlobalLosActionExecutor] global LOS toggled for allyteam 1

i then edit the heightmap, i see it is changed because trees / untis for example move up/down but the ground keeps the same.

then i type
/cheat
/globallos

and it works when i change the heightmap again. without changes the map is still seen flat.

~0009645

Kloot (developer)

"global LOS toggled for allyteam 1"

are you in allyteam 1 when using toolbox?

~0009646

abma (administrator)

afaik yes...

~0009647

Kloot (developer)

can you check script.txt from a toolbox session to be sure?

otherwise, remove the "1" from line 999 of LuaUI/widgets/dbg_scenario_editor.lua

~0009714

abma (administrator)

ahhh, now i got it... didn't know that globallos 1 enables globallos for team 1...

i thought the 1 means true :-/


docs were/are wrong: https://github.com/spring/spring/blob/ea3075e80cd756149c983d76a2f6b618f2f49697/Documentation/cmds.txt#L37
+Notes

-Issue History
Date Modified Username Field Change
2013-01-20 16:54 abma New Issue
2013-01-20 17:30 Kloot Note Added: 0009629
2013-01-20 17:31 Kloot Severity major => minor
2013-01-20 17:31 Kloot Note Edited: 0009629 View Revisions
2013-01-20 17:56 abma Note Added: 0009630
2013-01-22 22:10 Kloot Note Added: 0009645
2013-01-23 01:36 abma Note Added: 0009646
2013-01-23 16:14 Kloot Note Added: 0009647
2013-01-23 16:14 Kloot Assigned To => Kloot
2013-01-23 16:14 Kloot Status new => feedback
2013-02-05 02:02 abma Note Added: 0009714
2013-02-05 02:02 abma Status feedback => assigned
2013-02-05 02:02 abma Status assigned => resolved
2013-02-05 02:02 abma Resolution open => fixed
2013-02-05 02:07 abma Changeset attached => spring release 07f5e4aa
2013-02-05 02:07 abma Assigned To Kloot => abma
+Issue History