Time Nick Message 00:45 ghoti How would I make a basic_robot do things that a command block can do, like "tell @nearest hello" or "teleport @nearest x,y,x"? Is there something like an exec() function that can be called? 01:06 MTDiscord Those @​nearest things are command block specific things, command block mod parses those and does magic itself so it is not exactly directly usable for other mods 01:10 MTDiscord Command block basically takes chat command "/teleport" for example, then it sees @nearest and executes some loop where it checks every player coordinates and finds nearest, takes name and replaces @nearest say with "ghoti" and adds rest of command then what it executes is actually "/teleport ghoti x,y,z" 01:12 MTDiscord There seems to be some documentation for basic_robot at https://wiki.minetest.net/Mods/basic_robot 09:19 MiniontobyPI Hey 09:19 MiniontobyPI I need some help 09:20 MiniontobyPI I installed the serverlist thing 09:20 MiniontobyPI and i fixed all issues with domain and port stuff 09:20 MiniontobyPI but now with the announce page it says 400 error 09:20 MiniontobyPI {address space usage: 24039424 bytes/22MB} {rss usage: 32317440 bytes/30MB} [pid: 15919|app: 0|req: 55/55] 127.0.0.1 () {46 vars in 640 bytes} [Wed Oct 20 09:55:52 2021] GET /announce => generated 192 bytes in 1 msecs (HTTP/1.0 400) 2 headers in 88 bytes (1 switches on core 0) 09:29 MiniontobyPI Bad Request 09:29 MiniontobyPI The browser (or proxy) sent a request that this server could not understand. 09:38 MiniontobyPI Someone 09:42 * MiniontobyPI wants help with https://github.com/minetest/serverlist 10:11 MTDiscord Which serverlist thing did you install? 10:16 MiniontobyPI the one from the url 10:16 MiniontobyPI https://github.com/minetest/serverlist 10:30 MiniontobyPI @luatic ^ 10:31 sfan5 why are you sending a GET request to /announce? 10:31 sfan5 there is nothing to be retrieved there 10:33 MiniontobyPI im not 10:33 MiniontobyPI but yeah my server also says 10:41 MiniontobyPI 2021-10-24 12:40:46: ERROR[CurlFetch]: *********/announce not found (HTTP response code said error) (response code 400) 10:43 sfan5 and does that request show up in the logs? it should be a POST 10:43 MiniontobyPI yes 10:43 MiniontobyPI it shows up 10:43 MiniontobyPI this 10:43 MiniontobyPI games/ircnow_game/mods/ircpack/irc/irc/handlers.lua:258: 10:43 MiniontobyPI wait 10:43 MiniontobyPI 2021-10-24 12:40:46: ERROR[CurlFetch]: *********/announce not found (HTTP response code said error) (response code 400) 10:43 MiniontobyPI this ^ 10:44 MiniontobyPI and does that request show up in the logs? it should be a POST -> not that request, that was just me checking if the page worked 10:46 sfan5 if the request from Minetest does not show up in the uwsgi logs then something else is wrong 10:46 MiniontobyPI How to get this working? 10:46 MiniontobyPI orh 10:47 MiniontobyPI wai 10:47 MiniontobyPI t 10:47 MiniontobyPI 10:47 MiniontobyPI hmmm 10:47 MiniontobyPI 10:47 MiniontobyPI [pid: 77407|app: 0|req: 64/64] 127.0.0.1 () {46 vars in 639 bytes} [Sun Oct 24 04:45:51 2021] GET /announce => generated 192 bytes in 1 msecs (HTTP/1.0 400) 2 headers in 88 bytes (2 switches on core 0) 10:48 MiniontobyPI it says GET 10:50 MiniontobyPI what to do 10:52 MiniontobyPI need to go to lunch 10:52 MiniontobyPI im back soon 10:52 MiniontobyPI (30-60 minutes) 10:53 sfan5 follow the instructionss in the README to configure your web server to forward requests to uwsgi 11:00 MiniontobyPI I did 11:00 MiniontobyPI btw didnt had to go to lunch yet 11:02 MiniontobyPI im running the uwcgi and i linked the .sock to my webserver, thats it 11:04 MiniontobyPI with the default command: -- unavailable modifier requested: 1 -- 11:05 MiniontobyPI wait 11:05 MiniontobyPI it says 500 11:06 MiniontobyPI and no log 11:06 MiniontobyPI 11:07 MiniontobyPI doas -u root uwsgi --ini uwcgi.ini --uid 67 --enable-threads -> works 11:07 MiniontobyPI [uwsgi] 11:07 MiniontobyPI fastcgi-socket = /var/www/run/minetest-master.sock 11:07 MiniontobyPI module = server:app 11:07 MiniontobyPI chmod-socket = 660 11:07 MiniontobyPI 11:18 MiniontobyPI what to do? 11:26 sfan5 fix the web server configuration 11:52 MiniontobyPI sfan5: what do you mean 12:07 sfan5 make sure the requests get forwarded to uwsgi correctly 12:09 MiniontobyPI let me upload my config for my webserver 12:12 MiniontobyPI https://termbin.com/mapc 12:13 MiniontobyPI here is everything i use (besides the ssl and the relayd and such, which are not really needed atm..) 12:13 MTDiscord you're trying to use an nginx config as an apache config 12:13 MiniontobyPI No im not 12:13 MiniontobyPI its openbsd 12:15 sfan5 I doubt anyone here is familiar with openbsd httpd 12:16 MiniontobyPI But the thing is HOW can i fix it 12:17 MiniontobyPI if i need to stop using httpd thing 12:17 MiniontobyPI then im oke with it 12:17 MiniontobyPI as long as it works 12:51 MiniontobyPI hmmm can i please get help 18:41 MTDiscord I have experience setting up openhttpd on OpenBSD, but I wouldn't say I'm familiar. 18:42 MTDiscord Miniontoby probably has more experience with that than I do... 22:54 syl sfan5: sneed