Hello there people of rAthena, I am interested in modifiying the source code so that as soon as a person dies they do not have the option of respawning but instead they get kicked out and their character get's permanently deleted. MMO on a hardcore level.
anyways I have tried to call the deletion process in char.c
int delete_char_sql(int char_id)
{
........
right in the code where they die, in pc.c
int pc_dead(struct map_session_data *sd,struct block_list *src)
{
.......
but I realized quite quickly that that won't work due to them being seperate files and not linked together, then I thought about linking them together with a simple #include buut I realized that it will break with that too! with even more errors that time around.
So if anyone has any pointers to how this could be solved please do feel free to reply
Thanks for taking your time to reply with your take on this.
Question
Epsynus
Hello there people of rAthena, I am interested in modifiying the source code so that as soon as a person dies they do not have the option of respawning but instead they get kicked out and their character get's permanently deleted. MMO on a hardcore level.
anyways I have tried to call the deletion process in char.c
right in the code where they die, in pc.c
but I realized quite quickly that that won't work due to them being seperate files and not linked together, then I thought about linking them together with a simple #include buut I realized that it will break with that too! with even more errors that time around.
So if anyone has any pointers to how this could be solved please do feel free to reply
Thanks for taking your time to reply with your take on this.
Edited by EpsynusLink to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.