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, Yandex, DotBot, Bing

Members: 0
Guests: 12
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
619
Alexander
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SmaugFUSS » Unused variable: clan->score
Forum Rules | Mark all | Recent Posts

Unused variable: clan->score
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jul 29, 2006, 4:29 pm   Last edited Jul 29, 2006, 4:33 pm by Samson
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

The clan->score variable is declared, loaded, saved, and displayed on clan data sheets, but nowhere in the code is it ever incremented or otherwise calculated. Does anyone have any off chance idea of what this was for? If not then I'll be removing it from the code. It serves no purpose as is.

The same is apparently also true of clan->favour but I suppose that could at least be useful based on deities assigned to clans. Which could explain why clans also have a deity field which is next to worthless.

clan->strikes is also completely unused, and no apparent purpose behind it can be seen. May end up removing that too.
       
Post is unread #2 Jul 29, 2006, 5:34 pm
Go to the top of the page
Go to the bottom of the page

Conner
Sorcerer
GroupMembers
Posts870
JoinedMay 8, 2005

My best guess would be that it was something the original SmaugDevs threw in there so that imms could set a clan 'counter' for strikes against the clan (incidents that bothered the imms) and score (brownie points in the favor of the clan) and, as you said already overall clan favor in conjunction with the clan's deity assignment. *shrug*
       
Pages:<< prev 1 next >>