EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   General::Server Discussion (https://www.eqemulator.org/forums/forumdisplay.php?f=601)
-   -   Discord Server (https://www.eqemulator.org/forums/showthread.php?t=24145)

ub3r 01-14-2010 10:44 PM

thank u so much for the info....unfortunately though it wont let me compile. its saying i cant convert getname() into a const * char

Code:

Error        3        error C2664: 'Database::DeleteCharacter' : cannot convert parameter 1 from 'const char *' to 'char *'        c:\EQEMU Server\Server Files SVN\trunk\EQEmuServer\zone\attack.cpp        1574        Zone
any idea?

Secrets 01-15-2010 12:07 AM

Quote:

Originally Posted by Derision (Post 182841)
A quick and dirty way would be to add this to Client:: Death
Code:

Index: attack.cpp
===================================================================
--- attack.cpp  (revision 1093)
+++ attack.cpp  (working copy)
@@ -1572,6 +1572,13 @@
        // from these and overwrite what we set in pp anyway
        //

+      database.DeleteCharacter(GetName());
+      EQApplicationPacket *outapp = new EQApplicationPacket(OP_LogoutReply);
+      FastQueuePacket(&outapp);
+
+      return;
+
+
        m_pp.zone_id = m_pp.binds[0].zoneId;
        m_pp.zoneInstance = 0;
        database.MoveCharacterToZone(this->CharacterID(), database.GetZoneName(m_pp.zone_id));

This will delete any character that dies. Pretty harsh if you die due to Linkdeath :(

I got this working for him; he popped in IRC and we talked a bit. He just needed a const_cast and started working. Probably better to use Kick(), as it'll clear the connection too.

Vaklain_Kinvva 01-15-2010 09:37 PM

When will the server be up?

Ikeren 01-26-2010 04:52 PM

Discord didn't delete the character; you went to level 1; took away all your exp. I think it left your spellbook intact and some skills too; since I remember killing myself deliberately to boost skills/make money, at level 4 (since PVP came in at level 5). You could go back to your corpse, too, if the person that killed you left anything.

Vaklain_Kinvva 01-26-2010 05:06 PM

Im just trying to find out if the server is coming back up

FFATMA 01-27-2010 01:53 PM

I'd be interested in giving this server a shot too.


All times are GMT -4. The time now is 10:08 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.