
Copy & Paste patch, reworked
Moderator: OpenTTD Developers
Re: Copy & Paste patch, reworked
you forgot the option "invade the country and make everyone learn your language", although i don't really see how that translates to an appropriate analogy 

Re: Copy & Paste patch, reworked
Hmmm ... I was unable to find C&P patch version for 0.7.1 (since version for 0.7.0-RC1/0.7.0 does not work)
Nobody updated it, or is it just me failing to find it?
So I updated the 0.7.0 version to 0.7.1.
I am attaching the updated version here - anybody who want C&P in latest stable can use it.
Nobody updated it, or is it just me failing to find it?
So I updated the 0.7.0 version to 0.7.1.
I am attaching the updated version here - anybody who want C&P in latest stable can use it.
- Attachments
-
- copypaste_071.patch
- Copy & paste for 0.7.1
- (129.04 KiB) Downloaded 241 times
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)
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)
Re: Copy & Paste patch, reworked
i have problems with copypaste. i have an slightly complex mainline-crossing (maybe 35x35 fields large) that i want to copy.
its no problem to copy and paste it, but while load or save this template the game crashs sometimes. firstly thought it was a problem with my timetable-patch but this problem is also with the 0.7.0+copypaste-exe which is downloadable here in the thread directly.
what could it be?
its no problem to copy and paste it, but while load or save this template the game crashs sometimes. firstly thought it was a problem with my timetable-patch but this problem is also with the 0.7.0+copypaste-exe which is downloadable here in the thread directly.
what could it be?
Re: Copy & Paste patch, reworked
What version of the game you use? some stable like 0.7.0 or 0.7.1 or some nightly/SVN build? Which revision?
Also, if you can upload the template that causes trouble, that could help us with finding where the problem is.
Also, if you can upload the template that causes trouble, that could help us with finding where the problem is.
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)
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)
Re: Copy & Paste patch, reworked
thx for the answer 
for my selfcompiled ones i used the patch from this thread published by nex259 for r16427 but on r16565 or something,
but most time i use the 0.7.0-exe which was also in this thread published by Iguanna via zip-file. (http://www.tt-forums.net/download/file.php?id=108738)
problem seems to be the same
first thought i am wrong at compile, but the exe from nex259 makes the same error with that template...
EDIT
ok as said - now the files.
i know its no easy part, but it is also not crashing anytime. files are created via the exe from Iguanna (0.7.0 with copypaste)

for my selfcompiled ones i used the patch from this thread published by nex259 for r16427 but on r16565 or something,
but most time i use the 0.7.0-exe which was also in this thread published by Iguanna via zip-file. (http://www.tt-forums.net/download/file.php?id=108738)
problem seems to be the same
first thought i am wrong at compile, but the exe from nex259 makes the same error with that template...

EDIT
ok as said - now the files.
i know its no easy part, but it is also not crashing anytime. files are created via the exe from Iguanna (0.7.0 with copypaste)
- Attachments
-
- Flensberg Transport, 15. Nov 2009.png
- an Image of the Part which should be saved
- (216.41 KiB) Downloaded 154 times
-
- test-tmpl.zip
- the tmpl-file (correctly created but with crash) including Crashlog while saving
- (3.64 KiB) Downloaded 125 times
-
- savegame.zip
- Savegame which was used for copy/paste/... if needed
- (2.42 MiB) Downloaded 135 times
Re: Copy & Paste patch, reworked
Can someone please post the 0.7.1 windows binaries here?
Regards Frank
Regards Frank
Re: Copy & Paste patch, reworked
You should check Bilbo's multiplayer patchpack, FHS.
Spanish translation of OpenTTD
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Re: Copy & Paste patch, reworked
But i would like a binary without savegame bump (Several Reasons for that)
Regards Frank
Regards Frank
Re: Copy & Paste patch, reworked
My patchpack keeps full multiplayer compatibility (and, of couse, also savegame compatibility). So algonside copy & paste you get come improvements to console commands, console commands to automate some actions with vehicles and towns, and various GUI improvements (better serverlist, better GRF list, etc ...)
Savegame format, all game mechanics and multiplayer protocol remain all the same as ordinary 0.7.1.
For full list of included patches see here: http://www.tt-forums.net/viewtopic.php?f=33&t=43207
Savegame format, all game mechanics and multiplayer protocol remain all the same as ordinary 0.7.1.
For full list of included patches see here: http://www.tt-forums.net/viewtopic.php?f=33&t=43207
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)
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)
Re: Copy & Paste patch, reworked
Is there anyone that has a working Copy & Paste patch for the 0.7.2 RC1?
Re: Copy & Paste patch, reworked
Compile and patch it.
Re: Copy & Paste patch, reworked
I tried, but there were a lot of conflicts to solve, because of code changes......petert wrote:Compile and patch it.
Re: Copy & Paste patch, reworked
Usually patches get updated at least 1 week after the version release. Patience is your friend. 

