Help please!
Error while compiling: CupboardGUI.cs(70,77): error CS1503: Argument `#1' cannot convert `System.IO.MemoryStream' expression to type `byte[]'
Solved Argument `#1' cannot convert `System.IO.MemoryStream' expression to type `byte[]'
Discussion in 'Rust Development' started by Dima1809, Oct 9, 2017.
-
Em... dude, there did this plugin cam from? This is due to patch, that has been for a loong ago.
Where did you get it? Who is the developer? -
-
Wulf Community Admin
In short though, you need to remove the MemoryStream usage and call the www.bytes directly. -
@Dima1809 as Wulf mention - you are listed as the dev there.
So? If you are the developer - feel free to do it yourself!
There is a bunch of examples overs the oxide, enjoy =)
P.S. I bet you just stole this plugin from some kind of the private storage... -
-
Then why you are listed there as an author? Stealing over peoples job is not a good thing.
Also - you said above that you don't know who author is, so..... Seems like you lied to us =D
As far as you know the author - ask him to do so.
No one here wants to do the job for you.
You can get help if you would provide the information about what you've done already to achive your goal.
You don't look like a type who can do anything, so you want a job to be done for you. Cool. I can do it. But not for free, ofc =) -
@Dima1809
Change
Code:imageFiles.Add(queue.name, FileStorage.server.Store(stream, FileStorage.Type.png, CommunityEntity.ServerInstance.net.ID).ToString());
Code:imageFiles.Add(queue.name, FileStorage.server.Store(www.bytes, FileStorage.Type.png, CommunityEntity.ServerInstance.net.ID).ToString());
[Info("CupboardGUI", "Enigma", "1.0.6")] -
-
-
-
-