Well what a change from a year or so ago! For the longest time, no one working on multiplayer, now there are 3 groups. Thats pretty awesome. Heres a link to the little demo me and doogs have been working on:
hi folks, was on linux, 2.34 python
worked for me, but only after I loaded the two .py files into the blend. cool blend, it was fun walking of the cliff.
I’m going to be on but going to bed soon so ill be doogs-afk.
Hope to see you guys on the server! Make sure you go on saluk’s server and not mine im just up for demonstration purposes — however if saluk’s doesnt work try mine
Oh, one more thing, if you have any suggestions on helping fix the lag, please get in touch with saluk. all help is appreciated.
Bring your friends!!!
also, when it asks Human or Bot - it doesnt mean AI, it means do you want your character model to be a human or robot… We just implemented that very quickly upon our release
You have to have twisted installed (www.twistedmatrix.com) and run the file server.py. You have to run it from the command line like so:
path o\python server.py “my cool server” 1234
where on windows path o\python is probably c:\python23\python
The server display only shows 2 servers max though. You can manually enter a server/port on the login screen.
The lag issue is due to a major flaw in my implementation, I’m currently in the process of basically rewriting it and wont be there in the next version. (Hopefully!)
Saluk: Very cool concept, and it probably runs great for you, but it’s running at about 1/2 FPS here. It also keeps printing “PYTHON SCRIPT ERROR:”, over and over again, like this:
But anyway, there is a log.txt that will tell the real python error. If it’s import problems, it’s a python installation issue, or, if you are on linux, some people were having trouble where blender didn’t want to import keys.py from the directory. If that’s the case, you can copy keys.py into your lib/python23/ directory, and then python can import it from anywhere.
The server has tu run in a dos window I’m afraid. I don’t know how to make things run as services in windows, although it’s probably not very difficult.
My master server doesn’t handle disconnects correctly, and my computer crashed last night. I forgot to restart the server But the master server thinks its still running. Oops. I just restarted the master server to clear the old server, and ran the server again. Works now.
Guys, i do this:
-run the server.py on port 8001
-click on .blend file and then two windows opens: one window is a command prompt Blender.exe (DOS similar) and the other is Blender editing software.
I goes on Logon and press ‘P’ key, insert data and click on Both or other button than i entering in Virtual Space so i can see a good User Friendly label “nameserver logged on”.
But i can’t do any step. If i press Esc, i came back to editor, but in the black window (DOS similar prompt), i see this error:
PYTHON SCRIPT ERROR:
Traceback (most recent call last):
File “multi”, line 230, in ?
socket.error: (10053, ‘Software caused connection abort’)
xd…sorry i didnt notice his name was doog…i thought he was refering to clockwork orange…the main character speaks nadsat…and droog is nadsat for friend…