Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Official RIVA thread
And that is the image set up as the pressed image, right? It's not set for any other of the button's image types?
Dean Roddey
Explorans limites defectum
Reply
I'm not sure. Commander Vimes, sir, can you shed light on the image setup of the buttons on the test template?
Reply
I checked the new template message and it's working fine for me. I get the right info and whatnot. The structures are correctly within the packing pragma so it shouldn't be that the structure is not appropriate byte packed.
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544).
Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player.
TaRIVA 1.26: Android RIVA client.
Reply
I'll check it out and see. Maybe I whacked something. Hmmm... I wonder if maybe I got it outside of the packing pragma or something (which I'd not have noticed necessarily since both of my sides would still see it the same.)
Dean Roddey
Explorans limites defectum
Reply
Dean Roddey Wrote:The login challenge can include an error message if the request fails. Only those structures that include text will have those extra bits at the end, but in some cases the string is empty, in which case you have an empty length. So if the c1Error field of the login challenge is set, there's a string at the end with the error message, else it's the empty one.
Just a suggestion for the RIVA 2.0 protocol, but what if you stuck with the original structure (without the Card4 padding) for the normal opCode. Then you could use opCode + X when a single text is included, and opCode + Y when 2 strings of text are included. Along those lines, let say a challenge failed and the Status structure is totally different (since there is no role or session cookies to return), then you could use opCode + Z or such... The values of X, Y, Z pretty much depends on which structures can have text, which seems to require testing to determine it... I guess if you are afraid of running out of opCode, you could either use Card4 for the opCode or add an extra Card1...

The point is that from the opCode and associated structure, we should already know how to read the message, without having to deal with different structures that should have their own opCode to start with....
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544).
Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player.
TaRIVA 1.26: Android RIVA client.
Reply
Dean Roddey Wrote:And that is the image set up as the pressed image, right? It's not set for any other of the button's image types?

Correct.

The unpressed image is enabled but not set. Nothing else is enabled.

Could somehow RIVA be confusing the pressed and unpressed images?
Reply
It may be that, if you remove the image, but it image slot is not disabled (in this case because it can't), that it will send a previously set image name because it's not getting cleaned out or something when the image is removed.
Dean Roddey
Explorans limites defectum
Reply
I checked the new template message and it's working fine for me. I get the right info and whatnot. The structures are correctly within the packing pragma so it shouldn't be that the structure is not appropriate byte packed.

I accidentally edited Fonceur's message above instead of doing a reply. Oops, no way to get it back now. Anyway, I tried it out and it's happy for me. Perhaps Brain can report what he's seeing.
Dean Roddey
Explorans limites defectum
Reply
Dean Roddey Wrote:I checked the new template message and it's working fine for me.
My bad, it seems I was reading Card2 and didn't know the template's name was appended at the end...
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544).
Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player.
TaRIVA 1.26: Android RIVA client.
Reply
Does this seem like a good match for the clip mode?

c1ClipMode_And = 0; --> INTERSECT
c1ClipMode_Copy = 1; --> REPLACE
c1ClipMode_Diff = 2; --> DIFFERENCE
c1ClipMode_Or = 3; --> UNION
c1ClipMode_Xor = 4; --> XOR

I also have access to REVERSE_DIFFERENCE... It's mostly the Copy that has me worried...
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544).
Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player.
TaRIVA 1.26: Android RIVA client.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Html 5 Riva potts.mike 9 13,821 09-15-2013, 04:22 AM
Last Post: bjkiller
  Thinking about the next step in RIVA Dean Roddey 6 11,066 01-22-2013, 06:15 AM
Last Post: brianmount
  .Net RIVA Client Dean Roddey 146 119,610 02-06-2012, 06:53 PM
Last Post: Dean Roddey
  Transparent images in RIVA? SamVimes2 36 48,503 02-05-2011, 04:34 PM
Last Post: Dean Roddey
  riva burkepaol4 1 8,367 12-17-2010, 11:39 AM
Last Post: Dean Roddey
  Riva screen blanker on CF.NET froop 3 8,235 08-06-2010, 10:34 PM
Last Post: froop
  RIVA Connection batwater 6 8,887 07-16-2010, 04:46 PM
Last Post: batwater
  Java based RIVA Client? batwater 10 13,134 04-03-2010, 05:35 AM
Last Post: wuench
  RIVA Client for Linux bryanb 22 20,569 07-16-2009, 09:11 PM
Last Post: bjkiller

Forum Jump:


Users browsing this thread: 1 Guest(s)