Author Topic: Networking  (Read 1411 times)

Can someone post a tutorial on how to use networking, ports, all that stuff?

The engine does all this for you. I don't know what specific questions you have?

i know the engine does it for you, but the question i have is how do i use the networking functions?

What kind of question is that?

It's like walking up to an Astronaut and saying "How do I get into space?"
"You use a spaceship."
"But how do I use a spaceship?"

I don't even know what you're trying to accomplish. What part of space are you going in to? Why are you doing it? The topic is so broad there's absolutely no way to logically even approach what you're asking.

each function, and what they do.
thats what im asking for.
im trying to develop a mod that lets servers recive data from webservers, and send data back.

You mean like Cucumberdude's webserver score keeper that he keeps score of from his server?

You mean like Cucumberdude's webserver score keeper that he keeps score of from his server?
not really, but that is the general idea, server writes to web server, web server writes back.

more like a website-based server control.

so, what are the functions and what does each one of them do?
« Last Edit: May 19, 2011, 08:52:09 PM by Ipquarx »


each function, and what they do.
thats what im asking for.
im trying to develop a mod that lets servers recive data from webservers, and send data back.
You could have said that at the beginning of the topic, instead of being extremely vague.
You need to use TCPObjects or HTTPObjects (which are slightly broken, but easier to use)
Firstly, please actually say what you're trying to send and receive so we can help you.

heres exactly what im trying to do:
1. have the bl server send different variables, like the number of players on the server, mod prefs, lists, ect. to the web server.
2. have the web server be able to change (user input or programmable) and send back prefs for things like banlists, maxplayers, and mod prefs. (like mentioned above)
3. to have this all done on a localhost server that is run using something like wampserver or apache.

and im sorry i was vague.

3. to have this all done on a localhost server that is run using something like wampserver or apache.
You can run a webserver straight from BL.
Also, http://forum.blockland.us/index.php?topic=142682.0

Also, I'd look at this, it looks like a lot of what you wanted.
Look at this. http://forum.blockland.us/index.php?topic=152602.0

I want to know how i can do this myself though, that looks great and all, but how can I do that? what do i need to know? what add-ons should i look at for help? anything. even a tutorial if possible. you know what im trying to do, now i need help, im completely clueless about this stuff. teach me.

What about UPDOpjects?