Login
User Name:

Password:



Register

Forgot your password?
void nanny_get_new_race -- comm.c
Mar 13, 2025 7:08 am
By Elwood
IPv6
Jan 25, 2025 10:45 pm
By Samson
mudstrlcpy and mudstrlcat
Jan 18, 2025 5:23 pm
By Samson
I3 and IMC
Jan 17, 2025 9:35 pm
By Samson
AFKMud 2.5.1
Jan 17, 2025 2:22 pm
By Samson
SWFotEFUSS 1.5.3
Author: Various
Submitted by: Samson
SWRFUSS 1.4.3
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.8
Author: Various
Submitted by: Samson
AFKMud 2.5.2
Author: AFKMud Team
Submitted by: Samson
SmaugFUSS 1.9.7
Author: Various
Submitted by: Samson
Users Online
CommonCrawl, AhrefsBot, Meta, Bing, Bytespider

Members: 0
Guests: 7
Stats
Files
Topics
Posts
Members
Newest Member
507
3,812
19,722
592
ArletteBol

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 163 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)