1. 21 Aug, 2002 2 commits
  2. 07 Aug, 2002 2 commits
  3. 03 Aug, 2002 4 commits
  4. 02 Aug, 2002 2 commits
  5. 01 Aug, 2002 5 commits
    • Chris Fry's avatar
      · 238f57f2
      Chris Fry authored
      Updated - removed a couple of ideas that wouldnt work out, or are fixed
      
      Chris
      238f57f2
    • Chris Fry's avatar
      · 4e3fd05a
      Chris Fry authored
      Fixed two more memory leaks
      
      Chris
      4e3fd05a
    • Chris Fry's avatar
      · 74289f24
      Chris Fry authored
      Added "w_rl_filename_completion_traced" or whatever its called to wrappers.h
      to stop a warning in script.c.
      
      Removed the "-exitinfo" flag, since if you are running wrappers, there is no
      sane reason you wouldnt ever want the exitinfo disabled - especially now
      finnw's hashtable code makes it *alot* faster.
      
      Chris
      74289f24
    • Finn Wilcox's avatar
      Removed #include "sentinel.h" which only exists on my PC atm (doh). · 6133d51a
      Finn Wilcox authored
      Added a return to malloc_change().  The compiler apparently doesn't
      realise abort() never returns, so this silences a warning.
      6133d51a
    • Finn Wilcox's avatar
      Changed the wrapper implementation to use a hash table for extra · b2e76201
      Finn Wilcox authored
      speed, & made some of the support functions static.
      b2e76201
  6. 31 Jul, 2002 6 commits
    • Chris Fry's avatar
      · 61b4e0a5
      Chris Fry authored
      Changed the description on "eq" slightly to give more accurate info
      
      Chris
      61b4e0a5
    • Chris Fry's avatar
      · 33afcc8b
      Chris Fry authored
      Fixed a grammical error ("user has just left talker" now ends "the talker").
      
      Fixed zods so that the "user has just left the talker" message is suppressed
      if the victim is in quiet mode, so it now comes in line with all the other
      login/outs and mrod.
      
      Chris
      33afcc8b
    • Chris Fry's avatar
      · 671f1502
      Chris Fry authored
      
      Added new ideas
      
      Chris
      671f1502
    • Chris Fry's avatar
      · 27e15c68
      Chris Fry authored
      Fixed a possible issue in frl.c that sits noticed, and updated stringcmp
      with a fix of sits that caused a small memory problem.
      
      Removed the "credits" string from bb.h
      
      Chris
      27e15c68
    • Chris Fry's avatar
      · dcde123b
      Chris Fry authored
      Removed the credits file since it is now unnecessary again
      
      Chris
      dcde123b
    • Justin Mitchell's avatar
      Put the credits back into the source. · 9810e1f5
      Justin Mitchell authored
      They are supposed to be in the source code because a seperate
      file is far too easily lost, deleted, ommitted, changed,
      or generally fscked with.
      9810e1f5
  7. 30 Jul, 2002 3 commits
    • Denis Walker's avatar
      · b3f1fbb9
      Denis Walker authored
      Added new "L" flag to list\
      b3f1fbb9
    • Denis Walker's avatar
      · d68bb1fa
      Denis Walker authored
      Changed credits to use file "credits" rather than hardcoded printf's
      d68bb1fa
    • Denis Walker's avatar
      · 7b63ebad
      Denis Walker authored
      Fix of moronic bug I introduced by not sticking "); at the end of the line
      7b63ebad
  8. 29 Jul, 2002 2 commits
    • Denis Walker's avatar
      · 5087065e
      Denis Walker authored
      Added myself to the credits at finnw's suggestion
      5087065e
    • Chris Fry's avatar
      · 5fbb7a0b
      Chris Fry authored
      Fixed a problem in IPC and RPC messages that stopped them from being
      received from the board.
      
      Added 'boardfunc' board initialisation functions as well as 'initfunc' ones
      that execute on first entrance to the talker, since scripts now work from
      the board. These can be used for any initialisation that is necessary before
      checkonoff messages get recieved. Most people will not use them but if you
      need to they are "boardfunc", and "lboardfunc" (visible and local
      respectively).
      
      Fixed a problem in MUDEXITS that stopped you getting any exits.
      
      Updated script functions to now have a 'flags' property rather than lots of
      seperate ones like 'hidden' and 'autoinit' etc..
      
      Chris
      5fbb7a0b
  9. 28 Jul, 2002 14 commits
    • Chris Fry's avatar
      · f85ed603
      Chris Fry authored
      Fixed a memory leak in the new checkonoff code
      
      Chris
      f85ed603
    • Chris Fry's avatar
      · 71bf23e7
      Chris Fry authored
      Oops. removed a debug message
      
      Chris
      71bf23e7
    • Denis Walker's avatar
      · afdbb3e5
      Denis Walker authored
      Modified checkonoff help to reflect structure change ($6 added)
      afdbb3e5
    • Chris Fry's avatar
      · 83960df8
      Chris Fry authored
      Added reason codes to checkonoff broadasts, so mrod and zod reasons can
      be propagated through.
      
      Chris
      83960df8
    • Chris Fry's avatar
      · 925e783e
      Chris Fry authored
      Removed the warnings from the wrappers
      
      Chris
      925e783e
    • Denis Walker's avatar
      · 1a9578bf
      Denis Walker authored
      Added help for linewrap command
      1a9578bf
    • Finn Wilcox's avatar
      Changed implementation of .load tab completion to make it work with · 146ca2c0
      Finn Wilcox authored
      readline v4.2, the version installed on silver (was written for 4.3).
      146ca2c0
    • Denis Walker's avatar
      · ac668666
      Denis Walker authored
      Fixed another typo introduced when fixing the last one... :-/
      ac668666
    • Denis Walker's avatar
      · 3e7503a9
      Denis Walker authored
      Fixed a typo
      3e7503a9
    • Denis Walker's avatar
      · 25448fa0
      Denis Walker authored
      Reformatted to match the man-page style of help. Needs more work.
      25448fa0
    • Finn Wilcox's avatar
      Added wrappers for the following readline functions: · 645014b0
      Finn Wilcox authored
      - rl_completion_matches() ( replaces completion_matches() )
      - rl_filename_completion_function()
      - rl_attempted_completion_function ( hook )
      - rl_directory_rewrite_function ( hook )
      This appears to fix the phantom memory leak in dupstr()
      
      Removed rl_malloc() & rl_free()
      
      Removed a lot of garbage collection code from hash.c, that was
      never used.
      Removed the numeric key types from hash.h, also never used.
      
      Added script file tab completion for .load
      Added duplicate tab completion entry for .sa
      
      Moved tab completion table to new file completion.c
      645014b0
    • Chris Fry's avatar
      · 3252369f
      Chris Fry authored
      Updated 'todo' list.
      
      Chris
      3252369f
    • Chris Fry's avatar
      · 9db2e430
      Chris Fry authored
      First edition of the 'checkonoff' help. Dez, I dont suppose could neaten
      this could you? ;)
      
      Chris
      9db2e430
    • Chris Fry's avatar
      · be97759b
      Chris Fry authored
      
      Changed the way scripts work slightly, so that they will quite happily run
      off the talker - although output from SAY etc.. are ignored, and WHEREAMI
      always returns "-1" - that sort of thing.
      
      ---
      
      Changed checkonoff's to use this ability, so you can receive checkonoff
      codes while on the board (ie, if you leave the talker, you will get your
      own checkonoff code). Normal scripts of course, still cant be run from
      the BBS, and IPC/RPC messages are currently ignored if off the talker.
      
      ---
      
      Radically, completely rewrote the entire checkonoff system to give more
      information, and a much more logical code system. Scripts executed using
      this method now recieve certain arguments:
      
      $0 = "CheckOnOff"
      $1 = <code>
      $2 = <method>
      $3 = <is_quiet>
      $4 = <sourceuser>
      $5 = <version>
      
      
      Where <code> can be one of:
         0 - leave the talker
         1 - enter the talker
         2 - leave the board
         3 - enter the board
      
      This keeps backwards compatibility the same - users can still detect each
      of these settings, although the extra features - such as detecting zods -
      will never occur using this code alone
      
      
      For each of the <code> values, <method> has several meanings:
      
      for leaving the board (2):
         0 - normal (by user)
         1 - timeout
         2 - connection dropped
      M  3 - get mrodded
      S  4 - get banned
      S  5 - crash / error
      S  6 - deleted
      
      
      for leaving the talker (0):
         0 - normal (by user)
      Z  1 - zodded
      S  2 - chatmode -c
         3 - straight to shell (!quit etc...)
      
      
      for joining the board (3):
         0 - normal (by user)
         1 - straight to talker (-autochat)
      
      
      for joining the talker (1):
         0 - normal (by user)
      U  1 - summoned
      S  2 - chatmode +c
      
      
      The extra letters in front of the <method> indicate certain privs are
      needed:
      
         M - needs mrod priv to detect
         S - needs SU to detect
         U - needs summon to detect
         Z - needs zod to detect
      
      
      So, for example, if a user were to log on using "-autochat", two messages
      would be created:
      
      <code=3> <method=1>
      <code=1> <method=0>
      
      
      These are the main two values that most people will use - along with
      "USER <variable" to get the user that caused the checkonoff message.
      
      
      Added to these two values, <is_quiet> simply returns:
         0 - user logged on normally
         1 - user logged on with -quiet to supress messages
      
      
      This allows script writers to only display their own messages if a user
      is logged on quietly if they so wish.
      
      
      <sourceuser> is more tricky. This is the person that caused the initiation
      of the checkonoff code in the first place. ie, for most messages, it is
      the same as the user the broadcast came from. However, in cases such as
      zod, mrod, or chatmode +/-c alteration, <sourceuser> will be the person
      that performed that operation.
      
      ie, SUPERUSER bans USER
          <code=0> <method=3>
          <code=2> <method=4> <user=USER> <sourceuser=SUPERUSER>
      
      
      and finally, <version> is mainly for being able to work out which version
      of checkonoff is used. this ranges from "1" to "3" currently, but if you
      wish, you can simply check if any of the arguments is left blank "" and
      work out what needs to be done from there.
      
      ---
      
      Added a "force_status" to incoming.c, and moved the 'ban' and 'delete'
      detection code to there instead of in the main loop - necessary for the
      new checkonoff information.
      
      ---
      
      Fixed a bug with 'ExecEvent2' where it only accepted up to 3 arguments
      
      ---
      
      Removed the now-obsolete "zodded" script
      
      
      Chris
      be97759b