857250bf33
protocol/packet: don't panic, return errors
2023-03-10 20:07:48 -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
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
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
4c7696dc92
genstructs.py now also scrapes constant definitions
2023-03-07 16:28:34 -06:00
07dae43072
no more manual shuffling of structs!! script works off of raw ilspycmd output
2023-03-07 15:53:12 -06:00
3f4ce93f9f
genstructs.py: include go source header
2023-03-07 15:08:48 -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
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