Page 1 of 1

Random...

Posted: Thu Nov 06, 2008 8:26 pm
by Red Squirrel
Log data from ServerWeave in full debug mode.

This is basically a login lol



[date]    (1) Starting the program...
[date]    (2) Checking for config file...
[date]    (1) Config file found. Initializing...
[date]    (2) Using module: apache
[date]    (2) Using module: bind
[date]    (2) Loading Core...
[date]    (2) Successfully connected to DB (srv: localhost usr: root )
[date]    (2) Selecting DB serverweave
[date]    (3) Loading modules [2]...
[date]    (3) Modload: apache
[date]    (3) Performing SQL query: SELECT * FROM generalsettings WHERE gmodule='apache';
[date]    (3) Modload: bind
[date]    (3) Performing SQL query: SELECT * FROM generalsettings WHERE gmodule='bind';
[date]    (3) Module load completed
[date]    (3) Starting network...
[date]    (1) Listening on port 10000
[date]    (3) Network started
[date]    (1) core fully loaded, now in main program loop.
[date]    (2) Connected TCP client: 127.0.0.1:48516
[date]    (4) 127.0.0.1:48516: Recieved packet with ID 0x1
[date]    (4) 127.0.0.1:48516 Authkey packet handler: init
[date]    (5) 127.0.0.1:48516 Authkey packet handler: Read 64-byte string: 0x8F 0xAA 0x50 0xA9 0x7B 0xC2 0x7E 0xCE 0xA7 0xFB 0xAA 0x61 0x56 0x3E 0x2F 0xD8 0x30 0x54 0x13 0x95 0x3B 0x58 0x78 0xD6 0xA6 0x29 0x97 0x29 0xF3 0x6A 0xB6 0x82 0x14 0x6 0x2B 0x8F 0xC9 0xAA 0x5D 0x70 0xA5 0x7 0xD1 0xFB 0x46 0x0 0xD4 0x76 0x54 0xE7 0xB 0x8F 0x3F 0x84 0x65 0xE5 0xAD 0xFD 0xF 0xA0 0x67 0xC5 0x23 0x7B
[date]    (3) 127.0.0.1:48516: Checking given auth key
[date]    (4) Server Message packet: creating
[date]    (5) Server Message packet: Write 8-bit int: 128
[date]    (5) Server Message packet: Write 8-bit int: 1
[date]    (5) Server Message packet: Write 32-bit int: 2
[date]    (4) Server Message packet: Sending to 127.0.0.1:48516
[date]    (5) Server Message packet: Packet Size: 6 bytes - Contents: 0x80 0x01 0x00 0x00 0x00 0x02
[date]    (4) Server Message packet: destroying
[date]    (3) 127.0.0.1:48516: Authkey invalid
[date]    (4) 127.0.0.1:48516 Authkey packet handler: destroy
[date]    (2) Disconnected TCP Client: 127.0.0.1:48516
[date]    (2) Connected TCP client: 127.0.0.1:48517
[date]    (4) 127.0.0.1:48517: Recieved packet with ID 0x0
[date]    (4) 127.0.0.1:48517 Logon packet handler: init
[date]    (5) 127.0.0.1:48517 Logon packet handler: Read 8-bit int: 5
[date]    (5) 127.0.0.1:48517 Logon packet handler: Read 5-byte string: 0x61 0x64 0x6D 0x69 0x6E
[date]    (5) 127.0.0.1:48517 Logon packet handler: Read 8-bit int: 4
[date]    (5) 127.0.0.1:48517 Logon packet handler: Read 4-byte string: 0x74 0x65 0x73 0x74
[date]    (3) Performing SQL query: SELECT * FROM users WHERE uname='admin' AND upass='test' LIMIT 1;
[date]    (1) Logon from admin Accepted
[date]    (4) NS1: New AuthSession - key: 0xE9EED79D 0xBF20A02A 0x4171927D 0xED96E372 0x6FB262BE 0x0DC91382 0x4969555B 0x4D750737 0x63DED423 0xFE744D3F 0xE6E0BDD3 0x76A045E5 0x52A7A360 0x70B7E2B9 0x2038156D 0xAD1CA411
[date]    (4) Server Message packet: creating
[date]    (5) Server Message packet: Write 8-bit int: 128
[date]    (5) Server Message packet: Write 8-bit int: 0
[date]    (5) Server Message packet: Write 32-bit int: 1
[date]    (4) Server Message packet: Sending to 127.0.0.1:48517
[date]    (5) Server Message packet: Packet Size: 6 bytes - Contents: 0x80 0x00 0x00 0x00 0x00 0x01
[date]    (4) Server Message packet: destroying
[date]    (4) New Authkey packet: creating
[date]    (5) New Authkey packet: Write 8-bit int: 129
[date]    (5) New Authkey packet: Write 64-byte string: 0xE9 0xEE 0xD7 0x9D 0xBF 0x20 0xA0 0x2A 0x41 0x71 0x92 0x7D 0xED 0x96 0xE3 0x72 0x6F 0xB2 0x62 0xBE 0xD 0xC9 0x13 0x82 0x49 0x69 0x55 0x5B 0x4D 0x75 0x7 0x37 0x63 0xDE 0xD4 0x23 0xFE 0x74 0x4D 0x3F 0xE6 0xE0 0xBD 0xD3 0x76 0xA0 0x45 0xE5 0x52 0xA7 0xA3 0x60 0x70 0xB7 0xE2 0xB9 0x20 0x38 0x15 0x6D 0xAD 0x1C 0xA4 0x11
[date]    (4) New Authkey packet: Sending to 127.0.0.1:48517
[date]    (5) New Authkey packet: Packet Size: 65 bytes - Contents: 0x81 0xE9 0xEE 0xD7 0x9D 0xBF 0x20 0xA0 0x2A 0x41 0x71 0x92 0x7D 0xED 0x96 0xE3 0x72 0x6F 0xB2 0x62 0xBE 0x0D 0xC9 0x13 0x82 0x49 0x69 0x55 0x5B 0x4D 0x75 0x07 0x37 0x63 0xDE 0xD4 0x23 0xFE 0x74 0x4D 0x3F 0xE6 0xE0 0xBD 0xD3 0x76 0xA0 0x45 0xE5 0x52 0xA7 0xA3 0x60 0x70 0xB7 0xE2 0xB9 0x20 0x38 0x15 0x6D 0xAD 0x1C 0xA4 0x11
[date]    (4) New Authkey packet: destroying
[date]    (4) 127.0.0.1:48517 Logon packet handler: destroy
[date]    (4) NS1 -> 127.0.0.1:48517: Recieved packet with ID 0x3
[date]    (4) 127.0.0.1:48517 Client Request packet handler: init
[date]    (5) 127.0.0.1:48517 Client Request packet handler: Read 16-bit int: 0
[date]    (4) Server Message packet: creating
[date]    (5) Server Message packet: Write 8-bit int: 128
[date]    (5) Server Message packet: Write 8-bit int: 0
[date]    (5) Server Message packet: Write 32-bit int: 5
[date]    (4) Server Message packet: Sending to 127.0.0.1:48517
[date]    (5) Server Message packet: Packet Size: 6 bytes - Contents: 0x80 0x00 0x00 0x00 0x00 0x05
[date]    (4) Server Message packet: destroying
[date]    (4) Module List packet: creating
[date]    (5) Module List packet: Write 8-bit int: 130
[date]    (5) Module List packet: Write 16-bit int: 2
[date]    (5) Module List packet: Write 8-bit int: 6
[date]    (5) Module List packet: Write 6-byte string: 0x61 0x70 0x61 0x63 0x68 0x65
[date]    (5) Module List packet: Write 8-bit int: 18
[date]    (5) Module List packet: Write 18-byte string: 0x41 0x70 0x61 0x63 0x68 0x65 0x20 0x48 0x54 0x54 0x50 0x20 0x73 0x65 0x72 0x76 0x65 0x72
[date]    (5) Module List packet: Write 8-bit int: 4
[date]    (5) Module List packet: Write 4-byte string: 0x62 0x69 0x6E 0x64
[date]    (5) Module List packet: Write 8-bit int: 15
[date]    (5) Module List packet: Write 15-byte string: 0x42 0x69 0x6E 0x64 0x20 0x44 0x4E 0x53 0x20 0x53 0x65 0x72 0x76 0x65 0x72
[date]    (4) Module List packet: Sending to 127.0.0.1:48517
[date]    (5) Module List packet: Packet Size: 50 bytes - Contents: 0x82 0x00 0x02 0x06 0x61 0x70 0x61 0x63 0x68 0x65 0x12 0x41 0x70 0x61 0x63 0x68 0x65 0x20 0x48 0x54 0x54 0x50 0x20 0x73 0x65 0x72 0x76 0x65 0x72 0x04 0x62 0x69 0x6E 0x64 0xF 0x42 0x69 0x6E 0x64 0x20 0x44 0x4E 0x53 0x20 0x53 0x65 0x72 0x76 0x65 0x72
[date]    (4) Module List packet: destroying
[date]    (4) 127.0.0.1:48517 Client Request packet handler: destroy
[date]    (2) Disconnected TCP Client: 127.0.0.1:48517

I did not write the date/time class yet though. :P


I will continue to post random bits of progress once and a while.

http://www.serverweave.com

Image


Archived topic from Iceteks, old topic ID:5078, old post ID:38987

Random...

Posted: Wed Nov 12, 2008 9:32 pm
by Red Squirrel
More random stuff.

I made a very basic template for now. Heck, I might keep it. :P That logo will more then likely be redone though, that was a 5 minute photoshop job. :P


Keep in mind that this client communicates right with the SW back end server, so there's more to it then just looks, it's all packets and such. For example the word title is actually sent by the server when sending the header for that table.

More stuff will be added soon such as various TDCs (Table Data Cell). The whole system will pretty much work on the basis of tables as far as displaying information. I'm debating on making it rely on pure ajax or use submit forms. Pure ajax would be cool, but would require javascript so you can't use like say, a PDA to manage the server.

Image


Archived topic from Iceteks, old topic ID:5078, old post ID:38997