mirror of
https://github.com/CPunch/gopenfusion.git
synced 2025-10-15 05:30:10 +00:00
major refactoring; started DB
- DB work has started in db. this will be a direct port of the OpenFusion DB format. - LoginServer is now less of a dummy. You can create and login to accounts, and create a character to go through the tutorial with. - config.go will host some commonly changed variables. - protocol: fixed a bug relating to arrays being ignored while encoding packets
This commit is contained in:
8
main.go
8
main.go
@@ -1,8 +1,14 @@
|
||||
package main
|
||||
|
||||
import "github.com/CPunch/GopenFusion/server"
|
||||
import (
|
||||
"github.com/CPunch/GopenFusion/db"
|
||||
"github.com/CPunch/GopenFusion/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
db.DefaultDB, _ = db.OpenLiteDB("test.db")
|
||||
db.DefaultDB.Setup()
|
||||
|
||||
server := server.NewLoginServer()
|
||||
server.Start()
|
||||
}
|
||||
|
Reference in New Issue
Block a user