Jump to content




Loading file in smp


  • You cannot reply to this topic
7 replies to this topic

#1 niels22

  • Members
  • 24 posts

Posted 09 September 2012 - 01:49 PM

Hello there.

I'm wondering if it's possible somehow to open a file from your own computer to a smp server?
Or do I have to write/paste it all in manually, because the admins haven't got time to mess with it.

Thanks.

#2 NIN3

  • New Members
  • 57 posts
  • LocationEverywhere.

Posted 09 September 2012 - 03:08 PM

I just copy paste it. Is a good reason to use lots of loops, or you end up copying the same 2 lines for hours......

#3 niels22

  • Members
  • 24 posts

Posted 09 September 2012 - 03:13 PM

I just think it would be really smart if you could paste whole lines, or drag 'n' drop it into the computer.

#4 NIN3

  • New Members
  • 57 posts
  • LocationEverywhere.

Posted 09 September 2012 - 03:19 PM

You can paste whole lines, just not whole programs.

#5 niels22

  • Members
  • 24 posts

Posted 09 September 2012 - 04:09 PM

I know, it's a bit of a pain in a certain place :I

#6 ltstingray

  • New Members
  • 12 posts

Posted 09 September 2012 - 05:53 PM

If the server has http enabled you could use pastebin.


"pastebin put foo" will upload the file "foo" to pastebin.com, and print the URL.
Do this from your ssp game with your files
Or just copy paste them to pastebin

"pastebin get xq5gc7LB foo" will download the file from the URL http://pastebin.com/xq5gc7LB, and save it as "foo".
Do this on your SMP computer.

#7 niels22

  • Members
  • 24 posts

Posted 16 September 2012 - 12:52 PM

How do I find out if it's enabled?

#8 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 16 September 2012 - 07:32 PM

View Postniels22, on 16 September 2012 - 12:52 PM, said:

How do I find out if it's enabled?

The quickest way is to get on a computer on the server, open up the lua prompt and type 'http'. If it says nil, the http API is disabled, if it says table: (eight hex digits), it's enabled.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users