[patch] Clipboard (a/k/a "Copy and Paste")
Moderator: OpenTTD Developers
- Streckenläufer
- Engineer
- Posts: 57
- Joined: 22 Jun 2012 14:45
- Location: Berlin-Germany
Re: [patch] Clipboard (a/k/a "Copy and Paste")
Hello,
Thanks for the implementation, the binary works but when compiling appear error.
Thanks for the implementation, the binary works but when compiling appear error.
- Attachments
-
- fehler.jpg (198.03 KiB) Viewed 15514 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!
OpenTTD V1.7.1, r27930 - Trafficlight - Bridge/tunnel Signals - Watertunnel - HousePlacing - SeaplaneAirport - Clipboard - Win7 64bit - MinGW/msys
!Sorry for my google English translator!
- Streckenläufer
- Engineer
- Posts: 57
- Joined: 22 Jun 2012 14:45
- Location: Berlin-Germany
Re: [patch] Clipboard (a/k/a "Copy and Paste")
Hello adf88, I get the following error when compiled with mingw under Win7.
Openttd 1.6.0 RC1 - the_clipboard_2.0.0_beta1-ottd_r27325-svn.patch
Error in map.cpp you can help me?
Openttd 1.6.0 RC1 - the_clipboard_2.0.0_beta1-ottd_r27325-svn.patch
Error in map.cpp you can help me?
- Attachments
-
- clip_fehler.jpg (25.32 KiB) Viewed 4271 times
-
- clip_fehler1.jpg (68.64 KiB) Viewed 15469 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!
OpenTTD V1.7.1, r27930 - Trafficlight - Bridge/tunnel Signals - Watertunnel - HousePlacing - SeaplaneAirport - Clipboard - Win7 64bit - MinGW/msys
!Sorry for my google English translator!
Re: [patch] Clipboard (a/k/a "Copy and Paste")
Try changing to
Code: Select all
TileTransformation ret = { dtr, { to_x - tile.x, to_y - tile.y } };
Code: Select all
TileTransformation ret = { dtr, { (int16)(to_x - tile.x), (int16)(to_y - tile.y) } };
don't worry, be happy and checkout my patches
- Streckenläufer
- Engineer
- Posts: 57
- Joined: 22 Jun 2012 14:45
- Location: Berlin-Germany
Re: [patch] Clipboard (a/k/a "Copy and Paste")
Hello adf88,
this line produces more errors.
this line produces more errors.
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!
OpenTTD V1.7.1, r27930 - Trafficlight - Bridge/tunnel Signals - Watertunnel - HousePlacing - SeaplaneAirport - Clipboard - Win7 64bit - MinGW/msys
!Sorry for my google English translator!
Re: [patch] Clipboard (a/k/a "Copy and Paste")
I have noticed an error when pasting.
It seem to occur sometimes but not always, to me it seems to pick up bad data to put into the copybuffer because some layouts works fine but then i pick something up that cant be pasted exept if i use full terraform.
Some crashes at the exact moment of pushing paste.
Added two screenshots
It seem to occur sometimes but not always, to me it seems to pick up bad data to put into the copybuffer because some layouts works fine but then i pick something up that cant be pasted exept if i use full terraform.
Some crashes at the exact moment of pushing paste.
Added two screenshots
- Attachments
-
- pastingerror when not using full terraform.png
- Pastingerror when not using full terraform
- (3.92 MiB) Not downloaded yet
-
- functional pasting when using full terraform.png
- functional pasting when using full terraform
- (2.51 MiB) Not downloaded yet
Last edited by Starbud on 16 Mar 2016 23:34, edited 2 times in total.
Re: [patch] Clipboard (a/k/a "Copy and Paste")
Can the terraforminlimit be increased?
I often hit that limit when pasting big layouts.
I often hit that limit when pasting big layouts.
Re: [patch] Clipboard (a/k/a "Copy and Paste")
you can change that from the console
Re: [patch] Clipboard (a/k/a "Copy and Paste")
By "crashes" did you mean just red "Can't paste here..." boxes? Or the game really crashes? On the first screenshoot it looks like you are just trying to paste something which is too high and the land cannot be terraformaed because of a bridge in a way, nothing unusual... It's too little information. If there is an issue I'll fix it but you must provide me a better description. Give me a savegame, show me (e.g. on a screenshot) what exactly to copy and where exactly to paste and describe me why do you thing that results should be different. I must be able to reproduce the thing on my computer.Starbud wrote:It seem to occur sometimes but not always, to me it seems to pick up bad data to put into the copybuffer because some layouts works fine but then i pick something up that cant be pasted exept if i use full terraform.
Some crashes at the exact moment of pushing paste.
Added two screenshots
There are some caveats that you may be unaware of:
- In multiplayer, this is rather a clone tool than a copy-paste tool. There is no clipboard buffer. When copying you actually just select a piece on the map. When pasting, contents from the previously selected area will be cloned onto paste area (with all the changes that occurred on the copy area since it was selected).
- Minimal terraforming is not "terraform as less as possible", it's almost like that. The actual rule is "if there's anything on the tile that is about to be copy-pasted then also copy-paste height from all 4 corners surrounding the tile".
Try changing construction.terraform_per_64k_frames and/or construction.terraform_frame_burst in console.Starbud wrote:Can the terraforminlimit be increased?
I often hit that limit when pasting big layouts.
don't worry, be happy and checkout my patches
Re: [patch] Clipboard (a/k/a "Copy and Paste")
Hello!
Here is patch for "openttd-trunk-r27537" and precompiled binaries
Here is patch for "openttd-trunk-r27537" and precompiled binaries
- Attachments
-
- the_clipboard_2.0.0_beta1-ottd_r27537-svn.patch
- clippboard 2.0b1 patch for r27537
- (572.07 KiB) Downloaded 369 times
-
- openttd-trunk-r27537-windows-win86.zip
- precompiled openttd r27537 with clipboard 2.0b1 patch/mod
- (10.59 MiB) Downloaded 456 times
Re: [patch] Clipboard (a/k/a "Copy and Paste")
hellou need help how can i install "copy and paste mod" under ver 1.6.1 and running servers under 1.6.1?
Re: [patch] Clipboard (a/k/a "Copy and Paste")
You cannot.vredko wrote:hellou need help how can i install "copy and paste mod" under ver 1.6.1 and running servers under 1.6.1?
First of all, 1.6.1 comes without copy/paste patch. If you change the code in any way, for example, by adding the copy/paste patch, it is not 1.6.1 any more, it's a modified 1.6.1 ("1.6.1 + copy/paste" would be its name, for example, but at least not just plain "1.6.1").
Secondly, all games in a multi-player game must be the exact same version. An 1.6.1 multi-player game only runs if all participating machine runs the exact same 1.6.1 version (which is easy, as there is only one version named 1.6.1),
If you want to use a modified version in a multi-player game, then all participating machines must use that exact same modified version.
Being a retired OpenTTD developer does not mean I know what I am doing.
Re: [patch] Clipboard (a/k/a "Copy and Paste")
I cannot load/save template with this patch.musznik wrote:Hello!
Here is patch for "openttd-trunk-r27537" and precompiled binaries
I do not see any button for it.
How do I do that ?
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Re: [patch] Clipboard (a/k/a "Copy and Paste")
Here is patch for "openttd-trunk-r27875" and precompiled binaries
- Attachments
-
- the_clipboard_2.0.0_beta1-ottd_r27875-svn.patch
- (571.78 KiB) Downloaded 244 times
-
- clipboard_r27875_win_x86.rar
- (6.28 MiB) Downloaded 331 times
-
- clipboard_r27875_linux_x86.tar.gz
- (6.29 MiB) Downloaded 243 times
Re: [patch] Clipboard (a/k/a "Copy and Paste")
missing clipboard.grf .htk0708 wrote:Here is patch for "openttd-trunk-r27875" and precompiled binaries
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Re: [patch] Clipboard (a/k/a "Copy and Paste")
i thing it the most useful patch ever when making big maps
I have upgraded, and need help from some one to compile it for working in r27886" !!
I have upgraded, and need help from some one to compile it for working in r27886" !!
Re: [patch] Clipboard (a/k/a "Copy and Paste")
Enjoy. Barely tested, for now. Will test in my gameplay later. You can get required clipboard.grf from first message in this topic.
Upd.: it's working, kinda, but has many bugs.
Upd.: it's working, kinda, but has many bugs.
- Attachments
-
- the_clipboard_2.0.0_beta1-ottd_r27875-svn.patch
- (571.78 KiB) Downloaded 256 times
Re: [patch] Clipboard (a/k/a "Copy and Paste")
Uploading clipboard.grf extracted from one of the files in the current original post.agentw4b wrote:missing clipboard.grf .htk0708 wrote:Here is patch for "openttd-trunk-r27875" and precompiled binaries
- Attachments
-
- clipboard.grf
- clipboard.grf
- (5.28 KiB) Downloaded 455 times
Re: [patch] Clipboard (a/k/a "Copy and Paste")
I know, but I do not need to deal with it for a long time.Starbud wrote:Uploading clipboard.grf extracted from one of the files in the current original post.agentw4b wrote:missing clipboard.grf .htk0708 wrote:Here is patch for "openttd-trunk-r27875" and precompiled binaries
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Re: [patch] Clipboard (a/k/a "Copy and Paste")
Ok, fair enough.agentw4b wrote:I know, but I do not need to deal with it for a long time.
I uploaded it because i had the same problem of finding clipboard.grf.
When i found it i figured i save those comming after me some time by simply uploading it
Here is a game with 9 000 000 T pounds in a company and somewhat raised terraforming limits and magic bulldozer
- Attachments
-
- 9 000 000T Pounds money Starbud, 2973-08-19.sav
- a 4096x4096 savegame with too much money
- (4.71 MiB) Downloaded 171 times
-
- 9 000 000T Pounds money Starbud, 2980-09-17.sav
- anoter version, later date
- (4.71 MiB) Downloaded 180 times
Last edited by Starbud on 31 Mar 2018 15:58, edited 2 times in total.
Re: [patch] Clipboard (a/k/a "Copy and Paste")
Btw, anyone feeling like hosting that map?
I dont know how to get trough my linux gateway, Xubuntu if anyone happen to know how to forward ports.
I happily host it myself if i just know how.
I dont know how to get trough my linux gateway, Xubuntu if anyone happen to know how to forward ports.
I happily host it myself if i just know how.
Who is online
Users browsing this forum: Ahrefs [Bot] and 6 guests