#.exe crashing

31 messages · Page 1 of 1 (latest)

fair hare
#

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?

placid valve
#

if its crashing, is there an error?

#

or is it just terminating after 30 seconds

fair hare
fair hare
woven wagon
#

perhaps of security issue. i think so

fair hare
placid valve
#

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?

placid valve
#

your server needs to constantly keep running

fair hare
#

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

placid valve
#

so does this exe run server code?

fair hare
#

yes

placid valve
#

where did you get it from

fair hare
#

my partner made it

placid valve
#

You may want to talk to your partner about it

fair hare
#

okay thanks for help

placid valve
#

np

fair hare
#

Ill try debug mode

placid valve
#

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

fair hare
woven wagon
#

🤩

fair hare
#

I debugged pps.exe through task manager