Search found 446 matches

by togFox
Mon Nov 29, 2021 12:19 am
Forum: Support and Development
Topic: sock can't connect
Replies: 0
Views: 3

sock can't connect

So I use sock.lua after trying enet and socket and probably other libraries I've forgotten and sock.lua is both very well documented and easy to use and it works out of the box - if you're on a LAN. I can't get an external internet client to connect to the host. I think I've done port forwarding cor...
by togFox
Sat Nov 27, 2021 11:06 pm
Forum: General
Topic: Have you coded a block chain for fun?
Replies: 36
Views: 1684

Re: Have you coded a block chain for fun?

No. Not a joke. My block chain is a table and the table is saved to a text file for future transporting. I use bitser to serialise the table into a string and that string is written to the text file. Point is my block chain is not 'in the clear' and if it were altered with an editor or in transit th...
by togFox
Sat Nov 27, 2021 1:43 pm
Forum: General
Topic: Have you coded a block chain for fun?
Replies: 36
Views: 1684

Re: Have you coded a block chain for fun?

I've built a block chain with a basic GUI. It accidentally has encryption through the use of bitser - noting it's all open source lol.

I'll polish it up and add some robustness and conflict resolution.
by togFox
Sat Nov 27, 2021 8:43 am
Forum: General
Topic: Have you coded a block chain for fun?
Replies: 36
Views: 1684

Re: Have you coded a block chain for fun?

Thanks for giving me a boost on step 1. :)
by togFox
Sat Nov 27, 2021 1:10 am
Forum: General
Topic: Have you coded a block chain for fun?
Replies: 36
Views: 1684

Re: Have you coded a block chain for fun?

The problem is to make a block chain so I can say I've made a block chain. :) I want to climb that hill because it's there. But you're right, I need some context or application or end point. I could gamify this somehow (would be a dull game but it's an exercise) and we're right back where Slime sugg...
by togFox
Fri Nov 26, 2021 11:56 pm
Forum: General
Topic: Have you coded a block chain for fun?
Replies: 36
Views: 1684

Re: Have you coded a block chain for fun?

Yeah, it's easy to get the two mixed up and I can understand why. And for the record, I never meant or said crypto anything and stated above I'm not even caring about basic encryption. Getting back to tech talk: I was thinking more about this before reading GRUMPS code example above. Could this be a...
by togFox
Tue Nov 23, 2021 11:24 am
Forum: General
Topic: Have you coded a block chain for fun?
Replies: 36
Views: 1684

Re: Have you coded a block chain for fun?

Thanks. I'll keep this one up my sleeve and extend. :)
by togFox
Mon Nov 22, 2021 10:11 pm
Forum: General
Topic: Have you coded a block chain for fun?
Replies: 36
Views: 1684

Re: Have you coded a block chain for fun?

I read that LUA doesn't have native hash but, as you have linked, there are lots of libraries.

Strictly speaking, on a trusted network with gaming friends, is encryption needed?
by togFox
Mon Nov 22, 2021 10:09 pm
Forum: General
Topic: Have you coded a block chain for fun?
Replies: 36
Views: 1684

Re: Have you coded a block chain for fun?

I have an idea in the back of my mind about a game that runs in a peer-to-peer network (no host). This might be a stock market game or something that happens in real time over a long time. Peers can join the network and then drop out over the space of days. The world would need to persist over a lon...