[DiscordArchive] this looks nice and clean. Do you know how could I extract the World::InitServerAutoRestartTime() in
[DiscordArchive] this looks nice and clean. Do you know how could I extract the World::InitServerAutoRestartTime() in
Archived author: Vel • Posted: 2024-05-03T14:02:47.296000+00:00
Original source
this looks nice and clean. Do you know how could I extract the World::InitServerAutoRestartTime() into custom class like Custom.cpp/.h and use it inside World.cpp and cs_something.cpp?
Archived author: M'Dic • Posted: 2024-05-03T14:03:29.590000+00:00
Original source
Its just a method
Archived author: M'Dic • Posted: 2024-05-03T14:04:21.682000+00:00
Original source
Move it to a differ file and then add the included for that file in the world.cpp i would assume like all the others.
Archived author: Vel • Posted: 2024-05-03T14:17:20.216000+00:00
Original source
I never before created custom classes in TC so it's new for me, but I guess ChatGPT will help me to do it.
Archived author: M'Dic • Posted: 2024-05-03T14:24:31.217000+00:00
Original source
<:power_of_jeebus:770403424814366732>
Archived author: Tea • Posted: 2024-05-03T14:45:28.914000+00:00
Original source
gpt is a terrible tool for learning - it can give you a wrong answer (and because you are learning) you wont know it
Archived author: Foe • Posted: 2024-05-03T14:47:36.739000+00:00
Original source
It's bad for learning because you need some basic knowledge to get any value from it due to bad answers. And whenever you know enough to correct whatever is wrong, you might as well not use it because it takes you longer to correct the issues than to write the code yourself.
Archived author: Foe • Posted: 2024-05-03T14:48:51.392000+00:00
Original source
It also relatively frequently give you straight up bad code
Archived author: Tea • Posted: 2024-05-03T14:57:58.914000+00:00
Original source
thats kind of obvious if you know anything about what dataset it was trained on
Archived author: Tea • Posted: 2024-05-03T14:58:25.121000+00:00
Original source
there is simply a lot more bad code than good code on the internet