Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dcrodman/archon
/ functions
Functions
570 in github.com/dcrodman/archon
⨍
Functions
570
◇
Types & classes
113
↓ 1 callers
Function
initCipher
(c *blowfishCipher)
internal/core/encryption/bb_block.go:12
↓ 1 callers
Function
initDatabase
(cfg *core.Config)
internal/shipgate/service.go:79
↓ 1 callers
Function
initParameterData
(logger *zap.SugaredLogger)
internal/character/param_files.go:62
↓ 1 callers
Function
initializePatchData
Load all of the patch files from the configured directory and store the metadata in package-level constants for the DataServer instance(s).
internal/patch/files.go:76
↓ 1 callers
Function
loadParameterFiles
LoadConfig the PSOBB parameter files, build the parameter header, and init/cache the param file chunks for the EB commands.
internal/character/param_files.go:104
↓ 1 callers
Function
marshalErrorToJSON
marshalErrorToJSON returns JSON from a twirp.Error, that can be used as HTTP error response body. If serialization fails, it will use a descriptive In
internal/shipgate/shipgate.twirp.go:2966
↓ 1 callers
Function
newCipher
NewCipher creates and returns a blowfishCipher. The key argument should be the Blowfish key such that 1 <= len(k) <= 56 bytes.
internal/core/encryption/bb.go:21
↓ 1 callers
Function
newServerOpts
(opts []interface{})
internal/shipgate/shipgate.twirp.go:2817
↓ 1 callers
Function
parseTwirpPath
parseTwirpPath extracts path components form a valid Twirp route. Expected format: "[<prefix>]/<package>.<Service>/<Method>" e.g.: prefix, pkgService,
internal/shipgate/shipgate.twirp.go:2910
↓ 1 callers
Function
playerOptionsFromProto
(playerOptions *proto.PlayerOptions)
internal/shipgate/conversions.go:114
↓ 1 callers
Function
playerOptionsToProto
(playerOptions *data.PlayerOptions)
internal/shipgate/conversions.go:107
↓ 1 callers
Function
printNetworkDevices
()
cmd/sniffer/main.go:50
↓ 1 callers
Method
processPackets
processPackets starts a blocking loop dedicated to reading data sent from a game client and only returns once the connection has closed.
internal/frontend.go:140
↓ 1 callers
Method
readNextPacket
readNextPacket is a blocking call that only returns once the client has sent the next packet to be processed. The buffer in c.ConnectionState is updat
internal/frontend.go:199
↓ 1 callers
Method
run
(ctx context.Context)
internal/controller.go:128
↓ 1 callers
Method
sendCharacterPreview
send the preview command containing basic details about a character in the selected slot.
internal/character/character_server.go:428
↓ 1 callers
Method
sendCheckFile
Tell the client to check a file in its current working directory.
internal/patch/data_server.go:139
↓ 1 callers
Method
sendChecksumAck
Acknowledge the checksum the client sent us. We don't actually do anything with it but the client won't proceed otherwise.
internal/character/character_server.go:464
↓ 1 callers
Method
sendDataAck
Acknowledgement sent after the DATA connection handshake.
internal/patch/data_server.go:98
↓ 1 callers
Method
sendDataServerRedirect
Send the IP address and port of the character server to which the client will connect after disconnecting from this server.
internal/character/auth_server.go:160
↓ 1 callers
Method
sendFileChunk
send a chunk of file data.
internal/patch/data_server.go:273
↓ 1 callers
Method
sendFileComplete
Finished sending a particular file.
internal/patch/data_server.go:290
↓ 1 callers
Method
sendFileHeader
send the header for a file we're about to update.
internal/patch/data_server.go:261
↓ 1 callers
Method
sendFileList
Traverse the patch tree depth-first and send the check file requests.
internal/patch/data_server.go:103
↓ 1 callers
Method
sendFileListDone
Tell the client that we've finished sending the patch list.
internal/patch/data_server.go:155
↓ 1 callers
Method
sendFullCharacterEnd
(c *client.Client)
internal/ship/game_server.go:225
↓ 1 callers
Method
sendGameServerRedirect
Send the IP address and port of the character server to which the client will connect after disconnecting from this server.
internal/ship/auth_server.go:156
↓ 1 callers
Method
sendGuildcardChunk
send the specified chunk of guildcard data.
internal/character/character_server.go:523
↓ 1 callers
Method
sendGuildcardHeader
send the header containing metadata about the guildcard chunk.
internal/character/character_server.go:504
↓ 1 callers
Method
sendLobbyList
(c *client.Client)
internal/ship/game_server.go:145
↓ 1 callers
Method
sendMessage
(c *client.Client, message string)
internal/ship/auth_server.go:146
↓ 1 callers
Method
sendMessage
(c *client.Client, message string)
internal/ship/game_server.go:137
↓ 1 callers
Method
sendMessage
Sends a message to the client. In this case whatever message is sent here will be displayed in a dialog box after the patch screen.
internal/character/auth_server.go:150
↓ 1 callers
Method
sendMessage
Sends a message to the client. In this case whatever message is sent here will be displayed in a dialog box after the patch screen.
internal/character/character_server.go:228
↓ 1 callers
Method
sendOptions
send the client's configuration options. keyConfig should be 420 bytes long and either point to the default keys array or loaded from the database.
internal/character/character_server.go:362
↓ 1 callers
Method
sendPacket67
(c *client.Client)
internal/ship/game_server.go:232
↓ 1 callers
Method
sendParameterChunk
Index into chunkData and send the specified chunk of parameter data.
internal/character/character_server.go:554
↓ 1 callers
Method
sendParameterHeader
send the header for the parameter files we're about to start sending.
internal/character/character_server.go:543
↓ 1 callers
Method
sendPatchRedirect
send the redirect command, providing the IP and port of the next server.
internal/patch/auth_server.go:102
↓ 1 callers
Method
sendScrollMessage
send whatever scrolling message was read out of the config file for the login screen.
internal/character/character_server.go:284
↓ 1 callers
Method
sendShipList
Send the menu items for the ship select screen. Since we're only supporting a single (bundled) ship server for the moment, the entries are hardcoded r
internal/character/character_server.go:255
↓ 1 callers
Method
sendStartFileUpdate
Send the total number and cumulative size of files that need updating.
internal/patch/data_server.go:192
↓ 1 callers
Method
sendTimestamp
Send a timestamp command in order to indicate the server's current time.
internal/character/character_server.go:237
↓ 1 callers
Method
sendUpdateComplete
We've finished updating files.
internal/patch/data_server.go:295
↓ 1 callers
Method
sendWelcomeAck
(c *client.Client)
internal/patch/auth_server.go:80
↓ 1 callers
Method
sendWelcomeAck
Simple acknowledgement to the welcome response.
internal/patch/data_server.go:79
↓ 1 callers
Method
sendWelcomeMessage
Message displayed on the patch download screen.
internal/patch/auth_server.go:89
↓ 1 callers
Method
serveAuthenticateAccount
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1498
↓ 1 callers
Method
serveAuthenticateAccountJSON
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1516
↓ 1 callers
Method
serveAuthenticateAccountProtobuf
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1599
↓ 1 callers
Method
serveDeleteCharacter
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:2038
↓ 1 callers
Method
serveDeleteCharacterJSON
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:2056
↓ 1 callers
Method
serveDeleteCharacterProtobuf
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:2139
↓ 1 callers
Method
serveFindCharacter
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1678
↓ 1 callers
Method
serveFindCharacterJSON
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1696
↓ 1 callers
Method
serveFindCharacterProtobuf
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1779
↓ 1 callers
Method
serveGetActiveShips
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1138
↓ 1 callers
Method
serveGetActiveShipsJSON
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1156
↓ 1 callers
Method
serveGetActiveShipsProtobuf
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1239
↓ 1 callers
Method
serveGetGuildcardEntries
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:2218
↓ 1 callers
Method
serveGetGuildcardEntriesJSON
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:2236
↓ 1 callers
Method
serveGetGuildcardEntriesProtobuf
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:2319
↓ 1 callers
Method
serveGetPlayerOptions
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:2398
↓ 1 callers
Method
serveGetPlayerOptionsJSON
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:2416
↓ 1 callers
Method
serveGetPlayerOptionsProtobuf
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:2499
↓ 1 callers
Method
serveRegisterShip
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1318
↓ 1 callers
Method
serveRegisterShipJSON
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1336
↓ 1 callers
Method
serveRegisterShipProtobuf
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1419
↓ 1 callers
Method
serveUpsertCharacter
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1858
↓ 1 callers
Method
serveUpsertCharacterJSON
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1876
↓ 1 callers
Method
serveUpsertCharacterProtobuf
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:1959
↓ 1 callers
Method
serveUpsertPlayerOptions
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:2578
↓ 1 callers
Method
serveUpsertPlayerOptionsJSON
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:2596
↓ 1 callers
Method
serveUpsertPlayerOptionsProtobuf
(ctx context.Context, resp http.ResponseWriter, req *http.Request)
internal/shipgate/shipgate.twirp.go:2679
↓ 1 callers
Method
setClientFlag
The client may send us flags as a result of user actions in order to indicate a change in state or desired behavior. For instance, setting 0x02 indica
internal/character/character_server.go:565
↓ 1 callers
Method
startBlockingLoop
startBlockingLoop implements a connection handling loop that's purely responsible for accepting new connections and spinning off goroutines for the Ba
internal/frontend.go:69
↓ 1 callers
Method
startReading
(packetChan chan gopacket.Packet)
cmd/sniffer/sniffer.go:49
↓ 1 callers
Function
startSniffer
()
cmd/sniffer/main.go:68
↓ 1 callers
Function
stripPadding
(b []byte)
internal/shipgate/service.go:185
↓ 1 callers
Method
traverseAndUpdate
Recursively traverse our tree of patch files, sending the file data to the client when an out of date file is encountered.
internal/patch/data_server.go:202
↓ 1 callers
Method
updateCharacter
(ctx context.Context, c *client.Client, pkt *commands.CharacterSummary)
internal/character/character_server.go:682
↓ 1 callers
Method
updateClientFile
(c *client.Client, patch *fileEntry)
internal/patch/data_server.go:228
↓ 1 callers
Method
updateClientFiles
The client finished sending all of the file check commands. If they have any files that need updating, now's the time to do it.
internal/patch/data_server.go:171
↓ 1 callers
Function
writeCommandBodyToFile
Print the standard output of one column with the bytes in hexadecimal followed by another column with the corresponding bytes translated to unicode wh
internal/core/debug/debug.go:116
↓ 1 callers
Function
writeInterpretedCommandBodyToFile
(params PrintPacketParams, header commands.PCHeader)
internal/core/debug/debug.go:180
Function
AccountAddCommand
(cmd *cobra.Command, args []string)
cmd/archon/account.go:71
Function
AccountDeleteCommand
(cmd *cobra.Command, args []string)
cmd/archon/account.go:123
Method
AuthenticateAccount
(ctx context.Context, in *AuthenticateAccountRequest)
internal/shipgate/shipgate.twirp.go:217
Method
AuthenticateAccount
(ctx context.Context, in *AuthenticateAccountRequest)
internal/shipgate/shipgate.twirp.go:685
Method
AuthenticateAccount
(ctx context.Context, req *AuthenticateAccountRequest)
internal/shipgate/service.go:149
Function
BenchmarkDecompress
(b *testing.B)
internal/core/prs/prs_test.go:43
Method
Cause
for go1.13 + errors.Is/As
internal/shipgate/shipgate.twirp.go:3085
Method
Cause
for go1.13 + errors.Is/As
internal/shipgate/shipgate.twirp.go:3125
Method
ClientVector
()
internal/core/client/crypto.go:58
Method
ClientVector
()
internal/core/client/crypto.go:93
Method
Decrypt
(bytes []byte, length uint32)
internal/core/client/crypto.go:50
Method
Decrypt
(bytes []byte, length uint32)
internal/core/client/crypto.go:85
Method
DeleteCharacter
(ctx context.Context, req *CharacterRequest)
internal/shipgate/service_character.go:42
Method
DeleteCharacter
(ctx context.Context, in *CharacterRequest)
internal/shipgate/shipgate.twirp.go:355
Method
DeleteCharacter
(ctx context.Context, in *CharacterRequest)
internal/shipgate/shipgate.twirp.go:823
← previous
next →
201–300 of 570, ranked by callers