Good vs. Evil

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

triggerfinger12

Well-Known Member
Apr 17, 2017
255
457
89
Rock
64
main-qimg-511ab2098c2f717bc61b894d0dedbff4-c
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
65 and on the server side I just needed to rename some stuff. And also when updating a character I didn't need to touch any client side code (and I fixed the server side code while working on the insert piece and managed to do it right in 1 try :) ). Why is everything going so well?!?
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
63 I now only need to change the code that cares about making rolls and the custom stats are done*!


*done meaning that despite roleplays have now fully customizable stats. It still can only roll using build in methods, That is something that can only change after there is a language you can write custom rolls in....so.... that may be a while before you can also add custom things for those.....
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
64 meanwhile, I am listening to F-777, Derek & Brandon Fiechter, Adrian von Ziegler
And I also like to throw in some infected mushroom, instrument core, The Glitch Mob and some other random stuff every once in a while.

I actually need to look if firefox when running in headless mode can still play youtube video's with sound. Because if it can I should be able to make a nice little program to better deal with how often I want to change music and also have the controls right on my keyboard at all times :).

(Yes, I know I can download everything and use normal methods to play them, but that will take too long. Derek and Brandon alone have a playlist containing more then a thousand songs.....)

edit : it totally does. Now I just need to figure out how to control it :p
 
Last edited:

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
66 programming is fun though :p

Also, if I do it right it means I could control it using pretty much every device I own :p
But, I looked into it and its probably a better idea to search for something else. Controlling a headless firefox is apparently kind of a bit of work.... So.. I guess I could look into running VLC in headless mode or dive into MPD

edit : got VLC running in headless mode and figured out how to control it using telnet.
So.... now its time to get all the urls I want and write some simple code.
 
Last edited:

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
66 and... I can now control vlc using php :)
next step -> some SQL magic so I can easily access the urls using php.
After that -> make some awesome randomness happen
and then -> time to connect my window manager to my php script. AND THEN AWESOMENESS WILL OCCUR!
(also, it would be awesome if I can find a way to have vlc trigger notifications)
 

duckfan77

Popular Member
Mar 18, 2013
80
683
118
65 I'm assuming the device with telnet open is on a separate network segment and/or only will accept connections for telnet from certain devices. Otherwise, that's a security hole waiting to happen once something malicious gets into the network.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
66 well, IOT devices get away with much worse things :p
Also, its VLC itself that is listening for various commands, like "s_playing, play and stop. Not my computer. So....unless there is a bug in VLC that allows for arbitrary code execution there shouldn't be a problem?