- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
PcStack
-
Content Count
8 -
Joined
-
Last visited
-
Days Won
1
Posts posted by PcStack
-
-
Is there such thing as an offical OC server? and if so, what is the ip adress of the server?
-
On 8/31/2018 at 7:30 PM, Molinko said:
You should use local variables to avoid future headache.
local component = require("component") local modem = component.modem local event = require("event") print("Connent to which IP?") local port = tonumber(io.read("*n")) -- # convert the string representation of a number to an actual number value modem.open(port) -- # modem.open opens ports not IPs modem.broadcast(port, "packets") local message = select(5, event.pull("modem_message")) -- # get all event data after the 5th element/return value os.execute("pastebin run " .. message)
Ik this but i will manipulate them to act like ips
thank you
-
This program enables you to make servers useful like IRL web servers.
Client Minimum requirements
relay
network card
internet card
apu
Server Minimum Requirements;
Wireless network card
Configured serverside program
Put your paste code in the server program or else it will say Hello.
I did this cause nobody else had and I thought it would be useful
Server paste code: B7b27pc2
Browser paste code: vkL422Sz
I am new to OC and this is my first program
-
I also need help doing it with a wireless modem message for a browser program...
and pastebin run here is my code;
component = require("component") modem = component.modem event = require("event") print("Connent to which IP?") ip = io.read("*n") modem.open(ip) modem.broadcast(ip, "packets") local _, _, from, port, _, message = event.pull("modem_message") message = tostring(i) local command = table.concat({"pastebin run message"}) os.execute(command)
-
1 minute ago, SpaceBeeGaming said:
@PcStack Please mark Molinko's anwer as the best one. So this thread shows on the topic list as answered.
ok
-
Thank you
-
I need help with using variables as codes for pastebin as I am making a browser program, what I am asking is how do I use a variable in the os.execute pastebin thing? please help I just switched over from CC
Web Server and Browser Program
in Programs
Posted
The server freezing is completly normal. I have no idea what's wrong with the browser you NEED an internet card AND wifi card to browse and host servers A screenshot would be helpful, and specs of server and browsing pc.
Edit: internet card not nessecary for server. You have to put the code after the / from the pastebin website into the server program to replace the last argument from the third to last line