Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)

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

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

Re: Bilbo's multiplayer patch pack v3 (for OpenTTD 0.7.1)

Post by petert »

Razmir, did you actually try to play after the error? I´ve had errors too, but sometimes the game still works
Razmir
Engineer
Engineer
Posts: 25
Joined: 25 Jun 2006 17:18
Contact:

Re: Bilbo's multiplayer patch pack v3 (for OpenTTD 0.7.1)

Post by Razmir »

petert wrote:Razmir, did you actually try to play after the error? I´ve had errors too, but sometimes the game still works
Nothing to play. Compilation ended with error -> no binary done.
Distinguish error from warning.
User avatar
Bilbo
Tycoon
Tycoon
Posts: 1710
Joined: 06 Jun 2007 21:07
Location: Czech Republic

Re: Bilbo's multiplayer patch pack v3 (for OpenTTD 0.7.1)

Post by Bilbo »

Razmir wrote: patch -p0 < bilbo-mp-patchpack-v3-0.7.1.diff &> patch.txt
Seems it aplied fine
Razmir wrote: make &> make.txt
Now I see the error. The reason is that devs have changed naming of the strings in trunk to not include original string ID's, so for example, STR_8869_CAN_T_REVERSE_DIRECTION got renamed to STR_CAN_T_REVERSE_DIRECTION (I think) and probably they backported the change to 0.7.2 too, mking old patches incompatible without modifications.

This bug is from my console commands patch (So I'll have to update it), though maybe there could be more similar bugs.

I'll look at the patchpack and I'll port it to 0.7.2 ... I have also some new patches to add/check, so they may be new patches too, or at least new versions of some of them ...
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)
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Bilbo's multiplayer patch pack v3 (for OpenTTD 0.7.1)

Post by petert »

Great!

Btw, I just wanted to say that I love the console commands for industries, towns, and vehicles. It saves A LOT of clicks!
User avatar
Bilbo
Tycoon
Tycoon
Posts: 1710
Joined: 06 Jun 2007 21:07
Location: Czech Republic

Re: Bilbo's multiplayer patch pack v4 (for OpenTTD 0.7.2)

Post by Bilbo »

I fixed the bug and posted updated version in the first post.

What is changed:

* Updated to 0.7.2
* Newer version of vehicle, town and industry console commands
* Newer version of server list filter
* Replaced Toggle terrain in minimap by enhanced minimap patch, adding ability to zoom the minimap
* Different packaging - the patch is in a zip file, with "build" directory added. That directory contains individual patches and script to combine them and create the monolithic patch. Useful if you want to dissect the patchpack (add, remove or replace some patches) or if you just want similar script for your patchpack. If you want just to compile the pack, get just the patch and the .grf. Ignore the rest.

Windows binaries will be posted once I get to some usable Windows machine that can create them (could be perhaps a week though ....)
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)
Razmir
Engineer
Engineer
Posts: 25
Joined: 25 Jun 2006 17:18
Contact:

Re: Bilbo's multiplayer patch pack v4 (for OpenTTD 0.7.2)

Post by Razmir »

Bilbo wrote:Windows binaries will be posted once I get to some usable Windows machine that can create them (could be perhaps a week though ....)
Till the time Bilbo will make binary how it should be done, you can try my attempt to compile it. I don't say it is flawless, but it worked for me. Bilbo's Pack 0.7.2 Win32 binary

Dík za dobrou práci a rychlou odezvu, Bilbo!
(Thanks for a good work and fast response, Bilbo!)
User avatar
Bilbo
Tycoon
Tycoon
Posts: 1710
Joined: 06 Jun 2007 21:07
Location: Czech Republic

Re: Bilbo's multiplayer patch pack v4 (for OpenTTD 0.7.2)

Post by Bilbo »

My attempt on windows compilation didn't go very well ...

Code: Select all

[SRC] Compiling 3rdparty/squirrel/squirrel/sqapi.cpp
e:/p/openttd/0.7.2a/src/3rdparty/squirrel/squirrel/sqapi.cpp: In function `SQInteger sq_aux_invalidtype(SQVM*, SQObjectType)':
e:/p/openttd/0.7.2a/src/3rdparty/squirrel/squirrel/sqapi.cpp:43: error: `swprintf' undeclared (first use this function)
e:/p/openttd/0.7.2a/src/3rdparty/squirrel/squirrel/sqapi.cpp:43: error: (Each undeclared identifier is reported only once for each function it appears in.)
Seems that my mingw installation is probably outdated (though I compiled some older openttd versions with it before ... weird)
I'll try to fix it, in the meantime either compile it yourself or just grab Razmir's binaries :)
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)
Starbud
Traffic Manager
Traffic Manager
Posts: 211
Joined: 05 Mar 2007 00:48
Location: Sweden
Contact:

Re: Bilbo's multiplayer patch pack v4 (for OpenTTD 0.7.2)

Post by Starbud »

I just tested razmir:s compile of the pack and i noticed that it complain that there is no sounddriver, and that has the logical reason - there is no soundcard in the machine, all slots are taken by networkcards, five of them :)

