From Project: Ouroboros
Jump to navigation Jump to search

An application for sending commands to the DBServer. DBServer listens on port 6997 by default.

Usage: bin\dbquery.exe [arguments]



See characterTransfer.c for some hilarious surprises!


-db <host>

Specifies a remote host the DBServer is running on. Accepts DNS name or IP address. Default: localhost.

-dbquery <query>

Implies -noencrypt, -nopigs and -silent. See list of arguments.

-getcharacter "<name>"

Gets a character from the DBServer and outputs it to stdout. Implies -noencrypt, -nopigs and -silent.



Do not use encryption


Don't load any pigg files; use only loose files on the filesystem when necessary.



-putcharacter [file] | < file

Puts a character into the database via DBServer. Implies -noencrypt, -nopigs and -silent.

-querysgleaders <string>

Probably queries to display the list of super group leaders when the supergroup is loaded.

-restorecharacter <logfile>

Launches an interactive CLI to restore a character from the deleted characters log. Specifying the log is optional; you can do so within the interface.


Produces cleaner output

-tcp [number]

Specify TCP port when connecting to DBServer, default 6997




-udp [number]

Specify UDP port when connecting to DBServer, default 6997


Sample Commands

Exporting and Importing a character

dbquery.exe -getcharacter "Name">file.txt
dbquery.exe -putcharacter file.txt

Retrieving a character from a remote DBServer

dbquery -db -getcharacter "Aleena"

DBQuery Entry Point