fuzziqersoftware / newserv

Phantasy Star Online game server, proxy, and reverse-engineering tools
MIT License
161 stars 36 forks source link

[Episode 3] Unable to use Download Quests after 30 entries #140

Closed Matt-Swift closed 11 months ago

Matt-Swift commented 11 months ago

I am suspecting this is a client limitation rather than newserv, as newserv appears to be sending the quest list fine, and there's only so much space for the quest list.

image

Here's some quick logs if they are relevant at all.

<30, quest is sent correctly.

I 396405 2023-10-08 15:23:06 - [Commands] Received from C-1 (Matt) (version=GC command=10 flag=00)
0000 | 10 00 0C 00 55 00 00 55 62 00 00 00             |     U  Ub       
I 396405 2023-10-08 15:23:06 - [Commands] Sending to C-1 (Matt) (version=GC command=A6 flag=00)
0000 | A6 00 3C 00 50 53 4F 2F 56 73 2E 20 50 6F 6C 6C |   < PSO/Vs. Poll
0010 | 75 78 20 32 76 31 00 00 00 00 00 00 00 00 00 00 | ux 2v1          
0020 | 00 00 00 00 00 00 03 00 6D 30 30 30 39 35 36 70 |         m000956p
0030 | 5F 65 2E 62 69 6E 00 00 A9 03 00 00             | _e.bin          
I 396405 2023-10-08 15:23:06 - [C-1] Opened file m000956p_e.bin          
I 396405 2023-10-08 15:23:06 - [Commands] Received from C-1 (Matt) (version=GC command=A6 flag=00)
0000 | A6 00 14 00 6D 30 30 30 39 35 36 70 5F 65 2E 62 |     m000956p_e.b
0010 | 69 6E 00 00                                     | in              
I 396405 2023-10-08 15:23:06 - [Commands] Sending to C-1 (Matt) (version=GC command=A7 flag=00)
0000 | A7 00 18 04 6D 30 30 30 39 35 36 70 5F 65 2E 62 |     m000956p_e.b
0010 | 69 6E 00 00 87 00 00 01 FD 00 3F 03 BC 07 07 0C | in        ?     
0020 | 0A FA F7 F8 FF 0D 01 03 02 04 A2 80 FF 0C FF 80 |                 
0030 | FF 0F 7A 78 FF 10 80 FF 0B 06 08 07 3D 80 FF 0C |   zx        =   
0040 | F8 FF 9D 42 43 44 FE FD C8 C7 C6 C6 C7 C8 AA 10 |    BCD          
0050 | FF 11 28 F9 0E 80 FF 20 F8 FF EF AA 00 F7 EF 80 |   (             
0060 | EF F0 88 F9 0F 80 FF 3F AA 80 F0 DE 80 EF CE A8 |        ?        
0070 | D0 1F A0 CF 10 AA 08 D8 F1 F8 F6 21 F0 F8 BE 80 |            !    
0080 | FF 1F AA F8 E7 DB 10 F9 30 80 FF 1F 00 E0 DF AA |         0       
0090 | 00 E8 CF 00 B0 FF 00 B0 FF 80 9F FF AA 00 B0 FF |                 
00A0 | 00 B0 FF 00 B0 FF 00 B0 FF EA 00 B0 FF 00 B0 FF |                 

35 quests, picking a quest that definitely loads.

I 396451 2023-10-08 15:25:41 - [Commands] Received from C-2 (Matt) (version=GC command=10 flag=00)
0000 | 10 00 0C 00 55 00 00 55 50 00 00 00             |     U  UP       
I 396451 2023-10-08 15:25:41 - [Commands] Sending to C-2 (Matt) (version=GC command=A6 flag=00)
0000 | A6 00 3C 00 50 53 4F 2F 46 61 6D 69 74 73 75 20 |   < PSO/Famitsu 
0010 | 43 75 70 00 00 00 00 00 00 00 00 00 00 00 00 00 | Cup             
0020 | 00 00 00 00 00 00 03 00 6D 30 30 30 39 30 31 70 |         m000901p
0030 | 5F 65 2E 62 69 6E 00 00 37 09 00 00             | _e.bin  7       
I 396451 2023-10-08 15:25:41 - [C-2] Opened file m000901p_e.bin
I 396451 2023-10-08 15:25:41 - [Server] Client disconnected: C-2 on fd 38
I 396451 2023-10-08 15:25:41 - [C-2] Deleted

35 quests, picking one of the junk items for fun.

I 396451 2023-10-08 15:24:30 - [Commands] Received from C-1 (Matt) (version=GC command=10 flag=00)
0000 | 10 00 0C 00 00 00 04 00 08 31 59 80             |          1Y     
I 396451 2023-10-08 15:24:30 - [Commands] Sending to C-1 (Matt) (version=GC command=D5 flag=00)
0000 | D5 00 18 00 49 6E 63 6F 72 72 65 63 74 20 6D 65 |     Incorrect me
0010 | 6E 75 20 49 44 00 00 00                         | nu ID     
fuzziqersoftware commented 11 months ago

This can't be fixed without a client patch, but I've added support for Episode 3 download quest categories, so now it's possible to host up to 900 download quests.

Matt-Swift commented 11 months ago

Yep, this is all good now, I'll make sure to hit the 900 quest limit soon enough though!