View Issue Details

IDProjectCategoryView StatusLast Update
0003408Spring engineGeneralpublic2013-02-05 02:07
Reporterabma Assigned Toabma  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0003408: cheat / globallos is ignored when run before game start
Descriptionfound with toolbox...
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Kloot

2013-01-20 17:30

developer   ~0009629

Last edited: 2013-01-20 17:31

?

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

abma

2013-01-20 17:56

administrator   ~0009630

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.

Kloot

2013-01-22 22:10

developer   ~0009645

"global LOS toggled for allyteam 1"

are you in allyteam 1 when using toolbox?

abma

2013-01-23 01:36

administrator   ~0009646

afaik yes...

Kloot

2013-01-23 16:14

developer   ~0009647

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

abma

2013-02-05 02:02

administrator   ~0009714

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

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
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