IRC logs of Libera.Chat #BZFlag for Saturday, 2021-10-30

*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (*.net *.split)00:00
Optic_DelusionWhat's the procedure for saving the console to a text file?  I did this a long time ago, but now can't remember.01:27
*** blast007[m] <blast007[m]!~blast007m@2001:470:69fc:105::7ec> has joined #bzflag01:27
the_mapOptic_Delusion: /savemsgs ?02:09
the_maphttps://wiki.bzflag.org/Slash_Commands02:09
the_map> Saves the chat console to config directory/msglog.txt. Use "/savemsgs -s" to strip coloring data.02:09
*** Erroneous <Erroneous!~DTRemenak@2603-8001-3700-003f-9ca3-b955-530f-8f95.res6.spectrum.com> has joined #bzflag02:11
the_mapI feel like there was a command to save the entire console output, but I can't remember or find it either02:12
*** DTRemenak <DTRemenak!~DTRemenak@2603-8001-3700-003f-19f6-a671-bb21-5d1b.res6.spectrum.com> has quit IRC (Ping timeout: 245 seconds)02:14
*** Erroneous is now known as DTRemenak02:14
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag02:29
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 246 seconds)02:32
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag02:52
Optic_Delusionthe_map  Thank you. I remember now... open bzflag thru a terminal, using /savemsgs /path/to/file.txt .... do that every time and your console is saved every time03:29
Optic_Delusioneven if BZFlag crashes, you'll have everything up to that point... but probably not that last critical msg.03:30
*** Agatha_ is now known as Agatha04:18
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 245 seconds)06:00
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)08:20
*** blast007[m] <blast007[m]!~blast007m@2001:470:69fc:105::7ec> has quit IRC (Quit: You have been kicked for being idle)09:00
the_mapOptic_Delusion: in that case perhaps running `bzflag -e` to echo everything to a console, and pipe that to a file?10:17
*** blast007[m] <blast007[m]!~blast007m@2001:470:69fc:105::7ec> has joined #bzflag10:17
the_mapdid that for a while, and would have the file date / timestamp itself10:17
the_map-ea if you want to preserve colors10:18
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag12:16
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 265 seconds)14:48
*** blast007[m] <blast007[m]!~blast007m@2001:470:69fc:105::7ec> has quit IRC (Quit: You have been kicked for being idle)16:00
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag16:51
SpringTankbflag doesn't appear to look for sound in the cache directory, it only looks in the data directory. I'm search for the code that handles this but I'm not having any luck. Anyone know where it is?17:08
*** blast007[m] <blast007[m]!~blast007m@2001:470:69fc:105::7ec> has joined #bzflag17:08
SpringTankhey blast17:09
SpringTankbflag doesn't appear to look for sound in the cache directory, it only looks in the data directory. I'm search for the code that handles this but I'm not having any luck. Anyone know where it is?17:09
SpringTankhmm, i think i found it17:21
*** BulletCatcher <BulletCatcher!~bc@user/bulletcatcher> has quit IRC (Remote host closed the connection)17:33
blast007yeah, our directory/file handling is a bit weird17:38
blast007if you're trying to fetch custom sounds from a web server, I don't know if those actually write to the cache directory.  Looks like it tries to write to the data directory, which is most often not writable by the user.17:39
SpringTankright17:42
SpringTanki found a way around that, sorta17:42
SpringTankbzflag doesn't care what type of file you put for images in your map file and will happily download .wav files to the cache17:42
SpringTanknow just trying to find a way to point it there when reading the sound files17:42
blast007lol..17:43
SpringTankthe proper way would be to have the sound files listed in the map file similar to textures17:43
SpringTankand then go from there17:43
SpringTanknow...17:43
SpringTankif I do a direct path to the cache, it will read the sound file just fine!17:43
SpringTankand it works!17:43
SpringTankbut not everyone has the same path to the cache obviously17:44
SpringTanki can't remember if there is a way to make it do relative paths...17:44
SpringTankwithout editing any code17:44
blast007we relative paths won't work either since the game data isn't always in the same relative path to the cache directory17:45
blast007s/we //17:45
blast007there's just not a way to do it for 2.417:45
SpringTanki see17:45
blast007we can fix it for 2.617:45
SpringTankplease do17:46
SpringTankor at least make a patch?17:46
blast007a patch for 2.4?17:46
SpringTankyeah17:46
blast007why for 2.4?  unless everyone has it it won't do much good17:46
blast007and some clients would crash17:47
SpringTanktrue17:47
SpringTanknever did figure out why they were crashing17:47
SpringTanki susspect it was because it was trying to write to ./data when it couldn't17:47
SpringTankalthough, using bzflag's sounds on servers doesn't crash17:48
SpringTanketigah was using them on their server as well17:48
SpringTankseemed to work fine17:48
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag17:52
SpringTankI made a change and am going to try it later on linux to see if it works. My desktop's audio out got hit by lightning and it's currently my only working linux box. :/17:59
SpringTankso i'm going to have to fix the one on my other laptop.17:59
SpringTankIIRC, it's audio didn't work either...17:59
SpringTankand I know it's a hardware issue on my desktop because it's duel boot17:59
SpringTankif this works, it would be super easy for map makers to replace existing bzflag sounds with their own!18:01
SpringTankwell, not without some extra bits of code to tell bzflag to use different sounds that is18:02
SpringTankI've got some stuff to do, but in the meantime I'll leave my server up for anyone who wants to test this. You will need to edit or replace BzfMedia.cxx18:16
SpringTankhttps://pastebin.com/scjY3mLR18:17
SpringTankthen on the server, use the command /goomba18:17
SpringTankthat should be the remote sound18:17
SpringTankand /laugh18:17
SpringTankshould be bzflag's flaglost sound18:17
SpringTankIt's hacky the way I implemented it, but it's a proof of concept.18:18
*** BulletCatcher <BulletCatcher!~bc@user/bulletcatcher> has joined #bzflag18:43
*** Harlin <Harlin!~DonQixote@c-24-128-8-53.hsd1.co.comcast.net> has quit IRC (Ping timeout: 264 seconds)20:11

Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!