CPI (Console Packet Injection) Bugs
Moderators: Community Managers, Developers
- John Adams
- Retired
- Posts: 4581
- Joined: Wed Aug 28, 2013 9:40 am
- Location: Phoenix, AZ.
- Contact:
CPI (Console Packet Injection) Bugs
I cannot get anything to appear in the client by pushing packets from the console. Posting this only because we're at a point where this could really be helpful in diagnosing packets. Here's my initial bug list:
cploadfile 0 test.txt works. But if I change the test.txt packet and reload into index 0, world crashes.
cpsend {index} sends the packet to the client (Xinux confirms) but no display - I suspect it's our hacked method of entering the world, maybe the UI is not listening.
cpsend all, with only one index loaded, crashes world
Feature Requests:
cpclear to clear all loaded data so we can start again without restarting world
setip {index} per my post in World Foundation - change "clients" command to list indexed clients, and setip to that index (vs manually typing IP and Port)
More to come...
cploadfile 0 test.txt works. But if I change the test.txt packet and reload into index 0, world crashes.
cpsend {index} sends the packet to the client (Xinux confirms) but no display - I suspect it's our hacked method of entering the world, maybe the UI is not listening.
cpsend all, with only one index loaded, crashes world
Feature Requests:
cpclear to clear all loaded data so we can start again without restarting world
setip {index} per my post in World Foundation - change "clients" command to list indexed clients, and setip to that index (vs manually typing IP and Port)
More to come...
- John Adams
- Retired
- Posts: 4581
- Joined: Wed Aug 28, 2013 9:40 am
- Location: Phoenix, AZ.
- Contact:
Re: CPI (Console Packet Injection) Bugs
Xinux got it to work after all... it's a world command vs zone command issue.
[quote][15:09] <@Xinux> the command is coming from the world server not the zone server so the client does not know how to handle the opcode
[15:09] <@Xinux> i used a command from the world server and it worked
[15:09] <@Xinux> i added the chat channel help
[15:09] <~john> that makes sense.
[15:10] <@Xinux> to th chat channel list
[15:10] <@Xinux> you have to use 3 packets for it and cpsend all crashes so i had to do them one at a time[/quote]
[quote][15:09] <@Xinux> the command is coming from the world server not the zone server so the client does not know how to handle the opcode
[15:09] <@Xinux> i used a command from the world server and it worked
[15:09] <@Xinux> i added the chat channel help
[15:09] <~john> that makes sense.
[15:10] <@Xinux> to th chat channel list
[15:10] <@Xinux> you have to use 3 packets for it and cpsend all crashes so i had to do them one at a time[/quote]
Re: CPI (Console Packet Injection) Bugs
Need to be able to select which server we are sending the packet from ie.... world or chunk
Re: CPI (Console Packet Injection) Bugs
13:25] <@Xinux_Work> ok using cpsend
[13:26] <@Xinux_Work> original packet
[13:26] <@Xinux_Work> 0000: 00 09 00 00 02 00 92 01 00 00 4A 00 00 00 2D 00 ...<......J...-.
[13:26] <@Xinux_Work> 0010: 2D 00 3D 00 3D 00 20 00 56 00 61 00 6E 00 67 00 -.=.=. .V.a.n.g.
[13:26] <@Xinux_Work> 0020: 75 00 61 00 72 00 64 00 3A 00 20 00 53 00 61 00 u.a.r.d.:. .S.a.
[13:26] <@Xinux_Work> 0030: 67 00 61 00 20 00 6F 00 66 00 20 00 48 00 65 00 g.a. .o.f. .H.e.
[13:26] <@Xinux_Work> 0040: 72 00 6F 00 65 00 73 00 20 00 3D 00 3D 00 2D 00 r.o.e.s. .=.=.-.
[13:26] <@Xinux_Work> 0050: 2D 00 00 00 02 00 00 00 -.......
[13:26] <@Xinux_Work> .
[13:26] <@Xinux_Work> .
[13:26] <@Xinux_Work> when i get rid of the 00 09 00 00
[13:26] <@Xinux_Work> 0000: 00 00 2D 00 2D 00 3D 00 3D 00 20 00 56 00 61 00 ..-.-.=.=. .V.a.
[13:26] <@Xinux_Work> 0010: 6E 00 67 00 75 00 61 00 72 00 64 00 3A 00 20 00 n.g.u.a.r.d.:. .
[13:26] <@Xinux_Work> 0020: 53 00 61 00 67 00 61 00 20 00 6F 00 66 00 20 00 S.a.g.a. .o.f. .
[13:26] <@Xinux_Work> 0030: 48 00 65 00 72 00 6F 00 65 00 73 00 20 00 3D 00 H.e.r.o.e.s. .=.
[13:26] <@Xinux_Work> 0040: 3D 00 2D 00 2D 00 00 00 02 00 00 00 00 00 00 00 =.-.-...........
[13:26] <@Xinux_Work> 0050: 00 00 00 00 ....
[13:26] <@Xinux_Work> original packet
[13:26] <@Xinux_Work> 0000: 00 09 00 00 02 00 92 01 00 00 4A 00 00 00 2D 00 ...<......J...-.
[13:26] <@Xinux_Work> 0010: 2D 00 3D 00 3D 00 20 00 56 00 61 00 6E 00 67 00 -.=.=. .V.a.n.g.
[13:26] <@Xinux_Work> 0020: 75 00 61 00 72 00 64 00 3A 00 20 00 53 00 61 00 u.a.r.d.:. .S.a.
[13:26] <@Xinux_Work> 0030: 67 00 61 00 20 00 6F 00 66 00 20 00 48 00 65 00 g.a. .o.f. .H.e.
[13:26] <@Xinux_Work> 0040: 72 00 6F 00 65 00 73 00 20 00 3D 00 3D 00 2D 00 r.o.e.s. .=.=.-.
[13:26] <@Xinux_Work> 0050: 2D 00 00 00 02 00 00 00 -.......
[13:26] <@Xinux_Work> .
[13:26] <@Xinux_Work> .
[13:26] <@Xinux_Work> when i get rid of the 00 09 00 00
[13:26] <@Xinux_Work> 0000: 00 00 2D 00 2D 00 3D 00 3D 00 20 00 56 00 61 00 ..-.-.=.=. .V.a.
[13:26] <@Xinux_Work> 0010: 6E 00 67 00 75 00 61 00 72 00 64 00 3A 00 20 00 n.g.u.a.r.d.:. .
[13:26] <@Xinux_Work> 0020: 53 00 61 00 67 00 61 00 20 00 6F 00 66 00 20 00 S.a.g.a. .o.f. .
[13:26] <@Xinux_Work> 0030: 48 00 65 00 72 00 6F 00 65 00 73 00 20 00 3D 00 H.e.r.o.e.s. .=.
[13:26] <@Xinux_Work> 0040: 3D 00 2D 00 2D 00 00 00 02 00 00 00 00 00 00 00 =.-.-...........
[13:26] <@Xinux_Work> 0050: 00 00 00 00 ....