PennMUSH Community

Changeset 557

Show
Ignore:
Timestamp:
11/16/06 04:36:30 (2 years ago)
Author:
pennmush
Message:

PennMUSH 1.8.2p0 release candidate.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.2/trunk

    • Property svn:ignore set to
      .config
      config.h
      config.sh
      ignore
      Makefile
      options.h
  • 1.8.2/trunk/BUGS

    r355 r557  
    1 Bugs that aren't our fault, but might bite people with old compilers
     1Bugs that aren't our fault, but might bite people
    22 
     3Modern:  
     4 
     5* You might experience crashes because the default executable stack 
     6  size is too small. An 8 megabyte stack is more than ample. On unix, it 
     7  can be raised with 'ulimit -s 8192'. On Windows, you must use the editbin 
     8  progam that comes with MS development environments to raise the stack on a 
     9  per-executable basis, via 'editbin /STACK:8388608 netmush.exe' 
     10 
     11 
     12Ancient: 
    313* Ralph Melton reports that compiling with gcc 2.5.8 under SunOS 4.1.1 
    414  using -O optimization and forking dumps causes the dump process to 
  • 1.8.2/trunk/CHANGES.174

    r355 r557  
    1  
    2 This is the most current changes file for PennMUSH. Please look it 
    3 over; each version contains new things which might significantly affect 
    4 the function of your server.  Changes are reported in reverse 
     1This is the changes file for PennMUSH 1.7.4. Please look it over; each 
     2version contains new things which might significantly affect the 
     3function of your server.  Changes are reported in reverse 
    54chronological order (most recent first) 
    65 
  • 1.8.2/trunk/CHANGES.175

    r399 r557  
    1  
    2 This is the most current changes file for PennMUSH. Please look it 
    3 over; each version contains new things which might significantly affect 
    4 the function of your server.  Changes are reported in reverse 
     1This is the changes file for PennMUSH 1.7.5. Please look it over; each 
     2version contains new things which might significantly affect the 
     3function of your server.  Changes are reported in reverse 
    54chronological order (most recent first) 
    65 
  • 1.8.2/trunk/CHANGES.176

    r457 r557  
     1This is the changes file for PennMUSH 1.7.6. Please look it over; each 
     2version contains new things which might significantly affect the 
     3function of your server.  Changes are reported in reverse 
     4chronological order (most recent first) 
    15 
    26[TN] is Thorvald Natvig, a PennMUSH developer (aka Trivian) 
  • 1.8.2/trunk/CHANGES.177

    r479 r557  
    1  
    2 This is the most current changes file for PennMUSH. Please look it 
    3 over; each version contains new things which might significantly affect 
    4 the function of your server.  Changes are reported in reverse 
     1This is the changes file for PennMUSH 1.7.7. Please look it over; each 
     2version contains new things which might significantly affect the 
     3function of your server.  Changes are reported in reverse 
    54chronological order (most recent first) 
    65 
  • 1.8.2/trunk/CHANGES.180

    r529 r557  
    1  
    2 This is the most current changes file for PennMUSH. Please look it 
    3 over; each version contains new things which might significantly affect 
    4 the function of your server.  Changes are reported in reverse 
     1This is the changes file for PennMUSH 1.8.0. Please look it over; each 
     2version contains new things which might significantly affect the 
     3function of your server.  Changes are reported in reverse 
    54chronological order (most recent first) 
    65 
  • 1.8.2/trunk/CHANGES.181

    r531 r557  
    1  
    2 This is the most current changes file for PennMUSH. Please look it 
    3 over; each version contains new things which might significantly affect 
    4 the function of your server.  Changes are reported in reverse 
     1This is the changes file for PennMUSH 1.8.1. Please look it over; each 
     2version contains new things which might significantly affect the 
     3function of your server.  Changes are reported in reverse 
    54chronological order (most recent first) 
    65 
  • 1.8.2/trunk/CHANGES.OLD

    r467 r557  
    11This is the old changes file for PennMUSH.  Changes are reported in reverse 
    2 chronological order (more recent first) 
     2chronological order (more recent first.) Starting with 1.7.4, each minor 
     3version has its own changelog, in CHANGES.174 and so on. 
    34 
    45[TN] is Thorvald Natvig, a PennMUSH developer (aka Trivian) 
  • 1.8.2/trunk/FAQ

    r525 r557  
    11Frequently asked questions about the PennMUSH Server, post-pl10 
    2 Updated: November 11, 2002 
     2Updated: November 11, 2006 
    33 
    44*** There are other FAQs on the web at: 
    55*** http://www.pennmush.org/cgi-penn/fom/ 
    6 *** http://services.pennmush.org/faq.html 
    76 
    870. What's the release history since 1.50pl10? 
     
    15147. Compiling with the lcc compiler. 
    16158. Patch information in @version and INFO 
     169. Which signals does PennMUSH understand? 
    1717 
    1818----------------------------- 
     
    3838 
    3939Currently, the active development team is Javelin, Talek, Raevnos, 
    40 Noltar, and Walker.  The stable version is 1.8.0, and the development 
    41 version is 1.8.1
     40Noltar, and Walker.  The stable version is 1.8.2, and the development 
     41version is 1.8.3
    4242 
    43431. How do I ask for help with a problem? 
     
    6666the bug, send it along. If you don't, and the bug caused a crash with 
    6767a core dump, you can send along a stack trace (see #6 if you don't know 
    68 how to do this).  
     68how to do this). 
    6969 
    7070Bugs are patched as quickly as possible. Patches for bugs are 
     
    147147make. 
    148148 
     1499. Which signals does PennMUSH understand? 
    149150 
     151PennMUSH understands the following signals, and performs the listed action: 
     152 
     153  -HUP   Performs a silent @readcache 
     154  -USR1  Performs an @shutdown/reboot 
     155  -USR2  Performs an @dump 
     156  -INT   Performs an @shutdown 
     157  -TERM  Performs an @shutdown/panic 
  • 1.8.2/trunk/Makefile.SH

    r527 r557  
    257257    @prcs checkin 
    258258 
     259commit: indent 
     260    @svn commit 
     261 
    259262patch: versions 
    260263    @make-patch-header 
  • 1.8.2/trunk/Patchlevel

    r531 r557  
    11Do not edit this file. It is maintained by the official PennMUSH patches. 
    2 This is PennMUSH 1.8.1p1
     2This is PennMUSH 1.8.2p
  • 1.8.2/trunk/README

    r525 r557  
    2020or by ftp from pennmush.org, /pub/PennMUSH/Guide 
    2121============================================================================ 
    22   
     22 
    2323I. Introduction and history 
    2424 
    2525PennMUSH uses a version-numbering system that includes version 
    2626numbers (like 1.7.2) and patchlevels (like p32), usually written 
    27 together (1.7.2p32).  
     27together (1.7.2p32). 
    2828 
    2929Starting with 1.7.2, version numbers that are even (like 1.7.2) are 
     
    6262 
    6363In January of 1995, Amberyl passed on her mantle to Javelin (aka 
    64 Paul@Dune, Alan Schwartz), who is now the maintainer of the primary 
    65 public distribution in development. He released two patchlevels 
     64Paul@Dune, Alan Schwartz), who continuted as the maintainer of the 
     65primary public distribution in development. He released two patchlevels 
    6666numbered "dune-1" and "dune-2" before releasing PennMUSH 1.50 pl11 and 
    6767later distributions. The numbering scheme changed again with PennMUSH 
     
    8787facilitate code sharing and widen use. 
    8888 
     89In July 2006, Javelin retired from the role of Maintainer, passing the 
     90mantle of lead developer to Raevnos and that of release management to 
     91Ervin Hearn (Noltar). Many thanks go to Javelin whose contributions and 
     92guidance of PennMUSH have shaped it into the codebase that it is today. 
     93 
    8994A MUSH manual should be available at ftp.digex.net, ftp.math.okstate.edu, 
    9095primerd.prime.com, or from wherever you got this code from. The manual 
     
    127132   at http://www.pennmush.org/mailman/listinfo/pennmush-announce) 
    128133 
    129 2. pennmush-bugs@pennmush.org is the bug reporting address  
     1342. pennmush-bugs@pennmush.org is the bug reporting address 
    130135   for the PennMUSH developers (suggestions go to pennmush-developers, 
    131136   bugs to pennmush-bugs). This will generally give you the fastest 
     
    1411464. The compiler and compiler version (gcc 2.4.5, SGI cc 2.10, etc. -- the 
    142147   'file' command usually tells you the compiler version, if there's no 
    143    built-in option like '-v' or '-V' to give it),  
     148   built-in option like '-v' or '-V' to give it), 
    1441495. Whether or not you have made any changes to the code. 
    145150 
     
    161166 
    162167NOTE: A hostname is not the same thing as a site. We don't have accounts 
    163 for you to run your MUSH from. You must already have your MUSH  
     168for you to run your MUSH from. You must already have your MUSH 
    164169running at someplace.edu or whatever -- we just provide a nice hostname 
    165170that will resolve into your current site's IP address. 
    166171 
    167 How do you get a pennmush.org hostname? Go to  
    168 http://lists.pennmush.org/pennmush.html, and follow the instructions. 
     172How do you get a pennmush.org hostname? Go to 
     173http://services.pennmush.org/, and follow the instructions. 
    169174It may take a day or two before the hostname will work. 
    170175 
     
    175180 
    176181IV. Comments 
    177   
     182 
    178183IV.a. Amberyl's Comments 
    179184 
    180185These are in the first person.  :) 
    181   
     186 
    182187I've been working with this code for a year and a quarter now.  I can't 
    183188claim that it's particularly elegant or inspired; all I can say is that 
  • 1.8.2/trunk/game

    • Property svn:ignore set to
      *.cnf
      ignore
      netmush
      info_slave
  • 1.8.2/trunk/game/data

    • Property svn:ignore set to
      chunkswap
      ignore
      chatdb.gz
      maildb.gz
      outdb.gz
  • 1.8.2/trunk/game/log

    • Property svn:ignore set to
      wizard.log
      checkpt.log
      ignore
      netmush.log
      connect.log
      trace.log
      command.log
  • 1.8.2/trunk/game/restart

    r531 r557  
    55# REQUIRED: You must set this to the path to your game directory. 
    66# E.g.: /home/mush/game 
    7 GAMEDIR= 
     7GAMEDIR=`dirname $0` 
    88 
    99# OPTIONAL things that you may want to tweak. 
  • 1.8.2/trunk/game/save

    • Property svn:ignore set to

  • 1.8.2/trunk/game/txt

    • Property svn:ignore set to
      events.txt
      ignore
      news.txt
      help.txt
      compose.sh
  • 1.8.2/trunk/game/txt/evt

    • Property svn:ignore set to

  • 1.8.2/trunk/game/txt/hlp

    • Property svn:ignore set to
      index.hlp
  • 1.8.2/trunk/game/txt/hlp/penntop.hlp

    r531 r557  
    107107  Action lists are simply lists of actions that are all executed at once. 
    108108  You can have an action list in a user-defined command, in one of the 
    109   a-attributes, or in many other commands. 
    110  
    111   Actions in an action list are separated by semicolons. Each action is  
     109  a-attributes, or in many other commands. Action lists may not be 
     110  executed directly from a client, except in the case of a command 
     111  which forces a re-insertion into the queue such as @switch or 
     112  @dolist. 
     113 
     114  Actions in an action list are separated by semicolons. Each action is 
    112115  simply a separate MUSH command. If part of the action (such as the text 
    113116  in an @emit, for example) contains a semi-colon or comma, you may need 
  • 1.8.2/trunk/game/txt/hlp/pennv181.hlp

    r531 r557  
    11& 1.8.1p10 
    2 & changes 
    3 This is a list of changes in this patchlevel which are probably of 
    4 interest to players. More information about new commands and functions 
    5 can probably be gotten via 'help <name of whatever>'. 'help credits' 
    6 lists the [initials] of developers and porters that are used in the list  
    7 of changes. 
    8  
    9 Information about changes in prior releases can be found under 
    10 help topics named for each release (e.g. 'help 1.7.2p30'). 
    11 A list of the patchlevels associated with each release can 
    12 be read in 'help patchlevels'. 
    13  
    142Version 1.8.1 patchlevel 10                     September 13, 2006 
    153 
  • 1.8.2/trunk/game/txt/nws

    • Property svn:ignore set to

  • 1.8.2/trunk/hdrs

    • Property svn:ignore set to
      buildinf.h
      funs.h
      cmds.h
      patches.h
      ignore
  • 1.8.2/trunk/hdrs/htab.h

    r531 r557  
    3030  HASHENT *last_entry;      /**< State for hashfirst & hashnext. */ 
    3131  int entry_size;       /**< Size of each entry */ 
    32   void (*free_data)(void*);     /**< Function to call on data when deleting 
    33                   a entry. */ 
     32  void (*free_data) (void *);  /**< Function to call on data when deleting 
     33                                   a entry. */ 
    3434}; 
    3535 
     
    4343#define hashfree(tab) hash_flush(tab, 0) 
    4444extern int hash_getmask(int *size); 
    45 extern void hash_init(HASHTAB *htab, int size, int data_size, void (*)(void*)); 
     45extern void hash_init(HASHTAB *htab, int size, int data_size, void (*)(void *)); 
    4646extern HASHENT *hash_find(HASHTAB *htab, const char *key); 
    4747extern void *hash_value(HASHENT *entry); 
  • 1.8.2/trunk/hdrs/version.h

    r531 r557  
    1 #define VERSION "1.8.1
    2 #define PATCHLEVEL "10" 
    3 #define PATCHDATE "[09/13/2006]" 
    4 #define NUMVERSION 100800101
     1#define VERSION "1.8.2
     2#define PATCHLEVEL "0" 
     3#define PATCHDATE "[11/18/2006]" 
     4#define NUMVERSION 100800200
  • 1.8.2/trunk/hints

    • Property svn:ignore set to

  • 1.8.2/trunk/os2

    • Property svn:ignore set to

  • 1.8.2/trunk/po

    • Property svn:ignore set to

  • 1.8.2/trunk/src

    • Property svn:ignore set to
      info_slave
      netmud
      flaglocal.c
      local.c
      Makefile
      cmdlocal.c
      ignore
      funlocal.c
  • 1.8.2/trunk/src/boolexp.c

    r531 r557  
    589589 
    590590      r = 0; 
    591       a = atr_get(target, (char *)bytecode + arg); 
     591      a = atr_get(target, (char *) bytecode + arg); 
    592592      if (!a) 
    593593        break; 
  • 1.8.2/trunk/src/bsd.c

    r531 r557  
    36713671    notify_format(player, 
    36723672          T("Doing set. %d characters lost."), 
    3673           (int)strlen(message) - (DOING_LEN - 1)); 
     3673          (int) strlen(message) - (DOING_LEN - 1)); 
    36743674  } else 
    36753675    notify(player, T("Doing set.")); 
     
    37183718    notify_format(player, 
    37193719          T("Poll set to '%s'. %d characters lost."), poll_msg, 
    3720           (int)strlen(message) - (DOING_LEN - 1)); 
     3720          (int) strlen(message) - (DOING_LEN - 1)); 
    37213721  } else 
    37223722    notify_format(player, T("Poll set to: %s"), poll_msg); 
  • 1.8.2/trunk/src/conf.c

    r531 r557  
    174174  {"ssl_ip_addr", cf_str, options.ssl_ip_addr, 64, 0, "net"} 
    175175  , 
    176   {"port", cf_int, &options.port, 32000, 0, "net"} 
    177   , 
    178   {"ssl_port", cf_int, &options.ssl_port, 32000, 0, "net"} 
     176  {"port", cf_int, &options.port, 65535, 0, "net"} 
     177  , 
     178  {"ssl_port", cf_int, &options.ssl_port, 65535, 0, "net"} 
    179179  , 
    180180  {"use_dns", cf_bool, &options.use_dns, 2, 0, "net"} 
  • 1.8.2/trunk/src/db.c

    r531 r557  
    8484int get_list(FILE * f, dbref i); 
    8585void db_free(void); 
    86 static void init_objdata_htab(int size, void(*free_data)(void*)); 
     86static void init_objdata_htab(int size, void (*free_data) (void *)); 
    8787static void db_write_flags(FILE * f); 
    8888static dbref db_read_oldstyle(FILE * f); 
     
    10191019    ungetc(c, f); 
    10201020 
    1021     if (c != ' ')  
     1021    if (c != ' ') 
    10221022      break; 
    10231023 
     
    10421042  } 
    10431043 
    1044   if (found != count)  
     1044  if (found != count) 
    10451045    do_rawlog(LT_ERR, 
    1046           T("WARNING: Actual lock count (%d) different from expected count (%d)."), 
    1047         found, count); 
     1046          T 
     1047          ("WARNING: Actual lock count (%d) different from expected count (%d)."), 
     1048          found, count); 
    10481049 
    10491050} 
     
    12291230    c = fgetc(f); 
    12301231    ungetc(c, f); 
    1231      
     1232 
    12321233    if (c != ' ') 
    12331234      break; 
     
    12461247  } 
    12471248 
    1248   if (found != count)  
     1249  if (found != count) 
    12491250    do_rawlog(LT_ERR, 
    1250           T("WARNING: Actual attribute count (%d) different than expected count (%d)."), 
    1251         found, count); 
     1251          T 
     1252          ("WARNING: Actual attribute count (%d) different than expected count (%d)."), 
     1253          found, count); 
    12521254 
    12531255} 
     
    17311733 
    17321734static void 
    1733 init_objdata_htab(int size, void (*free_data)(void*)) 
     1735init_objdata_htab(int size, void (*free_data) (void *)) 
    17341736{ 
    17351737  hash_init(&htab_objdata, size, 4, free_data); 
  • 1.8.2/trunk/src/flags.c

    r531 r557  
    662662  } 
    663663 
    664   if (found != count)  
     664  if (found != count) 
    665665    do_rawlog(LT_ERR, 
    666           T("WARNING: Actual number of flags (%d) different than expected count (%d)."), 
    667         found, count); 
     666          T 
     667          ("WARNING: Actual number of flags (%d) different than expected count (%d)."), 
     668          found, count); 
    668669 
    669670  /* Assumes we'll always have at least one alias */ 
    670   db_read_this_labeled_number(in, "flagaliascount", &count);          
    671   for (found = 0 ;;) { 
     671  db_read_this_labeled_number(in, "flagaliascount", &count); 
     672  for (found = 0;;) { 
    672673    int c; 
    673      
     674 
    674675    c = fgetc(in); 
    675676    ungetc(c, in); 
     
    683684      flag_add(n, alias, f); 
    684685  } 
    685   if (found != count)  
     686  if (found != count) 
    686687    do_rawlog(LT_ERR, 
    687           T("WARNING: Actual number of flag aliases (%d) different than expected count (%d)."), 
    688         found, count); 
     688          T 
     689          ("WARNING: Actual number of flag aliases (%d) different than expected count (%d)."), 
     690          found, count); 
    689691 
    690692  flag_add_additional(n); 
  • 1.8.2/trunk/src/function.c

    r531 r557  
    804804} 
    805805 
    806 static void delete_function(void*); 
     806static void delete_function(void *); 
    807807 
    808808/** Initialize the function hash table. 
     
    12881288  size_t table_index, i; 
    12891289  FUN *fp = data; 
    1290    
     1290 
    12911291  table_index = fp->where.offset; 
    12921292  mush_free((void *) fp->name, "func_hash.name"); 
     
    13071307 
    13081308} 
     1309 
    13091310/** Restore an overridden built-in function. 
    13101311 * \verbatim 
  • 1.8.2/trunk/src/fundb.c

    r531 r557  
    19901990    preserve = parse_boolean(args[2]); 
    19911991 
    1992   do_link(executor, args[0], args[1], preserve); 
     1992  do_link(executor, args[0], args[1], preserve); 
    19931993} 
    19941994 
  • 1.8.2/trunk/src/funlist.c

    r529 r557  
    29102910    return; 
    29112911 
    2912   first = 0
     2912  first = 1
    29132913  while (1) { 
    29142914    words = 0; 
  • 1.8.2/trunk/src/htab.c

    r531 r557  
    155155 */ 
    156156void 
    157 hash_init(HASHTAB *htab, int size, int data_size, void (*free_data)(void*)) 
     157hash_init(HASHTAB *htab, int size, int data_size, void (*free_data) (void *)) 
    158158{ 
    159159  int i; 
  • 1.8.2/trunk/src/look.c

    r531 r557  
    13921392extern char escaped_chars[UCHAR_MAX + 1]; 
    13931393 
     1394void 
     1395insert_spaces(int count, int dospace, char *buff, char **bp) 
     1396{ 
     1397  if (count) { 
     1398    if (count >= 5) { 
     1399      safe_str("[space(", buff, bp); 
     1400      safe_number(count, buff, bp); 
     1401      safe_str(")]", buff, bp); 
     1402    } else if (count == 1) { 
     1403      if (dospace) { 
     1404    safe_str("%b", buff, bp); 
     1405      } else { 
     1406    safe_chr(' ', buff, bp); 
     1407      } 
     1408    } else { 
     1409      /* Take care of the final %b */ 
     1410      count--; 
     1411      if (dospace) { 
     1412    safe_str("%b", buff, bp); 
     1413    count--; 
     1414      } 
     1415      while (count) { 
     1416    safe_chr(' ', buff, bp); 
     1417    count--; 
     1418    if (count) { 
     1419      count--; 
     1420      safe_str("%b", buff, bp); 
     1421    } 
     1422      } 
     1423      safe_str("%b", buff, bp); 
     1424    } 
     1425  } 
     1426} 
     1427 
    13941428char * 
    13951429decompose_str(char *what) 
     
    14001434  int len; 
    14011435  int dospace; 
     1436  int spaces; 
    14021437  int flag_depth, ansi_depth; 
    14031438  int digits; 
     
    14151450  /* Put a \ at the beginning if it won't already be put there, 
    14161451   * unless it's a space, which would require %b, %r, or %t anyway */ 
    1417   if (!escaped_chars[(unsigned int) *what] && !isspace((unsigned char)*what)) { 
     1452  if (!escaped_chars[(unsigned int) *what] && !isspace((unsigned char) *what)) { 
    14181453    safe_chr('\\', value, &s); 
    14191454  } 
    14201455#endif 
     1456 
    14211457  dospace = 1; 
     1458  spaces = 0; 
    14221459  for (; *ptr; ptr++) { 
    14231460    switch (*ptr) { 
    14241461    case ' ': 
    1425       if (dospace) { 
    1426     safe_str("%b", value, &s); 
    1427       } else { 
    1428     safe_chr(' ', value, &s); 
    1429       } 
    1430       dospace = !dospace; 
     1462      spaces++; 
    14311463      break; 
    14321464    case '\n': 
     1465      insert_spaces(spaces, dospace, value, &s); 
     1466      spaces = 0; 
    14331467      dospace = 0; 
    14341468      safe_str("%r", value, &s); 
    14351469      break; 
    14361470    case '\t': 
     1471      insert_spaces(spaces, dospace, value, &s); 
     1472      spaces = 0; 
    14371473      dospace = 0; 
    14381474      safe_str("%t", value, &s); 
    14391475      break; 
    14401476    case ESC_CHAR: 
     1477      insert_spaces(spaces, dospace, value, &s); 
     1478      spaces = 0; 
    14411479      ptr++; 
    14421480      if (!*ptr) { 
     
    14681506        digits = 3;     /* If we encounter a 3-number code, break out. */ 
    14691507        break; 
    1470       } else if (isdigit(*ptr)) { 
     1508      } else if (isdigit((unsigned char) *ptr)) { 
    14711509        digits++;       /* Count the numbers we encounter. */ 
    14721510      } else { 
     
    15111549 
    15121550    /* code for decompiling ansi */ 
    1513     for (; isdigit(*ptr) || *ptr == ';'; ptr++) { 
     1551    for (; isdigit((unsigned char) *ptr) || *ptr == ';'; ptr++) { 
    15141552      if (*ptr == ';')  /* Yes, it is necessary to do it this way. */ 
    15151553        ptr++; 
    15161554      /* Break if there is an 'm' here. */ 
    1517       if (!*ptr || !isdigit(*ptr)) 
     1555      if (!*ptr || !isdigit((unsigned char) *ptr)) 
    15181556        break; 
    15191557      /* Check to see if the code is one character long. */ 
     
    15881626      break; 
    15891627    default: 
     1628      insert_spaces(spaces, dospace, value, &s); 
     1629      spaces = 0; 
    15901630      if (escaped_chars[(unsigned int) *ptr]) { 
    15911631    safe_chr('\\', value, &s); 
     
    15961636  } 
    15971637  /* Now check the last space. */ 
    1598   if (*(s - 1) == ' ') { 
    1599     s -= 1; 
    1600     safe_str("%b", value, &s); 
    1601   } 
     1638  insert_spaces(spaces, dospace, value, &s); 
     1639  spaces = 0; 
    16021640  for (; ansi_depth > 0; ansi_depth--) { 
    16031641    safe_str(")]", value, &s); 
  • 1.8.2/trunk/src/plyrlist.c

    r531 r557  
    2929static int hft_initialized = 0; 
    3030static void init_hft(void); 
    31 static void delete_dbref(void*); 
     31static void delete_dbref(void *); 
    3232 
    3333/** Free a player_dbref struct. */ 
    3434static void 
    35 delete_dbref(void *data)  
     35delete_dbref(void *data) 
    3636{ 
    3737  mush_free(data, "plyrlist.entry"); 
     
    5252  if (hft_initialized) 
    5353    hashflush(&htab_player_list, 256); 
    54   else 
     54  else 
    5555    init_hft(); 
    5656} 
  • 1.8.2/trunk/src/sig.c

    r531 r557  
    126126  sigprocmask(SIG_BLOCK, &mask, NULL); 
    127127#elif defined(WIN32) 
    128     /* The only signals Windows knows about */ 
     128  /* The only signals Windows knows about */ 
    129129  signal(SIGABRT, SIG_IGN); 
    130130  signal(SIGFPE, SIG_IGN); 
  • 1.8.2/trunk/test

    • Property svn:ignore set to

  • 1.8.2/trunk/utils

    • Property svn:ignore set to
      mkcmds.sh
  • 1.8.2/trunk/utils/mkcmds.sh.SH

    r455 r557  
    132132fi 
    133133 
    134 if [ -d "../win32" ]; then 
    135   cp ../hdrs/cmds.h ../win32/cmds.h 
    136 fi 
    137  
    138134;; 
    139135functions) 
     
    153149    mv -f ../hdrs/temp.$$.h ../hdrs/funs.h 
    154150fi 
    155  
    156 if [ -d "../win32" ]; then 
    157   cp ../hdrs/funs.h ../win32/funs.h 
    158 fi 
    159151;; 
    160152esac 
  • 1.8.2/trunk/win32

    • Property svn:ignore set to

  • 1.8.2/trunk/win32/README.txt

    r523 r557  
    1 How to compile PennMUSH 1.7.x under Windows (MSVC++/MS VS.NET) 
     1How to compile PennMUSH 1.8.x under Windows (MSVC++/MS VS.NET) 
    22---------------------------------------------- 
    33by Nick Gammon <nick@gammon.com.au> and Javelin and Luuk de Waard 
     4Updated by Ervin Hearn <ehearn@pennmush.org> 
    45 
    5 Last update: Monday, 1 November 2002 
     6Last update: Saturday, 11 November 2006 
    67 
    781. From the top-level pennmush directory, 
    8    Copy the following files     to: 
     9   Copy the following files        to: 
    910 
    10   win32/config.h      config.h 
    11   win32/confmagic.h   confmagic.h 
    12   win32/options.h     options.h 
    13   win32/cmds.h        hdrs/cmds.h 
    14   win32/funs.h        hdrs/funs.h 
    15   win32/patches.h     hdrs/patches.h 
    16   src/local.dst       src/local.c 
    17   src/funlocal.dst    src/funlocal.c 
    18   src/cmdlocal.dst    src/cmdlocal.c 
    19   src/flaglocal.dst   src/flaglocal.c 
    20   game/mushcnf.dst    game/mush.cnf 
     11   For MSVC++ 6: 
     12   win32/msvc6/pennmush.dsw        pennmush.dsw 
     13   win32/msvc6/pennmush.dsp        pennmush.dsp 
     14   win32/config.h                  config.h 
     15   win32/confmagic.h               confmagic.h 
     16   win32/options.h                 options.h 
     17   win32/cmds.h                    hdrs/cmds.h 
     18   win32/funs.h                    hdrs/funs.h 
     19   win32/patches.h                 hdrs/patches.h 
     20   src/cmdlocal.dst                src/cmdlocal.c 
     21   src/flaglocal.dst               src/flaglocal.c 
     22   src/funlocal.dst                src/funlocal.c 
     23   src/local.dst                   src/local.c 
     24   game/mushcnf.dst                game/mush.cnf 
     25   game/aliascnf.dst               game/alias.cnf 
     26   game/namescnf.dst               game/names.cnf 
     27   game/restrictcnf.dst            game/restrict.cnf 
    2128 
    22   Project files for MSVC++: 
    23   win32/pennmush.dsw  pennmush.dsw 
    24   win32/pennmush.dsp  pennmush.dsp 
    2529 
    26   Project files for MS VS.NET: 
    27   win32/pennmush.vcproj  pennmush.vcproj 
    28   win32/pennmush.sln  pennmush.sln 
     30  For MS VS.NET: 
     31  win32/msvc.net/pennmush.vcproj  pennmush.vcproj 
     32  win32/msvc.net/pennmush.sln     pennmush.sln 
    2933 
    30    (If you've already got src/*local.c files that you've modified, 
    31     you'll just have to make sure that there are no new functions 
    32     in src/*local.dst that're missing in your src/*local.c files) 
     34   VS.NET has been configured to copy the .dst files automatically if they 
     35   do not exist, and the header files each time the project is compiled. This 
     36   can be disabled or changed by going to Project -> pennmush Properties -> 
     37   Configuration Properties -> Build Events -> Pre-Build Event and Post-Build 
     38   Event. 
     39 
     40 
     41   If you've already got src/*local.c files that you've modified, 
     42   you'll just have to make sure that there are no new functions 
     43   in src/*local.dst that are missing in your src/*local.c files 
    3344 
    34452. Use supplied project files in the top-level pennmush directory. 
     
    38494. From the top-level pennmush directory, the binary is: game/pennmush.exe 
    3950 
     51*** Note: Windows defaults to a stack size of 1 MB. The supplied project files 
     52set the stack size to 8MB to match the default environment on Linux systems and 
     53resolve several issues of early code termination on Windows. This setting can 
     54also be changed on the precompiled executable by using the 'editbin.exe' tool 
     55supplied by Microsoft in the Visual Studio installation, including the free 
     56Express version. To set the stack size (in KB) run the following from a 
     57command prompt in the game directory: editbin /STACK:<size> pennmush.exe 
  • 1.8.2/trunk/win32/README_MySQL.txt

    r467 r557  
    1 Building PennMUSH 1.7.x under Windows with MySQL 
     1Building PennMUSH 1.8.x under Windows with MySQL 
    22------------------------------------------------ 
    3 by Ervin Hearn <noltar@korongil.net
     3by Ervin Hearn <ehearn@pennmush.org
    44 
    5 Last update: Saturday, 26 June 2004 
    6 Current Version of MySQL: 4.0.20a 
     5Last update: Saturday, 11 November 2006 
     6Current Version of MySQL: 5.0.27 
    77 
    8 These directions are oriented toward those using MSVC++ or MinGW 
    9 Development Studio. Those using MinGW+MSys should install MySQL 
    10 just as if they were doing so on Linux. 
     8These directions are oriented toward those using MSVC++ or another Graphical 
     9Windows IDE. Those using MinGW+MSys should install MySQL just as if they were 
     10doing so on Linux. 
    1111 
    12121. Download and install MySQL for Windows from http://www.mysql.org/ 
     
    14142. Make sure that the contents of mysql/lib/opt and mysql/include are located 
    1515   within your build environment's path. 
    16     
    17    I recommend creating symlinks/shortcuts with the name mysql in your 
    18    compiler's lib and include directories which point to the mysql install 
    19    locations. A representation of this is: 
    20     
     16 
     17   I recommend copying the contents of the directories listed below into your 
     18   compiler's lib and include directories under directories named 'mysql'. A 
     19   representation of this is: 
     20 
    2121   C:\Program Files\Microsoft Visual Studio\VC98\lib\mysql -> C:\mysql\lib\opt 
    2222   C:\Program Files\Microsoft Visual Studio\VC98\include\mysql -> C:\mysql\include 
  • 1.8.2/trunk/win32/cmds.h

    r519 r557  
    135135COMMAND_PROTO(cmd_wait); 
    136136COMMAND_PROTO(cmd_wall); 
     137COMMAND_PROTO(cmd_warnings); 
    137138COMMAND_PROTO(cmd_warn_on_missing); 
    138 COMMAND_PROTO(cmd_warnings); 
    139139COMMAND_PROTO(