Search found 7 matches
- Mon Jan 06, 2025 9:05 pm
- Forum: Support and Development
- Topic: How do I send files to a client?
- Replies: 3
- Views: 817
Re: How do I send files to a client?
Error: sock.lua:287: attempt to index local 'message' (a number value) stack traceback: [love "boot.lua"]:352: in function '__index' sock.lua:287: in function '__unpack' sock.lua:249: in function 'update' main.lua:27: in function 'update' [love "callbacks.lua"]:162: in function ...
- Mon Jan 06, 2025 8:04 pm
- Forum: Support and Development
- Topic: How do I send files to a client?
- Replies: 3
- Views: 817
Re: How do I send files to a client?
You need to encode such file for sending by using one of the algos such as base64 or more efficient ones (and/or pack it). You don't mention whether you have successful *message* communication or not. Your pseudocode would be: open file encode it send it receive file (the other end) decode it save ...
- Mon Jan 06, 2025 7:15 pm
- Forum: Support and Development
- Topic: [SOLVED] Character doesn't appear
- Replies: 4
- Views: 884
Re: Character doesn't appear
Debug, debug and more debug (print values or in any other way). Put those in important places of your code. I am sure you will spot the issue. If not, then come back with a log. It was a simple error in which I placed the character's draw command in the update function. When I found out I felt real...
- Mon Jan 06, 2025 7:10 pm
- Forum: Support and Development
- Topic: How do I send files to a client?
- Replies: 3
- Views: 817
How do I send files to a client?
Hello, I'm doing the multiplayer part of my game and the way it works is a little difficult for me, the client and the server contain the "resources" folder but the server has this folder full, while the client has it empty, in this every time a client connects, the server would send the r...
- Sat Dec 28, 2024 10:39 pm
- Forum: Support and Development
- Topic: [SOLVED] Character doesn't appear
- Replies: 4
- Views: 884
[SOLVED] Character doesn't appear
hello again, I'm having a problem where my game character isn't appearing and everything seems very strange because the functions and files don't return any type of error :( . character draw code (humanModules.lua) function draw(p) local size = 3 copyBody = {} for i=1, 6 do table.insert(copyBody, p....
- Thu Dec 26, 2024 2:38 am
- Forum: Support and Development
- Topic: My table.sort doesn't work
- Replies: 2
- Views: 557
Re: My table.sort doesn't work
oh, I understand now, I didn't know that

- Thu Dec 26, 2024 1:06 am
- Forum: Support and Development
- Topic: My table.sort doesn't work
- Replies: 2
- Views: 557
My table.sort doesn't work
I'm developing a game and the character is divided into parts and I'm trying to make a code that makes the sprites not messed up when the character rotates using table.sort, the problem is that with or without this function it remains messy :shock: part of the code that SHOULD fix the order of the s...