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

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
65. Damn! :(

I've heard negative rumblings about the way YouTube has been handling a few things of late.
well... the slingshot channel also got removed some time ago, together with some other channel about swords and stuff. Both got their channels back though....

(The slingshot channel got removed because of a video where he tested a stab proof vest which turned out to not be so stab proof after all. The reason according to youtube was because he showed how to stab people that where wearing such a vest or some BS like that.)
 

triggerfinger12

Well-Known Member
Apr 17, 2017
255
457
89
Rock
65 I am not happy with how people in high places are handling things like this as of late. People just need to chill. Swinging a sword is not violence, men are not out to kill and rape and do everything horrible to women, and neither are white people doing the same things to black people (on a widespread scale).
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
64 another thing. "Avocado hand" is a thing now.
 

duckfan77

Popular Member
Mar 18, 2013
80
683
118
63 What's difficult to the uninitiated looks positively simple when done by someone who is skilled.
 
Last edited:

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
61 decided to stay basic with the rp_tracker project and rather than creating a whole new language to just go with lua instead.

However, creating a whole new graphical language may be easier than trying to install php-lua so I can actually embed lua >_<

edit: I think it may have worked now.... just need to find the php.ini file and edit it
 
Last edited:

GamerwithnoGame

Over-Achiever
Jan 29, 2015
2,808
1,507
224
60. I'm progressing far too slowly through Regrowth's later stages despite having lots of stuff. I think the problem is (as it has been in an ongoing fashion), what I need to do is just sit down and build. Build a load of infrastructure, build up my new base instead of relying on the sub-optimal setup I have at my old base, and pfaffing about to-ing and fro-ing. I've been putting it off and putting it off, and I think its got to the point where I just need to do it. *sighs*

On the up side, I killed my first Wither on the server last night. Yaaay
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
61 so... the good news is that it is working.

Now I am just left with finding nice ways to setup everything and properly sandbox the lua environment. (we do not want people to run os.execute("shutdown now") and stuff. At least, I don't think we want that?)
 
  • Like
Reactions: GamerwithnoGame

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
61 I... may be on to something.....

Its far from good code but... it seems to run the correct lua function.

Additionally, I managed to overwrite lua's print function with something that puts values inside a special array on the php side so I can actually return printed text properly. That also means its now a bit better than lua's print function when it comes to debugging....(yes....that just happened)

I think I may also have sandboxed it properly, considering I accidentally manged to just strip out both lua's print function and my own in the process.... I just need to setup a timer to limit how long it is allowed to run (though, php scripts have a timer build in of 30 seconds).

And... of course make it so that the action functions know what they are actually targeting and who is using them.... :p
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
61 like I said, the code isn't nice.....
but then again. Its PHP and even worse, its PHP that is creating another script in another language from a lot of pieces.....
upload_2017-11-7_21-59-34.png