Commit Graph

12 Commits

Author SHA1 Message Date
850dd59967 protocol/packet: accept structs by value for encoding
- server/loginServer: no longer sending packets by pointer, except in cases like AcceptLogin(), which operates on a sent structure slice. since these are already allocated, no need to copy them
2023-03-11 00:24:20 -06:00
00fa94162c server: refactoring; start support for variadic packets 2023-03-10 23:59:13 -06:00
d60638d555 loginServer/peer: peer no longer uses panic/recover for error recovery 2023-03-10 20:30:16 -06:00
f1552830a0 protocol/packet: switch away from allocation
- Packet struct is small enough that allocation for it is really unnecessary, and can be passed around by value fairly easily
2023-03-10 20:00:06 -06:00
5cc3f275c1 packet: refactoring; use go's binary package for encoding *most* things 2023-03-10 17:10:57 -06:00
52f0c4b1c7 update module name to reflect repo 2023-03-10 01:02:28 -06:00
bf1e9d1350 updated README 2023-03-10 00:58:29 -06:00
5c7b9bf9fb login: implement CHAR_DELETE && SAVE_CHAR_TUTOR
- inventory is now properly grabbed from db
2023-03-10 00:41:21 -06:00
8c52df6554 server: Client -> Peer 2023-03-09 16:42:13 -06:00
294e83d533 db/account: match the DB usage of others 2023-03-09 15:37:41 -06:00
6df016b421 login: validate characters 2023-03-09 14:41:38 -06:00
8569225ec7 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
2023-03-09 01:48:13 -06:00