Search found 11 matches

by Sharkinmytea
Thu Oct 08, 2015 3:06 am
Forum: Support and Development
Topic: Lua-enet, Which Ip to put in.
Replies: 7
Views: 3837

Re: Lua-enet, Which Ip to put in.

lllllllllllll
by Sharkinmytea
Thu Oct 08, 2015 2:39 am
Forum: Support and Development
Topic: Lua-enet, Which Ip to put in.
Replies: 7
Views: 3837

Re: Lua-enet, Which Ip to put in.

Well, I dont know much about what you posted but i'm pretty sure i gave all the arguments I could. Here is the reference I used for this function http://leafo.net/lua-enet/#hostservicetimeout The host is determined in the start of the file, it has the IP and port. The event is returned when the func...
by Sharkinmytea
Thu Oct 08, 2015 2:06 am
Forum: Support and Development
Topic: Lua-enet, Which Ip to put in.
Replies: 7
Views: 3837

Re: Lua-enet, Which Ip to put in.

Well i tried searching :external address ip on google and it gave me an IP. I tried to use that, but each time I use an IP that isnt local (0.0.0.0 / localhost / 192.168.0.101) it gives me the error: main.lua:9 attempt to index upvalue 'host' (a nil value) Only on the server The client, I assume, ke...
by Sharkinmytea
Thu Oct 08, 2015 1:34 am
Forum: Support and Development
Topic: Lua-enet, Which Ip to put in.
Replies: 7
Views: 3837

Lua-enet, Which Ip to put in.

Hi I made a recent post about how when I dragged the window my server crashed up until now, I've been working with this address : 'localhost:17771' I forwarded the port 17771 on my router for the the ip range of 192.168.0.100 to 192.168.0.110. Know I want to play with my friends and I know they cant...
by Sharkinmytea
Mon Oct 05, 2015 10:28 pm
Forum: Support and Development
Topic: Lua-enet, client keeps giving error no matter what I do
Replies: 6
Views: 2283

Re: Lua-enet, client keeps giving error no matter what I do

I've played around with my code and I think nixola is correct, Problem ''solved'', i'll have to live with that!
by Sharkinmytea
Mon Oct 05, 2015 1:57 am
Forum: Support and Development
Topic: Lua-enet, client keeps giving error no matter what I do
Replies: 6
Views: 2283

Re: Lua-enet, client keeps giving error no matter what I do

Mmmmmm, quick update, and an important one at that.
It seems the client fails only when i resize or move the server window.
What the hell is this problem and how can i solve it?
by Sharkinmytea
Mon Oct 05, 2015 1:41 am
Forum: Support and Development
Topic: Lua-enet, client keeps giving error no matter what I do
Replies: 6
Views: 2283

Lua-enet, client keeps giving error no matter what I do

I, I'm trying to make a little server which could receive a packed table as a string, unpack it, calculate stuff on it and return it as a packed table. The problem is that i've used this tutorial http://leafo.net/lua-enet/#tutorial and tried to adapt it to love with the callbacks. This is the code i...
by Sharkinmytea
Sat Oct 03, 2015 11:05 pm
Forum: Support and Development
Topic: Limited Updates per Seconds
Replies: 3
Views: 1484

Re: Limited Updates per Seconds

The fps could be 10 it wouldn't make such a difference in my game. I'm making a multiplayer rogue like game. The maps are 100 x 100 and there are 5 layers to them. Since it's a 4 player game, it has to handle 20 layers which all have to receive calculation for the FOV, collision and multiples other ...
by Sharkinmytea
Sat Oct 03, 2015 10:07 pm
Forum: Support and Development
Topic: Limited Updates per Seconds
Replies: 3
Views: 1484

Limited Updates per Seconds

Hi, I wanted to make sure that love could handle the game i wanted to do, so I checked how many times love would update per second. I ran that code into it: function love.load() updates = 1 seconds = 0 updatepersec = 0 end function love.update(dt) updates = updates + 1 seconds = seconds + dt updatep...
by Sharkinmytea
Wed Sep 30, 2015 9:12 pm
Forum: Support and Development
Topic: Radius and blocked line of sight on a grid.
Replies: 2
Views: 1649

Re: Radius and blocked line of sight on a grid.

Thanks, with the information you gave me, i searched a little bit more and found exactly what I needed there:viewtopic.php?f=5&p=159707