Proprietor of QWeb Ltd and Bouche Chocolate. A software and game programmer since 1996, these days I mostly make #websites and #chocolate, manage #Linux servers, and drink #whisky. But #gamedev is still my big love.
Currently very slowly working on Argentauria (in #Godot ), an open-world MMORPG inspired by medieval life, tools, and architecture. Devlog at https://ko-fi.com/dev/_ric
@teahands @gamedev you probably want to start by looking up A* pathfinding. Essentially it’s just a way of calculating the shortest route between two places by scoring each adjacent tile from every other, based on how many hops it took to get there. Same maths however many adjacents you have so it should work for hex quite nicely. I’m 99.9% certain a YouTube search will explain better than I can…
@remixtures@tldr.nettime.org GPTBot is the most aggressive content scraper I’ve come across in decades of server management. Totally ignores any crawl limits that you set in your robots.txt, and they operate on enough IPs to make even nginx configured rate limiting a bit futile.
You can, though, block them (and others) by their useragent string. Add this to your .htaccess to block both GPTBot and Claude, for example:
SetEnvIfNoCase ^User-Agent$ .*(ClaudeBot|GPTBot) BADBOTHAMMER
Deny from env=BADBOTHAMMER