[Patch] Watch Other Companies GUI

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
Bilbo
Tycoon
Tycoon
Posts: 1710
Joined: 06 Jun 2007 21:07
Location: Czech Republic

Re: [Patch] Watch Other Companies GUI

Post by Bilbo »

Ammler wrote: - only watch other companies with rcon
rcon is for sending commands to server, this patch is fully client side, so rcon with this does not make much sense. What about local games without any sort of Rcon? Watching what AI is doing is very useful, especially when debugging these AI's.
Ammler wrote: I guess, from develpment view, there is no possibility to make something against this feature.
Basically no.
Ammler wrote: But for competition games, it is a simply cheat, specially if not everyone has access to that patch.
Then add it to trunk :)

As for "cheating" - there are many other patches that quite greatly enhance the GUI and ease of construction and such ... my console commands patch, copy and paste patch, minimap enhancement patches, colored town rating and others ...

Anybody can get any of the patches and use them, everybody have access as anybody can download files from these forums. There are even binaries here for people too lazy (or too unskilled) to compile it on their own.

Unless someone programs some really evil extra feature in it (like automatically blocking an opponent as soon as he build something) I see no cheating in it. The conditions are fair to everybody.
If you need something, do it yourself or it will be never done.

My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility

Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)

User avatar
WWTBAM
Moderator
Moderator
Posts: 3682
Joined: 02 Apr 2005 07:01
Location: Sydney NSW Antipodea
Contact:

Re: [Patch] Watch Other Companies GUI

Post by WWTBAM »

Once IS2 is up to date I will be applying the two together as it will be extremely useful with that.
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/

User avatar
Muxy
Engineer
Engineer
Posts: 80
Joined: 05 Oct 2008 17:06
Location: Goulp, FR
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Muxy »

[..]
Last edited by Muxy on 19 Sep 2010 15:22, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum

User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Vaulter »

src/openttd/1.0.0-RC3/src/command.cpp:30:23: error: watch_gui.h: No such file or directory


looks like there is no in patch watch_gui.h / cpp

petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: [Patch] Watch Other Companies GUI

Post by petert »

Vaulter wrote:src/openttd/1.0.0-RC3/src/command.cpp:30:23: error: watch_gui.h: No such file or directory


looks like there is no in patch watch_gui.h / cpp
Regenerate the project files with projects/generate.vbs.

User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Vaulter »

Code: Select all

$ grep +++ watch_gui_6.patch 
+++ source.list	(working copy)
+++ src/command.cpp	(working copy)
+++ src/company_cmd.cpp	(working copy)
+++ src/lang/english.txt	(working copy)
+++ src/toolbar_gui.cpp	(working copy)
+++ src/window_type.h	(working copy)
there is no watch_gui.h / cpp in patch for 1.0.0-RC2. It's obvious if you note the sizes of patches in top message of this thread.

User avatar
Muxy
Engineer
Engineer
Posts: 80
Joined: 05 Oct 2008 17:06
Location: Goulp, FR
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Muxy »

[..]
Last edited by Muxy on 19 Sep 2010 15:23, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum

User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Vaulter »

Muxy wrote:
Vaulter wrote: there is no watch_gui.h / cpp in patch for 1.0.0-RC2. It's obvious if you note the sizes of patches in top message of this thread.
Yes, yes, yes :oops:

Fixed
Thanks a lot! :P

User avatar
Bilbo
Tycoon
Tycoon
Posts: 1710
Joined: 06 Jun 2007 21:07
Location: Czech Republic

Re: [Patch] Watch Other Companies GUI

Post by Bilbo »

The patch version for 1.0.0-RC2 does not apply to final 1.0.0 version

I am attaching fixed version that works in 1.0.0
watch_gui_6_100.patch
Watch GUI for 1.0.0
(22.62 KiB) Downloaded 99 times
If you need something, do it yourself or it will be never done.

My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility

Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)

User avatar
Ammler
President
President
Posts: 953
Joined: 18 Jun 2006 18:18
Location: Switzerland
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Ammler »

I added this patch to our little client patch pack and very much like it. :-)

I think the status columns on the left could be made thinner:

- Width of the company switch just as width as the color boxes or do you have some Mods with troubles to target it? ;-)
- Maybe merge the green (online) and red (activity) dots? The green dot could blink as red maybe and the width could also be smaller.

Greets
Ammler

User avatar
Muxy
Engineer
Engineer
Posts: 80
Joined: 05 Oct 2008 17:06
Location: Goulp, FR
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Muxy »

[..]
Last edited by Muxy on 19 Sep 2010 15:23, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum

User avatar
Ammler
President
President
Posts: 953
Joined: 18 Jun 2006 18:18
Location: Switzerland
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Ammler »

Muxy wrote: Done !
Hehe, your merge didn't really help, you made your buttons now bigger, my idea was to make those columns smaller to have more space for the watching window.

Greets
Ammler

User avatar
Muxy
Engineer
Engineer
Posts: 80
Joined: 05 Oct 2008 17:06
Location: Goulp, FR
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Muxy »

[..]
Last edited by Muxy on 19 Sep 2010 15:23, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum

User avatar
Ammler
President
President
Posts: 953
Joined: 18 Jun 2006 18:18
Location: Switzerland
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Ammler »

Why can't you make the width fix?

User avatar
Muxy
Engineer
Engineer
Posts: 80
Joined: 05 Oct 2008 17:06
Location: Goulp, FR
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Muxy »

[..]
Last edited by Muxy on 19 Sep 2010 15:23, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum

User avatar
Muxy
Engineer
Engineer
Posts: 80
Joined: 05 Oct 2008 17:06
Location: Goulp, FR
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Muxy »

[..]
Last edited by Muxy on 19 Sep 2010 15:23, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum

User avatar
Muxy
Engineer
Engineer
Posts: 80
Joined: 05 Oct 2008 17:06
Location: Goulp, FR
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Muxy »

[..]
Last edited by Muxy on 19 Sep 2010 15:24, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum

User avatar
Lord Aro
Tycoon
Tycoon
Posts: 2366
Joined: 25 Jun 2009 16:42
Location: Location, Location
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Lord Aro »

do you know why this isn't in trunk yet? seems to me like an awesome feature :D
AroAI - A really feeble attempt at an AI

It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra

User avatar
Muxy
Engineer
Engineer
Posts: 80
Joined: 05 Oct 2008 17:06
Location: Goulp, FR
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Muxy »

[..]
Last edited by Muxy on 19 Sep 2010 15:24, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum

User avatar
Muxy
Engineer
Engineer
Posts: 80
Joined: 05 Oct 2008 17:06
Location: Goulp, FR
Contact:

Re: [Patch] Watch Other Companies GUI

Post by Muxy »

[..]
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum

Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 3 guests