diff --git a/config.json b/config.json index 1e09daddd..1b5d46ff9 100644 --- a/config.json +++ b/config.json @@ -110,9 +110,9 @@ ], "Database": { "Host": "localhost", - "Port": 5432, + "Port": 5433, "User": "postgres", - "Password": "", + "Password": "admin", "Database": "erupe" }, "Sign": { diff --git a/server/channelserver/handlers_quest.go b/server/channelserver/handlers_quest.go index eb984f028..42868577c 100644 --- a/server/channelserver/handlers_quest.go +++ b/server/channelserver/handlers_quest.go @@ -144,15 +144,10 @@ func loadQuestFile(s *Session, quest_id string) []byte { file, err := os.ReadFile(filepath.Join(s.server.erupeConfig.BinPath, fmt.Sprintf("quests/%s.bin", quest_id))) if err != nil { - s.logger.Error(fmt.Sprintf("Failed to open file: %s/quests/%s.bin", s.server.erupeConfig.BinPath, quest_id)) return nil } - println(fmt.Sprintf("quests/%s.bin", quest_id)) decrypted := decryption.UnpackSimple(file) - os.WriteFile(fmt.Sprintf("%s.bin", quest_id), decrypted, 0644) - - println("Reading quest file " + quest_id) file_bytes := byteframe.NewByteFrameFromBytes(decrypted) file_bytes.SetLE()