Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Sogou

Members: 0
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
481
3,740
19,396
629
DarrenPayn
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Bugfix Lists » SmaugFUSS Bugfix List » [Bug] The morphlist and rever...
Forum Rules | Mark all | Recent Posts

[Bug] The morphlist and revert commands are not completely implemented
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jul 30, 2005, 7:32 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,644
JoinedJan 1, 2002

Bug: The morphlist and revert commands are not completely implemented.
Danger: Trivial - Missing command support
Found by: Gatewaysysop
Fixed by: Gatewaysysop

---

mud.h

Locate:
DECLARE_DO_FUN( do_morphdestroy );


Below that, add:

DECLARE_DO_FUN( do_morphlist );


tables.c, skill_function

Locate:
         if( !str_cmp( name, "do_morphdestroy" ) )
            return do_morphdestroy;


Below that, add:
         if( !str_cmp( name, "do_morphlist" ) )
            return do_morphlist;


Further below that, locate:
         if( !str_cmp( name, "do_return" ) )
            return do_return;


Below that, add:
         if( !str_cmp( name, "do_revert" ) )
            return do_revert;


Then in skill_name, locate:
   if( skill == do_morphdestroy )
      return "do_morphdestroy";


Below that, add:
   if( skill == do_morphlist )
      return "do_morphlist";


Locate:
   if( skill == do_return )
      return "do_return";


Below that, add:
   if( skill == do_revert )
      return "do_revert";


After compiling and rebooting, create the morphlist and revert commands and assign them to the proper code.

These commands were apparently overlooked when the polymorph fix code was added early on.
       
Pages:<< prev 1 next >>