Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sat Dec 15, 2018 9:56 pm

All times are UTC




Post new topic  Reply to topic  [ 85 posts ]  Go to page 1 2 3 4 5 Next
Author Message
 Post subject: Joker's Patch Pack
PostPosted: Wed Jan 13, 2016 2:53 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Tue Apr 13, 2010 9:31 pm
Posts: 274
f*** THIS FORUM and its entire community. I'm done with this.


Last edited by KeldorKatarn on Sat May 12, 2018 3:59 pm, edited 19 times in total.

Top
   
 Post subject: Re: Joker's Patch Pack
PostPosted: Wed Jan 13, 2016 4:22 pm 
Offline
Engineer
Engineer

Joined: Tue Jan 13, 2015 10:26 am
Posts: 38
Hello :)

You forgot to show the feature video of this patchpack, really interesting!


I am trying to compile on linux, if someone can help to make it work, it fails (I'm not a programmer, dunno how to do it):

Code:
EDIT this one I made compile, and others errors... but stopped on post below.



Joker can't help, only windows side:


Last edited by nihues on Wed Jan 13, 2016 10:30 pm, edited 1 time in total.

Top
   
 Post subject: Re: Joker's Patch Pack
PostPosted: Wed Jan 13, 2016 5:32 pm 
Offline
Engineer
Engineer

Joined: Tue Jan 13, 2015 10:26 am
Posts: 38
I'm getting this now compiling on linux, if someone can help... I'ill compile on linux and post the binary.

Code:

[SRC] Compiling terraform_cmd.cpp
/home/nihues/Downloads/OpenTTD_PatchPack-master_joker/src/tbtr_template_vehicle_func.cpp: In function ‘void ptv(TemplateVehicle*)’:
/home/nihues/Downloads/OpenTTD_PatchPack-master_joker/src/tbtr_template_vehicle_func.cpp:58:111: error: cast from ‘TemplateVehicle*’ to ‘uint32 {aka unsigned int}’ loses precision [-fpermissive]
   printf("eid:%3d  st:%2d  tv:%x  next:%x  cargo: %d  cargo_sub: %d\n", tv->engine_type, tv->subtype, (uint32)tv, (uint32)tv->Next(), tv->cargo_type, tv->cargo_subtype);
                                                                                                               ^
/home/nihues/Downloads/OpenTTD_PatchPack-master_joker/src/tbtr_template_vehicle_func.cpp:58:132: error: cast from ‘TemplateVehicle*’ to ‘uint32 {aka unsigned int}’ loses precision [-fpermissive]
   printf("eid:%3d  st:%2d  tv:%x  next:%x  cargo: %d  cargo_sub: %d\n", tv->engine_type, tv->subtype, (uint32)tv, (uint32)tv->Next(), tv->cargo_type, tv->cargo_subtype);
                                                                                                                                    ^
/home/nihues/Downloads/OpenTTD_PatchPack-master_joker/src/tbtr_template_vehicle_func.cpp:61:110: error: cast from ‘TemplateVehicle*’ to ‘uint32 {aka unsigned int}’ loses precision [-fpermissive]
  printf("eid:%3d  st:%2d  tv:%x  next:%x  cargo: %d  cargo_sub: %d\n", tv->engine_type, tv->subtype, (uint32)tv, (uint32)tv->Next(),  tv->cargo_type, tv->cargo_subtype);
                                                                                                              ^
/home/nihues/Downloads/OpenTTD_PatchPack-master_joker/src/tbtr_template_vehicle_func.cpp:61:131: error: cast from ‘TemplateVehicle*’ to ‘uint32 {aka unsigned int}’ loses precision [-fpermissive]
  printf("eid:%3d  st:%2d  tv:%x  next:%x  cargo: %d  cargo_sub: %d\n", tv->engine_type, tv->subtype, (uint32)tv, (uint32)tv->Next(),  tv->cargo_type, tv->cargo_subtype);
                                                                                                                                   ^
/home/nihues/Downloads/OpenTTD_PatchPack-master_joker/src/tbtr_template_vehicle_func.cpp: In function ‘void pvt(const Train*)’:
/home/nihues/Downloads/OpenTTD_PatchPack-master_joker/src/tbtr_template_vehicle_func.cpp:67:84: error: cast from ‘const Train*’ to ‘uint {aka unsigned int}’ loses precision [-fpermissive]
    printf("train has weird index: %d %d %x\n", tmp->index, tmp->engine_type, (uint)tmp);
                                                                                    ^
/home/nihues/Downloads/OpenTTD_PatchPack-master_joker/src/tbtr_template_vehicle_func.cpp:70:202: error: cast from ‘const Train*’ to ‘uint32 {aka unsigned int}’ loses precision [-fpermissive]
   printf("eid:%3d  index:%2d  subtype:%2d  vehstat: %d  cargo_t: %d   cargo_sub: %d  ref:%x\n", tmp->engine_type, tmp->index, tmp->subtype, tmp->vehstatus, tmp->cargo_type, tmp->cargo_subtype, (uint32)tmp);
                                                                                                                                                                                                          ^
[SRC] Compiling terraform_gui.cpp
[SRC] Compiling textbuf.cpp
make[1]: ** [tbtr_template_vehicle_func.o] Erro 1




Top
   
 Post subject: Re: Joker's Patch Pack
PostPosted: Wed Jan 13, 2016 8:11 pm 
Offline
Engineer
Engineer
User avatar

Joined: Fri Jun 22, 2012 2:45 pm
Posts: 57
Location: Berlin-Germany
Hello Keldor,
I have more than one error, the original source code from your trunk, after ./configure and make the following errors occur:


Attachments:
fehler.jpg
fehler.jpg [ 177.4 KiB | Viewed 16359 times ]

_________________
MfG Streckenläufer
OpenTTD V1.7.1, r27930 - Trafficlight - Bridge/tunnel Signals - Watertunnel - HousePlacing - SeaplaneAirport - Clipboard - Win7 64bit - MinGW/msys
!Sorry for my google English translator!
Top
   
 Post subject: Re: Joker's Patch Pack
PostPosted: Wed Jan 13, 2016 8:28 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Tue Apr 13, 2010 9:31 pm
Posts: 274
As I mentioned, I haven't tested any other platforms or compilers. If you can figure it out or fix it go ahead. But I can't maintain different platforms and compilers for this, I don't have the time.


Top
   
 Post subject: Re: Joker's Patch Pack
PostPosted: Wed Jan 13, 2016 10:29 pm 
Offline
Engineer
Engineer

Joined: Tue Jan 13, 2015 10:26 am
Posts: 38
Streckenläufer wrote:
Hello Keldor,
I have more than one error, the original source code from your trunk, after ./configure and make the following errors occur:


I've had the same problem, and googled it, after that more 5-6 errors came... then I stopped at my post above yours... need to change something more complex for me, so I'm waiting someone to figure out :)

