Commit Graph

23 Commits

Author SHA1 Message Date
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
985890d351 protocol: packets operate on io.ReadWritter; now use a buffer pool to encode/decode packets 2023-03-10 19:56:05 -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
1fff485f93 refactoring; moved client to protocol package 2023-03-07 17:04:57 -06:00
b639346605 server: split LoginServer, new Server interface 2023-03-07 14:47:49 -06:00
468e426a82 structs: make sure *all* fields are exported 2023-03-07 14:23:53 -06:00
4d0bd4b1c1 absolute minimal login server 2023-03-07 02:06:40 -06:00
8f3f31d354 server: implement REP_LOGIN key exchange 2023-03-07 01:20:36 -06:00
57e681742e protocol: add structures dumped from beta-20100104 2023-03-06 23:37:01 -06:00
d3d92c404b misc. refactoring 2023-03-06 18:39:41 -06:00
7b60d679e4 recover client panic 2023-03-05 02:32:11 -06:00
115005b6a3 can now respond to packets 2023-03-05 02:14:36 -06:00
34ce9a7420 misc. cleanup 2023-03-04 22:08:09 -06:00
24359e9398 inital commit: we can read login packets! 2023-03-04 21:57:27 -06:00