-
- Engineer
- Posts: 51
- Joined: 12 Feb 2008 17:21
Re: Copy & Paste patch, reworked
Any chance at all of this wonderful patch appearing as a GRF for nightlies any time soon?
Re: Copy & Paste patch, reworked
For this, the chance is exactly 0%. A patch like this cannot be done as a GRF.didomusicuk wrote:Any chance at all of this wonderful patch appearing as a GRF for nightlies any time soon?
Re: Copy & Paste patch, reworked
The patch does not work again......
Please give a new version.........
Please give a new version.........
I speak Chinglish...
Re: Copy & Paste patch, reworked
What is not working?
Can you be specific?
Can you be specific?
Re: Copy & Paste patch, reworked
After codechanges from 0.7.1 to latest trunk, it seems that the diff file is not compatible now. There is a lot of rejs.
I speak Chinglish...
Re: Copy & Paste patch, reworked
I decided that I couldn't live without copy+paste in the latest version and so I tried to make it work. I was eventually successful (successful enough for my needs anyway) by "bodging" it. Thus, as a bodged patch, it comes with the following warning:
BIG HUGE WARNING
I haven't coded anything for at least five years and hadn't looked at the openttd source until yesterday. I basically tried to stop the rejections from the 0.7.1 of copypaste and then fix the errors that were preventing openttd compiling. Sometimes I was able to find out where the code was supposed to go or why it had stopped working, other times I wasn't. In those instances, I just deleted the code or commented it out completely so that the damn thing would compile. It won't copy waypoints, since the handling of those seems to have changed and I couldn't track down the changes. As a result I took an axe to all that code. It won't copy stations (did it ever? I didn't check.) It seems to get confused and become broken if you try and paste over the top of any object like an industry. That might not be my fault though, I didn't check that either. Oh, the highlighting when you're pasting isn't quite right either.
Basically, it does what I want, which is copy track/tunnels/bridges/signals fine.
I fix it up for r17164. It just happened to be the latest version that came out while I was trying to make it work, no other reason than that. It seems to patch and compile onto fonso's cargo distribution version of the game too, which is all I wanted.
You use this patch at your own risk because I haven't got a goddamn clue what I'm doing. It never should have worked. Obviously the planets were in alignment or something.
It would be a real shame if this patch dies a slow death because I think it's great. It shouldn't be left to people making wild stabs in the dark to get it working. Does anybody with some actual talent want to step up and save it?
BIG HUGE WARNING
I haven't coded anything for at least five years and hadn't looked at the openttd source until yesterday. I basically tried to stop the rejections from the 0.7.1 of copypaste and then fix the errors that were preventing openttd compiling. Sometimes I was able to find out where the code was supposed to go or why it had stopped working, other times I wasn't. In those instances, I just deleted the code or commented it out completely so that the damn thing would compile. It won't copy waypoints, since the handling of those seems to have changed and I couldn't track down the changes. As a result I took an axe to all that code. It won't copy stations (did it ever? I didn't check.) It seems to get confused and become broken if you try and paste over the top of any object like an industry. That might not be my fault though, I didn't check that either. Oh, the highlighting when you're pasting isn't quite right either.
Basically, it does what I want, which is copy track/tunnels/bridges/signals fine.
I fix it up for r17164. It just happened to be the latest version that came out while I was trying to make it work, no other reason than that. It seems to patch and compile onto fonso's cargo distribution version of the game too, which is all I wanted.
You use this patch at your own risk because I haven't got a goddamn clue what I'm doing. It never should have worked. Obviously the planets were in alignment or something.
It would be a real shame if this patch dies a slow death because I think it's great. It shouldn't be left to people making wild stabs in the dark to get it working. Does anybody with some actual talent want to step up and save it?

- Attachments
-
- copypaste_bodged_r17164.diff
- my bodged copy/paste circa 17164
- (129.53 KiB) Downloaded 160 times
Last edited by KingNimby on 14 Aug 2009 23:40, edited 1 time in total.
-
- Chief Executive
- Posts: 658
- Joined: 11 Nov 2007 12:06
- Contact:
Re: Copy & Paste patch, reworked
This patch is a realy big patch as it is now and changes many things
Just to say would some one make it so it only copies and pastes railway track on there own
Then see if we can get that part of the patch in to trunk
Befor we add all the cool parts in
or is this patch all ways going to be keeped as a whole patch
Just to say would some one make it so it only copies and pastes railway track on there own
Then see if we can get that part of the patch in to trunk
Befor we add all the cool parts in
or is this patch all ways going to be keeped as a whole patch
For Community Integrated Version http://code.google.com/p/civopenttd/
Who is online
Users browsing this forum: No registered users and 6 guests