Commit Graph

23 Commits

Author SHA1 Message Date
CPunch 00fa94162c server: refactoring; start support for variadic packets 2023-03-10 23:59:13 -06:00
CPunch d60638d555 loginServer/peer: peer no longer uses panic/recover for error recovery 2023-03-10 20:30:16 -06:00
CPunch 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
CPunch 985890d351 protocol: packets operate on io.ReadWritter; now use a buffer pool to encode/decode packets 2023-03-10 19:56:05 -06:00
CPunch 5cc3f275c1 packet: refactoring; use go's binary package for encoding *most* things 2023-03-10 17:10:57 -06:00
CPunch 52f0c4b1c7 update module name to reflect repo 2023-03-10 01:02:28 -06:00
CPunch bf1e9d1350 updated README 2023-03-10 00:58:29 -06:00
CPunch 5c7b9bf9fb login: implement CHAR_DELETE && SAVE_CHAR_TUTOR
- inventory is now properly grabbed from db
2023-03-10 00:41:21 -06:00
CPunch 8c52df6554 server: Client -> Peer 2023-03-09 16:42:13 -06:00
CPunch 294e83d533 db/account: match the DB usage of others 2023-03-09 15:37:41 -06:00
CPunch 6df016b421 login: validate characters 2023-03-09 14:41:38 -06:00
CPunch 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
CPunch 1fff485f93 refactoring; moved client to protocol package 2023-03-07 17:04:57 -06:00
CPunch b639346605 server: split LoginServer, new Server interface 2023-03-07 14:47:49 -06:00
CPunch 468e426a82 structs: make sure *all* fields are exported 2023-03-07 14:23:53 -06:00
CPunch 4d0bd4b1c1 absolute minimal login server 2023-03-07 02:06:40 -06:00
CPunch 8f3f31d354 server: implement REP_LOGIN key exchange 2023-03-07 01:20:36 -06:00
CPunch 57e681742e protocol: add structures dumped from beta-20100104 2023-03-06 23:37:01 -06:00
CPunch d3d92c404b misc. refactoring 2023-03-06 18:39:41 -06:00
CPunch 7b60d679e4 recover client panic 2023-03-05 02:32:11 -06:00
CPunch 115005b6a3 can now respond to packets 2023-03-05 02:14:36 -06:00
CPunch 34ce9a7420 misc. cleanup 2023-03-04 22:08:09 -06:00
CPunch 24359e9398 inital commit: we can read login packets! 2023-03-04 21:57:27 -06:00