#2141 closed task (fixed)
[PATCH] Take a look at the uses of Engine.Console_Write
Reported by: | Yves | Owned by: | leper |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 17 |
Component: | UI & Simulation | Keywords: | simple, patch |
Cc: | Yves | Patch: |
Description
The ingame console (opened with F9 by default) was used much more in the earlier days when the GUI wasn't as functional as today and when the console had access to the whole simulation.
There are still some uses of console.write which I had to replace with the new syntax (Engine.Console_Write) in ticket #2140. Some or all of these should probably be replaced with other error reporting functions because the console isn't used that often anymore and the normal player or developer should be informed about the issues.
Check ReportingErrors for a guideline.
Attachments (2)
Change History (6)
by , 10 years ago
Attachment: | uses_of_Engine.Console_Write.patch added |
---|
comment:2 by , 10 years ago
Keywords: | review patch added |
---|---|
Milestone: | Backlog → Alpha 17 |
Summary: | Take a look at the uses of Engine.Console_Write → [PATCH] Take a look at the uses of Engine.Console_Write |
by , 10 years ago
Attachment: | uses_of_Engine.Console_Write.2.patch added |
---|
comment:3 by , 10 years ago
in the new patch I also removed the translate() for error() and I removed Engine.Console_Write from binaries/data/mods/public/gui/session/messages.js as it's not necessary to log the chat messages.
Here are the places where I found Engine.Console_Write and the resolutions I took:
./binaries/data/mods/public/gui/session/session.js:
./binaries/data/mods/public/gui/session/messages.js
./binaries/data/mods/public/gui/common/functions_utility_music.js
./binaries/data/mods/public/gui/common/functions_utility_list.js: