Having issues pasting some things

Neon signs, regular signs, and elevators do not transfer properly when pasting or save after server reboots. The elevators glitch out and kill you if you step into the shaft. Multiple copy/pastes to save updates to structures have even more problems, and ALL of my old Mall designs will not paste (3+ months old).

Default syntax for vending is false but it saves it anyway as though it were set to true, etc., there's so many issues. I LOVE this plugin.. and it has saved me a lot of time as an admin with building custom stores and quests. But it's caused me A LOT of headaches also, and I've had to rebuild a lot of things from scratch, only for this plugin to still not work properly.

Is there another copy/paste plugin available out there? Or will you please redo this one Misticos?

With <3
-Greasy

P.S. I use chicagoservers, and I've found them reliable for the most part, but is it possible that this is the fault of my host and not the plugin? Really reaching here.

So far the only issues I have had are with Neon signs and Elevators.

For me neon signs will paste correctly the first time they are pasted, But after any server restart the Large Animated Neon signs will lose all the frames besides the first one.

For the elevator, on the first paste to duplicate the "lift" part of the elevator. You can see the standable platform with the raise lower button at the bottom of the elevator AND at the top (a single part of the elevator is geting duplicated by the recreation process).

I think this has to do with how the elevators are "recreated" As if you save the elevator with the lift at the bottom, the process of recreating the lift places a new and second lift platform at the top as each level gets added. (youll notice when you build elevators normaly, the lift will go UP to the most recently placed elevator on placement.) I think its this factor that breaks the elevators.

Also the electricity becomes unplugged from the elevator. (pluging it back in manualy does not fix the issue) a Bunch of red text apears in game that is too small to read when the elevator glitchs.

I hope any of this info helps patch the issues.

Merged post

Also, greasy guns you should chill alittle. To say this plugin is not working properly is a exageration. There will always be a gap between brand new rust features and updates to the plugin. Neon signs and elevators are new, so to try and ask the creator if he can point you to a "Better" version of the plugin they put work into is kinda rude.

You're right Balonely, I should chill. I meant no offense, but that was kind of rude of me, and I apologize to Misticos.

Not my greasiest moment.

Other than that, everything you said I am aware of, but thanks.

It still really sucks when I save 10 copies just in case one fails to paste, and then all 10 fail to paste and I loose that build forever. That is my biggest issue.

And in that regard, my complaint is not an exaggeration.

Its all good, I guess as a fellow programer I know the amount of work people put into these, so it can hit alittle more personally for me haha.

I would recomend you dig into the .json files for the specific building that are breaking. you can find those in the oxide/data/copypaste folder.

If you were to recreate one of your old buildings and make a new copy of it, you could compare that new file to the older / broken ones and find any differences.

Also, when you paste a building you might be able to find the specific elements of the building that are breaking, remove and replace those elements, and maybe copy the building as a fresh file. 

If you find these differences in the file structure, sharing those with the creator here could really help them update the plugin.

One practice that I am try to keep when using copy/paste is creating a private server for building that I can keep backups of. When you first make a building that you know will need to be copy and pasted alot you can keep the very origonal creation of that building on a private server. you can then switch back to that private server and have access to the origonal buildings. This will prevent editing a copy of a copy of a copy and so on.

That's all legit, Balonely. Thanks (for putting me in my place) <3

Failed to call hook 'CmdChatPaste' on plugin 'CopyPaste v4.1.27' (JsonReaderException: Additional text encountered after finished reading JSON content: 0. Path '', line 46706, position 1.)
  at Newtonsoft.Json.JsonTextReader.Read () [0x000c8] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0
  at Oxide.Core.Configuration.DynamicConfigFile.Load (System.String filename) [0x0001a] in :0
  at Oxide.Core.DataFileSystem.GetDatafile (System.String name) [0x00011] in :0
  at Oxide.Plugins.CopyPaste.TryPaste (UnityEngine.Vector3 startPos, System.String filename, BasePlayer player, System.Single rotationCorrection, System.String[] args, System.Boolean autoHeight, System.Action callback) [0x0004f] in <2fb368ec45bf4ce0be97e9b1f4e86177>:0
  at Oxide.Plugins.CopyPaste.TryPasteFromSteamId (System.UInt64 userId, System.String filename, System.String[] args, System.Action callback) [0x00091] in <2fb368ec45bf4ce0be97e9b1f4e86177>:0
  at Oxide.Plugins.CopyPaste.CmdChatPaste (BasePlayer player, System.String command, System.String[] args) [0x0007b] in <2fb368ec45bf4ce0be97e9b1f4e86177>:0
  at Oxide.Plugins.CopyPaste.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00840] in <2fb368ec45bf4ce0be97e9b1f4e86177>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0
