EMPM (Enhanced MultiPlayer Mod) r13223 v.0.8beta

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

Post Reply
Anunnaki
Engineer
Engineer
Posts: 64
Joined: 16 Aug 2005 16:09
Location: Prague, Czech Republic

EMPM (Enhanced MultiPlayer Mod) r13223 v.0.8beta

Post by Anunnaki »

EDIT 24.05.2008: UPDATE!

Diff file for svn trunk r13223:
r13223_EMPMv08.patch
(341.78 KiB) Downloaded 101 times
Win32 build (VS2008, NF3.5,DX2008) + all files to play with us on our server:
http://www.ahaportal.com/OpenTTD_r13223+EMPMv08.rar

Our server name is: "!EMPM v.0.8", join, test, and report bugs :)

Included:
r13220_Daylenght-V4_unofficial.diff
r13220_YappV7_unofficial.diff
r13217_InfrastructureSharing-V04c-wip.diff
r13220_MinTownIndustryDistance-R3_unofficial.diff
r13220_MinTownIndustryDistance-R3_unofficial.diff,
r13220_ReducedIndustry-V01.diff
Last edited by Anunnaki on 24 May 2008 04:43, edited 7 times in total.
Anunnaki
Engineer
Engineer
Posts: 64
Joined: 16 Aug 2005 16:09
Location: Prague, Czech Republic

Re: EMPM (Enhanced Multi-player Mod) r13015

Post by Anunnaki »

Future release (what to do):
improved_loans_r13015.patch

Known BUGs:
a) only short messages are possible in chat (problem in trunk)
b) player name in game is ignored, everyone is connected as "PLAYER #n" (problem in trunk)

Included in EMPM v0.8beta (actual release):
r13220_Daylenght-V4_unofficial.diff, official web: http://www.tt-forums.net/viewtopic.php?f=33&t=31657, latest patch from: http://www.tt-forums.net/viewtopic.php?p=687002#p687002,
r13220_Daylenght-V4_unofficial.diff
(23.58 KiB) Downloaded 82 times
r13220_YappV7_unofficial.diff, official web: http://www.tt-forums.net/viewtopic.php?f=33&t=36107, latest patch from: http://www.tt-forums.net/viewtopic.php?p=681585#p681585,
r13220_YappV7_unofficial.diff
(195.12 KiB) Downloaded 90 times
r13217_InfrastructureSharing-V04c-wip.diff, official web: http://www.tt-forums.net/viewtopic.php?f=33&t=37455, latest patch from: http://www.tt-forums.net/viewtopic.php?p=688757#p688757,
r13217_InfrastructureSharing-V04c-wip.diff
(125.59 KiB) Downloaded 98 times
Last edited by Anunnaki on 24 May 2008 02:15, edited 5 times in total.
Anunnaki
Engineer
Engineer
Posts: 64
Joined: 16 Aug 2005 16:09
Location: Prague, Czech Republic

Re: EMPM (Enhanced Multi-player Mod) r13015

Post by Anunnaki »

r13220_MinTownIndustryDistance-R3_unofficial.diff, official web: http://www.tt-forums.net/viewtopic.php?f=33&t=33625, latest patch from: http://www.tt-forums.net/viewtopic.php?p=617797#p617797, r13220_ReducedIndustry-V01.diff, official web: - , latest patch from: - ,
r13220_ReducedIndustry-V01.diff
(1.12 KiB) Downloaded 137 times
About r13220_ReducedIndustry-V01:
This is my first mod, still beta. The mod reduce/change amount of industry placed by game generator on the start of the game.
It is not depending on size of map, it only depends on industry amount settings. In this beta it is:

Industry setting (shortcut IS) can be 1,2,3 or 4 (verylow,low,medium,high).

For every type of primary Industry would be calculated amount:
33% chance ... IS
33% chance ... random from IS to IS*2
33% chance ... random from IS*2 to IS*4

For every type of secondary Industry would be calculated amount:
75% chance ... IS
25% chance ... IS*2

PS: When have someone any idea how to change that or improve, let me know here :).
Last edited by Anunnaki on 24 May 2008 04:41, edited 9 times in total.
zombie
Traffic Manager
Traffic Manager
Posts: 153
Joined: 19 May 2005 22:19
Location: Germany

Re: EMPM (Enhanced Multi-player Mod) r13015

Post by zombie »

Hi.

