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

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

  • 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!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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