View Single Post
  #1  
Old 08-29-2008, 02:34 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default Resurrection Reworked (with Confirmation box)

This patch reworks the Resurrection system to use the three related Opcodes, so you
get the confirmation box detailing how much % XP you will get back and allowing you
to accept or decline.

The patch is against the code from SVN, which presented a few issues. First of all I
ran the diff in Linux and it has Carriage Returns at the end of each line for some reason,
so I have included two versions of the patch. The one that diff spat out:

www.rama.demon.co.uk/rez.patch

And one which I removed the CRs from the ends of each line.

www.rama.demon.co.uk/rez-nocr.patch

If you are not running the SVN source as it was a couple of hours ago, the patch likely
won't apply, so I also included a full source tree:

www.rama.demon.co.uk/SVN-REZ.tar.gz

You will need to recompile world as the size of the Rez struct has changed and it is referenced there

The three opcodes for your patch_Titanium.conf are:

Code:
OP_RezzComplete=0x4b05
OP_RezzRequest=0x1035
OP_RezzAnswer=0x6219

I've tested various rez spells (and Necro convergence), multiple corpses in a zone, etc, and also tested on both Titanium and 6.2. Let me know if something doesn't work right (confirmation that it works for you would also be nice )
Reply With Quote