Commits (219)
......@@ -66,6 +66,7 @@ sbbs-windows:
- make
- cd ../tbd
- make
dependencies: []
artifacts:
name: sbbs-win32
paths:
......
This diff is collapsed.
/*
Copyright (c) 2009-2020 Roger Light <roger@atchoo.org>
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
and Eclipse Distribution License v1.0 which accompany this distribution.
The Eclipse Public License is available at
https://www.eclipse.org/legal/epl-2.0/
and the Eclipse Distribution License is available at
http://www.eclipse.org/org/documents/edl-v10.php.
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
Contributors:
Roger Light - initial implementation and documentation.
*/
#ifndef MQTT_PROTOCOL_H
#define MQTT_PROTOCOL_H
/*
* File: mqtt_protocol.h
*
* This header contains definitions of MQTT values as defined in the specifications.
*/
#define PROTOCOL_NAME_v31 "MQIsdp"
#define PROTOCOL_VERSION_v31 3
#define PROTOCOL_NAME "MQTT"
#define PROTOCOL_VERSION_v311 4
#define PROTOCOL_VERSION_v5 5
/* Message types */
#define CMD_CONNECT 0x10U
#define CMD_CONNACK 0x20U
#define CMD_PUBLISH 0x30U
#define CMD_PUBACK 0x40U
#define CMD_PUBREC 0x50U
#define CMD_PUBREL 0x60U
#define CMD_PUBCOMP 0x70U
#define CMD_SUBSCRIBE 0x80U
#define CMD_SUBACK 0x90U
#define CMD_UNSUBSCRIBE 0xA0U
#define CMD_UNSUBACK 0xB0U
#define CMD_PINGREQ 0xC0U
#define CMD_PINGRESP 0xD0U
#define CMD_DISCONNECT 0xE0U
#define CMD_AUTH 0xF0U
/* Mosquitto only: for distinguishing CONNECT and WILL properties */
#define CMD_WILL 0x100
/* Enum: mqtt311_connack_codes
*
* The CONNACK results for MQTT v3.1.1, and v3.1.
*
* Values:
* CONNACK_ACCEPTED - 0
* CONNACK_REFUSED_PROTOCOL_VERSION - 1
* CONNACK_REFUSED_IDENTIFIER_REJECTED - 2
* CONNACK_REFUSED_SERVER_UNAVAILABLE - 3
* CONNACK_REFUSED_BAD_USERNAME_PASSWORD - 4
* CONNACK_REFUSED_NOT_AUTHORIZED - 5
*/
enum mqtt311_connack_codes {
CONNACK_ACCEPTED = 0,
CONNACK_REFUSED_PROTOCOL_VERSION = 1,
CONNACK_REFUSED_IDENTIFIER_REJECTED = 2,
CONNACK_REFUSED_SERVER_UNAVAILABLE = 3,
CONNACK_REFUSED_BAD_USERNAME_PASSWORD = 4,
CONNACK_REFUSED_NOT_AUTHORIZED = 5,
};
/* Enum: mqtt5_return_codes
* The reason codes returned in various MQTT commands.
*
* Values:
* MQTT_RC_SUCCESS - 0
* MQTT_RC_NORMAL_DISCONNECTION - 0
* MQTT_RC_GRANTED_QOS0 - 0
* MQTT_RC_GRANTED_QOS1 - 1
* MQTT_RC_GRANTED_QOS2 - 2
* MQTT_RC_DISCONNECT_WITH_WILL_MSG - 4
* MQTT_RC_NO_MATCHING_SUBSCRIBERS - 16
* MQTT_RC_NO_SUBSCRIPTION_EXISTED - 17
* MQTT_RC_CONTINUE_AUTHENTICATION - 24
* MQTT_RC_REAUTHENTICATE - 25
* MQTT_RC_UNSPECIFIED - 128
* MQTT_RC_MALFORMED_PACKET - 129
* MQTT_RC_PROTOCOL_ERROR - 130
* MQTT_RC_IMPLEMENTATION_SPECIFIC - 131
* MQTT_RC_UNSUPPORTED_PROTOCOL_VERSION - 132
* MQTT_RC_CLIENTID_NOT_VALID - 133
* MQTT_RC_BAD_USERNAME_OR_PASSWORD - 134
* MQTT_RC_NOT_AUTHORIZED - 135
* MQTT_RC_SERVER_UNAVAILABLE - 136
* MQTT_RC_SERVER_BUSY - 137
* MQTT_RC_BANNED - 138
* MQTT_RC_SERVER_SHUTTING_DOWN - 139
* MQTT_RC_BAD_AUTHENTICATION_METHOD - 140
* MQTT_RC_KEEP_ALIVE_TIMEOUT - 141
* MQTT_RC_SESSION_TAKEN_OVER - 142
* MQTT_RC_TOPIC_FILTER_INVALID - 143
* MQTT_RC_TOPIC_NAME_INVALID - 144
* MQTT_RC_PACKET_ID_IN_USE - 145
* MQTT_RC_PACKET_ID_NOT_FOUND - 146
* MQTT_RC_RECEIVE_MAXIMUM_EXCEEDED - 147
* MQTT_RC_TOPIC_ALIAS_INVALID - 148
* MQTT_RC_PACKET_TOO_LARGE - 149
* MQTT_RC_MESSAGE_RATE_TOO_HIGH - 150
* MQTT_RC_QUOTA_EXCEEDED - 151
* MQTT_RC_ADMINISTRATIVE_ACTION - 152
* MQTT_RC_PAYLOAD_FORMAT_INVALID - 153
* MQTT_RC_RETAIN_NOT_SUPPORTED - 154
* MQTT_RC_QOS_NOT_SUPPORTED - 155
* MQTT_RC_USE_ANOTHER_SERVER - 156
* MQTT_RC_SERVER_MOVED - 157
* MQTT_RC_SHARED_SUBS_NOT_SUPPORTED - 158
* MQTT_RC_CONNECTION_RATE_EXCEEDED - 159
* MQTT_RC_MAXIMUM_CONNECT_TIME - 160
* MQTT_RC_SUBSCRIPTION_IDS_NOT_SUPPORTED - 161
* MQTT_RC_WILDCARD_SUBS_NOT_SUPPORTED - 162
*/
enum mqtt5_return_codes {
MQTT_RC_SUCCESS = 0, /* CONNACK, PUBACK, PUBREC, PUBREL, PUBCOMP, UNSUBACK, AUTH */
MQTT_RC_NORMAL_DISCONNECTION = 0, /* DISCONNECT */
MQTT_RC_GRANTED_QOS0 = 0, /* SUBACK */
MQTT_RC_GRANTED_QOS1 = 1, /* SUBACK */
MQTT_RC_GRANTED_QOS2 = 2, /* SUBACK */
MQTT_RC_DISCONNECT_WITH_WILL_MSG = 4, /* DISCONNECT */
MQTT_RC_NO_MATCHING_SUBSCRIBERS = 16, /* PUBACK, PUBREC */
MQTT_RC_NO_SUBSCRIPTION_EXISTED = 17, /* UNSUBACK */
MQTT_RC_CONTINUE_AUTHENTICATION = 24, /* AUTH */
MQTT_RC_REAUTHENTICATE = 25, /* AUTH */
MQTT_RC_UNSPECIFIED = 128, /* CONNACK, PUBACK, PUBREC, SUBACK, UNSUBACK, DISCONNECT */
MQTT_RC_MALFORMED_PACKET = 129, /* CONNACK, DISCONNECT */
MQTT_RC_PROTOCOL_ERROR = 130, /* DISCONNECT */
MQTT_RC_IMPLEMENTATION_SPECIFIC = 131, /* CONNACK, PUBACK, PUBREC, SUBACK, UNSUBACK, DISCONNECT */
MQTT_RC_UNSUPPORTED_PROTOCOL_VERSION = 132, /* CONNACK */
MQTT_RC_CLIENTID_NOT_VALID = 133, /* CONNACK */
MQTT_RC_BAD_USERNAME_OR_PASSWORD = 134, /* CONNACK */
MQTT_RC_NOT_AUTHORIZED = 135, /* CONNACK, PUBACK, PUBREC, SUBACK, UNSUBACK, DISCONNECT */
MQTT_RC_SERVER_UNAVAILABLE = 136, /* CONNACK */
MQTT_RC_SERVER_BUSY = 137, /* CONNACK, DISCONNECT */
MQTT_RC_BANNED = 138, /* CONNACK */
MQTT_RC_SERVER_SHUTTING_DOWN = 139, /* DISCONNECT */
MQTT_RC_BAD_AUTHENTICATION_METHOD = 140, /* CONNACK */
MQTT_RC_KEEP_ALIVE_TIMEOUT = 141, /* DISCONNECT */
MQTT_RC_SESSION_TAKEN_OVER = 142, /* DISCONNECT */
MQTT_RC_TOPIC_FILTER_INVALID = 143, /* SUBACK, UNSUBACK, DISCONNECT */
MQTT_RC_TOPIC_NAME_INVALID = 144, /* CONNACK, PUBACK, PUBREC, DISCONNECT */
MQTT_RC_PACKET_ID_IN_USE = 145, /* PUBACK, SUBACK, UNSUBACK */
MQTT_RC_PACKET_ID_NOT_FOUND = 146, /* PUBREL, PUBCOMP */
MQTT_RC_RECEIVE_MAXIMUM_EXCEEDED = 147, /* DISCONNECT */
MQTT_RC_TOPIC_ALIAS_INVALID = 148, /* DISCONNECT */
MQTT_RC_PACKET_TOO_LARGE = 149, /* CONNACK, PUBACK, PUBREC, DISCONNECT */
MQTT_RC_MESSAGE_RATE_TOO_HIGH = 150, /* DISCONNECT */
MQTT_RC_QUOTA_EXCEEDED = 151, /* PUBACK, PUBREC, SUBACK, DISCONNECT */
MQTT_RC_ADMINISTRATIVE_ACTION = 152, /* DISCONNECT */
MQTT_RC_PAYLOAD_FORMAT_INVALID = 153, /* CONNACK, DISCONNECT */
MQTT_RC_RETAIN_NOT_SUPPORTED = 154, /* CONNACK, DISCONNECT */
MQTT_RC_QOS_NOT_SUPPORTED = 155, /* CONNACK, DISCONNECT */
MQTT_RC_USE_ANOTHER_SERVER = 156, /* CONNACK, DISCONNECT */
MQTT_RC_SERVER_MOVED = 157, /* CONNACK, DISCONNECT */
MQTT_RC_SHARED_SUBS_NOT_SUPPORTED = 158, /* SUBACK, DISCONNECT */
MQTT_RC_CONNECTION_RATE_EXCEEDED = 159, /* CONNACK, DISCONNECT */
MQTT_RC_MAXIMUM_CONNECT_TIME = 160, /* DISCONNECT */
MQTT_RC_SUBSCRIPTION_IDS_NOT_SUPPORTED = 161, /* SUBACK, DISCONNECT */
MQTT_RC_WILDCARD_SUBS_NOT_SUPPORTED = 162, /* SUBACK, DISCONNECT */
};
/* Enum: mqtt5_property
* Options for use with MQTTv5 properties.
* Options:
*
* MQTT_PROP_PAYLOAD_FORMAT_INDICATOR - property option.
* MQTT_PROP_MESSAGE_EXPIRY_INTERVAL - property option.
* MQTT_PROP_CONTENT_TYPE - property option.
* MQTT_PROP_RESPONSE_TOPIC - property option.
* MQTT_PROP_CORRELATION_DATA - property option.
* MQTT_PROP_SUBSCRIPTION_IDENTIFIER - property option.
* MQTT_PROP_SESSION_EXPIRY_INTERVAL - property option.
* MQTT_PROP_ASSIGNED_CLIENT_IDENTIFIER - property option.
* MQTT_PROP_SERVER_KEEP_ALIVE - property option.
* MQTT_PROP_AUTHENTICATION_METHOD - property option.
* MQTT_PROP_AUTHENTICATION_DATA - property option.
* MQTT_PROP_REQUEST_PROBLEM_INFORMATION - property option.
* MQTT_PROP_WILL_DELAY_INTERVAL - property option.
* MQTT_PROP_REQUEST_RESPONSE_INFORMATION - property option.
* MQTT_PROP_RESPONSE_INFORMATION - property option.
* MQTT_PROP_SERVER_REFERENCE - property option.
* MQTT_PROP_REASON_STRING - property option.
* MQTT_PROP_RECEIVE_MAXIMUM - property option.
* MQTT_PROP_TOPIC_ALIAS_MAXIMUM - property option.
* MQTT_PROP_TOPIC_ALIAS - property option.
* MQTT_PROP_MAXIMUM_QOS - property option.
* MQTT_PROP_RETAIN_AVAILABLE - property option.
* MQTT_PROP_USER_PROPERTY - property option.
* MQTT_PROP_MAXIMUM_PACKET_SIZE - property option.
* MQTT_PROP_WILDCARD_SUB_AVAILABLE - property option.
* MQTT_PROP_SUBSCRIPTION_ID_AVAILABLE - property option.
* MQTT_PROP_SHARED_SUB_AVAILABLE - property option.
*/
enum mqtt5_property {
MQTT_PROP_PAYLOAD_FORMAT_INDICATOR = 1, /* Byte : PUBLISH, Will Properties */
MQTT_PROP_MESSAGE_EXPIRY_INTERVAL = 2, /* 4 byte int : PUBLISH, Will Properties */
MQTT_PROP_CONTENT_TYPE = 3, /* UTF-8 string : PUBLISH, Will Properties */
MQTT_PROP_RESPONSE_TOPIC = 8, /* UTF-8 string : PUBLISH, Will Properties */
MQTT_PROP_CORRELATION_DATA = 9, /* Binary Data : PUBLISH, Will Properties */
MQTT_PROP_SUBSCRIPTION_IDENTIFIER = 11, /* Variable byte int : PUBLISH, SUBSCRIBE */
MQTT_PROP_SESSION_EXPIRY_INTERVAL = 17, /* 4 byte int : CONNECT, CONNACK, DISCONNECT */
MQTT_PROP_ASSIGNED_CLIENT_IDENTIFIER = 18, /* UTF-8 string : CONNACK */
MQTT_PROP_SERVER_KEEP_ALIVE = 19, /* 2 byte int : CONNACK */
MQTT_PROP_AUTHENTICATION_METHOD = 21, /* UTF-8 string : CONNECT, CONNACK, AUTH */
MQTT_PROP_AUTHENTICATION_DATA = 22, /* Binary Data : CONNECT, CONNACK, AUTH */
MQTT_PROP_REQUEST_PROBLEM_INFORMATION = 23, /* Byte : CONNECT */
MQTT_PROP_WILL_DELAY_INTERVAL = 24, /* 4 byte int : Will properties */
MQTT_PROP_REQUEST_RESPONSE_INFORMATION = 25,/* Byte : CONNECT */
MQTT_PROP_RESPONSE_INFORMATION = 26, /* UTF-8 string : CONNACK */
MQTT_PROP_SERVER_REFERENCE = 28, /* UTF-8 string : CONNACK, DISCONNECT */
MQTT_PROP_REASON_STRING = 31, /* UTF-8 string : All except Will properties */
MQTT_PROP_RECEIVE_MAXIMUM = 33, /* 2 byte int : CONNECT, CONNACK */
MQTT_PROP_TOPIC_ALIAS_MAXIMUM = 34, /* 2 byte int : CONNECT, CONNACK */
MQTT_PROP_TOPIC_ALIAS = 35, /* 2 byte int : PUBLISH */
MQTT_PROP_MAXIMUM_QOS = 36, /* Byte : CONNACK */
MQTT_PROP_RETAIN_AVAILABLE = 37, /* Byte : CONNACK */
MQTT_PROP_USER_PROPERTY = 38, /* UTF-8 string pair : All */
MQTT_PROP_MAXIMUM_PACKET_SIZE = 39, /* 4 byte int : CONNECT, CONNACK */
MQTT_PROP_WILDCARD_SUB_AVAILABLE = 40, /* Byte : CONNACK */
MQTT_PROP_SUBSCRIPTION_ID_AVAILABLE = 41, /* Byte : CONNACK */
MQTT_PROP_SHARED_SUB_AVAILABLE = 42, /* Byte : CONNACK */
};
enum mqtt5_property_type {
MQTT_PROP_TYPE_BYTE = 1,
MQTT_PROP_TYPE_INT16 = 2,
MQTT_PROP_TYPE_INT32 = 3,
MQTT_PROP_TYPE_VARINT = 4,
MQTT_PROP_TYPE_BINARY = 5,
MQTT_PROP_TYPE_STRING = 6,
MQTT_PROP_TYPE_STRING_PAIR = 7
};
/* Enum: mqtt5_sub_options
* Options for use with MQTTv5 subscriptions.
*
* MQTT_SUB_OPT_NO_LOCAL - with this option set, if this client publishes to
* a topic to which it is subscribed, the broker will not publish the
* message back to the client.
*
* MQTT_SUB_OPT_RETAIN_AS_PUBLISHED - with this option set, messages
* published for this subscription will keep the retain flag as was set by
* the publishing client. The default behaviour without this option set has
* the retain flag indicating whether a message is fresh/stale.
*
* MQTT_SUB_OPT_SEND_RETAIN_ALWAYS - with this option set, pre-existing
* retained messages are sent as soon as the subscription is made, even
* if the subscription already exists. This is the default behaviour, so
* it is not necessary to set this option.
*
* MQTT_SUB_OPT_SEND_RETAIN_NEW - with this option set, pre-existing retained
* messages for this subscription will be sent when the subscription is made,
* but only if the subscription does not already exist.
*
* MQTT_SUB_OPT_SEND_RETAIN_NEVER - with this option set, pre-existing
* retained messages will never be sent for this subscription.
*/
enum mqtt5_sub_options {
MQTT_SUB_OPT_NO_LOCAL = 0x04,
MQTT_SUB_OPT_RETAIN_AS_PUBLISHED = 0x08,
MQTT_SUB_OPT_SEND_RETAIN_ALWAYS = 0x00,
MQTT_SUB_OPT_SEND_RETAIN_NEW = 0x10,
MQTT_SUB_OPT_SEND_RETAIN_NEVER = 0x20,
};
#define MQTT_MAX_PAYLOAD 268435455U
#endif
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_PropertySheetDisplayName>Mosquitto MQTT Library</_PropertySheetDisplayName>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>USE_MOSQUITTO;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<AdditionalDependencies>$(MSBuildThisFileDirectory)/bin/mosquitto.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup />
</Project>
\ No newline at end of file
......@@ -30,7 +30,7 @@ Only approved and authenticaed "developers" can create new branches in the `main
### Commit messages
* Try to keep the commit title (first line) to 70 characters or less.
* When a comment is related to an [issue](https://gitlab.synchro.net/main/sbbs/-/issues), use the proper commit message syntax foir automatic issue management as documented [here](https://docs.gitlab.com/ce/user/project/issues/managing_issues.html#closing-issues-automatically).
* When a comment is related to an [issue](https://gitlab.synchro.net/main/sbbs/-/issues), use the proper commit message syntax for automatic issue management as documented [here](https://docs.gitlab.com/ce/user/project/issues/managing_issues.html#closing-issues-automatically).
### Other types of contributions
If you were interested in contributing money, not code, then paypal to rob at synchro dot net.
......
[chan:Main]
name=Main
ars=
cost=0
guru=GURU
settings=2
actions=Main
[chan:Open]
name=Open
ars=
cost=0
guru=GURU
settings=0
actions=Main
[chan:Adult]
name=Adult
ars=AGE 18
cost=0
guru=GURU
settings=1
actions=Main
[actions:Main]
ANGER:"\x01r\x01h%s is trying to make %s angry."
ANGRY:"\x01r\x01h%s is very angry and wants %s to know about it."
APPLAUD:"\x01b\x01hCLAP CLAP CLAP!\x01[\x01]\x01y%s expresses approval with %s."
ARMWRESTL:"\x01m\x01h%s arm wrestles with %s."
BARK:"\x01r\x01hRUFF!\x01[\x01]\x01m%s barks at %s."
BEAT-UP:"\x01h\x01b%s\x01n\x01b beats \x01h%s up."
BLUSH:"\x01r\x01h%s turns to %s and blushes shyly."
BOW:"\x01n\x01c%s bows to %s."
BURP:"\x01b\x01hBELCH!\x01[\x01]\x01y%s burps at %s."
BUY:"\x01m\x01h%s attempts to purchase %s."
BYE:"\x01m\x01h%s says \"\x01wBYE\x01m\" to %s."
CARESS:"\x01m\x01h%s caresses %s."
CHEAT:"\x01r\x01h%s is cheating on %s."
COMFORT:"\x01b\x01h%s comforts %s."
COUGH:"\x01g\x01hACK ABLEW AHEM!\x01[\x01]\x01n\x01g%s coughs at %s."
CRY:"\x01n\x01m%s looks at %s and cries."
CUDDLE:"\x01m\x01h%s cuddles with %s."
CURTSEY:"\x01n\x01m%s curtseys to %s."
DANCE:"\x01c\x01h%s dances with %s."
DROOL:"\x01n\x01b%s is drooling over %s."
DROP:"\x01m\x01h%s drops %s like a bad habit."
DUEL:"\x01n\x01h%s challenges %s to a duel."
EMBRACE:"\x01c\x01h%s gives %s a loving embrace."
EXAMINE:"\x01b\x01h%s is examining %s."
EXCITE:"\x01y\x01h%s is trying to get %s excited."
FEEL:"\x01c\x01h%s is attempting to feel %s."
FLIRT:"\x01g\x01h%s is flirting with %s."
FONDLE:"\x01n\x01g%s is fondling %s."
FOOL:"\x01g\x01h%s is fooling around with %s."
FORGIVE:"\x01n\x01c%s completely forgives %s."
GLARE:"\x01n\x01b%s is sending %s an uncomfortable glare."
GOODBYE:"\x01b\x01h\"Good-bye!\"\x01[\x01]\x01w%s wishes %s farewell."
GOOSE:"\x01y\x01h%s gooses %s. Better sit-down, eh?"
GRAB:"\x01m\x01h%s grabs %s (gently)."
GREET:"\x01y\x01hHi!\x01[\x01]%s greets %s with warm wishes of peace and wellbeing."
GRIN:"\x01m\x01h%s gives %s a sheepish grin."
GROAN:"\x01n\x01h...GROOOOAAAANNNN....\x01[\x01]\x01y%s is groaning to %s in pleasure."
GROWL:"\x01b\x01hGRRRRR...\x01[\x01]\x01n\x01b%s is growling at %s."
GRUMBLE:"\x01n\x01b%s grumbles at %s with displeasure."
HANDSHAKE:"\x01m\x01h%s shakes hands with %s."
HAPPY:"\x01g\x01h%s is expressing huge amounts of happiness with %s."
HATE:"\x01n\x01r%s expresses extreme hate for %s."
HELLO:"\x01m\x01h%s says \"\x01wHELLO\x01m\" to %s with great enthusiasm."
HIGHFIVE:"\x01b\x01h%s gives %s the high-five!"
HISS:"\x01y\x01hHISSSSSS.....\x01[\x01]\x01b%s is hissing at %s."
HORNY:"\x01y\x01h%s is horny and wants %s to know about it."
HOSE:"\x01c\x01h%s is hosing %s down."
HUG:"\x01m\x01h%s gives %s a big hug."
HUH?:"\x01n\x01gHUH?\x01[\x01]\x01h%s is confused by %s."
IGNORE:"\x01n\x01c%s is ignoring %s."
IMPRESS:"\x01b\x01h%s is attempting to impress %s."
JAB:"\x01n\x01g%s jabs %s in the ribs with a stick (affectionately)."
JOKE:"\x01g\x01h%s is only joking with %s."
KICK:"\x01m\x01h%s kicks %s in the head."
KISS:"\x01m\x01h%s kisses %s on the forehead. How sweet."
KLEENEX:"\x01w\x01hGezundeit!\x01[\x01]\x01m%s offers %s a kleenex."
LAUGH:"\x01r\x01hHA HA HA!\x01[\x01]\x01m%s laughs out loud."
LAUGHAT:"\x01r\x01h%s is laughing at %s."
LAUGHWITH:"\x01y\x01hHe he he Ho Ho!\x01[\x01]\x01m%s laughs with %s."
LIE:"\x01n\x01b%s is lying to %s."
LICK:"\x01y\x01hSlurp, slurp...\x01[\x01]\x01b%s licks %s, like a puppy."
LOOK:"\x01m\x01h%s looks at %s."
LOVE:"\x01r\x01h%s loves %s \x01ivery\x01n\x01r\x01h much."
MASSAGE:"\x01m\x01h%s gives %s a deep oil massage."
MEOW:"\x01r\x01hMEOW!\x01[\x01]\x01c%s meows at %s."
MOAN:"\x01g\x01h...MOOOOAAAAANNNNN...\x01[\x01]%s is expressing delight with %s."
MOON:"\x01n\x01b%s is mooning %s."
MOSH:"\x01b\x01h%s is moshing with %s."
NIBBLE:"\x01g\x01h%s is nibbling on %s."
NOD:"\x01m\x01h%s nods to %s in acknowledgment."
NOTICE:"\x01y\x01h%s is noticing %s."
NUDGE:"\x01n\x01g%s nudges %s."
OUCH:"\x01i\x01h\x01wOUCH!\x01[\x01]\x01n\x01g%s expresses to %s feelings of pain."
PANT:"\x01c\x01h%s is panting over %s."
PET:"\x01n\x01g%s pets %s on the head."
PICK-UP:"\x01c\x01hHey baby. What\'s your sign?\x01[\x01]\x01m%s attempts to pick %s up."
PINCH:"\x01c\x01h%s gives %s an affectionate pinch where the sun don\'t shine."
POINT:"\x01c\x01h%s is pointing at %s."
PONDER:"\x01n\x01g%s is pondering what %s said."
POUT:"\x01n\x01b%s is gazing at %s and pouting."
PUNCH:"\x01n\x01gTHUD!\x01[\x01]\x01h%s punches %s in the chest."
PURR:"\x01b\x01hPURRRRR....\x01[\x01]\x01w%s rubs against %s with affection."
QUIET:"\x01c\x01h%s is not saying anything to %s."
ROCK:"\x01g\x01h%s rocks %s hard and fast."
ROSE:"\x01g\x01h---,-\'-{\x01r@\x01[\x01]\x01w%s gives %s a rose."
RUB:"\x01m\x01h%s rubs %s up and down and all around."
SAD:"\x01n\x01m%s is expressing sorrow and sadness with %s."
SALUTE:"\x01r\x01h%s \x01wsalutes \x01b%s."
SAY MAYBE:"\x01m\x01h%s says \"\x01wMAYBE\x01m\" to %s."
SAY NO:"\x01m\x01h%s says \"\x01wNO\x01m\" to %s."
SAY YES:"\x01m\x01h%s says \"\x01wYES\x01m\" to %s."
SCRATCH:"\x01r\x01h%s scratches %s in the face."
SCREAM:"\x01c\x01h%s is screaming at %s."
SEDUCE:"\x01n\x01c%s is attempting to seduce %s."
SERIOUS:"\x01n\x01c%s is being very serious with %s."
SHAKE:"\x01m\x01h%s shakes %s vigorously."
SHOCK:"\x01g\x01h%s is attempting to shock %s."
SHOW:"\x01r\x01h%s is trying to show %s something."
SING:"\x01y\x01hDO RE ME FA SO LA TE DO!\x01[\x01]\x01c%s sings to %s."
SIT:"\x01c\x01h%s sits on %s (affectionately)."
SLAM:"\x01n\x01wWHAM!\x01[\x01]\x01y%s slams into %s."
SLAP:"\x01c\x01hSLAP!\x01[\x01]\x01m%s disrespectfully slaps %s on the cheek."
SLIME:"\x01g\x01h%s is covering %s with goopey slime."
SLIP:"\x01y\x01h%s is trying to slip %s something."
SLITHER:"\x01n\x01c%s slithers by %s."
SMACK:"\x01r\x01hWHACK!\x01[\x01]\x01w%s smacks %s up-side the head."
SMELL:"\x01g\x01hSNIFF, SNIFF...\x01[\x01]\x01n\x01c%s is smelling %s."
SMILE:"\x01m\x01h%s turns to %s and smiles."
SNICKER:"\x01n\x01gte he he he...\x01[\x01]\x01h\x01b%s is snickering at %s."
SNEEZE:"\x01r\x01hACHOOOO!\x01[\x01]\x01c%s sneezes on %s."
SOB:"\x01b\x01hWHAAAAAAAAA!!!!!\x01[\x01]\x01n\x01g%s sobs, turning to %s for comfort."
SORRY:"\x01m\x01h%s says \"\x01wSORRY\x01m\" to %s and begs for forgiveness."
SPANK:"\x01y\x01hWHACK!\x01[\x01]\x01g%s spanks %s on the bottom."
SPIT:"\x01r\x01h\"Patooey!\"\x01[\x01]\x01w%s spits at %s."
SQUEEZE:"\x01y\x01h%s is squeezing %s tightly."
STAB:"\x01r\x01h%s stabs %s in the heart!"
STARE:"\x01m\x01h%s stares long and hard at %s."
STEAL:"\x01n\x01b%s is stealing from %s."
STROKE:"\x01y\x01h%s is stroking %s."
TEASE:"\x01r\x01h%s is teasing %s."
TELL:"\x01n\x01g%s is trying to tell %s something."
THANK:"\x01m\x01h%s expresses many thanks to %s."
TICKLE:"\x01n\x01hGoochey, Goochey, Goo!\x01[\x01]\x01y%s attempts to tickle %s."
TONGUE:"\x01m\x01h%s gives %s a long, deep tongue kiss. Ewwww...."
TOUCH:"\x01m\x01h%s touches %s."
WAVE:"\x01c\x01h%s is waving to %s."
WELCOME:"\x01m\x01h%s welcomes %s."
WHINE:"\x01y\x01h%s is whining at %s."
WHISTLE:"\x01m\x01h%s whistles at %s."
WINK:"\x01m\x01h%s winks discreetly at %s."
YAWN:"\x01n\x01wYAWN....\x01[\x01]\x01c%s is expressing tiredness or boredom to %s."
YELL:"\x01m\x01h%s yells at %s, loudly."
[guru:GURU]
name=The Guru
ars=
[pager:0]
cmd=?sound.js %!syspage.wav
ars=WIN32
settings=0
[pager:1]
cmd=?playtone.js tone/axelf.ton
ars=
settings=0
min_dspace=65535
max_batup=25
max_batdn=100
max_userxfer=5
cdt_up_pct=100
cdt_dn_pct=90
leech_pct=0
leech_sec=60
settings=0x0
filename_maxlen=64
altpath=
[lib:Main]
description=Main File Library
name=Main
ars=
parent_path=../data/dirs
code_prefix=
sort=0
settings=0
vdir_name=0
[dir:Main:BBS]
description=BBS Related
name=BBS Related
data_dir=
ars=
upload_ars=
download_ars=
operator_ars=
path=bbs\
upload_sem=
max_files=500
extensions=
settings=0x8cd
seq_dev=0
sort=0
exempt_ars=
max_age=0
upload_pct=100
download_pct=90
[dir:Main:INTERNET]
description=Internet Related
name=Internet
data_dir=
ars=
upload_ars=
download_ars=
operator_ars=
path=internet\
upload_sem=
max_files=500
extensions=
settings=0x8cd
seq_dev=0
sort=0
exempt_ars=
max_age=0
upload_pct=100
download_pct=90
[dir:Main:TEXT]
description=Text Files
name=Text
data_dir=
ars=
upload_ars=
download_ars=
operator_ars=
path=text\
upload_sem=
max_files=500
extensions=ZIP,TXT
settings=0x8cd
seq_dev=0
sort=0
exempt_ars=
max_age=0
upload_pct=100
download_pct=90
[dir:Main:COMM]
description=Communications Programs
name=Communications
data_dir=
ars=
upload_ars=
download_ars=
operator_ars=
path=comm\
upload_sem=
max_files=500
extensions=
settings=0x8cd
seq_dev=0
sort=0
exempt_ars=
max_age=0
upload_pct=100
download_pct=90
[dir:Main:UTIL]
description=Utilities
name=Utils
data_dir=
ars=
upload_ars=
download_ars=
operator_ars=
path=util\
upload_sem=
max_files=500
extensions=
settings=0x8cd
seq_dev=0
sort=0
exempt_ars=
max_age=0
upload_pct=100
download_pct=90
[dir:Main:GAMES]
description=Games
name=Games
data_dir=
ars=
upload_ars=
download_ars=
operator_ars=
path=games\
upload_sem=
max_files=500
extensions=
settings=0x8cd
seq_dev=0
sort=0
exempt_ars=
max_age=0
upload_pct=100
download_pct=90
[dir:Main:PROG]
description=Programming
name=Programming
data_dir=
ars=
upload_ars=
download_ars=
operator_ars=
path=prog\
upload_sem=
max_files=500
extensions=
settings=0x8cd
seq_dev=0
sort=0
exempt_ars=
max_age=0
upload_pct=100
download_pct=90
[dir:Main:GRAPHICS]
description=Graphics Programs
name=Graphics
data_dir=
ars=
upload_ars=
download_ars=
operator_ars=
path=graphics\
upload_sem=
max_files=500
extensions=
settings=0x8cd
seq_dev=0
sort=0
exempt_ars=
max_age=0
upload_pct=100
download_pct=90
[dir:Main:BUSINESS]
description=Business Programs
name=Business
data_dir=
ars=
upload_ars=
download_ars=
operator_ars=
path=business\
upload_sem=
max_files=500
extensions=
settings=0x8cd
seq_dev=0
sort=0
exempt_ars=
max_age=0
upload_pct=100
download_pct=90
[dir:Main:MISC]
description=Miscellaneous
name=Misc
data_dir=
ars=
upload_ars=
download_ars=
operator_ars=
path=misc\
upload_sem=
max_files=500
extensions=
settings=0x8cd
seq_dev=0
sort=0
exempt_ars=
max_age=0
upload_pct=100
download_pct=90
[dir:Main:UPLOADS]
description=Blind Uploads
name=Uploads
data_dir=
ars=LEVEL 90
upload_ars=
download_ars=
operator_ars=
path=uploads\
upload_sem=
max_files=500
extensions=
settings=0x8cd
seq_dev=0
sort=0
exempt_ars=
max_age=0
upload_pct=100
download_pct=90
[dir:Main:SYSOP]
description=Uploads to Sysop
name=Sysop
data_dir=
ars=LEVEL 90
upload_ars=
download_ars=
operator_ars=
path=sysop\
upload_sem=
max_files=500
extensions=
settings=0x8cd
seq_dev=0
sort=0
exempt_ars=
max_age=0
upload_pct=100
download_pct=90
[dir:Main:USER]
description=User to User Transfers
name=User
data_dir=
ars=LEVEL 90
upload_ars=
download_ars=
operator_ars=
path=user\
upload_sem=
max_files=500
extensions=
settings=0x8cd
seq_dev=0
sort=0
exempt_ars=
max_age=0
upload_pct=100
download_pct=90
[viewer:0]
extension=TXT
cmd=*type %s
ars=
[viewer:1]
extension=DIZ
cmd=*type %s
ars=
[viewer:2]
extension=DOC
cmd=*type %s
ars=
[viewer:3]
extension=ANS
cmd=*type %s
ars=
[viewer:4]
extension=ASC
cmd=*type %s
ars=
[viewer:5]
extension=RIP
cmd=*type %s
ars=
[viewer:6]
extension=NFO
cmd=*type %s
ars=
[viewer:7]
extension=FAQ
cmd=*type %s
ars=
[viewer:8]
extension=ICE
cmd=*type %s
ars=
[viewer:9]
extension=HTM
cmd=?typehtml -color %s
ars=
[viewer:10]
extension=SEQ
cmd=?printfile %f P_WRAP 40
ars=
[viewer:11]
extension=*
cmd=?archive list %f
ars=
[tester:0]
extension=ZIP
cmd=%@unzip -tqq %f
working=Testing ZIP Integrity...
ars=
[tester:1]
extension=ZIP
cmd=%@zip -z %f < %zzipmsg.txt
working=Adding ZIP Comment...
ars=
[protocol:0]
key=X
name=XMODEM-Original
ulcmd=%!sexyz%. %h -%p rx %f
dlcmd=%!sexyz%. %h -%p sx %f
batulcmd=
batdlcmd=
blindcmd=
bicmd=
settings=7
ars=
[protocol:1]
key=1
name=XMODEM-1K/CRC
ulcmd=%!sexyz%. %h -%p rC %f
dlcmd=%!sexyz%. %h -%p sX %f
batulcmd=
batdlcmd=
blindcmd=
bicmd=
settings=7
ars=
[protocol:2]
key=Y
name=YMODEM
ulcmd=%!sexyz%. %h -%p ry %f
dlcmd=%!sexyz%. %h -%p sY %f
batulcmd=%!sexyz%. %h -%p ry %g
batdlcmd=%!sexyz%. %h -%p sY @%f
blindcmd=
bicmd=
settings=7
ars=
[protocol:3]
key=G
name=YMODEM-G
ulcmd=%!sexyz %h -%p rg %f
dlcmd=%!sexyz %h -%p sY %f
batulcmd=%!sexyz %h -%p rg %g
batdlcmd=%!sexyz %h -%p sY @%f
blindcmd=
bicmd=
settings=7
ars=
[protocol:4]
key=Z
name=ZMODEM
ulcmd=%!sexyz%. %h -%p rz %f
dlcmd=%!sexyz%. %h -%p sz %f
batulcmd=%!sexyz%. %h -%p rz %g
batdlcmd=%!sexyz%. %h -%p sz @%f
blindcmd=
bicmd=
settings=7
ars=
[protocol:5]
key=L
name=Local Copy
ulcmd=?localcopy send %f
dlcmd=?localcopy recv %f
batulcmd=?localcopy send %g
batdlcmd=?localcopy recv %s
blindcmd=
bicmd=
settings=0
ars=SYSOP
[text:INFO]
name=Information
ars=
[text:OPERATOR]
name=Operator
ars=SYSOP
This diff is collapsed.
This diff is collapsed.
[prog:MAIN:BULLSEYE]
name=BullsEye! Bulletins
ars=
execution_ars=
type=0
settings=5
event=1
cost=0
cmd=*bullseye
clean_cmd=
startup_dir=
textra=0
max_time=0
[prog:MAIN:SBBSLIST]
name=Synchronet BBS List
ars=
execution_ars=
type=0
settings=1
event=0
cost=0
cmd=?sbbslist.js browse
clean_cmd=
startup_dir=
textra=0
max_time=0
[prog:MAIN:AVATCHOO]
name=Avatar Chooser
ars=ANSI AND !GUEST
execution_ars=
type=0
settings=1
event=3
cost=0
cmd=?avatar_chooser
clean_cmd=
startup_dir=
textra=0
max_time=0
[prog:GAMES:MSWEEPER]
name=Synchronet Minesweeper
ars=
execution_ars=
type=0
settings=1
event=0
cost=0
cmd=?minesweeper
clean_cmd=
startup_dir=../xtrn/minesweeper/
textra=0
max_time=0
[prog:OPERATOR:SCFGANSI]
name=Synchronet Configuration (ANSI)
ars=ANSI
execution_ars=
type=0
settings=1064964
event=0
cost=0
cmd=%!scfg%. -iA -l%r
clean_cmd=
startup_dir=
textra=0
max_time=0
[prog:OPERATOR:SCFGDUMB]
name=Synchronet Configuration (dumb)
ars=
execution_ars=
type=0
settings=16388
event=0
cost=0
cmd=%!scfg%. -id -l%r
clean_cmd=
startup_dir=
textra=0
max_time=0
[prog:OPERATOR:CHKSETUP]
name=Check Setup
ars=
execution_ars=
type=0
settings=524289
event=0
cost=0
cmd=?chksetup
clean_cmd=
startup_dir=
textra=0
max_time=0
[prog:OPERATOR:FTNSETUP]
name=Initial FidoNet Setup
ars=
execution_ars=
type=0
settings=524288
event=0
cost=0
cmd=?ftn-setup
clean_cmd=
startup_dir=
textra=0
max_time=0
[prog:OPERATOR:FIDOCFGA]
name=FidoNet Configuration (ANSI)
ars=ANSI
execution_ars=
type=0
settings=1064964
event=0
cost=0
cmd=%!echocfg%. -iA -l%r
clean_cmd=
startup_dir=
textra=0
max_time=0
[prog:OPERATOR:FIDOCFGD]
name=FidoNet Configuration (dumb)
ars=
execution_ars=
type=0
settings=16388
event=0
cost=0
cmd=%!echocfg%. -id
clean_cmd=
startup_dir=
textra=0
max_time=0
[prog:OPERATOR:XSETUP]
name=Auto-install New External Programs
ars=
execution_ars=
type=0
settings=0
event=0
cost=0
cmd=?xtrn-setup
clean_cmd=
startup_dir=
textra=0
max_time=0
[sec:MAIN]
name=Main
ars=
[sec:GAMES]
name=Games
ars=
[sec:OPERATOR]
name=Operator
ars=SYSOP
[editor:FSEDITOR]
name=Deuce's FSEditor
lcmd=
cmd=?fseditor %f
settings=6297600
ars=ANSI
type=0
soft_cr=3
quotewrap_cols=0
[editor:SLYEICE]
name=SlyEdit (ICE Style)
lcmd=
cmd=?slyedit %f ICE
settings=2104320
ars=ANSI
type=0
soft_cr=1
quotewrap_cols=0
[editor:SLYEDCT]
name=SlyEdit (DCT Style)
lcmd=
cmd=?slyedit %f DCT
settings=2104320
ars=ANSI
type=0
soft_cr=1
quotewrap_cols=0
[event:FIDOIN]
cmd=%!sbbsecho%. -ce
days=128
time=0
node_num=1
settings=16392
startup_dir=
freq=0
mdays=0
months=0
errlevel=3
[event:FIDOOUT]
cmd=%!sbbsecho%. -ni
days=128
time=0
node_num=1
settings=16392
startup_dir=
freq=0
mdays=0
months=0
errlevel=3
[event:NEWSLINK]
cmd=?newslink.js
days=255
time=0
node_num=1
settings=8
startup_dir=
freq=60
mdays=0
months=0
errlevel=3
[event:CHKSPACE]
cmd=?chkspace.js %g %j
days=255
time=720
node_num=1
settings=0
startup_dir=
freq=0
mdays=0
months=0
errlevel=3
[event:SMB2SBL]
cmd=?sbbslist import
days=255
time=0
node_num=1
settings=0
startup_dir=
freq=360
mdays=0
months=0
errlevel=3
dir=
[event:SBL2SMB]
cmd=?sbbslist export
days=255
time=0
node_num=1
settings=0
startup_dir=
freq=360
mdays=0
months=0
errlevel=3
dir=
[event:SBLUPDAT]
cmd=?sbbslist update -preview
days=255
time=0
node_num=1
settings=0
startup_dir=
freq=0
mdays=2
months=0
errlevel=3
dir=
[event:SBLMAINT]
cmd=?sbbslist maint
days=255
time=0
node_num=1
settings=0
startup_dir=
freq=0
mdays=0
months=0
errlevel=3
dir=
[event:MSGMAINT]
cmd=%!smbutil%. mp1000 *.shd
days=129
time=300
node_num=1
settings=278531
startup_dir=../data/subs
freq=0
mdays=0
months=0
errlevel=3
[event:GETIMLST]
cmd=*getimlst
days=255
time=0
node_num=1
settings=0
startup_dir=
freq=1440
mdays=0
months=0
errlevel=3
[event:LISTSERV]
cmd=?listserver.js
days=255
time=0
node_num=1
settings=8
startup_dir=
freq=60
mdays=0
months=0
errlevel=3
[event:DYNDNS]
cmd=?dyndns.js YOURPASS
days=255
time=0
node_num=1
settings=12
startup_dir=
freq=720
mdays=0
months=0
errlevel=3
[event:AVAT-IN]
cmd=?avatars import
days=255
time=0
node_num=1
settings=0
startup_dir=
freq=30
mdays=0
months=0
errlevel=3
[event:AVAT-OUT]
cmd=?avatars export
days=255
time=0
node_num=1
settings=0
startup_dir=
freq=30
mdays=0
months=0
errlevel=3
[native:cmd.exe]
misc=0
[native:sh]
misc=0
[native:csh]
misc=0
[native:bash]
misc=0
[native:node]
misc=0
[native:smbutil]
misc=0
[native:zip]
misc=0
[native:unzip]
misc=0
[native:pkzip25]
misc=0
[native:mp3info]
misc=0
_New Config Files_
Synchronet v3.20 introduces a new primary configuration file format using
the .ini file syntax. Sysops can upgrade a Synchronet v3.1x configuration to
v3.20 by running 'jsexec upgrade_to_v320.js' either before (preferably) or
after upgrading their Synchronet executable binary files to v3.20.
The existing ctrl/*.cnf files are converted one-to-one to .ini equivalents:
ctrl/main.cnf -> main.ini
ctrl/msgs.cnf -> msgs.ini
ctrl/file.cnf -> file.ini
ctrl/xtrn.cnf -> xtrn.ini
ctrl/chat.cnf -> chat.ini
*/node.cnf -> node.ini
_Are all configurations settings converted?_
With the exception of a few never-used or no-longer-used configuration fields,
the .cnf files should be completed represented by the newly created .ini
files. Once converted, the old .cnf files will no longer be used and may be
deleted if desired. If you're weary of the upgrade process, keep those old
.cnf files around so that you can revert to Synchronet v3.1x if needed or
even re-convert the .cnf files by executing upgrade_to_v320.js again if/when
any issues in the script have been found and fixed later.
_Why the change?_
The now-legacy .cnf files were introduced in Synchronet v2.0 back in 1994.
These .cnf files were designed for fast-loading: structured binary files with
fixed length records comprised of fixed length fields (configuration
properties) in a fixed order. Unfortunately, this lack of flexibility means it
has also been an ongoing-challenge to add new configuration fields or extend
the size of existing configuration fields. Most records included "padding"
bytes for future expansion, but the future is now past and most of those bytes
were consumed with new and expanded configuration fields; we've consumed the
growth budget of most of the configuration records already. Now it'll be much
easier to add new configuration fields and extend the size of existing fields
when desired (e.g. no more 8-character internal code suffix limits!).
Additionally, it has been a challenge to keep track of changes to the stock
configuration files stored in the Synchronet source code repository. Revision
control systems (e.g. CVS, Git) can track changes in text files much better
than changes to binary files. Moving to text-based configuration files
remedies this change management issue and allows sysops to easily search and
compare the contents of Synchronet configuration files (e.g. comparing with
backed-up or stock/original versions of .ini files).
So... text?
Yes, each .cnf file has now been replaced with an equivalent .ini file
containing LF or CRLF-terminated lines of ASCII text conforming to the
Synchronet supported .ini file syntax
(https://wiki.synchro.net/config:ini_files#syntax).
Interestingly, Synchronet v1 also used text configuration (*.cfg) files for
the vast majority of its configuration settings, however the format was not as
flexible as .ini and the large .cfg files were slow to load.
The flexible format of .ini files does mean that they take more compute
(and time) to parse than fixed-structure (e.g. .cnf) files, but through
better programming and the power of modern computers, the difference should be
negligible.
_Manual Edits_
Although .ini file can be directly edited using pretty much any plain-text
editor, the primary supported method of manipulating these new configuration
files is via the Synchronet Configuration Utility (SCFG). Any manually
added comments (lines beginning with a semicolon) or white-space changes will
be lost when the file is subsequently edited using SCFG. Unlike other
Synchronet initialization files (e.g. sbbs.ini), there's been no effort made
to make these new configuration files particularly easy to read (e.g. optional
comments, named bits for bit-fields) and no effort made to maintain the exact
key ordering or formatting used during any manual edits of the files. If a
sysop chooses to make manual edits, they should either no longer use SCFG or
be okay with the idea that the files will be completely re-written/formatted
when subsequently edited with SCFG.
_Why ini?_
The .ini file format was chosen because this is already a first class data
file format in Synchronet, supported equally well in the C/C++ code and
JavaScript. Other structured text formats were considered (e.g. JSON, YAML),
the pros and cons were weighed, and .ini won.
_Attribution_
Thanks to mcmlxxix for his cnflib.js load library that made this configuration
migration (the creation of upgrade_to_v320.js) relatively painless as
Synchronet v3.20 maintains no knowledge of or ability to parse .cnf files
directly.
\ No newline at end of file