# Example resource file for the Java Message Handling System # Every sleep interval is given in ms. # Every string should be enclosed in "" # Comments start with '#' #################################### # do NOT change unless very sure ! # #################################### # greeting to send to the player GREETING "Alpha chat system ..." # port on which to run the server PORT 7007 # password file name PASSWORD_FILE "passwords" # maximum number of allowed clients inside the server # limited to max 16000 RRST_MAX_PLAYERS 20 # incomming message queue length for the server side threads # (number of messages) RRST_PLAYER_IN_QUEUE_LEN 20 # outgoing message queue length for the server side threads # (number of messages) RRST_PLAYER_OUT_QUEUE_LEN 80 # The internal server sleep delay, subject to load adjusting RRST_SLEEP 300 # The sleep interval inside the server if no players connected. RRST_SLEEP_NO_PLAYERS 1000 # Should be the smallest allowed q RRST_MIN_STEP_SLEEP 1 # TCPIPThread internal sleep # (obsolete) #RRST_TCPIPT_SLEEP 300 # number of rounds one player is allowed to say nothing # before sending NOP to test the conection # (obsoleted by the next two resources) #RRST_DEADCHECK 100 # timeperiod one player is allowed to say nothing # before sending NOP to test connection (ms) # should outdate RRST_DEADCHECK # should be around 1/10 of the RRST_TIMEOUT value RRST_KEEPALIVE 10000 # timperiod one player is allowed to say nothing before removing # from the system. The value should be around 2-3 minutes (150000) # the removal is done unconditional by closing the connection without # any announcement or other mean # this is just a ultimate resort and no app should rely on it but instead # create it's own timeout mechanisms at client level, with lower values # than this one. RRST_TIMEOUT 900000 # default group in which one player is entered the first time RRST_DEFAULT_GROUP 1 # minimum range allowed for group RRST_MIN_GROUP 1 # maximum range for group # limited to a max of 16000 RRST_MAX_GROUP 5 # ignores destination group in sending and just sends to the # destination playernumber even if he is NOT in the destination # group. In case of destinationnumber=broadcast or # destinationgroupnumber=broadcast this does NOT apply !!! # That is even if the destgroup is broadcast when this is off # the destnumber gets it's message. # Remember that the groupnumbers DO NOT have anything in common with # the playernumbers. RRST_IGNORE_DESTGRP off # determines if the server allows fake messages to go through, that # is messages which have set the sender different than from where # it really comes. Remember that some apps may rely on this. # If disabled then the server will send the message after setting # it's internal sender to the real value # Recommended value is disabled RRST_ALLOW_FAKE disabled # if set then the server will remove a player with full # outputqueue, otherwise just ignore and don't send anything # to him until queue frees up # Should be normally corellated with the queue lengths # (recommended enabled !) # Disabling this may lead to zombie players in the system, taking # up cpu time in vain. RRST_REMOVE_IF_FULL_OUTQUEUE enable # sleep for the TCPIPThread # This thread controls the read&write threads and should NOT # be too awake ... ;) # (obsoleted) # TCPIPT_SLEEP 5000 # read thread sleep # Dividing 1000 by this delay shows how many messages this thread # may handle per second TCPIPRT_SLEEP 150 # write thread sleep # see also above TCPIPWT_SLEEP 100 # delay inside the TCPIPThread between creating read & write threads # (obsolete) #TCPIPT_CREATE_SLEEP 1000 # connect server sleep CST_SLEEP 200 # the timebase offset to use in initializing the internal TimeBase timer # inside the system. It should be 0 in case of normal operation RRST_TIMEBASE_INIT 0 # very small server sleep # obsolete, not used # RRST_SAFE_SLEEP 3 # very small TCPIPThread sleep # obsolete, not used # TCPIPT_SAFE_SLEEP 5 # maximum message length allowed by the server # not used yet # TCPIP_MAX_MESSAGE_LENGTH 65000