Surviving Mars

Surviving Mars

Stop Camera Jumping
21 Comments
ChoGGi  [author] 2 Jun, 2022 @ 8:03pm 
Thank you :)
A Curious Jackdaw 2 Jun, 2022 @ 2:23pm 
Holy hell I could have used this a week ago. Had to clean out and delete my capital city because of a camera jump bug. Your mods are great.
Deadly_Shadow 26 Sep, 2021 @ 10:58am 
Everything perfect here. Thanks much for your work.
clocking notifications - works
start expeditions (orange or blue) - no rocket selection or camera movement
ChoGGi  [author] 25 Sep, 2021 @ 4:45pm 
tried something, but it might be overkill
ChoGGi  [author] 25 Sep, 2021 @ 4:44pm 
> start special projects (blue symbols) - rocket is selected an camera moved to

I don't think I ever stopped those?
Deadly_Shadow 25 Sep, 2021 @ 7:27am 
Current state here (update 25/09 16:09), no output at log:
clicking notifications - working
start expeditions (orange symbols) - working as intended
start special projects (blue symbols) - rocket is selected an camera moved to
requiemfang 24 Sep, 2021 @ 10:09pm 
error is still there can't send expeditions

[LUA ERROR] PackedMods/1796377374/Code/Script.lua:36: attempt to index a nil value (global 'spot')
Mars/Lua/PlanetaryView.lua(214): global SendExpeditionAction
Mars/Lua/XTemplates/PlanetaryView.lua(1072): method OnPress
C:\Steam\steamapps\common\Surviving Mars\CommonLua\X\XButton.lua(57): method Press
Mars/Lua/XTemplates/PlanetaryView.lua(1180): method OnAction
C:\Steam\steamapps\common\Surviving Mars\CommonLua\X\XActions.lua(249): method OnAction
C:\Steam\steamapps\common\Surviving Mars\CommonLua\X\XToolBar.lua(26): method OnPress
C:\Steam\steamapps\common\Surviving Mars\CommonLua\X\XButton.lua(57): method Press
C:\Steam\steamapps\common\Surviving Mars\CommonLua\X\XButton.lua(132): <>
C:\Steam\steamapps\common\Surviving Mars\CommonLua\X\XDesktop.lua(314): <>
C:\Steam\steamapps\common\Surviving Mars\CommonLua\Core\terminal.lua(24): <>
--- end of stack
Deadly_Shadow 24 Sep, 2021 @ 6:18pm 
Ok. Can send expeditions again. But it seems now the core functionality no longer works...
After "planetary view" -> "capture meteors" -> "send" the rocket is selected and the camera is centered on her. No entries in the log.
ChoGGi  [author] 24 Sep, 2021 @ 5:40pm 
That's what I get for ignoring params, fixed...
Deadly_Shadow 24 Sep, 2021 @ 5:32pm 
Ok. Can confirm the notifications work again. But now I am unable to send expeditions. Log:
[LUA ERROR] PackedMods/1796377374/Code/Script.lua:36: attempt to index a nil value (global 'spot')
Mars/Lua/PlanetaryView.lua(214): global SendExpeditionAction
Mars/Lua/XTemplates/PlanetaryView.lua(1072): method OnPress
G:\Steam\steamapps\common\Surviving Mars\CommonLua\X\XButton.lua(57): method Press
Mars/Lua/XTemplates/PlanetaryView.lua(1180): method OnAction
G:\Steam\steamapps\common\Surviving Mars\CommonLua\X\XActions.lua(249): method OnAction
G:\Steam\steamapps\common\Surviving Mars\CommonLua\X\XToolBar.lua(26): method OnPress
G:\Steam\steamapps\common\Surviving Mars\CommonLua\X\XButton.lua(57): method Press
G:\Steam\steamapps\common\Surviving Mars\CommonLua\X\XButton.lua(132): <>
G:\Steam\steamapps\common\Surviving Mars\CommonLua\X\XDesktop.lua(314): <>
G:\Steam\steamapps\common\Surviving Mars\CommonLua\Core\terminal.lua(24): <>
--- end of stack
ChoGGi  [author] 24 Sep, 2021 @ 5:11pm 
Ah, alright I changed it to go off the city mapid, that should do it...
Deadly_Shadow 24 Sep, 2021 @ 7:13am 
Sadly still not working after update: 24. Sep., 2:57
It seems this error from the log is related:
Error from function "error" = thread: 0000000013ED1710 attempt to call a nil value (method 'GetMapID')
GetStack():
CommonLua/Core/cthreads.lua(77): <>
[C](-1): <>
--- end of stack
Error from function "error" = thread: 0000000013ED1710 attempt to call a nil value (method 'GetMapID')
GetStack():
CommonLua/Core/cthreads.lua(77): <>
[C](-1): <>
--- end of stack
[LUA ERROR] attempt to call a nil value (method 'GetMapID')
Mars/Lua/GameMap.lua(230): global GetGameMap
(24): method CycleObjs
Mars/Lua/UI/OnScreenNotification.lua(226): <>
--- end of stack
time 0:01:38:967
ChoGGi  [author] 23 Sep, 2021 @ 5:57pm 
I updated it after you posted, if it still doesn't work let me know.
Deadly_Shadow 23 Sep, 2021 @ 7:46am 
Sorry. My last post was misleading. What I meant:
After enabling the mod, all notifications stop the select/zoom behaviour which I assume is not intended.
Some days ago (before the 19. Sep. update) this was working.
i.E. clicking the "Buildings Not Working" notification no longer selects/zooms to the affected bulding.
ChoGGi  [author] 22 Sep, 2021 @ 7:38pm 
when you get a trade offer yes it does
Deadly_Shadow 22 Sep, 2021 @ 6:51pm 
Since the last update enabling this mod prevents selection and zoom by clicking on notifications.
ChoGGi  [author] 19 Sep, 2021 @ 10:42am 
updated
duroc_elisar 19 Sep, 2021 @ 3:09am 
Doesn't seem to work with trade pads in B&B
ChoGGi  [author] 10 Sep, 2021 @ 3:03pm 
Got a save I can use?
len.weaver 10 Sep, 2021 @ 6:24am 
Does seem to work with "Below and Beyond".
maiden4meldin 19 Jul, 2019 @ 1:48pm 
This would be a SkyeStorme favorite, it is one of his biggest pet peeves when accepting trades lol