Jump to content
  • 0

Permanent Death


Question

Posted

Hello,

I have been working on a "Permanent Death" version of Lineage server and I need some help.... even tho I have the onDie part ready I can't get the character deleted, do you have any suggestions how to send packets to issue character delete or directly delete from  database?

base engine is L2Frozen

 

ps.

I can output the char name or the charid to use for the delete but nothing seems to work....

7 answers to this question

Recommended Posts

  • 0
Posted

I'm not sure if frozen works like this but maybe It can help you.

U could try with something like:

 

activeChar.logout();
	PlayerEvent event = new PlayerEvent();
	event.setClient(activeChar.getClient());
	event.setObjectId(activeChar.getObjectId());
	event.setName(activeChar.getName());
	CharacterDelete.firePlayerListener(event);

  • 0
Posted

Nop, apparently thats not working....

thanks for the help tho... i'm still working on it....

You mean that the code can be applied but not works or that the files are different and u can't add it?

  • 0
Posted

I fixed it!

 

I manage to delete characters through SQL... awsome!

Take care coz that way u must be sure that u remove the character from everywhere, not just characters.sql.

Clandata, items, etc etc :P

  • 0
Posted

Take care coz that way u must be sure that u remove the character from everywhere, not just characters.sql.

Clandata, items, etc etc :P

I'm aware of that, updateing the scripts right now to do that!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...