That is the message I get when it fails to paste. 

That error appears to indicate an issue with your configuration file.

Things I have copied during the wipe, will paste that wipe, but after I wipe, or try to paste on the test server, it doesn't work and I get that in console.

0plYepqxds3zVtg.jpg Wulf

That error appears to indicate an issue with your configuration file.

Uh oh. That's interesting.

Merged post

Do you mean the plugin config or my server config?

No, it'd be one of the config files for CopyPaste.

Shucky dang, darn... I have no idea how to fix that, I'm no pragrammer.

Did you change any of your files manually?

No none of them, I don't even change any of the default syntax options. All I have ever done is download my copy files and upload them back to the copypaste data folder after I wipe and reload the plugin. 

I did find a couple old files that will paste (1yr old?), oddly. But nothing new I build will.

Merged post

I shouldn't say nothing.. I'm focused on one project, a mall, and it has a lot of electronics wired, vending machines. I can get some more simpler things to paste. Maybe it's just too big of a scructure, or too many new electronics? I'm going to try removing newer game items one by one and see if i can get it to work.

Merged post

I've tried a lot of things now, including adjusting config settings, and lowering entities per copy and paste batch, etc.

I bought a test server, took copies of my build at every phase, and made sure it pasted correctly on the test server and normal server.

All smooth until I add items and prices to the vending machines. Even if I remove the items or the vending machines themselves afterwards, it still doesnt work, and I get the same console message that I shared above earlier. I can't narrrow it down to an individual item either, but it's as if it breaks that base from being able to be pasted from any copy I take afterward.

I think I have to face not being able to paste any bases with stocked and configured vending machines, and for now I give up.

hmmm I have not had any problems with vending machines personally. And almost all of my copied buildings have them with full storage and sellOrders set up. However none of my buildings really get that big, maybe 5x5 squares at most. nothing like a Mall.

I guess it might help more to share alittle bit of your workflow.
for instance how often do you paste a building, make changes to it, and then save the edited pasted building as a new copy? as in a copy of a copy.

Are the copys that break for you apart of this copy of copy process described above, where it will succeed to paste a few times, but after resaving it errors will occur?
Or do you make a brand new building, copy it, and then have it fail without ever being able to paste once?

I guess this information would help better find what is broken / breaking for you.

During this run, I completely rebuilt the mall from scratch (41 stores, lots of art, signs, electrics, etc.) and I saved a copy (or several) everytime a did something major, and tested those copies to paste on a seperate server (twig frame, upgraded from twig, add lights/power, add doors/locks, add signs/art, add vending machines, fill vending machines and set sell prices). After I hit the bold step (basically the last step in the project) it won't paste anymore. I never took a copy of a copy so as to remove that as a variable. All copies were taken from the original build.

Merged post

I hit the bold step and tested pasting a copy after only filling ~10/41 vend machines when it wouldn't paste anymore. I haven't narrowed it down to a specific object or variable in the vend machines yet, but that's when pasting goes no good for me anymore.

Merged post

I have all config syntax set to true, and all settings the same on both servers.

So this information gives me 2 thoughts. 

my first is, do you have any other plugins that effect vending machines? maybe these are interfering?
( I dont think there are many out there, so I am assuming not. )

if not, then right now I think with building something so big it might be better split some of the load onto another plugin.

for instance maybe instead of having the all the signs be saved with the copy/paste plugin you could make them into .png images and use SIL to maybe requickly paint them on after pasting the mall building structure. I could believe image textures can be really heavy in the file as it saves the whole image as a data string within the .json file. 

another option if it is specifically vending machines would be to try and use vending manager plugin. this would let you maybe keep the sell prices for the vending machines outside the copy paste .json File and then you can use the commands to reset each vm after pasting the buildings.

While vending manager is okay, I am working on a plugin that automates the vending machine items alot more. if neither of these options work above I can maybe share it with you in hopes that it helps you run your mall better.

By the way id love to check out your mall :)