Time |
Nick |
Message |
00:36 |
|
Verticen joined #minetest |
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? |
00:46 |
|
cation joined #minetest |
00:55 |
|
rymiel joined #minetest |
01:06 |
MTDiscord |
<SX> 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 |
|
grouinos joined #minetest |
01:10 |
MTDiscord |
<SX> 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 |
<SX> There seems to be some documentation for basic_robot at https://wiki.minetest.net/Mods/basic_robot |
01:19 |
|
IcyDragon joined #minetest |
02:23 |
|
asdflkj_sh joined #minetest |
02:29 |
|
queria joined #minetest |
02:33 |
|
queria joined #minetest |
03:45 |
|
specing_ joined #minetest |
04:00 |
|
MTDiscord joined #minetest |
04:07 |
|
IceDragon joined #minetest |
05:01 |
|
riff-IRC joined #minetest |
05:27 |
|
Hawk777 joined #minetest |
06:21 |
|
CWz joined #minetest |
07:56 |
|
snowhawk1 joined #minetest |
08:05 |
|
hendursa1 joined #minetest |
08:11 |
|
plainoldcheese joined #minetest |
08:14 |
|
grouinos joined #minetest |
08:16 |
|
absurb joined #minetest |
08:26 |
|
Talkless joined #minetest |
09:03 |
|
olliy joined #minetest |
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 |
09:56 |
|
Fixer joined #minetest |
09:58 |
|
snowhawk joined #minetest |
09:58 |
|
snowhawk joined #minetest |
10:11 |
MTDiscord |
<luatic> Which serverlist thing did you install? |
10:16 |
MiniontobyPI |
the one from the url |
10:16 |
MiniontobyPI |
https://github.com/minetest/serverlist |
10:28 |
|
AristotIe joined #minetest |
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 |
<sfan5> 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 |
|
___nick___ joined #minetest |
11:07 |
MiniontobyPI |
|
11:09 |
|
___nick___ joined #minetest |
11:16 |
|
calcul0n__ joined #minetest |
11:16 |
|
grouinos joined #minetest |
11:18 |
MiniontobyPI |
what to do? |
11:26 |
sfan5 |
fix the web server configuration |
11:52 |
MiniontobyPI |
sfan5: what do you mean |
12:02 |
|
Noisytoot joined #minetest |
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 |
<Sublayer plank> 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 |
13:12 |
|
GNUHacker joined #minetest |
13:20 |
|
bingfengzs joined #minetest |
13:21 |
|
bingfengzs_ joined #minetest |
13:24 |
|
proller joined #minetest |
13:34 |
|
calcul0n__ joined #minetest |
13:55 |
|
GNUHacker joined #minetest |
14:23 |
|
fluxionary joined #minetest |
14:24 |
|
plainoldcheese joined #minetest |
14:47 |
|
IceDragon joined #minetest |
14:47 |
|
appguru joined #minetest |
15:45 |
|
specing_ joined #minetest |
15:51 |
|
Extex joined #minetest |
16:07 |
|
absurb joined #minetest |
16:10 |
|
grouinos joined #minetest |
16:33 |
|
plainoldcheese joined #minetest |
16:41 |
|
Fixer_ joined #minetest |
17:08 |
|
Sven_vB joined #minetest |
17:13 |
|
Gustavo6046 joined #minetest |
17:39 |
|
grouinos joined #minetest |
17:50 |
|
Fixer joined #minetest |
18:14 |
|
kamdard joined #minetest |
18:16 |
|
grouinos joined #minetest |
18:41 |
MTDiscord |
<josiah_wi> I have experience setting up openhttpd on OpenBSD, but I wouldn't say I'm familiar. |
18:42 |
MTDiscord |
<josiah_wi> Miniontoby probably has more experience with that than I do... |
18:44 |
|
GNUHacker joined #minetest |
18:55 |
|
Hawk777 joined #minetest |
18:59 |
|
Wuzzy joined #minetest |
19:07 |
|
___nick___ joined #minetest |
19:09 |
|
___nick___ joined #minetest |
19:10 |
|
independent56 joined #minetest |
19:51 |
|
CWz joined #minetest |
20:37 |
|
garywhite joined #minetest |
20:37 |
|
garywhite joined #minetest |
21:17 |
|
Extex joined #minetest |
21:26 |
|
Extex joined #minetest |
21:30 |
|
Verticen joined #minetest |
22:00 |
|
Sven_vB joined #minetest |
22:02 |
|
Extex joined #minetest |
22:36 |
|
snowhawk1 joined #minetest |
22:36 |
|
independent56 joined #minetest |
22:40 |
|
snowhawk joined #minetest |
22:40 |
|
snowhawk joined #minetest |
22:44 |
|
snowhawk1 joined #minetest |
22:48 |
|
snowhawk joined #minetest |
22:48 |
|
snowhawk joined #minetest |
22:50 |
|
snowhawk2 joined #minetest |
22:54 |
|
syl joined #minetest |
22:54 |
syl |
sfan5: sneed |
22:56 |
|
IceDragon joined #minetest |
23:10 |
|
AliasAlreadyTake joined #minetest |
23:29 |
|
snowhawk joined #minetest |
23:29 |
|
snowhawk joined #minetest |
23:32 |
|
Gustavo6046 joined #minetest |
23:49 |
|
Gustavo6046 joined #minetest |
23:55 |
|
MeguminZ joined #minetest |
23:58 |
|
Sven_vB joined #minetest |