Search found 72 matches

by zalander
Thu Feb 15, 2024 2:16 pm
Forum: Support and Development
Topic: Http requests
Replies: 7
Views: 977

Re: Http requests

pgimeno wrote: Wed Feb 14, 2024 4:58 pm It sounds like a wrong DLL. Either wrong bits (32 vs 64) or this ssl.dll is not the one expected by LuaSec.
Thanks for the help ill look for another DLL.
by zalander
Sun Feb 11, 2024 12:31 pm
Forum: Support and Development
Topic: Http requests
Replies: 7
Views: 977

Re: Http requests

Found this: https://github.com/26F-Studio/love-luasec/releases/tag/v1.0.3 And finally a new error. Here is the error Error error loading module 'ssl' from file 'C:\Program Files\LOVE\ssl.dll': The specified procedure could not be found. Traceback [love "callbacks.lua"]:228: in function 'ha...
by zalander
Sat Feb 10, 2024 4:51 am
Forum: Support and Development
Topic: Http requests
Replies: 7
Views: 977

Re: Http requests

Thanks for the help guys ! :3 Ill test the libs out.
Thanks one again !
by zalander
Fri Feb 09, 2024 4:10 pm
Forum: Support and Development
Topic: Http requests
Replies: 7
Views: 977

Http requests

Sup, Working on some thing And I need help with socket.http, i need to get some files from pastebin but when ever i send a req i always get a 301. Here is the code local http = require("socket.http") local body, statusCode, headers, statusText = http.request("https://pastebin.com/raw/...
by zalander
Thu Feb 01, 2024 4:04 pm
Forum: Support and Development
Topic: Broken console output
Replies: 2
Views: 67979

Re: Broken console output

You need to run the .love file it should run the python code in a separate thread.
EDIT:
The console output looks like this
by zalander
Tue Jan 23, 2024 11:46 am
Forum: Support and Development
Topic: How to get the pointer to a file ?
Replies: 2
Views: 1015

Re: How to get the pointer to a file ?

Nwm figured it out thanks for the help though.
by zalander
Sun Jan 21, 2024 8:25 am
Forum: Support and Development
Topic: How to get the pointer to a file ?
Replies: 2
Views: 1015

How to get the pointer to a file ?

Sup
The title is pretty self explanatory.

Code: Select all

file = love.filesystem.newFile("In love with love2d.txt")
-- How the get the pointer ?
by zalander
Sat Jan 13, 2024 7:40 am
Forum: Support and Development
Topic: Broken console output
Replies: 2
Views: 67979

Broken console output

Sup Im working on some stuff and I got some broken console output no idea how to fix it I have attached the code as a zip file (btw you need to have python installed and its path setup for the code to work and the program might not work for linux) Also the python script's output is sometimes shown o...
by zalander
Sun Jan 07, 2024 10:36 am
Forum: General
Topic: [Just for fun] Roast my code.
Replies: 14
Views: 251096

Re: [Just for fun] Roast my code.

mr global.png You have no window wrapping so you can type on a line forever, but that's more of a "incompleteness" thing than a code thing. Also, love.graphics.printf has text wrapping built in, you might want to consider using it instead. Printf kinda breaks the line number system. Soo i...
by zalander
Sun Jan 07, 2024 10:27 am
Forum: General
Topic: [Just for fun] Roast my code.
Replies: 14
Views: 251096

Re: [Just for fun] Roast my code.

Why is 'tmp' a global??? Local variables have far better performance! Also, try to structure your game to not need love.load() at all - it'll help you improve your code structure. This code was for a challenge "Create the worst text editor"(Given by a friend). Sooo the performance has to ...