Hi at the outset I'd like to say that there is a game called "growtopia" and I'm making private server using c++ in visual studio. I have problem with .exe crashing about 30 seconds after running it and someone told me that I should check if I have any loops in code that are happening in 30 seconds because that might be a reason. (I need to turn http+.exe to turn on the server so people can play but they can't because of crashing which disconnects them) btw. Http server (.batch) doesn't have any problems. Does anyone have a clue what could be wrong with it and how do i find loop using ctrl+shift+f or ctrl+q in vs?
#.exe crashing
31 messages · Page 1 of 1 (latest)
It doesn't show any error
Yep
can you provide the code?
Unfortunately no because source have over 50k of lines
perhaps of security issue. i think so
Yes
its possible that the program is terminating because there is no reason for it to run anymore, do you have any while loops or something that will stop it from terminating?
probably no
I'm assuming thats the problem
your server needs to constantly keep running
yea but the problem is idk how to create one
i dont even know how exe works cause it wasnt part of my work
I mean I dont understand it
Ill have to learn much more
so does this exe run server code?
yes
where did you get it from
my partner made it
You may want to talk to your partner about it
okay thanks for help
np
My bad actually there are tons of loops
Ill try debug mode
ok
Even if it does have lots of loops, if it terminates before you tell it to do so, then its missing something that keeps it up which would most likely be a specific loop of some kind
oops
🤩
I debugged pps.exe through task manager