A little multiplayer

For questions or suggestions related to the source code.

A little multiplayer

Postby hc-hefi on Fri, 27th Feb 2009, 17:04

Hello Developers.

Let me introduce myself in some sentence. I'm also a developer (officially, too :)) and in my free time I develope an external multiplayer application for BVE (until this time, only for BVE, not OpenBVE). Since many people are switching to OpenBVE I decided to follow them and write application only for OpenBVE.
Yesterday I downloaded the source code. It was hard to understand in the first time, but now I it's better :). Nice, clean, understandable code. Congratulations for it.
Now let's do the business :)
If you wish I can improve the game with a multiplayer feature. This would not be a full multiplayer, only what the BVE-system let me to do. But people can "see" each other in a session.
I can join the team with pleasure. I don't know how much time do you spend with coding BVE, but my free time let me develope every week.
If you are interested then contact me on e-mail: hc-hefi@freemail.hu" onclick="window.open(this.href);return false
I can show you how my system works in BVE right now.
Otherwise I would like to ask your agreement to develope in your source code and public the modified code ONLY for my Virtual Transport Company. The link for the program wouldn't be available outside and would work for VTC members.

br,
Hefi
hc-hefi
 
Posts: 7
Joined: Sat, 25th Oct 2008, 16:30

Re: A little multiplayer

Postby trizz on Mon, 2nd Mar 2009, 07:24

I can't answer all of your questions, as it is up to Michelle. But openBVE is license free. So concerning your question about:
Otherwise I would like to ask your agreement to develope in your source code and public the modified code ONLY for my Virtual Transport Company. The link for the program wouldn't be available outside and would work for VTC members.

You don't need to have agreements or that kind of stuff. You can even modify it to your needs and publish the download link to the whole world. Even put a link on the billboards at Times Square if you like ;)
And at that point, maybe your other questions are also answered. If you don't want your multiplayer "extension" into the official openBVE package, you can already do whatever you want (because, as mentioned earlier; openBVE is license free, also the source). If you want to have it into the official openBVE package, you have to contact Michelle.
trizz
 
Posts: 43
Joined: Thu, 25th Sep 2008, 14:48
Location: Netherlands

Re: A little multiplayer

Postby hc-hefi on Mon, 2nd Mar 2009, 12:13

trizz wrote:If you want to have it into the official openBVE package, you have to contact Michelle.


Actually, this is what i would like to. Because in the other cases every time a new source code is released I must put my logic again. It is OK for me, if there will be no new version every week :)
I will see how I can handle the code. I started developing yesterday and I came up against a big problem with the signals. I couldn't modify the signals' color from another Thread. I got white rectangles at the signals place :).
I would have liked to modify the original code not many place. But that "error" forced me to write into the source code and I was not be able to create just a plugin what can be used simply in every new release.
But we will see what the future brings.
If I finish my work I contact Michelle (hope she will answer :) ). And if she likes my idea then maybe she implements the logic into the source code (much cleaner than I've done).
hc-hefi
 
Posts: 7
Joined: Sat, 25th Oct 2008, 16:30

Re: A little multiplayer

Postby lezzloco on Mon, 2nd Mar 2009, 14:49

hc-hefi, Can you explain what you mean by multi-player, it sounds interesting :D , and what is the software that you seem to have already for original BVE?, a link to it would be good.

Good coding 8)
lezzloco
 
Posts: 102
Joined: Tue, 15th Apr 2008, 01:32
Location: Coventry

Re: A little multiplayer

Postby hc-hefi on Mon, 2nd Mar 2009, 20:10

lezzloco wrote:hc-hefi, Can you explain what you mean by multi-player, it sounds interesting :D , and what is the software that you seem to have already for original BVE?, a link to it would be good.

Good coding 8)

If you are not busy on Friday evening (6th of march, 19:00 UTC), I can show you in working :)
But basically I mean the signals state depending on the other players' position.
The manual door opening/closing is already impleneted in OpenBVE as I see. :)
hc-hefi
 
Posts: 7
Joined: Sat, 25th Oct 2008, 16:30

Re: A little multiplayer

Postby piotrulos on Tue, 3rd Mar 2009, 17:05

Multi player? It`s sounds good. But how it will be works? ex. 6 people will be on server and they will be driving on the map forward and backward (they go to end and come back)? And it will be has a passenger mode?
Translating interface openBVE :finished

Making route:
SKM Warszawa Line S1 (old): 0%
SKM Warszawa Line S2: 0%
piotrulos
 
Posts: 7
Joined: Sat, 6th Sep 2008, 10:56
Location: Warszawa - Falenica

Re: A little multiplayer

Postby hc-hefi on Tue, 3rd Mar 2009, 19:01

I don't know what you mean under passenger mode.
Take a look at one of my controller application:

http://www.vkv.hu/logger/develop/M1/online.jpg

This screenshot was made in our VTC online event. We use TS for voice communicating. If I can I will also implement a voice client to the OpenBVE.
I hope I can show you a working version (in OpenBVE) at the end of the month.
hc-hefi
 
Posts: 7
Joined: Sat, 25th Oct 2008, 16:30


Return to Source code

Who is online

Users browsing this forum: No registered users and 0 guests