Alistair Riddoch
dd79c5c870
Stop checking when dispatcher is found
...
It is not safe to keep iterating after calling a dispatch method, as many
dispatch methods affect the context map.
2012-07-28 18:08:37 +01:00
Alistair Riddoch
ab89fc13c1
Be more rebust against server failure
2012-07-27 10:07:20 +01:00
Alistair Riddoch
9b32e3179a
Remove exit flag in favor of basing exit on select
2012-07-27 10:04:57 +01:00
Alistair Riddoch
b31d38e3a5
Use cleaNDisconnect on use eof
2012-07-27 09:59:56 +01:00
Alistair Riddoch
2dd47fbda3
Remove state tracking for avatar creation
2012-06-12 23:46:24 -07:00
Alistair Riddoch
f6f44cfee8
Migrate loader to use context
2012-06-12 11:27:13 -07:00
Alistair Riddoch
67ee5e5bf7
Refactor Flusher to use context
2012-06-11 14:07:07 -07:00
Alistair Riddoch
3d7c511d2b
Set serialno on looks for response tracking
2012-06-09 18:40:00 -07:00
Alistair Riddoch
825f8e9f12
Remove special case avatar commands
2012-06-09 18:34:06 -07:00
Alistair Riddoch
89cee88cde
Move account sight into context
2012-06-09 18:09:38 -07:00
Alistair Riddoch
fae6de3fa6
Match on serialno instead
2012-06-09 18:06:03 -07:00
Alistair Riddoch
6ce3b1ac36
Move in-game sight reporting to the avatar context
2012-06-09 18:03:35 -07:00
Alistair Riddoch
d2f2ec1906
Add a common function for outputing arguments
2012-06-09 15:51:58 -07:00
Alistair Riddoch
883f8dd6c4
Creating avatar context now handled by account
2012-06-09 12:30:29 -07:00
Alistair Riddoch
536633d42e
Remove obsolete juncture handling code
...
This is now handled by the account context
2012-06-09 12:21:44 -07:00
Alistair Riddoch
815c8c38cf
Convert some commands over to using context
2012-06-09 12:16:22 -07:00
Alistair Riddoch
9a41ddafb6
Remove unused Juncture id member
2012-06-08 14:14:55 -07:00
Alistair Riddoch
61ac24008a
Re-work connect command to use contexts
2012-06-07 15:46:03 -07:00
Alistair Riddoch
e6a8b87654
Actually fix Account context handling juncture creation
2012-06-07 11:53:42 -07:00
Alistair Riddoch
0c6e10fe34
Have Account context handle juncture creation
2012-06-07 10:44:26 -07:00
Alistair Riddoch
bad6c4475b
Give contexts something to work with
2012-06-07 07:46:29 -07:00
Alistair Riddoch
87d7d3b8b9
Make context more involved in creation
2012-06-06 19:39:18 -07:00
Alistair Riddoch
52ca93ff5c
Make look work in all contexts
2012-06-06 16:45:21 -07:00
Alistair Riddoch
b22e510a54
Ensure reply is expected correctly from login
2012-06-06 16:45:02 -07:00
Alistair Riddoch
b91ef4d6c9
Ensure a valid context pointer is always available
2012-06-06 15:48:05 -07:00
Alistair Riddoch
5264378747
Start tracking more in contexts
2012-06-06 15:30:41 -07:00
Alistair Riddoch
8115fb1416
Remove obsolete commented out code
2012-06-06 13:53:00 -07:00
Alistair Riddoch
4171fedbaf
Use context to simplify login logic
2012-06-06 13:48:14 -07:00
Alistair Riddoch
219a3f2642
Add a way for contexts to route sent ops
2012-06-06 21:39:25 +01:00
Alistair Riddoch
8c3d8dcece
Add Connection context and Account context
2012-06-06 19:01:43 +01:00
Alistair Riddoch
edf33f1a48
Fix logic for re-displaying updated prompt
2012-06-06 09:30:47 +01:00
Alistair Riddoch
77ebc0521c
Implement switching current context
...
Includes changes to update the prompt, and refresh, but currently
screws the terminal handling.
2012-06-06 08:50:20 +01:00
Alistair Riddoch
688a7ad3af
Make account the current context on login
2012-06-04 03:13:47 +01:00
Alistair Riddoch
6dc859dbb5
Switch context to being a set and add current
2012-05-31 21:22:17 +01:00
Alistair Riddoch
1b589f9ea2
Add context for p2p juncture
2012-05-31 21:03:52 +01:00
Alistair Riddoch
83141a5490
Fix members to have indicative prefix
2012-05-31 15:25:54 +01:00
Alistair Riddoch
d589edb69d
Clean up some includes
2012-05-31 00:52:59 +01:00
Alistair Riddoch
18f84a6283
MOve context code to its own files
2012-05-31 00:50:52 +01:00
Alistair Riddoch
a3a099fa6f
Add command flags
2012-05-30 23:27:36 +01:00
Alistair Riddoch
fe87dc3961
Add more basics for more structured commands
2012-05-30 23:21:25 +01:00
Alistair Riddoch
bef4134f0e
Start migrating to a method based command system
2012-05-30 23:06:58 +01:00
Alistair Riddoch
aec9699d95
Move the context stuff completely out of the base
...
This stuff is going to be way more useful if it has a bunch of cycmd
specific functionality, so putting it in the base is a bad idea
and overcomplicates it
2012-05-30 10:06:34 +01:00
Alistair Riddoch
a0bbaadbdf
Move context processing out of the base class
2012-05-30 09:56:30 +01:00
Alistair Riddoch
6ce391cd73
Move account context creation out of base
...
Want to keep this base class a bit cleaner
2012-05-30 09:49:15 +01:00
Alistair Riddoch
e34b078ca4
Add a hotkey for switching client context
2012-05-23 22:32:05 +01:00
Alistair Riddoch
2546ede5b0
Send a serialno on juncture login
...
This ensure that the reply propagates back
2012-05-22 00:47:26 +01:00
Alistair Riddoch
d930244339
Add control of spacing for output
2012-01-11 19:03:56 +00:00
Alistair Riddoch
717c8cb263
Use the correct typedef
2011-10-31 23:33:16 +00:00
Alistair Riddoch
46a7e66d7f
Use SystemTime class. Simplifies code
2011-10-31 19:52:12 +00:00
Alistair Riddoch
8cf548a5d6
Add client commands to create and interact with Juncture objects
2010-12-06 22:27:07 +00:00