Rapture Manual Iron Realms Entertainment Index Functions | Function Index Allocate a block of memory. Determine if a string is composed entirely of alphabetic characters. Generate an ANSI color code sequence for the specified foreground and background combination. Use this function to append a line of text to a file using a ‘log’ format. Send an ATCP message to a node. Force a write of all database information to disk. Force a write of all database information to disk. Generate a string representation of a blowfish hash of the string. Check for any pending tasks and run the first one found. Return a string corresponding to the ASCII character given. Remove all the elements from a vector. Remove a scheduled game task. Remove a scheduled player task. Remove a scheduled replica task. Remove a scheduled room task. Create a new vector containing a copy of each element in the source vector. Print some text to the console that Rapture was started on. Decrement a given replica data, returning any record that reaches 0. Decrement a given replica variable, returning any record that reaches 0. Remove an element from a vector. Remove an element from a vector. Executes a task directly. This will ‘call’ a verb definition given its ‘handle’. Interpolate the value(s) of variables at runtime. Close a previously opened file. Check the status of the EOF flag on the file handle. Read an unsigned byte from the file. Read a signed 4 byte integer from the file. Read a newline-terminated string from the file. Read a block of data from a file into an allocated block of memory. Read null-terminated string from the file. Read an unsigned 2 byte integer from the file. Determine the length of a file. Quickly scan the file to find out the number of lines. Search for for a replica with the given flag enabled. Locate a replica with a matching mother and room. Locate all the replicas with a matching mother and room. Open a file and return its handle. Query the current position of writing/reading in a file. Write an unsigned byte to the file. Write a signed 4 byte integer to the file. Write a newline terminated string to the file. Write a block of data to a file from an allocated block of memory. Write a null-terminated string to the file. Write an unsigned 2 byte integer to the file. This will erase a file or directory recursively. Rename (move) a file within the same filesystem. Position the current file pointer in an open file. Position the file at the start of a given line. Generate a temporary file name. Schedule execution of a game task. Returns the number of ticks until task fire. Search the list of game tasks. Computes the greatest common divisor of the provided two numbers. Check for any waiting player input. Inesrt an integer value in the middle of a vector. Adds IP address to max node IP whitelist. Returns the list of whitelisted IP addresses. Remove an IP address from the max node IP whitelist. Join the elements of a vector with a string. Extract the N left-most characters of a string. Return the length (in bytes) of a string. Computes the natural (base e) logarithm of the provided number. Computes the base-Y logarithm of the provided number. Computes the base-10 logarithm of the provided number. Make a lowercase copy of a string. Recursively create a directory. Computes the arc tangent of y/x, determining the quadrant based on signs of the two values. Match a text against a provided regular expression. Similar to match, but returns the matched string and capture groups. Generate a hexadecimal representation of an MD5 hash of the string. Perform the ‘distance’ formula using floating point math. Quickly copy the portion of one memory block into another. Quickly initialize a portion of a memory block. Send an expanded msg’s text directly to a node. Perform a floating point fractional multiplication. Extract a substring. Return the value of an integer raised to a given power. Expand the value(s) in a compiled message. Send some text to a node. A floating point implementation of a square root function. Locate the next active player. Sets the reported IP address for a node. Sorts the vector using numeric comparison. Determine if a string is solely numeric characters. Return the ASCII value of the first character in the string. Schedule execution of a player task. Returns the number of ticks until task fire. Search the list of player (node) tasks. Remove an element from the end of a vector and return its value as an integer. Remove an element from the end of a vector and return its value as a string. Find the first occurance of a substring in a string starting at a given position. Generate a human-readable output of current profiling info. Turn off the internal profiling. Turn on internal profiling of execution. Insert an integer at the end of a vector. Simulate an internal error being thrown. Generate a random value between 1 and the specified limit (inclusive) Returns the uncompiled, unexpanded message with variable names intact. Change the size of an allocated memory block. Signal Rapture that the game code should be reloaded when next shut down. Replace all instances of one string with another. Schedule execution of a replica task. Returns the number of ticks until task fire. Search the list of replica tasks. Clear out any existing profiling information and begin fresh. Returns the vector in reversed order. Extract the N right-most characters of a string. Schedule execution of a room task. Returns the number of ticks until task fire. Search the list of room tasks. Release all statement handles and any extra internal data. Establish a connection to a database. Get information about an existing connection. Return the description of the last error. Execute an SQL command. Fetch the data for a single row of the result set. Fetch the data for a single row of the result set and copy the values into a vector. Return the numeric id of the last record inserted if that id was auto-generated by the system. Return the number of rows in a result set. Verify a database connection is active and working. Prepare a new statement for execution. Set the parameter value for a prepared query. Release all resources associated with a query. Get the data from the currently fetched row. Advance the result set cursor to an exact row. |