I arranged a similar patch pack for me as well. I included YAPP and Infrastructure Sharing (from viewtopic.php?p=688782#p688782 to include the "move player" patch). The game runs quite well, but I can't open the replace vehicles dialog. On trying to open it OpenTTD client crashes. The server keeps working. Does your patch pack have the same problem?

The server was compiled with GNU make on Debian Testing x86 the client was compiled with VS2008 Pro.

Kind regards

Zombie
Anunnaki
Engineer
Engineer
Posts: 64
Joined: 16 Aug 2005 16:09
Location: Prague, Czech Republic

Re: EMPM (Enhanced Multi-player Mod) r13015

Post by Anunnaki »

zombie wrote:Hi.
I arranged a similar patch pack for me as well. I included YAPP and Infrastructure Sharing (from viewtopic.php?p=688782#p688782 to include the "move player" patch). The game runs quite well, but I can't open the replace vehicles dialog. On trying to open it OpenTTD client crashes. The server keeps working. Does your patch pack have the same problem?
Zombie
Yes...i discover the same problem. I try tomorrow standalone Infrastructure Sharing on clean trunk and i try.
Somethimes the game crash, sometimes the vehicle is not replaced, and somethime is replaced, but not appears in list in replace vehicle dialog. :( But all others seem ok to this time.
User avatar
Gedemon
Traffic Manager
Traffic Manager
Posts: 150
Joined: 29 Apr 2004 21:53

Re: EMPM (Enhanced Multi-player Mod) r13015

Post by Gedemon »

could you try with depot sharing turned off and report, please ?
Anunnaki
Engineer
Engineer
Posts: 64
Joined: 16 Aug 2005 16:09
Location: Prague, Czech Republic

Re: EMPM (Enhanced Multi-player Mod) r13015

Post by Anunnaki »

Gedemon wrote:could you try with depot sharing turned off and report, please ?
Yes... but now i am at work. When i return home (about 22:00 GMT) i can test it:

X) EMPM v0.3 patch pack with r13014 and sharing depods OM (already tested, problem found)
1) EMPM v0.3 patch pack with r13014 and sharing depods OFF
2) EMPM v0.3 patch pack with r13014 and complette sharing OFF
3) standalone Sharing patch with r13015 and sharing depods ON
4) standalone Sharing patch with r13015 and sharing depods OFF
5) standalone Sharing patch with r13015 and complette sharing OFF
I hope we find that. Of course i try to make "debug" not "release" so i can watch crash/problems in VS2008.
zombie
Traffic Manager
Traffic Manager
Posts: 153
Joined: 19 May 2005 22:19
Location: Germany

Re: EMPM (Enhanced Multi-player Mod) r13015

Post by zombie »

Hi.

I just built a clean trunk version (13025) and a version including the sharing patch (13024 + patch for 12983) in VS2008. BOTH versions have the problem. Maybe it's not about the patch but about a problem with the VS2008 build. I'll test it with a VS2005 build.

Kind regards

Zombie
OpenTTD: OpenTTD-Wiki
OpenTTDCoop: Blog, Wiki
My favorite patches: cargo destinations, shared infrastructure
Anunnaki
Engineer
Engineer
Posts: 64
Joined: 16 Aug 2005 16:09
Location: Prague, Czech Republic

Re: EMPM (Enhanced Multi-player Mod) r13015

Post by Anunnaki »

zombie wrote:...Maybe it's not about the patch but about a problem with the VS2008 build. I'll test it with a VS2005 build...
True, so there can be problems in VS2008 project file, or there is some bigger change in svn r13015 and above, which need codechanges in "shared" patch, which must make its author i think.
zombie
Traffic Manager
Traffic Manager
Posts: 153
Joined: 19 May 2005 22:19
Location: Germany

Re: EMPM (Enhanced Multi-player Mod) r13015

Post by zombie »

Hi.

I just checked with VS2005. Again I compiled a clean trunk version (13025) and a trunk version with the patch (trunk 13024 + patch for 12983). I still have the problem. I even created a blank openttd.cfg to start with all default settings but the problem still occurs in both versions.

I've configured VS2005 and VS2008 according to the tutorials in the wiki. But I use Visual Studio 2005/2008 Professional instead of the C++ Express editions. I really have no idea what's the problem. There are many Windows builds around the forum that include patches. Is none of them compiled with Visual Studio? Or do I have to set secial options in VS to compile a working version of OpenTTD?

EDIT: I modified engine.cpp. Why should vehicle lists with less than 2 entries get sorted? I attached a patch file to have a workaround for the problem.

EDIT2: The same version but compiled with BuildOTTD runs fine. It seems that Microsoft's compiler does not like the code I patched. On closing this build I get an exception. But for the moment I don't really care.

Kind regards

Zombie
Attachments
r13025_vehicle_replace_error_in_vs_fixed.patch
(497 Bytes) Downloaded 117 times
OpenTTD: OpenTTD-Wiki
OpenTTDCoop: Blog, Wiki
My favorite patches: cargo destinations, shared infrastructure
Anunnaki
Engineer
Engineer
Posts: 64
Joined: 16 Aug 2005 16:09
Location: Prague, Czech Republic

VEHICLES REPLACEMENT BUG in SVN 13067 still persist.

Post by Anunnaki »

Problem is in clean SVN from 13015 to 13067 ...

http://www.tt-forums.net/viewtopic.php?p=690432#p690432
Anunnaki
Engineer
Engineer
Posts: 64
Joined: 16 Aug 2005 16:09
Location: Prague, Czech Republic

Re: EMPM (Enhanced MultiPlayer Mod) r13223 v.0.8beta

Post by Anunnaki »

Updated, new version if EMPM r13223 v.0.8beta.
http://www.tt-forums.net/viewtopic.php?p=689235#p689235
Chico008
Traffic Manager
Traffic Manager
Posts: 143
Joined: 05 Mar 2008 10:56
Location: France

Re: EMPM (Enhanced MultiPlayer Mod) r13223 v.0.8beta

Post by Chico008 »

do you plan to make an update with lastest version of these patch using the latest trunk ?

how did you merge all these patch in one single file ?
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 6 guests