a problem I cannot understand...
#1

Hello, i've made some simple dynamic vehicle system, but I have one problem, after creating more than 2 vehicles on server startup, so what actually I mean? Every time I restart server I am able to add 2 vehicles after that every vehicle ini will be empty and I cannot figure out why that actually?
I did debug on command and seems it's around ini close after writing the data...

So the part with debugging...

First and second...



The third vehicle...



What can cause this problem? Its first time this happens, i've made house system on same way and all works fine... O.o

Here is the part with saving the data but I dont see problem in ''saving'' but yet ini would be empty after crreating ''third'' vehicle.
Reply
#2

Maybe in missing INI_Close in SaveVehicles ? and debug vehicleid and sizeof cInfo
Reply
#3

Quote:
Originally Posted by Jefff
Посмотреть сообщение
Maybe in missing INI_Close in SaveVehicles ? and debug vehicleid and sizeof cInfo
hahahhahahahaha yea omg I almost got headchase about this, indeed it was problem in closing the file after writing the data........ It's 4am here dont mind I need a nap

Anyway thanks. Rep+
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)