tbaMUD 3.68

  • Rumble
  • Rumble's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
More
5 years 8 months ago #6540 by Rumble
tbaMUD 3.68 was created by Rumble
I was going to start working on putting the next release together. If anyone has any ideas or suggestions please post them here.

Rumble
The Builder Academy
tbamud.com 9091
This email address is being protected from spambots. You need JavaScript enabled to view it.

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

More
5 years 8 months ago #6546 by Pacifist
Replied by Pacifist on topic tbaMUD 3.68
Rewrite it from scratch under a MIT-license or GPL.

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

More
5 years 8 months ago #6547 by thomas
Replied by thomas on topic tbaMUD 3.68
There are some issues with doing that, now, Pacifist.

Mainly, to do it, we would need to do a clean room implementation. But we all know the code, so we're simply not able to not make a derivative. And by law, derivatives can only ever get more strict in their license terms.

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

  • Rumble
  • Rumble's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
More
5 years 7 months ago #6566 by Rumble
Replied by Rumble on topic tbaMUD 3.68
I have updated the code for final release on github. But I'm going to run it for a week on TBA and the player port to check for bugs before announcing. Appreciate any help if you want to take it for a test drive as well.

Rumble
The Builder Academy
tbamud.com 9091
This email address is being protected from spambots. You need JavaScript enabled to view it.

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

More
5 years 7 months ago #6568 by WhiskyTest
Replied by WhiskyTest on topic tbaMUD 3.68
Hello Rumble, I've re-downloaded from Github/master to give it a whirl

I run it on Windows using Cygwin and found initially the 'configure' and 'autorun' files had '\r' entries which confused Cygwin.
This is what comes up:
$ ./configure
./configure: line 2: $'\r': command not found
./configure: line 9: $'\r': command not found
./configure: line 14: $'\r': command not found
./configure: line 48: $'\r': command not found
./configure: line 55: $'\r': command not found
./configure: line 58: syntax error near unexpected token `$'do\r''
'/configure: line 58: `do
The fix is to run:
sed -i 's/\r//' configure
sed -i 's/\r//' autorun
and everything is fine after that.

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

More
5 years 7 months ago - 5 years 7 months ago #6569 by Fizban
Replied by Fizban on topic tbaMUD 3.68
I just downloaded a fresh copy from GitHub, and had no such issues running configure in Cygwin. There must be something else different between your environment and mine, but no clue what.

Output of configure below:
Brandon@Lenovo-PC /cygdrive/c/users/brandon/onedrive/tbamud-master
$ ./configure
creating cache ./config.cache
checking for less... less
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc -Wall also needs -Wno-char-subscripts... yes
checking whether gcc accepts -Wno-char-subscripts... yes
checking whether gcc accepts -fno-builtin... yes
checking for gethostbyaddr... yes
checking for socket... yes
checking for malloc... yes
checking for crypt... no
checking for crypt in -lcrypt... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for sys/fcntl.h... yes
checking for errno.h... yes
checking for net/errno.h... no
checking for string.h... yes
checking for strings.h... yes
checking for limits.h... yes
checking for sys/time.h... yes
checking for sys/select.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for memory.h... yes
checking for crypt.h... yes
checking for assert.h... yes
checking for arpa/telnet.h... yes
checking for arpa/inet.h... yes
checking for sys/stat.h... yes
checking for sys/socket.h... yes
checking for sys/resource.h... yes
checking for netinet/in.h... yes
checking for netdb.h... yes
checking for signal.h... yes
checking for sys/uio.h... yes
checking for mcheck.h... no
checking whether crypt needs over 10 characters... no
checking for working const... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for struct in_addr... yes
checking for typedef socklen_t... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for gettimeofday... yes
checking for select... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for stricmp... no
checking for strlcpy... yes
checking for strncasecmp... yes
checking for strnicmp... no
checking for strstr... yes
checking for vsnprintf... yes
checking for inet_addr... yes
checking for inet_aton... yes
checking if accept is prototyped... yes
checking if atoi is prototyped... yes
checking if atol is prototyped... yes
checking if bind is prototyped... yes
checking if bzero is prototyped... yes
checking if chdir is prototyped... yes
checking if close is prototyped... yes
checking if crypt is prototyped... yes
checking if fclose is prototyped... yes
checking if fcntl is prototyped... yes
checking if fflush is prototyped... yes
checking if fprintf is prototyped... yes
checking if fputc is prototyped... yes
checking if fputs is prototyped... yes
checking if fread is prototyped... yes
checking if fscanf is prototyped... yes
checking if fseek is prototyped... yes
checking if fwrite is prototyped... yes
checking if getpeername is prototyped... yes
checking if getpid is prototyped... yes
checking if getrlimit is prototyped... yes
checking if getsockname is prototyped... yes
checking if gettimeofday is prototyped... yes
checking if htonl is prototyped... yes
checking if htons is prototyped... yes
checking if inet_addr is prototyped... yes
checking if inet_aton is prototyped... yes
checking if inet_ntoa is prototyped... yes
checking if listen is prototyped... yes
checking if ntohl is prototyped... yes
checking if perror is prototyped... yes
checking if printf is prototyped... yes
checking if qsort is prototyped... yes
checking if read is prototyped... yes
checking if remove is prototyped... yes
checking if rewind is prototyped... yes
checking if select is prototyped... yes
checking if setitimer is prototyped... yes
checking if setrlimit is prototyped... yes
checking if setsockopt is prototyped... yes
checking if snprintf is prototyped... yes
checking if socket is prototyped... yes
checking if sprintf is prototyped... yes
checking if sscanf is prototyped... yes
checking if strcasecmp is prototyped... yes
checking if strdup is prototyped... yes
checking if strerror is prototyped... yes
checking if stricmp is prototyped... no
checking if strlcpy is prototyped... yes
checking if strncasecmp is prototyped... yes
checking if strnicmp is prototyped... no
checking if system is prototyped... yes
checking if time is prototyped... yes
checking if unlink is prototyped... yes
checking if vsnprintf is prototyped... yes
checking if write is prototyped... yes
updating cache ./config.cache
creating ./config.status
creating src/Makefile
creating src/util/Makefile
creating src/conf.h
Configuration completed.  To compile, type:  cd src; make

Nothing unusual there.

Compilation is also 100% clean for me, 0 warnings (I got several a few month ago when I compiled). I tested with gcc 5.4.0.

I might have been using gcc 6.3.0 last time, so I'll update to that and try again to see if it catches anything that 5.4.0 ignored.
Last edit: 5 years 7 months ago by Fizban.

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

More
5 years 7 months ago - 5 years 7 months ago #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:
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: 5 years 7 months ago by Fizban.

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

  • Rumble
  • Rumble's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
More
5 years 7 months ago #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
This email address is being protected from spambots. You need JavaScript enabled to view it.

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

  • Rumble
  • Rumble's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
More
5 years 7 months ago #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
This email address is being protected from spambots. You need JavaScript enabled to view it.

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

Time to create page: 0.119 seconds