Welcome to the Builder Academy

Question tbaMUD 3.68

More
09 Feb 2017 05:02 - 09 Feb 2017 07:38 #6570 by Fizban
Replied by Fizban on topic tbaMUD 3.68
Looks like it was 6.3.0-1 that I was remembering, it's far, far pickier:
Code:
act.informative.c: In function ‘do_who’: act.informative.c:1295:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (d->original) ^~ act.informative.c:1298:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if (d->connected == CON_OEDIT) ^~ act.informative.c: In function ‘do_toggle’: act.informative.c:2047:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (toggle = 0; *tog_messages[toggle].command != '\n'; toggle++) ^~~ act.informative.c:2051:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ if (*tog_messages[toggle].command == '\n' || tog_messages[toggle].min_level > GET_LEVEL(ch)) { ^~ act.informative.c:2161:7: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] } else ^~~~ act.informative.c:2163:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’ break; ^~~~~ act.informative.c:2170:7: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] } else ^~~~ act.informative.c:2172:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’ break; ^~~~~ act.informative.c:2187:7: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] } else ^~~~ act.informative.c:2189:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’ break; ^~~~~ dg_olc.c: In function ‘trigedit_parse’: dg_olc.c:499:12: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] } else ^~~~ dg_olc.c:501:12: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’ return; ^~~~~~ modify.c: In function ‘playing_string_cleanup’: modify.c:254:7: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] } else ^~~~ modify.c:256:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’ free(*d->str); ^~~~ act.wizard.c: In function ‘do_zcheck’: act.wizard.c:3639:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (MOB_FLAGGED(mob, MOB_SPEC) && (found = 1)) ^~ act.wizard.c:3644:11: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if (found) { ^~ act.wizard.c: In function ‘obj_checkload’: act.wizard.c:3955:11: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (ZCMD2.arg1 == ornum) ^~ act.wizard.c:3962:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ break; ^~~~~ prefedit.c: In function ‘do_oasis_prefedit’: prefedit.c:942:9: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] else ^~~~ prefedit.c:944:11: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’ act(buf, FALSE, ch, 0, vict, TO_CHAR); ^~~ sedit.c: In function ‘sedit_parse’: sedit.c:745:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (i >= 0) ^~ sedit.c:747:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ sedit_rooms_menu(d); ^~~~~~~~~~~~~~~~ aedit.c: In function ‘do_oasis_aedit’: aedit.c:42:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (IS_NPC(ch) || !ch->desc || STATE(ch->desc) != CON_PLAYING) ^~ aedit.c:45:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if (CONFIG_NEW_SOCIALS == 0) { ^~ spell_parser.c: In function ‘mag_objectmagic’: spell_parser.c:409:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (!consume_otrigger(obj, ch, OCMD_QUAFF)) /* check trigger */ ^~ spell_parser.c:412:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ act("You quaff $p.", FALSE, ch, obj, NULL, TO_CHAR); ^~~ dg_scripts.c: In function ‘do_stat_trigger’: dg_scripts.c:792:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (cmd_list->cmd) ^~ dg_scripts.c:795:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if (len>MAX_STRING_LENGTH-80) { ^~

Erkle mentioned ingame that colors weren't working properly in room descriptions. I tested it a bit, it appears as if they do, but only after a copyover or other form of reboot. They're not being parsed as color when read from memory, but are being saved and read from file properly.
Last edit: 09 Feb 2017 07:38 by Fizban.

Please Log in or Create an account to join the conversation.

More
20 Feb 2017 14:11 #6579 by Rumble
Replied by Rumble on topic tbaMUD 3.68
These bad file format saves are annoying. I am unable to see them and the replace command did nothing. I downloaded to Windows as well with no luck. Anyone else using Cygwin that can fix it and commit?

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com

Please Log in or Create an account to join the conversation.

More
20 Feb 2017 14:14 #6580 by Rumble
Replied by Rumble on topic tbaMUD 3.68
Thanks Fiz, colors changed so players have to use /t before saving. HELP OLC-COLOR

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.199 seconds