Updated AutoEQ [by Xual]
Patch Posted Tuesday, February 2nd @ 11:34:36 PM, by George Greer in the oopsie dept.
Xual writes "I found a bug in the auto_equip.txt snippet. On my system it would give errors about worn_by and worn_on being inconsistent pointers, and about an assertion failure in extract_obj() if the item was flagged NORENT etc.."
Here's the fix:

in unequip_char_for_rent() in handler.c

  obj = GET_EQ(ch, pos);
- /*obj->worn_by = NULL;*/ 

+  /** Updated Jan 26/99 -- Xual  **/
+  if (IS_OBJ_STAT(obj, ITEM_NORENT) ||
+      GET_OBJ_RENT(obj) < 0)
+    obj->worn_by = NULL; 

An updated file is available at  link  
G: except ml.org will definitely close by April 1999 according to their web page.

<< do_say snippet [by Andrew] | Reply | Flattened | Do_Create & Do_Scare [By B. Brown] >>

 


Related Links
  link
ml.org
Xual
Related Articles
More by greerga
 
 

Quick Links
 
The CircleMUD FAQ
The CircleMUD home page
Alex's Snippets
Wintermute Snippets
CircleMUD Bug Reporting or Help
CircleMUD List Archives
CircleMUD Resources
Death Gate's Scripts
(Author of C conversion)
Sammy's code site
Erwin S. Andreasen's page
(Author of mudFTP and other goodies)
Death's Gate Scripting site
Help for CircleMUD in Windows
The OasisOLC Maintenance Effort
George's Random Stuff
Sluggy Freelance