Markt, zusätzliche Verkaufswarenanzeigen

General discussion for players of Oolite.

Moderators: winston, another_commander

kleiner77
Above Average
Above Average
Posts: 17
Joined: Sun May 03, 2020 12:39 pm

Re: Markt, zusätzliche Verkaufswarenanzeigen

Post by kleiner77 »

Okey, thank you i'll deal with the days and work me in there. Thank you very much for everything........
kleiner77
Above Average
Above Average
Posts: 17
Joined: Sun May 03, 2020 12:39 pm

Re: Markt, zusätzliche Verkaufswarenanzeigen

Post by kleiner77 »

Milo wrote: Tue Jul 21, 2020 6:04 pm
Adding two rows to the display can be done.

If you use Windows, you can download a modified version of oolite.exe from here to see the effect (put it in your oolite.app folder, make a backup of the current oolite.exe). This modified oolite.exe is based on the nightly build with other personal edits so I don't recommend playing with it unless you have the rest of the nightly build package and take some other modified files from me. The other modified Resources files can be downloaded from here (first install the latest nightly build then overwrite with my modified files).

Image

What I changed:

Code: Select all

diff --git a/src/Core/Entities/PlayerEntity.h b/src/Core/Entities/PlayerEntity.h
index d184d93c..1d50febb 100644
--- a/src/Core/Entities/PlayerEntity.h
+++ b/src/Core/Entities/PlayerEntity.h
@@ -145,8 +145,8 @@ enum
 	GUI_ROW_MARKET_START				= 2,
 	GUI_ROW_MARKET_SCROLLUP				= 4,
 	GUI_ROW_MARKET_SCROLLDOWN			= 16,
-	GUI_ROW_MARKET_LAST					= 18,
-	GUI_ROW_MARKET_END					= 19,
+	GUI_ROW_MARKET_LAST					= 20,
+	GUI_ROW_MARKET_END					= 21,
 	GUI_ROW_MARKET_CASH					= 20,
 	GUI_ROW_INTERFACES_HEADING			= 1,
 	GUI_ROW_INTERFACES_START			= 3,
What I changed (revised per phkb's comments below):

Code: Select all

diff --git a/src/Core/Entities/PlayerEntity.h b/src/Core/Entities/PlayerEntity.h
index 37e157a4..6172580e 100644
--- a/src/Core/Entities/PlayerEntity.h
+++ b/src/Core/Entities/PlayerEntity.h
@@ -141,13 +141,13 @@ enum
 	GUI_MAX_ROWS_EQUIPMENT				= 12,
 	GUI_ROW_EQUIPMENT_DETAIL			= GUI_ROW_EQUIPMENT_START + GUI_MAX_ROWS_EQUIPMENT + 1,
 	GUI_ROW_EQUIPMENT_CASH				= 1,
-	GUI_ROW_MARKET_KEY					= 1,
-	GUI_ROW_MARKET_START				= 2,
+	GUI_ROW_MARKET_KEY					= 0,
+	GUI_ROW_MARKET_START				= 1,
 	GUI_ROW_MARKET_SCROLLUP				= 4,
 	GUI_ROW_MARKET_SCROLLDOWN			= 16,
-	GUI_ROW_MARKET_LAST					= 18,
-	GUI_ROW_MARKET_END					= 19,
-	GUI_ROW_MARKET_CASH					= 20,
+	GUI_ROW_MARKET_LAST					= 19,
+	GUI_ROW_MARKET_END					= 20,
+	GUI_ROW_MARKET_CASH					= 21,
 	GUI_ROW_INTERFACES_HEADING			= 1,
 	GUI_ROW_INTERFACES_START			= 3,
 	GUI_MAX_ROWS_INTERFACES				= 12,
Obligatory legal note: This distribution of a derivative work is licensed under GPL v2 and/or CC BY-NC-SA 3.0 with attributions (Giles C Williams, Jens Ayton and contributors) and other terms as described in the OoliteReadMe.pdf included with Oolite.

Full list of changes compared to the nightly build:

Code: Select all

1. use shipdata key instead of name for ship.noPrimaryRole log message
2. disable "wait for station rotation alignment before assigning ships a dock"
3. sanity check for non-zero break pattern counter in-flight
4. double max entities limit (2048 -> 4096)
5. allow abandonShip from shipDied worldscript event
6. torus speed factor increased
7. display station blip instead of planet blip when basic compass changes target to station inside planetary or station aegis
8. recognize SHIFT+fast-activation-key to prime instead of activating
9. add new fast activation keys [ and ]
10. ctrl+fast activation key = mode, instead of prime
11. add two rows to the market screen
Windows erkennt jetzt die . Exe und konnte sie runterladen und im Ordner speichern, aber leider hängt sich die .exe beim starten auf . Reagiert nicht und wird geschlossen :-( wenn ich die orginal.exe starte läuft alles normal aber leider nicht die neue .exe :-(
User avatar
Milo
---- E L I T E ----
---- E L I T E ----
Posts: 462
Joined: Mon Sep 17, 2018 5:01 pm

Re: Markt, zusätzliche Verkaufswarenanzeigen

Post by Milo »

The new exe hangs on startup? That's strange. Try this exe instead? I zipped it first, maybe that will help.
kleiner77
Above Average
Above Average
Posts: 17
Joined: Sun May 03, 2020 12:39 pm

Re: Markt, zusätzliche Verkaufswarenanzeigen

Post by kleiner77 »

Milo wrote: Wed Jul 22, 2020 3:16 pm
The new exe hangs on startup? That's strange. Try this exe instead? I zipped it first, maybe that will help.
Thanks now everything is running :-) Super work you've done, respect for the effort.
User avatar
Cholmondely
Archivist
Archivist
Posts: 5364
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Markt, zusätzliche Verkaufswarenanzeigen

Post by Cholmondely »

The links here have withered away!

Is there a link for adding extra keys for Fast Priming?
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cholmondely
Archivist
Archivist
Posts: 5364
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Markt, zusätzliche Verkaufswarenanzeigen

Post by Cholmondely »

Milo wrote: Wed Jul 22, 2020 3:16 pm
The new exe hangs on startup? That's strange. Try this exe instead? I zipped it first, maybe that will help.
The links here have withered away!

Is there a link for adding extra keys for Fast Priming?
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Post Reply