don't have the changed files now, tomorrow I can send you.

@KeldorKatarn Found a bug, if drag the new semaphore to a bridge (possible tunnel too) openttd crashes.


Top
   
 Post subject: Re: Joker's Patch Pack
PostPosted: Wed Jan 13, 2016 10:39 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Tue Apr 13, 2010 9:31 pm
Posts: 274
Thanks I'll check for that.


Top
   
 Post subject: Re: Joker's Patch Pack
PostPosted: Thu Jan 14, 2016 12:27 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Tue Apr 13, 2010 9:31 pm
Posts: 274
Fixed the logic signal dragging issue and also fixed another problem with them not evaluating and setting states correctly.


Top
   
 Post subject: Re: Joker's Patch Pack
PostPosted: Tue Mar 08, 2016 7:54 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Tue Apr 13, 2010 9:31 pm
Posts: 274
Version 1.12.6 is up


Top
   
 Post subject: Re: Joker's Patch Pack
PostPosted: Wed Mar 09, 2016 2:28 pm 
Offline
Engineer
Engineer

Joined: Mon Oct 22, 2012 12:02 am
Posts: 61
Hi,
Great pack, but I do have a request
Could you add the Terminus Airport Patch and extra large maps patch?

viewtopic.php?f=33&t=73976
viewtopic.php?f=33&t=33137&start=0#


Top
   
 Post subject: Re: Joker's Patch Pack
