Reconnect on network sync error / In game chat

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

I definitely think we should not have a window box. It is really annoying. Popping up is even worse :(

The text background could be either transparent or a grey box. Transparent looks better, but it might be difficult to read sometimes.

The send message window would appear on pressing 'T' for example.

You could also of course have a Bouke style window for chatlogs :)
Attachments
My mockup of how a multiplayer chat interface would look like.
My mockup of how a multiplayer chat interface would look like.
multiplayer-chat.png (70.35 KiB) Viewed 2404 times
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
User avatar
Bouke
Engineer
Engineer
Posts: 93
Joined: 18 Jun 2004 10:11
Location: Oudehorne (Frl), The Netherlands

Post by Bouke »

Well agreed with yours, only you should move them to the left-upper corner because almost everygame puts the chatmessages in there. (I think).
Maybe you should make it an option of how it is displayed (with transparent/grey box). Because with grey box it's more TTD-alike and without looks better ;).
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

Bouke wrote:Well agreed with yours, only you should move them to the left-upper corner because almost everygame puts the chatmessages in there. (I think).
Maybe you should make it an option of how it is displayed (with transparent/grey box). Because with grey box it's more TTD-alike and without looks better ;).
It depends on the game. A lot of games put it on the top-left corner, other in the lower-left corner, aka Warcraft3. I like that much better
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
User avatar
Korenn
Tycoon
Tycoon
Posts: 1735
Joined: 26 Mar 2004 01:27
Location: Netherlands
Contact:

Post by Korenn »

can't we have some switches to determine how the messages appear?

it's obvious people have different preferences.
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

Korenn wrote:can't we have some switches to determine how the messages appear?

it's obvious people have different preferences.
No, because the developers decide :twisted:
Hehe, if it's not too hard, sure. I just don't see too much in having the chatmessages all over the place. The game should have a general feeling. But for my part, we can put the messages in the middle of screen with huge fonts ;)
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
User avatar
Villem
Tycoon
Tycoon
Posts: 3310
Joined: 28 Aug 2003 09:38

Post by Villem »

You could add a new button to open the chat window with all chat history and field where to type :roll:
User avatar
GoneWacko
Tycoon
Tycoon
Posts: 8680
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post by GoneWacko »

Hmm I just thought of this. (And so did Akalamanaia, it seems :roll: )

Paint Shop Pro job. (GOD I hate that program... But it uses the right pallete :roll: )

You press the Triangle, the window pops up, press is again, it's gone.
You could make the Triangle flash if someone says something.
Attachments
chat proposal.png
chat proposal.png (139.78 KiB) Viewed 2173 times
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

GoneWacko wrote:Hmm I just thought of this. (And so did Akalamanaia, it seems :roll: )

Paint Shop Pro job. (GOD I hate that program... But it uses the right pallete :roll: )

You press the Triangle, the window pops up, press is again, it's gone.
You could make the Triangle flash if someone says something.
Now would that be ingame-chat, or just the chatlog? I would hate to press the damn button every time someone says something :(
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
User avatar
GoneWacko
Tycoon
Tycoon
Posts: 8680
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post by GoneWacko »

Hmm

Well I suppose if you keep it small it you can leave it open unless you need ALL the space to comfortably build your train network. :roll:

But... Well I just proposed it, you guys are the developers so you get to decide :roll:

Unless I learn C this holiday I will never develop anything (code wise) for OTTD :roll:

I know how to do Hello World in C++ though (well.. Just about... I always get the << and >> wrong :P)
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

GoneWacko wrote:I know how to do Hello World in C++ though (well.. Just about... I always get the << and >> wrong :P)
OT:
<< is usually to print (cout)
>> is usually to get (cin)

Anyways, I'm just giving my ideas and thoughts. As far as I know lucaspiller is making the patch, so he (partly) gets to decide. We just need to find something we can all live with.
You can only customize these things up to a certain extent. It is either a window, or on-the screen. Both of these can be can then be customized as per position, colour, etc. etc. But we should decide on one format.

I like your idea though for the chatlog, but not for chatting in general. I really hate windows obscuring my view :)
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
User avatar
GoneWacko
Tycoon
Tycoon
Posts: 8680
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post by GoneWacko »

