anderas wrote:I'd like the binary too, but the source is the most important thing, as me and my friend both run Mac OS X. I guess you don't have a binary for that, so I'll just compile it myself if you could provide a patched openttd source... Zip is fine
that's nice. Mac users, who will compile from source if they have to
I guess I could make a binary tomorrow with those changes. It would be nice to know if it fixes anything for you
Just the idea of reconnecting at desync saves many situations and that's ok as long as it do not happen too often. It fixes the symptom, but not the source of the problem
I made a binary for mac
it includes the auto reconnect thing+ the closeclient() stuff
It also contains sign_de's autofind server
start the client with
-n auto
and it should connect to a server on the local network, but so far I have not got that to work on mac, so please test
First of all I want to thank you all for your great work, I also play openttd (v. 0.3.2.1)multiplayer on the net. But after a couple of minutes I get the network sync error. My OS is Windows XP, I think I also need the patch discussed here, but were can I download the right version I need? And can somebody tell me how I 'install' the patch?? PLEASE HELP ME!!
First of all I want to thank you all for your great work, I also play openttd (v. 0.3.2.1)multiplayer on the net. But after a couple of minutes I get the network sync error. My OS is Windows XP, I think I also need the patch discussed here, but were can I download the right version I need? And can somebody tell me how I 'install' the patch?? PLEASE HELP ME!!
Zmith
You can' t just "install" a patch. A patch is a file which only consists of code changes in the sourcecode. You have to have the sourcecode, the patchfile which will be merged into the sourcecode and an environment for compiling the whole thing (compiling on windows means making an .exe out of the sourcecode which can be run directly).
Ok, I have downloaded the patch, which is a .txt document when I downloaded it. Now I need to find the sourcecode, where is it? And what is SVN? A program or something?
zmith wrote:Ok, I have downloaded the patch, which is a .txt document when I downloaded it. Now I need to find the sourcecode, where is it? And what is SVN? A program or something?
I don' t think I am going to explain everything here.
The (release) sourcecode is on sourceforge, where you downloaded the binary of openttd.
Ask some of the coders where you can get the source of the latest SVN (Means SubVersioN, a system for managing and merging code produced by several coders, like CVS which means Concurrent Version System)
You may want to try the latest release as that is much more stable. Also I will have ago at writing a FAQ / intro to SVN in a min as loads of people seem to have no idea what it is.
lucaspiller wrote:You may want to try the latest release as that is much more stable. Also I will have ago at writing a FAQ / intro to SVN in a min as loads of people seem to have no idea what it is.
sounds good. If you post it on the forum, it could be made a sticky, if it's good enough (or edited)
Thanks for your help, but I have found the solution myself. Before playing you need to send your openttd.cfg to the other players so that its the same, then I can play without any problems! If you delete your openttd.cfg, which I tried, you still have the problem only then after a couple of minutes. I still have one question: How can I play this on my local network?
This situation doesn't work: I am the host (openttd.exe -n) and the other computer is client (openttd.exe -p 1)! We also got a server (kind of router) but I think I do need the IP of my computer and not the IP of my server, well where can I find the IP of my own computer?
Thanks for helping me out!
When continually trying to test a local connection by starting a server and a game and then making a connection to localhost I receive this error on the server:
0.3.3 currently, and it also failed to work in a recent build, though at one point through some strange rigamorole, I'd managed to get it working, though only once.
I tried to apply the patch from lucaspiller to the svn from yesterday... after hours of trying i got it compiled but always i try to start the new .exe file i get the following error:
Assertion Failed!
Program: C:\Programme\OpenTTD\openttd.exe
File: ../../spritecache.c
Line: 257
Expression: b
For more information blablabla...
Does anyone have an idea how to fix it? Or could someone simply send me an executeable with this patch applied?
Oh i forgot to say: i used MinGW Developer Studio to compile it and i'm using Windows XP Professional
Thanks in advance.
[edit] and why has the new executable the size of about 2.5 MB when the old one (from version 0.3.3) has only about 500 KB? [/edit]
spritecache.c usually means that the version of your grf files do not math what the executeable think it should contain. You should look at the grf files that follows OTTD. They are located in the data folder. They properly needs updating