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
27 so.... it can now place modifiers in the db again using the new method of only caring about changes.
Slowly but surely I'm getting back at where I started :p
Though, this time its a lot more efficient and the code may turn out to be simpler to read. At the very least I need less loops to import the changes.
After this is done I'm probably going to focus a bit on getting my tests running again and improving some of the code rather then on new stuff. The technical debt of the server is kind of high I fear.
(The file MY_Controller.ph is 358 lines long and contains 2 classes. One of which is probably not used except by the second class in that file thanks to the server once also caring about the client.)
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
27 in other news. You can now also edit and remove modifiers.
It is also smart in that if you add a modifier and then remove it in the same action it won't actually first insert it in the db before removing it. And, if you go insert, update and then delete it it will also not try to update it in the database.

There isn't a way to get the id of existing modifiers right now though, so..... you can't realistically remove or update modifiers that existed before you ran the action, but the code for that at least works.
 

duckfan77

Popular Member
Mar 18, 2013
80
683
118
26 I really need to figure out why sometimes Firefox decides to make the text submission boxes on this site solid black when I'm editing them. That makes it a bit difficult to read, given the text is also black. Touch typing means I'm usually fine though.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
26 I really need to figure out why sometimes Firefox decides to make the text submission boxes on this site solid black when I'm editing them. That makes it a bit difficult to read, given the text is also black. Touch typing means I'm usually fine though.
27 that...is a weird bug. I've never had that on my Firefox...
 

GamerwithnoGame

Over-Achiever
Jan 29, 2015
2,808
1,507
224
25. I tried to stay up late playing Horizons III; only made it til about quarter past midnight at most before my productivity dropped past critical levels so I gave up. I’ve now got multiple things that I’ve built, but don’t want to place down until I’ve actually started a proper base. It’s gotten to a pretty bad stage now :/ stuff like a ET solar panel, a proper fossil fuel refinery setup, loads of bits and bobs.
 
C

Closet Gamer

Guest
25. I tried to stay up late playing Horizons III; only made it til about quarter past midnight at most before my productivity dropped past critical levels so I gave up. I’ve now got multiple things that I’ve built, but don’t want to place down until I’ve actually started a proper base. It’s gotten to a pretty bad stage now :/ stuff like a ET solar panel, a proper fossil fuel refinery setup, loads of bits and bobs.
24 I feel you man, it's best not to build tired! Figured out a base design yet?

------------------------
My Age of Engineering Series: http://www.youtube.com/playlist?list=PLUZaEaeCvlj6ChY3jks-N8rW74_3qEtmD
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
25 I should really search and install a good sound font sometime. Just because settlers 2 music is still awesome.
If you want a nice comparison what sound fonts can do compare
with
 

GamerwithnoGame

Over-Achiever
Jan 29, 2015
2,808
1,507
224
25.
24 I feel you man, it's best not to build tired! Figured out a base design yet?
Nah, nowhere near :/ I’m slowly solidifying some theme ideas, but that’s it; I’m tempted to go quite industrial; your ClosetChem Factory was super well done, and I liked the design and features you used!
 
C

Closet Gamer

Guest
25.

Nah, nowhere near :/ I’m slowly solidifying some theme ideas, but that’s it; I’m tempted to go quite industrial; your ClosetChem Factory was super well done, and I liked the design and features you used!
24. Sounds good! I don't know about you but I struggle with exteriors more than interiors. I don't even know what to do with the outside of closet chem :/

------------------------
My Age of Engineering Series: http://www.youtube.com/playlist?list=PLUZaEaeCvlj6ChY3jks-N8rW74_3qEtmD
 
  • Like
Reactions: GamerwithnoGame

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
25 my automatic tests now automatically reset the database after each section. I also separated the tests so they aren't all in the same file anymore.
I had to work around the fact that luasql can only run 1 query at a time, which makes it a bit slower than I would like but at least it works
 

GamerwithnoGame

Over-Achiever
Jan 29, 2015
2,808
1,507
224
22.
24. Sounds good! I don't know about you but I struggle with exteriors more than interiors. I don't even know what to do with the outside of closet chem :/
I struggle with both equally!

Hm. Look up “Axis Chemicals” on Google Image Search, that could be a start? I sometimes do that - look up some keywords and go from there.

EDIT: or maybe “ACE chemicals”? There’s a theme here...
 

duckfan77

Popular Member
Mar 18, 2013
80
683
118
20
that...is a weird bug. I've never had that on my Firefox...
It probably has something to do with the CSS file I have that makes about:newtab black, but if that's the problem, I'd expect it to occur for all of them, not just some.
 

GamerwithnoGame

Over-Achiever
Jan 29, 2015
2,808
1,507
224
19. Nope. I do feel extremely stupid for allowing myself to miss the chance to see The Last Jedi in the cinema though. :(
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
19 meanwhile, I'm working on the tests.
Not even done with updating them and they already found a good amount of bugs

Well...at least they are doing what they are supposed to do.....