GunBound Buddy Packet Identifiers

Joined
Aug 3, 2009
Messages
174
Reaction score
188
Hi everyone,

after spending some time reverse engineering the GunBound Buddy Server, I’ve decided to share some of the discoveries I’ve made.

Below is a list of packets used by the Buddy Server.

Packet Identifiers:​

0x1000: SVC_LOGIN - Auth Token request
0x1001: SVC_LOGIN - Auth Token response
0x1010: SVC_LOGIN - Processes the player login (Sends player data and their friend list).
0x2000: SVC_SAVE_PACKET - Saves a message to send to a player who is currently offline.
0x2011: SVC_DELETE_PACKET - Deletes one of the saved messages.
0x2020: SVC_TUNNEL_PACKET - "Tunnel" packet. Used as a fallback for UDP packets (response 0x2021 sent to the recipient).
0x2030: UNKNOWN COMMAND - Response 0x2031
0x3000: SVC_ADD_BUDDY - Request to add a buddy (response 0x3001).
0x3002: SVC_REMOVE_BUDDY - Request to remove a buddy (response 0x3003).
0x3004: SVC_GROUP_BUDDY - Likely moves a buddy to a specific group in the buddy list (response 0x3005).
0x3006: SVC_RENAME_GROUP - Renames a buddy group (response 0x3007).
0x3010: SVC_USER_STATE - Updates or requests the user's status (online, playing, etc.).
0x3FFF: SVC_USER_SYNC - Synchronizes the friend's status (online, playing, etc.).
0x4000: SVC_SEARCH - Searches for a player (response 0x4001).

While analyzing the Buddy Server, I noticed some features that were never actually implemented, as I motioned the buddy group functionality.

This could be particularly useful for anyone interested in developing an emulator for the Buddy system.

I hope this information helps anyone working on GunBound related projects or reverse engineering endeavors. Feel free to ask if you have any questions, or create a new topic in the Help Area.
 
Last edited:
Hi everyone,

after spending some time reverse engineering the GunBound Buddy Server, I’ve decided to share some of the discoveries I’ve made.

Below is a list of packets used by the Buddy Server.

Packet Identifiers:​

0x1000: SVC_LOGIN - Auth Token request
0x1001: SVC_LOGIN - Auth Token response
0x1010: SVC_LOGIN - Processes the player login (Sends player data and their friend list).
0x2000: SVC_SAVE_PACKET - Saves a message to send to a player who is currently offline.
0x2011: SVC_DELETE_PACKET - Deletes one of the saved messages.
0x2020: SVC_TUNNEL_PACKET - "Tunnel" packet. Used as a fallback for UDP packets (response 0x2021 sent to the recipient).
0x2030: UNKNOWN COMMAND - Response 0x2031
0x3000: SVC_ADD_BUDDY - Request to add a buddy.
0x3002: SVC_REMOVE_BUDDY - Request to remove a buddy (response 0x3003).
0x3004: SVC_GROUP_BUDDY - Likely moves a buddy to a specific group in the buddy list (response 0x3003).
0x3006: SVC_RENAME_GROUP - Renames a buddy group (response 0x3007).
0x3010: SVC_USER_STATE - Updates or requests the user's status (online, playing, etc.).
0x3FFF: SVC_USER_SYNC - Synchronizes the friend's status (online, playing, etc.).
0x4000: SVC_SEARCH - Searches for a player (response 0x4001).

I realized that Buddy has some feature that never was implemented, like buddy group.
While analyzing the Buddy Server, I noticed some features that were never actually implemented, such as the buddy group functionality.

This could be particularly useful for anyone interested in developing an emulator for the Buddy system.

I hope this information helps anyone working on GunBound related projects or reverse engineering endeavors. Feel free to ask if you have any questions, or create a new topic in the Help Area.
kyler i try to run yours and its working the server the java but where is the client of this server?
1758560631256 - GunBound Buddy Packet Identifiers - RaGEZONE Forums
 
Kyller, do you have a buddy set up? I tried to build a buddy but I think the error was the login token, could you provide a way to decrypt the login?
RECV>> [SS=00CEFA38 SQ=8D4F CD=1010] 86 21 05 77 56 83 17 8C BC 59 95 25 8C 4F 76 E0 1A 14 70 8E D2 F6 68 92 24 74 8F 41 65 F3 E1 22 8A 89 87 0C CD 19 7C 02 FD ED 22 17 70 19 1B CE BE 3C C2 0C 03 62 CA FD 59 6A 85 23 DF E5 7E AF CC 09 89 0E 49 A2 BC BE 5F 18 ED 6B A1 36 ED 30 A6 7E E2 BD E1 59 FA D7 13 53 71 4E 4E 43 90 A3 81 66 CE DA 01 11 24 BC 3A 84 CF 1E BB 89 28 85
 
Kyller, do you have a buddy set up? I tried to build a buddy but I think the error was the login token, could you provide a way to decrypt the login?
RECV>> [SS=00CEFA38 SQ=8D4F CD=1010] 86 21 05 77 56 83 17 8C BC 59 95 25 8C 4F 76 E0 1A 14 70 8E D2 F6 68 92 24 74 8F 41 65 F3 E1 22 8A 89 87 0C CD 19 7C 02 FD ED 22 17 70 19 1B CE BE 3C C2 0C 03 62 CA FD 59 6A 85 23 DF E5 7E AF CC 09 89 0E 49 A2 BC BE 5F 18 ED 6B A1 36 ED 30 A6 7E E2 BD E1 59 FA D7 13 53 71 4E 4E 43 90 A3 81 66 CE DA 01 11 24 BC 3A 84 CF 1E BB 89 28 85
Hi, i didn't build the buddy system yet. but i think i saw some things and the buddy works like the login in game server. U have a "Fixed Key" and the dynamic key.

I guess if the simple way to try to find them is doing dissemble on buddy server. Now a days my time is short to make quickly progress. If someone trying to "discovery" this and share with us it would be nice.

Best Regards.
 
Hi KyLL3R, have you made any progress with the BuddyServer? I tried creating the emulator for the Buddy with the packages you identified, I tried using the package (0x1012) to see if it would establish the connection but nothing. So I would like to know if you have made any progress on this matter. Sorry for the trouble.
 
Hi KyLL3R, have you made any progress with the BuddyServer? I tried creating the emulator for the Buddy with the packages you identified, I tried using the package (0x1012) to see if it would establish the connection but nothing. So I would like to know if you have made any progress on this matter. Sorry for the trouble.
Hi

Not yet, I'm not working on this right now (i need to take my of my business). I just share these information with the community to help someone who wants to build the buddy system. But remember some packages are encrypted.

Best Regards.
 
Back