xboxscene.org forums

Pages: 1 2 [3]

Author Topic: Tut: Display Temps In Freestyle Dashboard!  (Read 400 times)

axc97c

  • Archived User
  • Jr. Member
  • *
  • Posts: 55
Tut: Display Temps In Freestyle Dashboard!
« Reply #30 on: February 24, 2010, 12:03:00 PM »

QUOTE(Mattie @ Feb 24 2010, 01:23 PM) View Post

i will try to put some of the suggestions in (leds on temps, the correct fahrenheit conversion, try and mak GoD listing more configurable)

@JQE, i dont know why yours crashes, i actually had the same and it looked like it had something to do
with passing the float* temps from one function to the other, so i rewrote it to just return 1 temp at a time.
its weird, because i have:
if(!Celsius) temp = (9/5) * temp + 32;

yet it looks like it only adds the 32...
have to look into that when i'm home


Hello

You need to force the compiler to user floats of your multipliers. 9/5 in integer terms is 1

temp = (9.0f / 5.0f) * temp + 32.0f

will do the trick

When compiling keep an eye out for "int to float" and "float to int" conversion warnings, when the conversion is correct typecast it so the warning goes away.

Adam
Logged

Mattie

  • Recovered User
  • Full Member
  • *
  • Posts: 141
Tut: Display Temps In Freestyle Dashboard!
« Reply #31 on: February 24, 2010, 12:18:00 PM »

QUOTE(axc97c @ Feb 24 2010, 08:03 PM) View Post

Hello

You need to force the compiler to user floats of your multipliers. 9/5 in integer terms is 1

temp = (9.0f / 5.0f) * temp + 32.0f

will do the trick

When compiling keep an eye out for "int to float" and "float to int" conversion warnings, when the conversion is correct typecast it so the warning goes away.

Adam


yeah i already had it working by doing: 9 * temp / 5 + 32 but tnx
Logged

somski

  • Archived User
  • Newbie
  • *
  • Posts: 25
Tut: Display Temps In Freestyle Dashboard!
« Reply #32 on: February 25, 2010, 04:58:00 AM »

QUOTE(Mattie @ Feb 23 2010, 10:44 PM) *

who says the source is closed? I'm just messing with it and these where all test builds that various people got from me. All my code will be submitted to the SVN we set up in agreement with the developer.
The reason it's not included yet is because i said people could share the testbuilds if they wanted.


Is the svn public (read-only)? Would be very interested in building from source and making custom patches (to the current svn version).
Logged

maselw

  • Archived User
  • Newbie
  • *
  • Posts: 5
Tut: Display Temps In Freestyle Dashboard!
« Reply #33 on: February 26, 2010, 12:45:00 PM »

does anyone have a freestyledash - Theme with temps on mainpage for share?

big thanks for all the coders, great stuff.


Logged

Mattie

  • Recovered User
  • Full Member
  • *
  • Posts: 141
Tut: Display Temps In Freestyle Dashboard!
« Reply #34 on: February 27, 2010, 01:29:00 PM »

QUOTE(somski @ Feb 25 2010, 12:58 PM) View Post

Is the svn public (read-only)? Would be very interested in building from source and making custom patches (to the current svn version).


the svn is open to public now (read only atm): https://drugged.me/svn/beta/

enjoy!
Logged

kettenschutz

  • Archived User
  • Full Member
  • *
  • Posts: 125
Tut: Display Temps In Freestyle Dashboard!
« Reply #35 on: February 28, 2010, 04:03:00 AM »

hey

gotta problem with the patched xex file

since yesterday, my freestyle wont show up gods anymore. nothing happens or changed on my freestyle
temps are shown well,but the gods wont be listed ?
any suggestions ?
Logged

kettenschutz

  • Archived User
  • Full Member
  • *
  • Posts: 125
Tut: Display Temps In Freestyle Dashboard!
« Reply #36 on: February 28, 2010, 05:24:00 PM »

found the gods in the arcade section, sorry ...  jester.gif
Logged

minus5252

  • Archived User
  • Sr. Member
  • *
  • Posts: 262
Tut: Display Temps In Freestyle Dashboard!
« Reply #37 on: March 01, 2010, 06:59:00 PM »

QUOTE(Mattie @ Feb 27 2010, 04:29 PM) View Post

the svn is open to public now (read only atm): https://drugged.me/svn/beta/

enjoy!


This website shows as untrusted, suspected rootkits, etc., anyone care to comment on that?
Logged

lvader1

  • Archived User
  • Jr. Member
  • *
  • Posts: 66
Tut: Display Temps In Freestyle Dashboard!
« Reply #38 on: March 01, 2010, 10:18:00 PM »

QUOTE(Odb718 @ Feb 23 2010, 12:54 PM) *

OMFG Mattie how could you not release code that's already been released!! (IMG:style_emoticons/default/grr.gif)
You need to submit all changes in a txt file and all the compile details with an FAQ!!
Then you need to get permissions to write those documents to Xbins so all nubs can have access

Next time someone birthday releases you should make sure they do it right! (IMG:style_emoticons/default/laugh.gif)


you need to STFU.. you don't get to tell people what to do.
read 2 post above, he said it wasn't closed source, it's just a bunch of morons jumping to conclusions.

Mattie - Thanks for working on this!
Logged

omega232

  • Archived User
  • Newbie
  • *
  • Posts: 49
Tut: Display Temps In Freestyle Dashboard!
« Reply #39 on: March 02, 2010, 02:41:00 AM »

QUOTE(lvader1 @ Mar 2 2010, 07:18 AM) View Post

you need to STFU.. you don't get to tell people what to do.
read 2 post above, he said it wasn't closed source, it's just a bunch of morons jumping to conclusions.

Mattie - Thanks for working on this!


He's being sarcastic, which i agree doesn't translate well the way he wrote it.
Logged

somski

  • Archived User
  • Newbie
  • *
  • Posts: 25
Tut: Display Temps In Freestyle Dashboard!
« Reply #40 on: March 02, 2010, 04:52:00 AM »

QUOTE(minus5252 @ Mar 2 2010, 02:59 AM) View Post

This website shows as untrusted, suspected rootkits, etc., anyone care to comment on that?


It's just a not trusted ssl-cert nothing more nothing less. What can you risk by getting sourcecode from an svn? ;D

Thanks for the svn by the way smile.gif
Logged
Pages: 1 2 [3]