Changeset 846
- Timestamp:
- 05/16/07 21:26:45 (1 year ago)
- Files:
-
- 1.8.3/trunk/BUGS (modified) (1 diff)
- 1.8.3/trunk/CHANGES.182 (modified) (1 diff)
- 1.8.3/trunk/CHANGES.183 (modified) (1 diff)
- 1.8.3/trunk/Configure (deleted)
- 1.8.3/trunk/Doxyfile (copied) (copied from 1.8.3/tags/p2rc4/Doxyfile)
- 1.8.3/trunk/INSTALL (modified) (2 diffs)
- 1.8.3/trunk/MANIFEST (modified) (7 diffs)
- 1.8.3/trunk/Makefile.SH (deleted)
- 1.8.3/trunk/Makefile.in (copied) (copied from 1.8.3/tags/p2rc4/Makefile.in)
- 1.8.3/trunk/Patchlevel (modified) (1 diff)
- 1.8.3/trunk/README (modified) (5 diffs)
- 1.8.3/trunk/README.SQL (modified) (7 diffs)
- 1.8.3/trunk/aclocal.m4 (copied) (copied from 1.8.3/tags/p2rc4/aclocal.m4)
- 1.8.3/trunk/config.h.in (copied) (copied from 1.8.3/tags/p2rc4/config.h.in)
- 1.8.3/trunk/config_h.SH (deleted)
- 1.8.3/trunk/configure (copied) (copied from 1.8.3/tags/p2rc4/configure)
- 1.8.3/trunk/configure.in (copied) (copied from 1.8.3/tags/p2rc4/configure.in)
- 1.8.3/trunk/confmagic.h (modified) (2 diffs)
- 1.8.3/trunk/game/mushcnf.dst (modified) (3 diffs)
- 1.8.3/trunk/game/txt/Makefile (modified) (2 diffs)
- 1.8.3/trunk/game/txt/compose.sh.SH (deleted)
- 1.8.3/trunk/game/txt/compose.sh.in (copied) (copied from 1.8.3/tags/p2rc4/game/txt/compose.sh.in)
- 1.8.3/trunk/game/txt/hlp/pennchat.hlp (modified) (1 diff)
- 1.8.3/trunk/game/txt/hlp/penncmd.hlp (modified) (3 diffs)
- 1.8.3/trunk/game/txt/hlp/pennconf.hlp (modified) (1 diff)
- 1.8.3/trunk/game/txt/hlp/pennflag.hlp (modified) (1 diff)
- 1.8.3/trunk/game/txt/hlp/pennfunc.hlp (modified) (8 diffs)
- 1.8.3/trunk/game/txt/hlp/pennv182.hlp (modified) (1 diff)
- 1.8.3/trunk/game/txt/hlp/pennv183.hlp (modified) (2 diffs)
- 1.8.3/trunk/game/txt/hlp/pennvOLD.hlp (modified) (1 diff)
- 1.8.3/trunk/hdrs/attrib.h (modified) (7 diffs)
- 1.8.3/trunk/hdrs/bufferq.h (modified) (1 diff)
- 1.8.3/trunk/hdrs/case.h (modified) (1 diff)
- 1.8.3/trunk/hdrs/chunk.h (modified) (1 diff)
- 1.8.3/trunk/hdrs/command.h (modified) (4 diffs)
- 1.8.3/trunk/hdrs/compile.h (modified) (2 diffs)
- 1.8.3/trunk/hdrs/conf.h (modified) (4 diffs)
- 1.8.3/trunk/hdrs/dbdefs.h (modified) (1 diff)
- 1.8.3/trunk/hdrs/externs.h (modified) (8 diffs)
- 1.8.3/trunk/hdrs/flags.h (modified) (1 diff)
- 1.8.3/trunk/hdrs/function.h (modified) (1 diff)
- 1.8.3/trunk/hdrs/ident.h (modified) (1 diff)
- 1.8.3/trunk/hdrs/log.h (modified) (1 diff)
- 1.8.3/trunk/hdrs/mushdb.h (modified) (2 diffs)
- 1.8.3/trunk/hdrs/mushtype.h (modified) (1 diff)
- 1.8.3/trunk/hdrs/mysocket.h (modified) (2 diffs)
- 1.8.3/trunk/hdrs/parse.h (modified) (6 diffs)
- 1.8.3/trunk/hdrs/shs.h (modified) (2 diffs)
- 1.8.3/trunk/hdrs/sort.h (copied) (copied from 1.8.3/tags/p2rc4/hdrs/sort.h)
- 1.8.3/trunk/hdrs/ssl_slave.h (copied) (copied from 1.8.3/tags/p2rc4/hdrs/ssl_slave.h)
- 1.8.3/trunk/hints/README (copied) (copied from 1.8.3/tags/p2rc4/hints/README)
- 1.8.3/trunk/hints/darwin-fink.sh (deleted)
- 1.8.3/trunk/hints/darwin.sh (deleted)
- 1.8.3/trunk/hints/freebsd.sh (deleted)
- 1.8.3/trunk/hints/freebsd.txt (copied) (copied from 1.8.3/tags/p2rc4/hints/freebsd.txt)
- 1.8.3/trunk/hints/linux.txt (copied) (copied from 1.8.3/tags/p2rc4/hints/linux.txt)
- 1.8.3/trunk/hints/linux_2.sh (deleted)
- 1.8.3/trunk/hints/mac_os_x.txt (copied) (copied from 1.8.3/tags/p2rc4/hints/mac_os_x.txt)
- 1.8.3/trunk/hints/netbsd.sh (deleted)
- 1.8.3/trunk/hints/netbsd.txt (copied) (copied from 1.8.3/tags/p2rc4/hints/netbsd.txt)
- 1.8.3/trunk/hints/next.sh (deleted)
- 1.8.3/trunk/hints/openbsd.sh (deleted)
- 1.8.3/trunk/hints/openbsd.txt (copied) (copied from 1.8.3/tags/p2rc4/hints/openbsd.txt)
- 1.8.3/trunk/hints/ultrix.sh (deleted)
- 1.8.3/trunk/install-sh (copied) (copied from 1.8.3/tags/p2rc4/install-sh)
- 1.8.3/trunk/src/Makefile.SH (deleted)
- 1.8.3/trunk/src/Makefile.in (copied) (copied from 1.8.3/tags/p2rc4/src/Makefile.in)
- 1.8.3/trunk/src/access.c (modified) (3 diffs)
- 1.8.3/trunk/src/atr_tab.c (modified) (1 diff)
- 1.8.3/trunk/src/attrib.c (modified) (33 diffs)
- 1.8.3/trunk/src/boolexp.c (modified) (14 diffs)
- 1.8.3/trunk/src/bsd.c (modified) (23 diffs)
- 1.8.3/trunk/src/bufferq.c (modified) (9 diffs)
- 1.8.3/trunk/src/chunk.c (modified) (63 diffs)
- 1.8.3/trunk/src/cmdlocal.dst (modified) (1 diff)
- 1.8.3/trunk/src/cmds.c (modified) (50 diffs)
- 1.8.3/trunk/src/command.c (modified) (12 diffs)
- 1.8.3/trunk/src/comp_h.c (modified) (3 diffs)
- 1.8.3/trunk/src/comp_w.c (modified) (3 diffs)
- 1.8.3/trunk/src/comp_w8.c (modified) (3 diffs)
- 1.8.3/trunk/src/conf.c (modified) (23 diffs)
- 1.8.3/trunk/src/cque.c (modified) (8 diffs)
- 1.8.3/trunk/src/csrimalloc.c (modified) (20 diffs)
- 1.8.3/trunk/src/db.c (modified) (3 diffs)
- 1.8.3/trunk/src/destroy.c (modified) (4 diffs)
- 1.8.3/trunk/src/extchat.c (modified) (19 diffs)
- 1.8.3/trunk/src/extmail.c (modified) (10 diffs)
- 1.8.3/trunk/src/flaglocal.dst (modified) (1 diff)
- 1.8.3/trunk/src/flags.c (modified) (16 diffs)
- 1.8.3/trunk/src/function.c (modified) (10 diffs)
- 1.8.3/trunk/src/fundb.c (modified) (5 diffs)
- 1.8.3/trunk/src/funlist.c (modified) (8 diffs)
- 1.8.3/trunk/src/funmath.c (modified) (5 diffs)
- 1.8.3/trunk/src/funmisc.c (modified) (3 diffs)
- 1.8.3/trunk/src/funstr.c (modified) (22 diffs)
- 1.8.3/trunk/src/funtime.c (modified) (1 diff)
- 1.8.3/trunk/src/funufun.c (modified) (2 diffs)
- 1.8.3/trunk/src/game.c (modified) (15 diffs)
- 1.8.3/trunk/src/gmalloc.c (modified) (9 diffs)
- 1.8.3/trunk/src/help.c (modified) (1 diff)
- 1.8.3/trunk/src/htab.c (modified) (5 diffs)
- 1.8.3/trunk/src/ident.c (modified) (7 diffs)
- 1.8.3/trunk/src/lock.c (modified) (6 diffs)
- 1.8.3/trunk/src/log.c (modified) (3 diffs)
- 1.8.3/trunk/src/look.c (modified) (18 diffs)
- 1.8.3/trunk/src/malias.c (modified) (1 diff)
- 1.8.3/trunk/src/markup.c (modified) (12 diffs)
- 1.8.3/trunk/src/match.c (modified) (6 diffs)
- 1.8.3/trunk/src/move.c (modified) (9 diffs)
- 1.8.3/trunk/src/mysocket.c (modified) (4 diffs)
- 1.8.3/trunk/src/myssl.c (modified) (1 diff)
- 1.8.3/trunk/src/notify.c (modified) (2 diffs)
- 1.8.3/trunk/src/parse.c (modified) (4 diffs)
- 1.8.3/trunk/src/pcre.c (modified) (26 diffs)
- 1.8.3/trunk/src/player.c (modified) (9 diffs)
- 1.8.3/trunk/src/plyrlist.c (modified) (1 diff)
- 1.8.3/trunk/src/portmsg.c (modified) (6 diffs)
- 1.8.3/trunk/src/predicat.c (modified) (5 diffs)
- 1.8.3/trunk/src/ptab.c (modified) (1 diff)
- 1.8.3/trunk/src/rob.c (modified) (3 diffs)
- 1.8.3/trunk/src/services.c (modified) (1 diff)
- 1.8.3/trunk/src/set.c (modified) (6 diffs)
- 1.8.3/trunk/src/shs.c (modified) (2 diffs)
- 1.8.3/trunk/src/sig.c (modified) (1 diff)
- 1.8.3/trunk/src/sort.c (copied) (copied from 1.8.3/tags/p2rc4/src/sort.c)
- 1.8.3/trunk/src/speech.c (modified) (4 diffs)
- 1.8.3/trunk/src/sql.c (modified) (39 diffs)
- 1.8.3/trunk/src/ssl_slave.c (copied) (copied from 1.8.3/tags/p2rc4/src/ssl_slave.c)
- 1.8.3/trunk/src/strutil.c (modified) (2 diffs)
- 1.8.3/trunk/src/timer.c (modified) (3 diffs)
- 1.8.3/trunk/src/unparse.c (modified) (3 diffs)
- 1.8.3/trunk/src/utils.c (modified) (4 diffs)
- 1.8.3/trunk/src/wiz.c (modified) (10 diffs)
- 1.8.3/trunk/test/PennMUSH.pm (modified) (1 diff)
- 1.8.3/trunk/utils/README.txt (copied) (copied from 1.8.3/tags/p2rc4/utils/README.txt)
- 1.8.3/trunk/utils/clwrapper.sh (modified) (1 prop)
- 1.8.3/trunk/utils/fixdepend.pl (modified) (1 diff)
- 1.8.3/trunk/utils/gentables.c (modified) (1 diff)
- 1.8.3/trunk/utils/ln-dir.sh (modified) (1 prop)
- 1.8.3/trunk/utils/mkcmds.sh.SH (deleted)
- 1.8.3/trunk/utils/mkcmds.sh.in (copied) (copied from 1.8.3/tags/p2rc4/utils/mkcmds.sh.in)
- 1.8.3/trunk/utils/typedefs.scm (copied) (copied from 1.8.3/tags/p2rc4/utils/typedefs.scm)
- 1.8.3/trunk/win32/README.cygwin (copied) (copied from 1.8.3/tags/p2rc4/win32/README.cygwin)
- 1.8.3/trunk/win32/config.h (modified) (1 diff)
- 1.8.3/trunk/win32/confmagic.h (modified) (3 diffs)
- 1.8.3/trunk/win32/funs.h (modified) (2 diffs)
- 1.8.3/trunk/win32/msvc.net/pennmush.vcproj (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/trunk/BUGS
r557 r846 9 9 per-executable basis, via 'editbin /STACK:8388608 netmush.exe' 10 10 11 * Some IPv6-enabled systems are not configured out of the box to tunnel 12 IPv4 connection attempts on the same port to the IPv6 socket that is 13 listening. If you can connect to a local game via ::1 but not 14 127.0.0.1 this is likely the issue. On unix systems, a user with 15 root privileges can do 'sysctl -w net.inet6.ip6.v6only=0', after 16 which you'll have to do a complete shutdown and restart of the mush 17 for the change to take effect. The file /etc/sysctl.conf will have to 18 be changed too so the change persists across reboots. 19 11 20 12 21 Ancient: 1.8.3/trunk/CHANGES.182
r718 r846 15 15 ========================================================================== 16 16 17 Version 1.8.2 patchlevel 4 May ??, 2007 18 19 Minor changes: 20 * speak() uses accented names. Sketch. 21 * config() no longer lists options that can't be set 22 with @config/set. Suggested by Trispis. [SW] 23 * 'page foo\=bar' pages the last person you paged. Fix by Nathan 24 Baum. 25 * Receipt of a SIGUSR1 (Causing a shutdown/reboot) is explictly 26 logged. Suggested by Interloper. [SW] 27 * @wipe reports the number of attributes deleted. [183] 28 29 Fixes: 30 * You can no longer save objects slated to be destroyed 31 by using @set foo=!GOING (The help file for GOING now tells 32 the truth) Reported by Cooee. [SW] 33 * Useless variable in real_unparse() removed. Reported by 34 Taladan. [SW] 35 * 'make portmsg' works, and portmsg.c rewritten to current 36 Penn standards. [SW] 37 * case() would replace #$ in the default argument, contrary 38 to the help file. Reported by Talvo. [SW] 39 * Memory leak in grep(). [SW] 40 * Quotes can be around the player name on the login screen 41 always, instead of just when player_name_spaces was 42 on. Suggested by Dan Widdis. [SW] 43 * '{think foo} bar' exhibited odd behavior. [GM] 44 * 'make test' wouldn't work right unless '.' was in you path. 45 Fix by Nathan Baum. 46 * stdin and stdout weren't getting closed, potentially causing 47 problems when trying to log out of a shell after starting 48 a mush. Reported by K Moon. [SW] 49 * NetBSD compile and general warning fixes. [SW] 50 * Favor difftime(3) over subtraction of time_t variables. [SW] 51 * Clarification of attribute trees in HELP @WIPE. Suggested by 52 Talvo. 53 * Loading a db with empty attributes used as the roots of 54 attribute trees didn't work if empty_attrs is set to no. 55 Reported by Kevin. [SW] 56 * Bugs in wiping attribute trees with attributes the wiper 57 doesn't have permission to delete fixed. [SW] 58 17 59 Version 1.8.2 patchlevel 3 March 11, 2007 18 60 1.8.3/trunk/CHANGES.183
r718 r846 15 15 ========================================================================== 16 16 17 Version 1.8.3 patchlevel 2 May ??, 2007 18 19 Major changes: 20 * configuration is now done by autoconf. ./Configure is 21 now ./configure and its options have changed. See 22 INSTALL and ./configure --help [SW] 23 * Support for the postgresql SQL server. Javelin. 24 * Support for sqlite3 SQL databases. [SW] 25 26 Minor changes: 27 * You can no longer run a mush as root. [SW] 28 * cemit_noisy config option. Suggested by Kimiko. [SW] 29 * @function sorts the list of user-defined functions 30 by object and then name. Suggested by Trinsec. [SW] 31 * Better logging of the register login screen command 32 for systems without a sendmail program. [SW] 33 * Assorted refactoring of source code. [SW] 34 35 Functions: 36 * isobjid(). By Balerion. 37 * player() returns the dbref of the player connected to a given 38 port. By Nathan Baum. 39 * root(X,3) uses the C cbrt() function if available. [SW] 40 * New formats for align() that allow flowing text. Javelin. 41 * isdbref() understands objids. By Balerion. 42 43 Fixes: 44 * regmatch() broken with %q-registers. Javelin. 45 * Better checking of dbref config options to make sure they're 46 valid objects. Suggested by Talvo. [SW] 47 * Fixed assorted cases of accidently modifying const objects. 48 Thanks to Jake. [SW] 49 * Fixed a crash bug in strmatch(). [GM] 50 * wrap() of Pueblo tags didn't work very well. Fixed by 51 Sketch. 52 * @wipe's count is accurate when attribute trees are being 53 deleted. Reported by Talvo. 54 17 55 Version 1.8.3 patchlevel 1 March 11, 2007 18 56 1.8.3/trunk/INSTALL
r654 r846 70 70 71 71 1. On win32 only, install proper tools or read win32/README*. 72 2. sh Configure -dor some variant72 2. ./configure or some variant 73 73 3. create options.h, or make update 74 74 4. make install … … 83 83 2. On Unix systems, unpack the code and: 84 84 cd pennmush 85 ./Configure -d 85 ./configure 86 87 Useful arguments to configure: 88 a. --with-mysql=/path/to/mysql_config: Use if configure can't 89 find mysql_config in your normal path and you want SQL support. 90 b. --disable-nls: Turn off translation support if you don't need it. 91 c. --help: See all options. 92 93 Environment variables to customize search paths: 94 CPPFLAGS=-I/path/to/extra/headers 95 LDFLAGS=-L/path/to/extra/libraries 96 CFLAGS=-Optimation and -Warning options. 97 98 VAR=arg ... ./configure 99 100 See hints/your-os.txt if present for more details and system-specific 101 help, and README.SQL for help with detecting a SQL server. 102 86 103 87 104 3. EITHER: 1.8.3/trunk/MANIFEST
r718 r846 10 10 CHANGES.OLD 11 11 COPYRITE 12 Configure 12 configure 13 configure.in 14 install-sh 15 aclocal.m4 13 16 FAQ 14 17 I18N 15 18 INSTALL 16 19 MANIFEST 17 Makefile. SH20 Makefile.in 18 21 Patchlevel 19 22 README … … 21 24 README.SSL 22 25 UPGRADING 23 config _h.SH26 config.h.in 24 27 confmagic.h 25 28 game/README … … 37 40 game/txt/Makefile 38 41 game/txt/README 39 game/txt/compose.sh. SH42 game/txt/compose.sh.in 40 43 game/txt/connect.txt 41 44 game/txt/down.txt … … 113 116 hdrs/pueblo.h 114 117 hdrs/shs.h 118 hdrs/sort.h 115 119 hdrs/strtree.h 116 120 hdrs/switches.h … … 118 122 hints/a-u-x.sh 119 123 hints/aix.sh 120 hints/darwin-fink.sh121 hints/darwin.sh122 124 hints/dec_osf.sh 123 hints/freebsd. sh125 hints/freebsd.txt 124 126 hints/hpux-gcc.sh 125 127 hints/hpux.sh 126 128 hints/irix.sh 127 129 hints/irix_6.sh 128 hints/linux_2.sh 130 hints/linux.txt 131 hints/mac_os_x.txt 129 132 hints/mingw32.sh 130 hints/ne xt.sh131 hints/openbsd. sh133 hints/netbsd.txt 134 hints/openbsd.txt 132 135 hints/solaris_2.sh 133 136 hints/sunos_4.sh 134 hints/ultrix.sh135 137 hints/win32-gcc.sh 136 138 hints/win32.sh … … 208 210 src/shs.c 209 211 src/sig.c 212 src/sort.c 210 213 src/speech.c 211 214 src/sql.c … … 247 250 utils/ln-dir.sh 248 251 utils/make_access_cnf.sh 249 utils/mkcmds.sh. SH252 utils/mkcmds.sh.in 250 253 utils/mkvershlp.pl 254 utils/README.txt 255 utils/typedefs.scm 251 256 utils/update-cnf.pl 252 257 utils/update.pl 1.8.3/trunk/Patchlevel
r718 r846 1 1 Do not edit this file. It is maintained by the official PennMUSH patches. 2 This is PennMUSH 1.8.3p 12 This is PennMUSH 1.8.3p2 1.8.3/trunk/README
r557 r846 14 14 II. Getting Help, Reporting Bugs 15 15 III. Getting a .pennmush.org hostname and mailing lists 16 IV. Comments 16 IV. Miscellaneous 17 V. Comments 17 18 18 19 You may also want to take a look at Javelin's Guide for PennMUSH Gods, … … 132 133 at http://www.pennmush.org/mailman/listinfo/pennmush-announce) 133 134 134 2. pennmush-bugs@pennmush.org is the bug reporting address 135 for the PennMUSH developers (suggestions go to pennmush-developers, 136 bugs to pennmush-bugs). This will generally give you the fastest 137 response and is ideal for unusual bugs. A web-based submission 138 form is at http://www.pennmush.org/jitterbug/pennmush 139 140 When reporting a problem, please always include the following 141 information: 142 143 1. PennMUSH version number 144 2. The type of machine you are using (Sun SparcStation, IBM RS/6000, etc.) 145 3. The operating system and version (SunOS 4.1.2, AIX 3.2.4, etc.), 146 4. The compiler and compiler version (gcc 2.4.5, SGI cc 2.10, etc. -- the 147 'file' command usually tells you the compiler version, if there's no 148 built-in option like '-v' or '-V' to give it), 149 5. Whether or not you have made any changes to the code. 150 151 If the problem resulted in a crash and a core dump, a stack trace of 152 the core dump (see the section above) should also be included. 153 154 If I need additional stuff (like a log of the Configure or make), I'll 155 ask for it, but if you know that it's relevant, you can send it along, 156 too. 135 2. The PennMUSH bug-tracking site is http://dev.pennmush.org/ 136 To file a new report, click on the 'New Ticket' link. If 137 you want to get emails about updates to the bug report, put your 138 email address in the appropriate field. For 'type', please select 139 the most appropriate category: Bug, suggested feature, documetation 140 issue, build/compliation problems, etc. Be sure to include what version 141 of PennMUSH you found the problem on. 142 143 If the problem resulted in a crash and a core dump, a stack trace of 144 the core dump (see the section above) should also be included. 145 146 If we need additional stuff (like a log of the Configure or make), we'll 147 ask for it, but if you know that it's relevant, you can send it along, 148 too. 149 150 You can also search to see if anyone else has already reported the issue,' 151 see what issues have been fixed for upcoming releases, and much more at 152 the site. 153 154 The old way of emailing pennmush-bugs@pennmush.org still works, but using 155 the web interface allows you to specifically give an issue type when 156 reporting something. 157 157 158 158 ============================================================================ … … 179 179 ============================================================================ 180 180 181 IV. Comments 182 183 IV.a. Amberyl's Comments 181 IV. Miscellaneous 182 183 V.a Announcing when a mush is down 184 185 If your mush is no longer running on a given port or server and 186 you want to and are able to leave a programming running listening 187 on that port, you can tell people about a new location or other news. 188 189 Run: 190 191 % make portmsg 192 193 Then start the port announcer with: 194 195 % ./src/portmsg message.txt port# 196 197 Any connections to the given port will see the contents of the message 198 file and then be disconnected after a few seconds. 199 200 V. Comments 201 202 V.a. Amberyl's Comments 184 203 185 204 These are in the first person. :) … … 214 233 "Amberyl" just about everywhere 215 234 216 IV.b. Paul/Javelin's Comments235 V.b. Paul/Javelin's Comments 217 236 218 237 And let me recognize T. Alexander Popiel, Shawn Wagner, Nick Gammon, … … 231 250 232 251 233 IV.c. Alex/Talek's Comments252 V.c. Alex/Talek's Comments 234 253 235 254 I would like to thank Ralph, Amberyl, Moonchilde, and all the others 1.8.3/trunk/README.SQL
r718 r846 10 10 * MySQL 11 11 * PostgresQL (from 1.8.3p2) 12 * Sqlite v3 (from 1.8.3p2) 12 13 13 14 This document explains how to use (or avoid) SQL with PennMUSH, and covers … … 28 29 I.a. MySQL 29 30 30 The Configure script distributed with PennMUSH automatically detects31 the MySQL client library (libmysqlclient) and attempts to link32 them into the executable, defining HAS_MYSQL in config.h31 The configure script distributed with PennMUSH automatically detects 32 the MySQL client library via the presence of the mysql_config program, 33 which will tell configure where needed headers and libraries are. 33 34 34 35 If you want to avoid linking these libraries on systems where they 35 are present, use the '-D no_mysql' switch to Configure.36 are present, pass the --without-mysql switch to configure. 36 37 37 38 If you installed Mysql from a binary package (e.g. rpm or apt), … … 39 40 package (usuallyl mysql-dev or mysql-devel). 40 41 41 If you think you have mysql libraries and header files but Configure42 isn't finding them, they may be in an unusual location on your system .43 Creating symbolic links from the header directory to /usr/include/mysql44 and from the libraries in /usr/lib (or adding the mysql library directory45 to your /etc/ld.so.conf and running ldconfig) are the easiest ways46 to fix this.42 If you think you have mysql libraries and header files but configure 43 isn't finding them, they may be in an unusual location on your system, 44 with mysql_config not in your default path. 45 Find its location ('where mysql_config' if the program works for you, 46 'find / -name mysql_config' otherwise, and call configure with 47 --with-mysql=/path/to/mysql_config 47 48 48 49 I.b. PostgresQL 49 50 50 The Configure script distributed with PennMUSH automatically detects51 the PostgresQL client library (libpq) and attempts to link52 t hem into the executable, defining HAS_POSTGRESQL in config.h51 The configure script distributed with PennMUSH automatically detects 52 the PostgresQL client library via the pg_conf program, which will 53 tell configure where needed headers and libraries are. 53 54 54 55 If you want to avoid linking these libraries on systems where they 55 are present, use the '-D no_postgresql' switch to Configure.56 are present, pass the --without-postgresql switch to configure. 56 57 57 58 If you installed PostgresQL from a binary package (e.g. rpm or apt), … … 59 60 package (usually postgresql-dev, or libpq or similar) 60 61 61 If you think you have posgresql libraries and header files but 62 Configure isn't finding them, they may be in an unusual location on 63 your system. Creating symbolic links from the header directory to 64 /usr/include/postgresql and from the libraries in /usr/lib (or adding 65 the postgresql library directory to your /etc/ld.so.conf and running 66 ldconfig) are the easiest ways to fix this. 62 If you think you have postgresql libraries and header files but configure 63 isn't finding them, they may be in an unusual location on your system, 64 with pg_config not in your default path. 65 Find its location ('where pg_config' if the program works for you, 66 'find / -name pg_config' otherwise, and call configure with 67 --with-postgresql=/path/to/pg_config 68 69 I.c Sqlite 70 71 The configure script distrubted with PennMUSH looks for sqlite3 headers 72 and libraries in /usr, /usr/local and /opt. If it's somewhere else on 73 your system, call configure with --with-sqlite3=/path/to/sqlite3 74 75 The path is the directory that contains the hdrs/ and lib/ directories 76 that hold the sqlite3 headers and library respectively. 67 77 68 78 II. Mush configuration overview … … 71 81 72 82 sql_platform provides the name of the SQL database server software 73 that will be used for connections. It current takes one of three74 values: "disabled" (no SQL), "mysql", or "postgresql". If not specified,75 it defaults to disabled.83 that will be used for connections. It current takes one of four 84 values: "disabled" (no SQL), "mysql", "postgresql", or "sqlite3". 85 If not specified, it defaults to disabled. 76 86 77 87 sql_host gives the name of the host running the SQL server. … … 92 102 no password. 93 103 104 For sqlite3, which uses a local file instead of connected to a database 105 server, sql_database gives the name of the database file, sql_host must 106 be localhost, and the username and password are currently ignored. 107 94 108 III. SQL setup tips 95 109 … … 160 174 CREATE DATABASE 161 175 176 C. Sqlite3: 177 178 As the same user account that runs the mush: 179 % cd pennmush/game/data 180 % sqlite3 mush.db 181 > create table .... 182 1.8.3/trunk/confmagic.h
r517 r846 13 13 #define _confmagic_h_ 14 14 15 #ifndef HAS_BCOPY 16 #ifndef bcopy 17 #define bcopy(s,d,l) memcpy((d),(s),(l)) 18 #endif 19 #endif 20 21 #ifndef HAS_BZERO 22 #ifndef bzero 23 #define bzero(s,l) memset((s),0,(l)) 24 #endif 25 #endif 26 27 /* If your system doesn't have the crypt(3) DES encryption code, 15 /* 28 16 * (which isn't exportable from the U.S.), then don't encrypt 29 17 */ … … 32 20 #endif 33 21 34 #ifdef HAS_HUGE_VAL 35 #define HUGE_DOUBLE HUGE_VAL 36 #else 37 #ifdef HAS_HUGE 38 #define HUGE_DOUBLE HUGE 39 #else 40 #ifdef HAS_MAXDOUBLE 41 #define HUGE_DOUBLE MAXDOUBLE 42 #else 43 #define HUGE_DOUBLE 2000000000 44 #endif 45 #endif 46 #endif 47 #ifdef HAS_INT_MAX 48 #define HUGE_INT INT_MAX 49 #else 50 #ifdef HAS_MAXINT 51 #define HUGE_INT MAXINT 52 #else 53 #define HUGE_INT 2000000000 54 #endif 55 #endif 22 /* You better get with the 90's if this isn't true! */ 23 #define HAS_IEEE_MATH 56 24 57 #ifndef HAS_MEMCPY 58 #ifndef memcpy 59 #define memcpy(d,s,l) bcopy((s),(d),(l)) 60 #endif 61 #endif 62 63 #ifndef HAS_MEMMOVE 64 #ifndef memmove 65 #define memmove(d,s,l) bcopy((s),(d),(l)) 66 #endif 67 #endif 68 69 #ifndef HAS_RANDOM 70 #ifndef random 71 #ifdef HAS_LRAND48 72 #define random lrand48 73 #define srandom srand48 74 #else 75 #ifdef HAS_RAND 76 #define random rand 77 #define srandom srand 78 #endif 79 #endif 80 #endif 81 #endif 82 83 #ifndef HAS_SIGCHLD 25 #ifndef HAVE_SIGCHLD 84 26 #define SIGCHLD SIGCLD 85 #endif 86 87 #ifndef HAS_SIGCLD 27 #elif !defined(HAVE_SIGCLD) 88 28 #define SIGCLD SIGCHLD 89 29 #endif 90 30 91 #ifndef HAS_INDEX 92 #ifndef index 93 #define index strchr 94 #endif 95 #endif 96 97 #ifndef HAS_STRCHR 98 #ifndef strchr 99 #define strchr index 100 #endif 101 #endif 102 103 #ifndef HAS_INDEX 104 #ifndef rindex 105 #define rindex strrchr 106 #endif 107 #endif 108 109 #ifndef HAS_STRCHR 110 #ifndef strrchr 111 #define strrchr rindex 112 #endif 113 #endif 114 115 #ifndef HAS_STRCOLL 31 #ifndef HAVE_STRCOLL 116 32 #undef strcoll 117 33 #define strcoll strcmp 118 34 #endif 119 35 36 /* Get rid of this */ 120 37 #if !defined(WIN32) && !defined(HAS_STRXFRM) 121 38 #define strncoll strncmp 1.8.3/trunk/game/mushcnf.dst
r718 r846 559 559 560 560 # What SQL server platform should we use? Options include: 561 # mysql, postgresql, disabled (the default)561 # mysql, postgresql, sqlite3, disabled (the default) 562 562 sql_platform disabled 563 563 … … 569 569 570 570 # What's the SQL database? You have to set this to a database that 571 # you create .571 # you create, or the filename of a sqlite3 database. 572 572 sql_database mush 573 573 … … 594 594 # default whisper to whisper/noisy instead of whisper/silent 595 595 noisy_whisper no 596 597 # default @cemit to @cemit/noisy instead of @cemit/silent 598 noisy_cemit no 596 599 597 600 # is possessive get (get players's object) allowed? 1.8.3/trunk/game/txt/Makefile
r355 r846 21 21 22 22 help.txt: hlp/*.hlp hlp compose.sh 23 ./compose.sh hlp23 sh ./compose.sh hlp 24 24 mv hlp.txt help.txt 25 25 26 26 news.txt: nws/*.nws nws compose.sh 27 ./compose.sh nws $(INDEX_FLAGS)27 sh ./compose.sh nws $(INDEX_FLAGS) 28 28 mv nws.txt news.txt 29 29 30 30 events.txt: evt/*.evt evt compose.sh 31 ./compose.sh evt $(INDEX_FLAGS)31 sh ./compose.sh evt $(INDEX_FLAGS) 32 32 mv evt.txt events.txt 33 33 34 34 rules.txt: rules/*.rules rules compose.sh 35 ./compose.sh rules $(INDEX_FLAGS)35 sh ./compose.sh rules $(INDEX_FLAGS) 36 36 37 37 index.txt: index/*.index index compose.sh … … 43 43 -rm -f hlp/*.orig hlp/*.rej hlp/\#* hlp/*~ 44 44 45 compose.sh: compose.sh.SH46 sh compose.sh.SH47 45 1.8.3/trunk/game/txt/hlp/pennchat.hlp
r718 r846 45 45 & @cemit 46 46 & @nscemit 47 @cemit[/noisy ][/noeval] <channel>=<message>48 @nscemit[/noisy ][/noeval] <channel>=<message>47 @cemit[/noisy|/silent][/noeval] <channel>=<message> 48 @nscemit[/noisy|/silent][/noeval] <channel>=<message> 49 49 50 50 This command allows <message> to be directly broadcasted to the 51 51 players on <channel>. No channel-prefix is prepended unless the 52 /noisy switch is given. If the /noeval switch is given, the <message> 52 /noisy switch is given or the noisy_cemit config option is yes and 53 /silent is not given. If the /noeval switch is given, the <message> 53 54 is not evaluated. This command is intended for use in writing 54 55 extended chat systems. 1.8.3/trunk/game/txt/hlp/penncmd.hlp
r718 r846 147 147 also checked for an @aconnect. If one is found, it will be executed 148 148 when a player connects in that location or zone (or, in the case of 149 the master room, anywhere). 149 the master room, anywhere). This is only done if the room_connects 150 config option is enabled. 150 151 151 152 One descriptor variable is passed to @aconnect: … … 192 193 checked for an @adisconnect. If one is found, it will be executed 193 194 when a player disconnects in that location or zone (or, in the case of 194 the master room, anywhere). 195 the master room, anywhere). This is only done if the room_connects 196 config option is enabled. 195 197 196 198 Several descriptor variables are passed to @adisconnect: … … 3594 3596 all attributes which match that pattern. Note that the restrictions 3595 3597 above still apply. 3598 3599 When wiping an attribute that is the root of an attribute tree, all 3600 attributes in that tree will also be removed. 3596 3601 & @wizwall 3597 3602 @wizwall[/emit] <message> 1.8.3/trunk/game/txt/hlp/pennconf.hlp
r654 r846 38 38 max_player_chans=<number>: How many channels can each non-admin 39 39 player create? If 0, mortals cannot create channels. 40 noisy_cemit=<boolean>: Is @cemit/noisy the default? 40 41 & @config cmds 41 42 These options affect command behavior. 1.8.3/trunk/game/txt/hlp/pennflag.hlp
r654 r846 430 430 the object. Objects which have ^ listen patterns but are not set MONITOR 431 431 do not check those patterns. 432 433 When using the LISTEN Attribute Tree, you must set the Root Attribute 434 !NO_COMMAND. By default this Attribute/Attribute Root has been set 435 NO_COMMAND by the system. Attributes which are set HALT or NO_COMMAND 436 will not be evaluated for purposes of the ^ listen patterns 432 437 & MORTAL 433 438 The MORTAL flag is no longer available in PennMUSH. Please see help 1.8.3/trunk/game/txt/hlp/pennfunc.hlp
r654 r846 111 111 hidden() idle() ipaddr() lports() lwho() 112 112 lwhoid() mwho() mwhoid() nmwho() nwho() 113 p orts() pueblo() recv() sent() ssl()114 terminfo() width() xmwho() xmwhoid() xwho()115 xwho id() zmwho() zwho()113 player() ports() pueblo() recv() sent() 114 ssl() terminfo() width() xmwho() xmwhoid() 115 xwho() xwhoid() zmwho() zwho() 116 116 & Dbref functions 117 117 Dbref functions return a dbref or list of dbrefs related to some value … … 223 223 allof() ansi() atrlock() beep() checkpass() 224 224 clone() create() die() dig() firstof() 225 functions() isdbref() isint() isnum() isword() 226 localize() link() list() lnum() null() 227 numversion() objeval() open() pcreate() r-function 228 rand() s-function scan() set() setq() 229 setr() soundex() soundslike() speak() tel() 230 textentries() textfile() valid() wipe() @@() 225 functions() isdbref() isint() isnum() isobjid() 226 isword
