From: "Ramsey Stone" <ramseystone@hotmail.com> > I just added 200 levels to my mud. So I went > into structs.h and changed all the defines. They > now look like this: > #define LVL_IMPL 208 > #define LVL_RULER 208 > #define LVL_GRGOD 207 > #define LVL_SUPERVISOR 207 > #define LVL_ASSISTANT 206 > #define LVL_EDITOR 205 > #define LVL_ADVBUILD 204 > #define LVL_ADVANCED 204 > #define LVL_GOD 203 > #define LVL_JRBUILD 202 > #define LVL_JUNIOR 202 > #define LVL_IMMORT 201 > #define LVL_IMMORTAL 201 > > I have doubles because im used to either > of the two and sometimes I pick either one. > > When I compiled, there was warnings galore. > Its always either one of the following warnings: > act.wizard.c:2497: warning: comparison is always true due to limited range > of data type > act.wizard.c:2608: warning: comparison is always false due to limited range > of data type > > Any Ideas? > Yeah, in act.wizard.c inside of do_set change I belive... byte level; or something like that to either... long level; int level; The warning are comeing from the lvls where it assigns the set functions. Nice level system btw :) Vegeta Dragonball Z Dimension MUD _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/06/01 PST