banimod / etpro / ettv forums Forum Index banimod / etpro / ettv forums
Bani's Discussion Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ETTV with etpub

 
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET TV
View previous topic :: View next topic  
Author Message
foxX



Joined: 20 Nov 2007
Posts: 2
Location: Romania

PostPosted: Fri Nov 23, 2007 2:48 pm    Post subject: ETTV with etpub Reply with quote

This is my first post here, so I salute you all. As a side-note thanks go to the people from #etpro on freenode (|Rain| and bani for helping me activate my account - still don't know what was the problem, but I don't believe it was from me).

Getting back to business. I'm currently working on etpub, and I want to make it compatible with ettv. My question is development-related. The problem I'm facing now is that etpub doesn't correctly fetch the scoreboard from ettv. For example:

Every time when pressing TAB (the key for showing the scoreboard) in etpub, while connected to ettv, I first get an error message in the etpub console:
Code:
Unknown client game command: *BAEAGA

The message is, from what I'm understanding, some encoded number or command.
This accompanied by the fact that the scoreboard gets drawn, but is only populated with data after a delay of 2-3 seconds. I imagine that the unknown command *BAEAGA or whatever is responsible for informing the client of the current score status, and it's etpub's fault for not understanding firsthand the message and communicating with ettv using a slightly broken protocol. The first time I press TAB, the unknown command message reads: "Unknown client game command *AWAAAAAAAH8AGAAAAAAAAP8" <- I might have skipped / added some 'A's.

The second problem, is the fact that etpub says
Code:
unknown cmd fu
from time to time. I'm not sure how much this is linked to my original problem, but probably fu is an ettv command informing the viewers about different game mechanics, not sure yet.

I would very much appreciate any help with making the scores appear instantly on the scoreboard, as it seems pretty simple getting rid of the unknown cmd/command messages.

Thanks a lot.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
=FF=im2good4u



Joined: 05 Feb 2003
Posts: 3924
Location: The Netherlands, HOLLAND

PostPosted: Sat Nov 24, 2007 3:48 am    Post subject: Reply with quote

i don t know exactly how decode those message but as far as i know:
any client game command sdtarting whit a * is base64 encoded. so maybe u can simpely decode it Rolling Eyes
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
foxX



Joined: 20 Nov 2007
Posts: 2
Location: Romania

PostPosted: Sat Nov 24, 2007 5:29 am    Post subject: Reply with quote

base64 decode, it's possible. But since the result is not plaintext, what do I do next with the binary array I get?
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
=FF=im2good4u



Joined: 05 Feb 2003
Posts: 3924
Location: The Netherlands, HOLLAND

PostPosted: Sat Nov 24, 2007 8:17 am    Post subject: Reply with quote

well i got no idea Wink
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
zinx



Joined: 16 Jan 2004
Posts: 268
Location: US

PostPosted: Fri Nov 30, 2007 10:24 am    Post subject: Reply with quote

Those are Base64-encoded etpro commands (used for reliability). Currently the tvgame is somewhat etpro-specific but there are plans to eventually release the tvgame so it can be modified for other mods. We just haven't gotten around to it (there's actually a lot to do before it can be released).

If you bug one of us on IRC or something, we may be able to give you the details on the reliable base64 commands.
_________________
Zinx Verituse http://zinx.xmms.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET TV All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group