I think i remember seeing something in the code specifically about that where it is a seperate case, buuut i cant recall right now.
Actually while my fix worked, it apparently wasnt the root of the problem, FNW put up a new fix on CVS after I told him about what I did, im testing this out now as well |
Okay, FNW posted a CVS change based on what was going on, and it was right, sorta =P
grab the new cvs, fix the updateclientstruct so you can actually move around, then in attack.cpp, do this: in client::death , after addCorpse like shown entity_list.AddCorpse(new_corpse, GetID()); + //become a corpse + EQZonePacket app(OP_BecomeCorpse, sizeof(BecomeCorpse_Struct)); + BecomeCorpse_Struct* d = (BecomeCorpse_Struct*)app.pBuffer; + d->spawn_id = GetID(); + d->x = GetX(); + d->y = GetY(); + d->z = GetZ(); + entity_list.QueueClients(this, &app, true); + this->SetID(0); Remove the //become a corpse through entity_list.Queueclients() from the top of the file and bring it down. You will need to change the name of the app and d variables on the second packet sent in client::death, because someone forgot to name them seperately =P Thats it! :) enjoy |
Many thanks :D
|
Quote:
....gonna work on bards next *shudder* =P |
too bad for me EQZonePacket is not declared in 6.0dr2 :x
I'm gonna declare it and see how it does work. Mag ---- Edit: Btw, just found a way to not get the "Pain and suffering" bug death. IN attack.cpp, you just have to add a case where if(other == NULL), you add a corpse. |
Ok, here's the fix for versions 0.6.0dr2 and mebbe dr3:
In attack.cpp, after Code:
entity_list.AddCorpse(new_corpse, this->GetID()); Code:
APPLAYER app; Thanks again Dakaar and FNW for the direction. Mag |
Can anyone help me figure out how I would have some sort of inter-zone corpse retrieval? Basically id like to after say two minutes, retrieve the corpse from the other zone to prevent corpse camping
|
I've done a thing like that on Empire. But it's not coded.
I've just added a php script on my server's website that move the corpse to a zone that I've called The Sanctuary (it must be a dynamic zone). Once the corpse is moved, the character can zone in (that will bootup the zone so the corpse will appear) and can loot it, then he will leave the zone. Ghetto way but it's working :x Mag ps: if you want the script, just ask. |
Yeah I do, toss me a message next time you see me (yablargo) in #support. Lord knows ill be there for a while with all my linux issues =P
|
Code:
You have to make a html page with a form and 2 entries: charname and accountname so it verifies if the entries match before sending the corpse. Mag |
All times are GMT -4. The time now is 08:57 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.