Login
User Name:

Password:



Register

Forgot your password?
SmaugFUSS 1.8/1.9
Aug 31, 2024 4:13 pm
By MADEiUM
Bug: char_check( )
Aug 31, 2024 12:27 am
By GatewaySysop
Bug: move_char( )
Aug 30, 2024 3:52 am
By GatewaySysop
Bug: spell_animate_dead
Aug 25, 2024 10:48 pm
By GatewaySysop
ROOM_NO_MAGIC Inconsistencies...
Jul 8, 2024 12:32 am
By GatewaySysop
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
CommonCrawl

Members: 0
Guests: 15
Stats
Files
Topics
Posts
Members
Newest Member
489
3,802
19,680
614
DevinMims

Today's Birthdays
There are no member birthdays today.
Files
Upload Rules | File Index | Search | Recent Uploads
» Root » AFKMud » AFKMud Snippets
Changes list / Addchange
Author Submitted by Version D/L File Size Date Added Last Updated

Khonsu Khonsu 2.23 73 4.97 KB Mar 21, 2024 Aug 18, 2024

Description
This is a conversion of a C version of one of the common addchange snippets floating around originally made by xkill, Greven, Gavin, Atrox.

I modified it to work with the CPP version of AFKMud. It is pretty much drag and drop and adding your commands, instructions are included in the readme.

This is my first experience with CPP so it might not be the prettiest but it does compile cleanly and seems to be bug free.

Update 1.1: Modified the changes command to display changes in a formatted style. It will indent a new line if a change is longer than 50 characters, and should not cut off words. Also uses snprintf instead of sprintf now.

Update 1.2: Now offers "pagination". Sorts changes file into lists of 25 changes. Can type 'changes 1' for 1-25, 'changes 2' for 26-50, etc. Typing changes by itself shows most recent 25 changes. And 'changes all' for every change. Modified the spacing on the Number column to fit 3 digits.

Revisions: 2
Rating: | Download | Comments(0)