Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

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

Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by Roujin »

I created a screenshot thread with cargodest some time ago, you can find it here: http://www.tt-forums.net/viewtopic.php?f=47&t=38860

It features both story-like screenshots of my game and screenshots that focus on aspects of the cargo destinations branch, e.g. explaining some new feature.
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage
PhilSophus
Chairman
Chairman
Posts: 776
Joined: 20 Jan 2007 12:08
Location: Germany

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by PhilSophus »

DJ Nekkid wrote:is there any chance this can get synced with cargodest? i keep building the same station bits all over all the time...
Did you try if it just applies? On first thought, I don't see where cargodest and c&p should conflict (except maybe for the usual and easy to fix places like settings).

Edit: A quick check shows, that copy_paste_r14589.patch indeed cleanly applies to current cargodest, but it neither compiles for trunk nor for cargodest. A file named command_queue.h is missing. From looking at the patch, I suspect that either someone renamed command_queue.h to copy_paste.h and didn't change the includes or forgot to svn add command_queue.h before creating the patch.
"The bigger the island of our knowledge, the longer the shore of our ignorance" - John A. Wheeler, Physicist, 1911-2008
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by DJ Nekkid »

would it be possible to attach that win32 binary to this post? ;)
Member of the
ImageImage
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by Yexo »

PhilSophus wrote:...but it neither compiles for trunk nor for cargodest. ...
Seems like he doesn't have a binary ;)
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by DJ Nekkid »

what about


Edit: A quick check shows, that copy_paste_r14589.patch indeed cleanly applies to current cargodest


??
Member of the
ImageImage
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by Yexo »

Patching the code goes without problems apparently, but then you still have to compile to get a binary (and compiling seems to fail).
User avatar
Gremnon
Tycoon
Tycoon
Posts: 1517
Joined: 16 Sep 2005 12:23
Skype: the_gremnon
Location: /home
Contact:

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by Gremnon »

BUT..... does it work without crashing?
Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by Roujin »

if it doesn't compile, there's nothing that could crash.
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage
User avatar
Gremnon
Tycoon
Tycoon
Posts: 1517
Joined: 16 Sep 2005 12:23
Skype: the_gremnon
Location: /home
Contact:

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by Gremnon »

Not so. I compile several patches into my build, and they patch and compile fine, but crash on a failed assertation I haven't nailed down yet.

Edit: and whoever I was replying to deleted their post.
PhilSophus
Chairman
Chairman
Posts: 776
Joined: 20 Jan 2007 12:08
Location: Germany

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by PhilSophus »

Gremnon wrote:Not so. I compile several patches into my build, and they patch and compile fine, but crash on a failed assertation I haven't nailed down yet.
As I said, I would be very surprised if cargodest and c&p interfered with each other. The compilation problem is another issue which happens also in trunk and is due to the patch missing files (e.g. command_queue.h, command_queue.cpp). The one before looks even more suspicious as it has only a size of one third of the regular size.
"The bigger the island of our knowledge, the longer the shore of our ignorance" - John A. Wheeler, Physicist, 1911-2008
hallan
Engineer
Engineer
Posts: 3
Joined: 03 Sep 2008 19:10

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by hallan »

Any one can upload(for example sendspace.com) copmiled version 0.6.3? Please:)
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by Yexo »

hallan wrote:Any one can upload(for example sendspace.com) copmiled version 0.6.3? Please:)
Please read the first post.
Der_Paul
Engineer
Engineer
Posts: 2
Joined: 25 Dec 2008 19:34

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by Der_Paul »

Is there anyone that have a nightly with YAPP and copy and paste?

It would be a great christmas present.
davidc
Engineer
Engineer
Posts: 25
Joined: 25 Jan 2005 20:31

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by davidc »

Attached is a first stab at a patch against trunk (r14756), based on copypaste-13911.patch.

It doesn't work 100%, there are a few crashes and failed assertions. All of the other previous problems (signal types etc.) still remain. I haven't tried with cargodest as I don't play it, so I wont be looking at that just yet. Tested with cygwin. I can load old games and start new ones, except the occasional crashes.

If I get some more time this week I'll try to fix the bugs and then work on improvements. If not, here's a start for somebody who wants to modify the code.

Edit: Oops, it seems some of the calls to DoCommandP were broken before I generated the diff. Latest one attached, will compile against trunk.
Attachments
copypaste-14757.patch
(128.79 KiB) Downloaded 126 times
Der_Paul
Engineer
Engineer
Posts: 2
Joined: 25 Dec 2008 19:34

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by Der_Paul »

:bow:
davidc
Engineer
Engineer
Posts: 25
Joined: 25 Jan 2005 20:31

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by davidc »

Der_Paul wrote:Is there anyone that have a nightly with YAPP and copy and paste?

It would be a great christmas present.
Call it a new year present. Or maybe for Christmas 2009?
maartena
Route Supervisor
Route Supervisor
Posts: 470
Joined: 11 Jul 2003 04:53
Location: California, U.S.A.

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by maartena »

Wil the copy/paste patch be updated for 0.7.0-beta1 as well?
Guess what! I got a fever! And the only prescription...... is MORE COWBELL!
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by DaleStan »

Go away, Alain.

*sigh*
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Starbud
Traffic Manager
Traffic Manager
Posts: 211
Joined: 05 Mar 2007 00:48
Location: Sweden
Contact:

Re: Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Post by Starbud »

Ok, thanks for the effort you have done, it has been apreciated by me.
I have certainly liked the tool, it has allowed me to develop my designs bigtime.
I think i read about another copypaste-project, anyone that can confirm my memory or i'm i just remembering wrong?
http://openttd.org - i love building stuff :)
Someones play with pics http://dimalimsliv.blogg.se
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 19 guests