Game server admin's helping the community setup and maintain great dedicated game servers.
----Home----Submit News ----Forum--------Guides----


Go Back   FPSadmin.com > BattleField > BattleField 3 > BF3 Remote Admin Tool Support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2012, 04:04 PM
vecchia vecchia is offline
Junior Member
 
Join Date: Aug 2012
Location: Padova, IT
Posts: 17
Rep Power: 0
vecchia is on a distinguished road
Punkbuster player list message isn't received complete

Hi,
in developing my RCON application I'm blocked on a big issue that it's getting me an headache. When I receive a punkbuster.onMessage event for the pb_sv_plist command I get only the first line that says me that it started outputting the list but I have no other messages about this event. So the message doesn't include the list nor the end-of-list message. It seems that it's skipping the following messages. However, if after the punkbuster list I get a new message from punkbuster it outputs it correctly. This is what I'm doing:

Quote:
receive packet from server (isFromServer=true and isResponse=false)
send response packet (isFromServer=true and isResponse=true with words OK)
Why it doesn't receive the reply from the server that continues the event message? It simply skips the list and goes to the next PB message.
Reply With Quote
  #2  
Old 09-10-2012, 05:26 PM
courgette courgette is offline
Member
 
Join Date: Mar 2010
Location: France
Posts: 77
Rep Power: 9
courgette is on a distinguished road
The frostbite engine will just repeat as a punkbuster.onMessage event any line it will be given by the punkbuster server.

So when the punkbuster server produces a response with a list (such as the Player List or Ban List) then you will receive one frostbite punkbuster.onMessage event per line.
__________________
BigBrotherBot
Reply With Quote
  #3  
Old 09-10-2012, 05:45 PM
vecchia vecchia is offline
Junior Member
 
Join Date: Aug 2012
Location: Padova, IT
Posts: 17
Rep Power: 0
vecchia is on a distinguished road
the problem is that an empty player list event should be something like this:

Quote:
punkBuster.onMessage PunkBuster Server: Player List: [Slot #] [GUID] [Address] [Status] [Power] [Auth Rate] [Recent SS] [O/S] [Name]
punkBuster.onMessage PunkBuster Server: End of Player List (0 Players)
but I receive only the first message, in the other RCON tools I always receive the 2 lines
Reply With Quote
  #4  
Old 09-11-2012, 05:19 AM
Kalms Kalms is offline
Senior Member
 
Join Date: Feb 2010
Posts: 262
Rep Power: 9
Kalms is on a distinguished road
Armchair debugging guess: You are probably not pumping your TCP connections properly, i.e. there is inbound event data available on the TCP connection but your code is not fetching it.
Reply With Quote
  #5  
Old 09-11-2012, 05:25 AM
vecchia vecchia is offline
Junior Member
 
Join Date: Aug 2012
Location: Padova, IT
Posts: 17
Rep Power: 0
vecchia is on a distinguished road
I found that the punkbuster.onMessage messages are sent in only one packet and I didn't correctly handled this. I always expected one packet for one message. Now I've fixed. Thank you
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:38 PM.


Powered by: vBulletin Copyright ©2000, Jelsoft Enterprises Ltd.