Bipolar Bear
New member
- Messages
- 37
- Points
- 0
aossdk.dll is missing.
After i click the bat file, the window suddenly crashes.
After i click the bat file, the window suddenly crashes.
Last edited by a moderator:
sorry for the delay on getting back to you on this issue.except for the nomenclature, what is wrong? I've gone over the code you posted and I see no difference in functionalitywah Ind, your method is wrong![]()
//----------------------------------------// Function to send char slot counts//----------------------------------------int hc_accept_enter2(int fd, struct char_session_data* sd) WFIFOW(fd,0) = 0x82d; WFIFOW(fd,2) = 0x1d; // packet len 29 WFIFOB(fd,4) = sd->char_slots;; // Normal slots. WFIFOB(fd,5) = 0; // Premium slots. WFIFOB(fd,6) = 0; // Billing slots. WFIFOB(fd,7) = sd->char_slots; // Producible?? WFIFOB(fd,8) = sd->char_slots; // valid ?? memset(WFIFOP(fd,9), 0, 20); // trash bytes WFIFOSET(fd,29); return 0;}// Tell client how many pages, kRO sends 17void hc_charlist_notify( int fd, struct char_session_data* sd ){ WFIFOHEAD(fd, 6); WFIFOW(fd, 0) = 0x9a0; WFIFOL(fd, 2) = 1; // pages to req / send them all in 1 until mmo_chars_fromsql can split them up WFIFOSET(fd,6);}// HC_ACK_CHARINFO_PER_PAGEvoid hc_ack_charinfo_per_page( int fd, struct char_session_data* sd ){ int j = 4; WFIFOHEAD(fd, 6); WFIFOW(fd, 0) = 0x99d; j+=mmo_chars_fromsql(sd, WFIFOP(fd,j)); WFIFOW(fd,2) = j; // packet len WFIFOSET(fd,j);}
i did some captures on kRO several days ago, to verify the packet order, and it goes like so.
HC = cHarserver -> Client
CH = Client -> cHarserver
PACKET_HC_ACCEPT_ENTER2 = 0x82d // tell how many slots
PACKET_HC_CHARLIST_NOTIFY = 0x9a0 // tell client how many pages of chars
//client then sends one for each value you sent in 0x9a0
PACKET_CH_CHARLIST_REQ = 0x9a1
PACKET_HC_ACK_CHARINFO_PER_PAGE = 0x99d, // 3 chars
PACKET_CH_CHARLIST_REQ = 0x9a1
PACKET_HC_ACK_CHARINFO_PER_PAGE = 0x99d, // 3 chars
PACKET_CH_CHARLIST_REQ = 0x9a1
PACKET_HC_ACK_CHARINFO_PER_PAGE = 0x99d, // 3 chars
etc
.. but
you can skip this and just send
PACKET_HC_ACCEPT_ENTER2 = 0x28d
PACKET_HC_ACCEPT_ENTER = 0x6b
Find: 81 EC 08 08 00 00 A1 70 F0 99 00 33 C4 89 84 24 04 08 00 00 56 8B C1 57 8B BC 24 14 08 00 00 Replace: 81 EC 04 10 00 00 A1 70 F0 99 00 33 C4 89 84 24 00 10 00 00 56 8B C1 57 8B BC 24 10 10 00 00 Find: FF D2 8B 8C 24 0C 08 00 00 5F 5E 33 CC E8 75 46 0C 00 81 C4 08 08 00 00Replace: FF D2 8B 8C 24 08 10 00 00 5F 5E 33 CC E8 75 46 0C 00 81 C4 04 10 00 00
My updated V3.1 Ragexe@Judas & Shakto OK so about NPC Dialog Extend. Can someone test these? Looks like the Extend NPC Diff was incomplete. This should ( in theory )
change the buffer size to 4096 bytes
Find: 81 EC 08 08 00 00 A1 70 F0 99 00 33 C4 89 84 24 04 08 00 00 56 8B C1 57 8B BC 24 14 08 00 00
Replace: 81 EC 04 10 00 00 A1 70 F0 99 00 33 C4 89 84 24 00 10 00 00 56 8B C1 57 8B BC 24 10 10 00 00
Find: FF D2 8B 8C 24 0C 08 00 00 5F 5E 33 CC E8 75 46 0C 00 81 C4 08 08 00 00
Replace: FF D2 8B 8C 24 08 10 00 00 5F 5E 33 CC E8 75 46 0C 00 81 C4 04 10 00 00
Index: src/common/mmo.h===================================================================--- src/common/mmo.h (revision 11571)+++ src/common/mmo.h (working copy)@@ -47,7 +47,7 @@ // 20120307 - 2012-03-07aRagexeRE+ - 0x970 #ifndef PACKETVER- #define PACKETVER 20120418+ #define PACKETVER 20130320 #endif //Remove/Comment this line to disable sc_data saving. [Skotlex]
We use essential cookies to make this site work, and optional cookies to enhance your experience.