Previous versions didnt complain at all.
http://openttd.org - i love building stuff :)
Someones play with pics http://dimalimsliv.blogg.se
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Bilbo's multiplayer patch pack v4 (for OpenTTD 0.7.2)

Post by petert »

I have come across a very strange bug on the NewGRF GUI patch.

This is my own custom compile of the patchpack v4 for 0.7.2
GRF GUI bugged.png
No Scrolling available, even though I have many more GRFs
(40.79 KiB) Downloaded 50 times
Dante123
Chief Executive
Chief Executive
Posts: 671
Joined: 11 Aug 2009 16:10
Location: The Nederlands
Contact:

Re: Bilbo's multiplayer patch pack v4 (for OpenTTD 0.7.2)

Post by Dante123 »

Razmir wrote:
Bilbo wrote:Windows binaries will be posted once I get to some usable Windows machine that can create them (could be perhaps a week though ....)
Till the time Bilbo will make binary how it should be done, you can try my attempt to compile it. I don't say it is flawless, but it worked for me. Bilbo's Pack 0.7.2 Win32 binary

Dík za dobrou práci a rychlou odezvu, Bilbo!
(Thanks for a good work and fast response, Bilbo!)
thanx :bow: (my skills dont seem able to compile patch myself)

but it does seem to crash some times though.
i forgot to screenshot the error, i'll take one next time.
one of the 2 errors was some about a "lib file" if i remember correct.
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Bilbo's multiplayer patch pack v4 (for OpenTTD 0.7.2)

Post by petert »

Thats what you get for using patches.
User avatar
Bilbo
Tycoon
Tycoon
Posts: 1710
Joined: 06 Jun 2007 21:07
Location: Czech Republic

Re: Bilbo's multiplayer patch pack v4 (for OpenTTD 0.7.2)

Post by Bilbo »

petert wrote:I have come across a very strange bug on the NewGRF GUI patch.

This is my own custom compile of the patchpack v4 for 0.7.2
GRF GUI bugged.png
Could be error in the NewGRF GUI. If you apply only build/newgrf-gui_v2_r15776-0.7.0.patch from the source package and recompile, do you still see this error?
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
bigos
Traffic Manager
Traffic Manager
Posts: 181
Joined: 13 Sep 2009 21:15
Location: Poland
Contact:

Re: Bilbo's multiplayer patch pack v4 (for OpenTTD 0.7.2)

Post by bigos »

There is a bug when you use ECS construction vector and NARS2 with parameter 2 ( no gear ratio). Game sometimes crush when you try to open any vehicle window. Its coused by PM_filter_by_cargo patch - something wrong with drawing BUILD_VEHICLE_WIDGET_CARGO_DROPDOWN.
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Bilbo's multiplayer patch pack v4 (for OpenTTD 0.7.2)

Post by petert »

I tried patching and compiling for 0.7.3 and here is what I got:
  1. patch.txt
    (4.06 KiB) Downloaded 153 times
  2. Make-Error.txt
    (74.9 KiB) Downloaded 159 times
Can they be fixed for the 0.7.3 release? And also, can you add this patch please? (Here is post)
User avatar
Bilbo
Tycoon
Tycoon
Posts: 1710
Joined: 06 Jun 2007 21:07
Location: Czech Republic

Re: Bilbo's multiplayer patch pack v4 (for OpenTTD 0.7.2)

Post by Bilbo »

petert wrote:I tried patching and compiling for 0.7.3 and here is what I got:
  1. patch.txt
  2. Make-Error.txt
Well, the patch failed to apply, so then it won't compile as well.

I'll have to port the patch to 0.7.3, once I finish it, I'll post updated patch.
petert wrote:Can they be fixed for the 0.7.3 release? And also, can you add this patch please? (Here is post)
The console Watch command? Looks useful, so I'll add it.
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)
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Bilbo's multiplayer patch pack v4 (for OpenTTD 0.7.2)

Post by petert »

Bilbo wrote:The console Watch command? Looks useful, so I'll add it.
Thanks :), but make sure to add it using the version I made, because I revised the language to proper english ;)
User avatar
Bilbo
Tycoon
Tycoon
Posts: 1710
Joined: 06 Jun 2007 21:07
Location: Czech Republic

Re: Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)

Post by Bilbo »

I fixed the watch command patch, posted it to the appropriate thread and used the fixed version in my patchpack

And now ... there is fifth release of my multiplayer patchpack. Get it in first post.

Source is available now, windows binaries will come later (once I manage to compile them for windows too, which is quite slow ...)
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)
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)

Post by petert »

Thank you Bilbo! I did the honors and compiled for you:

bilbo-mp-patchpack-v5-0.7.3.zip
Last edited by petert on 07 Nov 2009 23:06, edited 2 times in total.
User avatar
Muxy
Engineer
Engineer
Posts: 80
Joined: 05 Oct 2008 17:06
Location: Goulp, FR
Contact:

Re: Bilbo's multiplayer patch pack v4 (for OpenTTD 0.7.2)

Post by Muxy »

Bilbo wrote:The console Watch command? Looks useful, so I'll add it.
Hum, great idea. Thanks

I'm currently re-writting this patch with a GUI for better use. It will permit to watch (follow) more than 1 company
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 30 guests