This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Araneo's profile picture

Copy scripts from local to SMP

Started by Araneo, 24 March 2012 - 02:11 PM
Araneo #1
Posted 24 March 2012 - 03:11 PM
Hello. When I play on SMP server, and I am not admin. How I can copy my scripts from local computer to game in SMP server.
In SSP game I copy it to save folder and to computercraft\<ID computer> folder. But on SMP?

Thanks
Espen #2
Posted 24 March 2012 - 03:13 PM
You can paste your code into pastebin.com and then make use of the native 'pastebin' program of CC to download it into your CC computer:
help pastebin
Araneo #3
Posted 24 March 2012 - 11:32 PM
Thanks, but "help pastebin" write "No help available"
I found something about it on the internet, but http needed. Http is disabled on this server.

Is there other way to copy code from local to server?
Casper7526 #4
Posted 25 March 2012 - 12:48 AM
You can just copy paste your code, but there is a limit to how much you can pastein from your clipboard before well… bad things happen :(/>/>
Espen #5
Posted 25 March 2012 - 02:14 AM
Thanks, but "help pastebin" write "No help available" I found something about it on the internet, but http needed. Http is disabled on this server. Is there other way to copy code from local to server?
Ok, in that case it seems the server you're on is running ComputerCraft below version 1.3.
Also if they've even disabled the http functionality of CC, then there's not much you can do except what Casper already suggested.

Someone made a CC FTP mod for Bukkit, so that one can upload the programs into one's computer folder: http://www.computercraft.info/forums2/index.php?/topic/279-bukkitsmpcomputercraft-ftp/
But the admins would have to make use of that of course. Maybe you can pitch them the idea, though it could be a security risk, because it's not as rigorously tested as e.g. some popular ftp server software.
Araneo #6
Posted 25 March 2012 - 08:03 AM
You can just copy paste your code, but there is a limit to how much you can pastein from your clipboard before well… bad things happen :(/>/>
How I can paste? I tried CTRL+V but it doesn't work. (Nothing happend)

Ok, in that case it seems the server you're on is running ComputerCraft below version 1.3.
I wrote help index. There is topic called whatsnew1.2 - so maybe it is only computercraft 1.2 - it is technicpack server.
Admin is not very helpful. Not even fix the bug with changing diskdrive to modem.
ComputerCraftFan11 #7
Posted 25 March 2012 - 08:30 AM
You can just copy paste your code, but there is a limit to how much you can pastein from your clipboard before well… bad things happen :(/>/>
How I can paste? I tried CTRL+V but it doesn't work. (Nothing happend)

Ok, in that case it seems the server you're on is running ComputerCraft below version 1.3.
I wrote help index. There is topic called whatsnew1.2 - so maybe it is only computercraft 1.2 - it is technicpack server.
Admin is not very helpful. Not even fix the bug with changing diskdrive to modem.

You can get a auto Typer, I made tut on one somewhere in lua…
Wired2coffee #8
Posted 25 March 2012 - 09:15 AM
Well, if you happen to be running on a mac, I made an auto typer just recently for this exact purpose.
Just run this in applescript:
Spoilerdelay (3)
set lol to (the clipboard)

set lz to 0
set lx to 0
set lol2 to count characters of (the clipboard)
repeat lol2 times
set lx to lx + 1
set lz to lz + 1
set wordsx to characters lz thru lx of lol as text
delay 0.01
w_Type(wordsx)

end repeat
Espen #9
Posted 25 March 2012 - 10:48 AM
How I can paste? I tried CTRL+V but it doesn't work. (Nothing happend)
If you press CTRL once, you'll enter the menu of the editor, that's why it isn't working.
Do it whis way:
  1. Press the CTRL once to enter the menu.
  2. Then press CTRL+V to paste something.
Hope this way it works for you, sure does for me. :(/>/>
LucasUK #10
Posted 10 July 2012 - 11:42 PM
Im so dumb, im an admin on custom modified minecraft not tekkit or anything, but I cant find my created programs in windows? Please help? SMP

Thanks!
LucasUK #11
Posted 11 July 2012 - 07:07 PM
EDIT - OMG!

Ok resolved B)/>/>, all saves in SMP go into the "WorldSaves" folder, even though my world is saved as a different name and in a different location :)/>/> B)/>/> Thinking about it I remember reading it somewhere when I installed the mod a while back B)/>/>
stabby #12
Posted 22 January 2013 - 08:07 AM
Well, if you happen to be running on a mac, I made an auto typer just recently for this exact purpose.
Just run this in applescript:
Spoilerdelay (3)
set lol to (the clipboard)
set lz to 0
set lx to 0
set lol2 to count characters of (the clipboard)
repeat lol2 times
set lx to lx + 1
set lz to lz + 1
set wordsx to characters lz thru lx of lol as text
delay 0.01
w_Type(wordsx)
end repeat

This code does not work for me =/ It gives me the error: "«script» doesn’t understand the w_Type message."