Search found 21 matches

by stampede
Thu Jan 07, 2010 6:34 am
Forum: Support and Development
Topic: Camera in 0.6.0
Replies: 18
Views: 4799

Re: Camera in 0.6.0

osuf oboys wrote:Sorry, Camera is not compliant with LÖVE 0.6.0. I will update it as soon as possible.
Remember to provide old camera version for 0.5 too, don't delete it <3
by stampede
Wed Dec 30, 2009 6:43 pm
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 118675

Re: LUBE (Networking Library) v0.6.1 + LUBE-X v0.02

If i just put acceptAll and then update (no timers or anything) server hangs up, and doesn't even show that someone's trying to connect BEFORE I close the client. Then it says "connection from 127.0.0.1"

Fuck this is hard, but fun :D
by stampede
Wed Dec 30, 2009 6:10 pm
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 118675

Re: LUBE (Networking Library) v0.6.1 + LUBE-X v0.02

Hmm, the server still seems to hang up with tcp. I think it's about :acceptAll() function. Using that every two seconds in update function. Client seemed to conversate with the server smoothly, but server just didn't show any signs of doing anything. But after I disconnected client, the server showe...
by stampede
Wed Dec 30, 2009 1:36 pm
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 118675

Re: LUBE (Networking Library) v0.6.1 + LUBE-X v0.02

You need to test the clients thing (tcp + udp objects)? Did you add anything else you need to test? I can do it at night probably. Now I have to sleep a bit because of the last night's coding sprint :P
by stampede
Wed Dec 30, 2009 10:50 am
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 118675

Re: LUBE (Networking Library) v0.6.1 + LUBE-X v0.02

EDIT: Oh, what you could do, is set the handshake to the version number, and send an ok message back in the connect callback, if the client receives that he knows he has connected. That's exactly what I'm doing now! Been up all night long coding this system :D Tested first with the tcp, and the ser...
by stampede
Tue Dec 29, 2009 11:16 pm
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 118675

Re: LUBE (Networking Library) v0.6.1 + LUBE-X v0.02

Yeah, thought after couple of your posts that it must be that one. I just don't understand all the metatables and other hassle in lua yet :P Currently writing a basic online rpg engine. Been wanting to write one for years, and finally I think I can really do it with Löve+Lube. Basic idea of this rpg...
by stampede
Tue Dec 29, 2009 11:04 pm
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 118675

Re: LUBE (Networking Library) v0.6.1 + LUBE-X v0.02

Hmm, not good enough in lua yet, didn't find it in the lube.lua :( But alrighty mighty! So I can just init two tables (one for tcp and other for udp data exchanging) with lube.server() and it should work right once you update the clients table thing? Thanks for helping with this! And hope this proje...
by stampede
Tue Dec 29, 2009 10:54 pm
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 118675

Re: LUBE (Networking Library) v0.6.1 + LUBE-X v0.02

Ah yeah now I got it, at least partially. So are you going to add lube.server function to the new version, or do I write it myself?
by stampede
Tue Dec 29, 2009 10:46 pm
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 118675

Re: LUBE (Networking Library) v0.6.1 + LUBE-X v0.02

This is getting more confusing now. Hmm. Why can't I just

Code: Select all

tcp_server = lube.server
tcp_server:Init(1234, "tcp") -- Yeah it's probably "tcp", I just messed up it
Would be great to wrap my head around this so when you update the clients table thing, I could use it straight away :S
by stampede
Tue Dec 29, 2009 10:30 pm
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 118675

Re: LUBE (Networking Library) v0.6.1 + LUBE-X v0.02

tcp_server = lube.server() -- copies all the needed data to tcp_server tcp_server:Init(1234, tcp) -- Inits it with decired port and protocol Like this then? You said the object would be already inited, but how could it be inited when I haven't given its port and protocol yet? :? Man this is confusi...