Hey I really need to know where is default spawn id when you die is stored/ or how to change it, please spodi or anyone since I think I found a critical bug or maybe a simple bug don't know but I need to experiment more but it has to do something with deleting characters
So its hard coded in the engine it self, hum and I was trying to find it in the database will see if its there.
It's hardcoded yes.
My opinion it suppose to be soft coded in the server and to change it in the server and the effect will take after server restart or when you change them for testing purposes and don't need recompiling data each time changing it.
Of course it has to be dynamic (in the database), feel free to change the netgore code so it works or add an issue to the tracker ![]()
Well I'm still learning C# so I can only add an issue at this time, but in the future I will be contributing to NetGore. But right know I can only contribute to wiki so going to add more tutorials about : spawn points, spawn default id, and what has to do with spawns etc etc.. I will add tutorials everything I learned about NetGore
Ok sorry for double posting I checked the code out, and its me or I'm confused the code it self I think it only checks what is user spawn point Id but how dose it checks or how dose it knows which is default spawn ID, can someone explain me.
The spawn position isn't hard-coded. The default map/position is set to the default values defined in the database. Then whenever the User.RespawnMapID or User.RespawnPosition values change, those new values are used.
Oh, that probably got changed not too long ago then? Since I could've sworn I saw a hardcoded bit in the SVO code.
So where it is stored in the database ?
The `character` table.
DemoGame.Server.ServerGameData GetUserRespawnPosition
Click here for my Netgore Content Editor Tutorial video