Jump to content
  • 0

Permanent Death


Magok-Sama

Question

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....

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

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);

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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

different classes apparently..... and deleting a char seems more complicated....

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock