IRC logs of Freenode #BZFlag for Monday, 2019-11-04

ZehraWould anyone have some recommendations of parsing through the list? I am using string tokens, however when I try to implement more than newline in filtering, entries are skipped.00:43
*** Foo_man_choo <Foo_man_choo!~spldart@c-73-155-11-165.hsd1.tx.comcast.net> has joined #bzflag00:46
blast007I don't know what you mean by "newline in filtering"01:07
blast007parse each line.. that's not a hard concept01:08
blast007it's a pretty basic line of text, split with spaces.  just make sure to limit how many parts you split it into.01:09
blast007hardest part of parsing it is the hex values01:09
blast007there should be a PHP and maye a Perl or Python example in our source01:09
blast007maybe*01:09
ZehraHere's what I'm doing: https://pastebin.com/D4fYHirn01:14
ZehraI know it works parsing per "server", but not when trying to parse per-server values.01:16
ZehraI know there's a trick to it, but I'm not sure what it is.01:18
blast007use the explode function01:18
ZehraWill do.01:20
blast007list($hostport, $proto, $hex, $ip, $title) = explode(' ', rtrim($line), 5); // I think01:20
blast007(and then you can check if $hostport has a port attached or not, and you can pull that out if it exists, or default to 5154)01:21
ZehraThanks blast007.01:23
*** Zehra <Zehra!~Zehra@unaffiliated/zehra> has quit IRC (Quit: Gone for now.)02:24
*** spldart <spldart!~spldart@bzflag/contributor/spldart> has quit IRC (Quit: Leaving)02:37
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has joined #bzflag03:13
BZNotifybzflag: macsforme commented on issue #72 "Joystick axis range" (https://git.io/Je2EI): Looking at this again, I think the solution is to detach the joysti...15:08
*** disco- <disco-!~disco@unaffiliated/disco-> has quit IRC (Remote host closed the connection)15:48
*** disco- <disco-!~disco@unaffiliated/disco-> has joined #bzflag15:53
BZNotifybzflag: macsforme commented on issue #82 "Color blindness friendliness" by allejo (2.6 Release - https://git.io/Je2aK): This is loosely related to #12.18:26
moriah~allejo++19:35
*** spldart <spldart!~spldart@bzflag/contributor/spldart> has joined #bzflag23:18
*** ChanServ sets mode: +v spldart23:18

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