Compatibility Left Out
Compatibility Left Out
Section titled “Compatibility Left Out”SharpMUSH leaves out some RhostMUSH and TinyMUX functions, commands and switches on purpose. Imported code that calls one of the functions gets #-1 FUNCTION (<NAME>) NOT FOUND, one of the commands gets Huh?, and a command with one of the switches is refused as an unknown switch. The import report names each use and points here.
- compatibility left out rhostmush functions: accounts, passwords, host access and engine internals
- compatibility left out rhostmush clusters:
cluster_*()and@cluster - compatibility left out rhostmush little used: functions no shipped code needs
- compatibility left out rhostmush commands: database upkeep, RWHO and doors
- compatibility left out rhostmush switches: raw colour, reality levels, ownership swaps and power levels
- compatibility left out tinymux: SQL rowsets,
@cronand@lua - compatibility left out tinymux switches: money, raw HTML, exits on objects and channel title settings
> think [execscript(backup.sh)]#-1 FUNCTION (EXECSCRIPT) NOT FOUNDRhostMUSH functions left out
Section titled “RhostMUSH functions left out”account_boot(),account_login(),account_owner(),account_su(),account_who(): SharpMUSH has accounts of its own; seeaccount()and@account.attrpass(),genpassword(),passwd(): a password is never an attribute or a softcode value.isunicode(),isutf8(): text is always Unicode.execscript(),execscriptnr(),logtofile(),stderr(),nslookup(),ipv4math(): they reach the host. Use@httpor a plugin.sqlite_query(),sqlon(),sqloff(),sqlping():sql()runs queries, and the server keeps the connection.crc32obj(),chkgarbage(),safebuff(),limits(),logstatus(),countspecial(): they report RhostMUSH’s own buffers, logs and storage.ruler(),runintz(),listtzones(),secstz(),msecstz(): no time zone design yet.guild(),race(): writeget(<player>/GUILD)andget(<player>/RACE).shift(),args(),passthrough():%10and up, anduargs(), reach every argument.
RhostMUSH clusters left out
Section titled “RhostMUSH clusters left out”A cluster spreads one object’s attributes over several objects to get past RhostMUSH’s limits. An object here holds up to 100,000 attributes, so neither the functions nor @cluster are needed.
iscluster(),cluster_add(),cluster_attrcnt(),cluster_default(),cluster_edefault(),cluster_flags(),cluster_get(),cluster_get_eval(),cluster_grep(),cluster_hasattr(),cluster_hasflag(),cluster_lattr(),cluster_regrep(),cluster_regrepi(),cluster_set(),cluster_stats(),cluster_u(),cluster_u2(),cluster_u2default(),cluster_u2ldefault(),cluster_u2local(),cluster_udefault(),cluster_ueval(),cluster_uldefault(),cluster_ulocal(),cluster_vattrcnt(),cluster_wipe(),cluster_xget()
RhostMUSH functions little used
Section titled “RhostMUSH functions little used”Little used in shipped RhostMUSH code. One is added when a game needs it.
array(),template(),strmath(),packmath(),sortlist(),garble(),rotl(),rotr(),trreverse(),ee(),bucket(),lloc(),sees(),writable(),sweep(),quietnomatch(),regnummatch(),regnummatchi(),regeditlit(),regeditilit(),regeditalllit(),regeditallilit(),esclist(),unesclist(),editansi(),ansipos(),xorflag(),listnewsgroups(),listprotection(),inprogram(),programmer(),rset()
RhostMUSH commands left out
Section titled “RhostMUSH commands left out”@mark,@mark_all,@apply_marked,@cut,@fixdb,@dbclean,@bfree,@fnd,@destroyall,@convert,@timewarp: upkeep of RhostMUSH’s database.@backupand@storagelook after SharpMUSH’s.@crc32obj,@atrcache,@limit,@flaglevel,@protect,@money,@robot: RhostMUSH’s own administration.@snoop: watching another player’s session.@turtle:@nukeand@chownalldo the work.slay: TinyMUD money combat.@rwho,@mudwho,rwho: the RWHO protocol is gone.head,post,put: RhostMUSH’s HTTP on the game port. SharpMUSH’s HTTP handler takes web requests.@door: plugins and@httpreach other services.@sqlconnect,@sqldisconnect: the server keeps the SQL connection.@tor: sitelock bans addresses.@remote:@forcean object in that room.@list_file:@listmotdand the connect screen show the text files.newsdb,+players,wielded,worn: softcode does these.mail: RhostMUSH’s mail system.@mailis SharpMUSH’s, as in PennMUSH; see compatibility mail.
RhostMUSH switches left out
Section titled “RhostMUSH switches left out”The switch names are as RhostMUSH spells them, under SharpMUSH’s name for the command.
@pemit/noansi,@emit/noansi,say/noansi,pose/noansi,think/noansi,page/noansi,@edit/raw: colour is markup, not text, so there is no raw form to show or edit.@pemit/reality,@pemit/toreality: there are no reality levels.@include/target,@include/sudo,@include/become,@include/possess,@hook/include: they run code as another object or change who owns what runs.@force/inplaceruns code as an object you control.@power/guildmaster,@power/architect,@power/councilor,@power/check,@power/purge,@power/off: a power here is a role or a permission, with no levels. See@role.@halt/stop,@halt/cont:@queue/pause <pid>and@queue/resume <pid>pause and resume a queue entry.@wait/recpid,@notify/pid:@waitdoes not hand back the pid of what it queues.@pslists pids, and@halt/pidand@wait/pidact on one.@decompile/tags: there is no@tag.@clone/inherit: a clone keeps the original’s flags; its powers come across only with@clone/preserve.@emit/sub,@wipe/owner,@wipe/preserve,@decompile/noextra,@include/override,@include/ignore,@function/protected,@edit/braces,@search/zone,examine/quick,examine/regexp: little used in shipped RhostMUSH code; one is added when a game needs it.@searchtakeszone=<zone>as a class.
TinyMUX functions and commands left out
Section titled “TinyMUX functions and commands left out”rserror(),rsnext(),rsprev(),rsrec(),rsrecnext(),rsrecprev(),rsrelease(),rsrows(): SQL row sets.sql()returns every row at once.setname(),setparent(): write@nameand@parent.text():textfile()reads a text file.format():wrap()andalign()lay out text.mailj():mail()andmailinfo()read a message.@cron,@crondel,@crontab:@waitand STARTUP queue timed work.@lua: plugins add code in other languages.
TinyMUX switches left out
Section titled “TinyMUX switches left out”@clone/cost: there is no money.@emit/html,@pemit/html: softcode never sends raw HTML. Each client gets styled text, pictures and links in its own form.@open/inventory: exits are opened only from rooms.@clist/headers: a channel has no header apart from its name, which@clistshows.@flag/remove: TinyMUX’s@flagrenames a flag until the next restart.@flag/alias <flag>=<aliases>sets a flag’s whole alias list here.comtitle/on,comtitle/off,comtitle/gag,comtitle/ungag: everyone sees titles.@channel/mutehides a channel’s connection notices.