Get the game to be 16/32 bit and make the windows transparent when not active :wink:
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
User avatar
Bouke
Engineer
Engineer
Posts: 93
Joined: 18 Jun 2004 10:11
Location: Oudehorne (Frl), The Netherlands

Post by Bouke »

What about a new button in the menu-bar for multi-player options. Like... look on the intranet/internet for servers. Kick/ban users. Look who's connected to this server. Make an online rankingsystem. Invite some players. Etc etc... now THAT would be nice!

And about the chatoption: Make in on-the-screen like Darkvater said and make an window to view the chat-log. (Or a console like in UnrealTournament :P)
User avatar
GoneWacko
Tycoon
Tycoon
Posts: 8680
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post by GoneWacko »

Suuuure rent a leased line and run a matchmaking service.

Who's going to pay?
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
User avatar
orudge
Administrator
Administrator
Posts: 25218
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

I believe I've raised this point a number of times before, GoneWacko. But anyway, that's kind of off-topic for this thread. Feel free to start a new one on the subject, though.
User avatar
GoneWacko
Tycoon
Tycoon
Posts: 8680
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post by GoneWacko »

orudge wrote:I believe I've raised this point a number of times before, GoneWacko. But anyway, that's kind of off-topic for this thread. Feel free to start a new one on the subject, though.
Soooorry mr SROTU

(Funny how I discussed this with some IRC peeps and they don't think I'm rude)

I was being sarcastic this time, not not-so-nice things meant here at all :/
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
User avatar
orudge
Administrator
Administrator
Posts: 25218
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

When did I say you were being rude? I was agreeing with you, saying that I had already made this point before. It may have been open to misinterpretation though. Anyway...
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7596
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

GoneWacko wrote:Hmm I just thought of this. (And so did Akalamanaia, it seems :roll: )

Paint Shop Pro job. (GOD I hate that program... But it uses the right pallete :roll: )

You press the Triangle, the window pops up, press is again, it's gone.
You could make the Triangle flash if someone says something.
Maybe if someone makes a new message, the box automatically expands to how many lines that message takes up, and then goes back down after 5 seconds.
Image
User avatar
lucaspiller
Tycoon
Tycoon
Posts: 1228
Joined: 18 Apr 2004 20:27

Post by lucaspiller »

Well I don't really mind how it gets done as long as it does get done. As I said before I don't really have much experience with displaying stuff so if anyone wants to make something up I will be happy. I don't think a window would be good as it would get in the way - even if it just pops up for a few seconds. As some people seem to want a window though I think an option for it should be added so they will be happy top.

For now though I haven't even got the thing to send the messages to work properbly. I have uploaded a copy of my network.c and main_gui.c (it includes my reconect on desync patch too) because I am having a few problems. When you press Ctrl + C it should send something to the server (at the moment it doesn't bother about what is passed, but you need to pass something) - I have set it up so it sends the letter C, the problem is this appears as a letter H on the server. Can someone have a look to see what I have done wrong? I have spent aaaaggggeeeeessss (about 3 hours :roll: - at least) trying to find the problem but can't find it.

EDIT: I do need to actually upload them.
Attachments
openttd.zip
(22.08 KiB) Downloaded 138 times
Znake
Engineer
Engineer
Posts: 12
Joined: 08 May 2004 21:19

Post by Znake »

How can I use the file with a Windows version of OpenTTD? I don't use Linux at all and run the game without a dedicated server. Could you put a easy-to-use patch file somewhere for use with Windows version? If possible of course.
User avatar
Bouke
Engineer
Engineer
Posts: 93
Joined: 18 Jun 2004 10:11
Location: Oudehorne (Frl), The Netherlands

Post by Bouke »

Znake wrote:How can I use the file with a Windows version of OpenTTD? I don't use Linux at all and run the game without a dedicated server. Could you put a easy-to-use patch file somewhere for use with Windows version? If possible of course.
These are source files, you have to compile the .exe file yourself. But for this and other compiling questions, see other topics. Please don't spam this topic.
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 10 guests