PostPosted: Sun Mar 20, 2016 5:33 pm 
Offline
Engineer
Engineer

Joined: Thu Dec 19, 2013 9:00 am
Posts: 9
where is the station rating adjustment setting? i cant find it and with the original rating system the game is unplayable.


Top
   
 Post subject: Re: Joker's Patch Pack
PostPosted: Sat Apr 02, 2016 7:39 am 
Offline
Engineer
Engineer

Joined: Wed Sep 27, 2006 6:04 pm
Posts: 77
For what it's worth: you need to add overlay_cmd.cpp to source.list, otherwise compiling from a fresh clone from GitHub fails.


Top
   
 Post subject: Re: Joker's Patch Pack
PostPosted: Sat Apr 02, 2016 7:35 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Tue Apr 13, 2010 9:31 pm
Posts: 274
Now supports having 32 rail types active at the same time instead of 16. I found an unused bit on the tilemap structure.

@JGR, as always you might want to steal this one :) The commits are are from the last two days, should be easy to track them down. I think it's only two commits. One adding the feature, one fixing bugs and making sure loading additional ones during a running game via NewGRF doesn't break everything.


Top
   
 Post subject: Re: Joker's Patch Pack
PostPosted: Fri Jun 03, 2016 4:35 am 
Offline
Engineer
Engineer

Joined: Fri Jun 03, 2016 4:19 am
Posts: 1
Are you still updating this patchpack? Love it btw. :)


Top
   
 Post subject: Unknown Cause of Crash
PostPosted: Tue Jun 14, 2016 12:31 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Tue Oct 20, 2015 7:05 pm
Posts: 231
Every time I open up my savegame I get the following message:

Assertion failed at line 123 of c:\users\andreas\documents\visual studio 2013\openttd\src\track_fun.h:IsValidTrackdir(trackdir)

Could anyone please translate this into English? How do I fix this problem

Btw, my name is not Andreas, so I don't know what it is even doing there...


Top
   
PostPosted: Tue Jun 14, 2016 2:50 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Mar 19, 2009 7:25 pm
Posts: 2621
Location: Kent
It looks to me that you are trying to open a saved game from a patched copy of openttd in a trunk version and its attempting to call a function that doesnt exist in trunk.

Is this isolated to a single saved game file? Can you share it here?

_________________
Image


Top
   
PostPosted: Tue Jun 14, 2016 3:05 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Sun Sep 09, 2007 5:03 am
Posts: 4677
Location: home
Leanden wrote:
It looks to me that you are trying to open a saved game from a patched copy of openttd in a trunk version and its attempting to call a function that doesnt exist in trunk.
The assert statement is really in a function that exists, or it would not get called and fail :)

@Translink:
Official openttd versions don't use "andreas" afaik (the path there is where the source file was located at the system while making the executable), so you must be running either a self-built version (unlikely, as you don't know where "andreas" came from, so it's not a file system path at your machine), or you are running a randomly downloaded openttd version from somewhere.

Assuming the latter is the case, I'd suggest you ask there about this problem.


For the future, if you use patched versions, please indicate that as such, so we don't have to reverse-engineer that information.

_________________
Being a OpenTTD developer does not mean I know what I am doing.
Also, other OpenTTD developers may have different opinions.


Top
   
PostPosted: Tue Jun 14, 2016 3:47 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Mar 19, 2009 7:25 pm
Posts: 2621
Location: Kent
I was actually referring to Trackfun.h :D

_________________
Image


Top
   
PostPosted: Tue Jun 14, 2016 4:01 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon Jan 14, 2008 3:51 pm
Posts: 644
Location: PL
In any case, a savegame cannot call a function :p

_________________
:] don't worry, be happy and checkout my patches


Top
   
PostPosted: Tue Jun 14, 2016 4:53 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Sun Sep 09, 2007 5:03 am
Posts: 4677
Location: home
Leanden wrote:
I was actually referring to Trackfun.h :D
It's no fun, those tracks :D

_________________
Being a OpenTTD developer does not mean I know what I am doing.
Also, other OpenTTD developers may have different opinions.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 85 posts ]  Go to page 1 2 3 4 5 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.
Hosted by Zernebok Hosting.