Hap Explorer

  • 172 Replies
  • 153171 Views
*

Carl2

  • Trusty Member
  • ********
  • Replicant
  • *
  • 560
Re: Hap Explorer BETA
« Reply #120 on: March 24, 2009, 09:06:13 pm »
Freddy,
  I've been playing with the lighting haps and I remember discussing this with you.  The original htr is set with two lights and I remember he added a as of this writing.   Natruraly I had to try to add another.  I just got it working.  I have the ambient, directional 1 and directional 2.  I'm using a low ambient, red from one side and blue from the other side.  nothing great but it may present other possibilties.  The script is:

#HaptekSDK Version= 1.0  HapType= lighting FileType= text Name= standardLight

Light= Ambient
Type= AMBIENT
LightColor= 0.50 0.50 0.50
}


Light= LightOne
Type= DIRECTIONALLIGHT
LightColor= 0.0 0.0 0.4
LightDirection= 4.4  -4.5 -4
}

Light= LightTwo
Type= DIRECTIONALLIGHT
LightColor= 0.2 0.0 0.0
LightDirection= 4.4  4.5 -4
}

Naturaly it can be changed to suit your needs.  I just tried it with the Hap explorer and it can still be changed with the additive effect, it works with other lighting haps but should be changed back using the standard light hap.
Carl2

*

Carl2

  • Trusty Member
  • ********
  • Replicant
  • *
  • 560
Re: Hap Explorer BETA
« Reply #121 on: March 24, 2009, 09:32:14 pm »
  Have to mention I'm using this with a nude skin, just tried it again with the standard clothing and the lighting is not as effective. The  red lights on a red shirt is difficult to see.
Carl2

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Hap Explorer BETA
« Reply #122 on: March 25, 2009, 11:44:24 am »
Thanks Carl  8)

*

apollon

  • Roomba
  • *
  • 5
Re: Hap Explorer BETA
« Reply #123 on: April 28, 2009, 01:36:35 am »
Hello Freddy, thank you for giving us this elegant tool!
Sadly, for some reason I can't run it properly on my system. The program loads OK, but as soon as the hap preview window appears, I get an error message, saying: "The value 1000000000 is invalid for 'Value'. 'Value' should be between 'minimum' and 'maximum'. Parameter name: Value."
I can choose to ignore or abort. When I choose ignore, the error just comes again. If I press the escape key and close the preview window fast enough, I get rid of the error, and the rest of your program runs fine, until I try to load a character, and the trouble starts all over again.
I could post the details of the error message for you, but I don't know if they would be any help, since I'm running a German WinXp.

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Hap Explorer BETA
« Reply #124 on: April 28, 2009, 11:53:32 am »
Hi apollon.  This is an odd error but I had heard of one other person having it too.  I'm not sure which element may be causing it.   Is that all the error message says ?  Is the figure '1000000000' exactly what it says ?

I will take a look at it.

*

apollon

  • Roomba
  • *
  • 5
Re: Hap Explorer BETA
« Reply #125 on: April 28, 2009, 02:04:34 pm »
Yes, the figure is exactly 1000000000 (9 zeroes).
When I click on "details", I get the following:
Code
System.ArgumentOutOfRangeException: Der Wert 1000000000 ist für Value ungültig. Value sollte zwischen 'minimum' und 'maximum' liegen.
Parametername: Value
   bei System.Windows.Forms.ScrollBar.set_Value(Int32 value)
   bei HapExplorer.ControlPanel.GetMaterialSettings()
   bei HapExplorer.ControlPanel.PauseTimer_Tick(Object sender, EventArgs e)
   bei System.Windows.Forms.Timer.OnTick(EventArgs e)
   bei System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Hap Explorer BETA
« Reply #126 on: April 29, 2009, 12:50:54 pm »
Thanks, that may help track down the problem.

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Hap Explorer BETA
« Reply #127 on: April 29, 2009, 02:41:09 pm »
In english a decimal point is shown as 1.0 or 1 dot 0 in words.

Is this the same in Germany ?  How do you show the decimal point in German please ?

I am guessing the German version of Windows uses what we call a comma ?  Meaning an ','

This could be what is causing the problem as the other person I know who had this problem was a French member and maybe the French Windows uses a comma too to represent the decimal point.

Basically what I am trying to say is that internally this might be causing the problem.
« Last Edit: April 29, 2009, 10:52:10 pm by Freddy »

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Hap Explorer BETA
« Reply #128 on: April 29, 2009, 04:03:13 pm »
I've did a little messing around assuming that was the problem.  There may be further euro-bugs !

Try this version out...

Edit : file removed as it's not working.
« Last Edit: April 30, 2009, 04:47:46 pm by Freddy »

*

apollon

  • Roomba
  • *
  • 5
Re: Hap Explorer BETA
« Reply #129 on: April 30, 2009, 01:24:26 am »
Yes, almost all European countries use the comma as the decimal point, including the German-speaking ones. Good one; I would never have considered that as a possible source of the problem. I think you're on the right track with that one.

I just tried the new version you uploaded, but it won't install. I get the following error (I translated it):

Code
PLATFORM VERSION
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.1433
System.Deployment.dll : 2.0.50727.1433 (REDBITS.050727-1400)
mscorwks.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfdll.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfshim.dll : 2.0.50727.1433 (REDBITS.050727-1400)

SOURCES
URL : file:///D:/Dokumente%20und%20Einstellungen/Ilias/Desktop/HapExplorer_0_8_0_14/HapExplorer_0_8_0_14/HapExplorer.application

ERROR SUMMARY
* Activation of D:\Dokumente und Einstellungen\Ilias\Desktop\HapExplorer_0_8_0_14\HapExplorer_0_8_0_14\HapExplorer.application has lead to an exception. The following errors were discovered:
+ Exception at parsing the manifest of 'file:///D:/Dokumente%20und%20Einstellungen/Ilias/Desktop/HapExplorer_0_8_0_14/HapExplorer_0_8_0_14/HapExplorer.application': The Manifest is probably invalied, or the file could not be opened.
+ The XML signature of the manifests is invalid.
+ There was no signature in the application.


ERRIR DETAILS
* [30.04.2009 02:13:54] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception at parsing the manifest of 'file:///D:/Dokumente%20und%20Einstellungen/Ilias/Desktop/HapExplorer_0_8_0_14/HapExplorer_0_8_0_14/HapExplorer.application': The manifest is probably invalid, or the file could not be opened.
- Source: System.Deployment
- Stapelüberwachung [I'M SORRY, I DON'T KNOW WHAT THAT WORD MEANS]:
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Internal Exception ---
System.Deployment.Application.InvalidDeploymentException (SignatureValidation)
- The XML signature of the Manifests is invalid.
- Source: System.Deployment
- Stapelüberwachung [THAT WORD AGAIN, SORRY]:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
--- Internal Exception ---
System.Security.Cryptography.CryptographicException
- There was no signature in the application.

- Source: System.Deployment
- Stapelüberwachung [ONCE MORE, THAT ACCURSED WORD]:
at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)

It could be that I have to uninstall the old version first, but I don't know how to do that.

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Hap Explorer BETA
« Reply #130 on: April 30, 2009, 11:05:50 am »
Oh dear.  Well you can try un-installing it by using the control panel and using 'add or remove programs'.  I don't think this is the problem though.  It installs fine here, this is a new problem.   I will see what I can do.  Thanks for the translation :)

*

GT40

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1056
    • My Bots
Re: Hap Explorer BETA
« Reply #131 on: April 30, 2009, 12:17:01 pm »

One of both French members is still trying to install Hap Explorer, lol. Thanks for the work you are doing, Freddy. Sure that the next try will be the good one. :D



"There is no RL. Only AFK." (Jamie Jervil, resident of Second Life)

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Hap Explorer BETA
« Reply #132 on: April 30, 2009, 04:53:48 pm »
Yeah this is a lot of fun !  Well I am learning things.  The problem seems to be that I needed to sign the program with a certificate.  What I did on that last version was to not include the certificate/signature which is probably why the computer rejected it.  Originally the program was set up with a default year long certificate.  So that has obviously run out now.  Makes me wonder how many people this affected.

All this means I have now learnt how to make certificates, this one is valid till 2015, so fingers crossed...

Many thanks for the translations apollon  ;D

Edit : version removed as it still did not work !

« Last Edit: April 30, 2009, 09:58:29 pm by Freddy »

*

apollon

  • Roomba
  • *
  • 5
Re: Hap Explorer BETA
« Reply #133 on: April 30, 2009, 07:52:32 pm »
Heh, it's me, once again. ;D
The application installs OK now, but the 1000000000 error persists. Here's the translated error report:

Code
************** Exception **************
System.ArgumentOutOfRangeException: The value 1000000000 is invalid for Value. Value should range between 'minimum' and 'maximum'.
Parameter name: Value
   at System.Windows.Forms.ScrollBar.set_Value(Int32 value)
   at HapExplorer.ControlPanel.GetMaterialSettings()
   at HapExplorer.ControlPanel.PauseTimer_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
    CodeBase: file:///D:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
HapExplorer
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///D:/Dokumente%20und%20Einstellungen/Ilias/Lokale%20Einstellungen/Apps/2.0/4CMTJ5WH.BXM/QVZWCA3O.RGG/hape..tion_2509394a011cb8c3_0000.0008_8e11fef252923606/HapExplorer.exe.
----------------------------------------
Microsoft.VisualBasic
    Assembly-Version: 8.0.0.0.
    Win32-Version: 8.0.50727.1433 (REDBITS.050727-1400).
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
----------------------------------------
System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Runtime.Remoting
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll.
----------------------------------------
AxInterop.ACTIVEHAPTEKXLib
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///D:/Dokumente%20und%20Einstellungen/Ilias/Lokale%20Einstellungen/Apps/2.0/4CMTJ5WH.BXM/QVZWCA3O.RGG/hape..tion_2509394a011cb8c3_0000.0008_8e11fef252923606/AxInterop.ACTIVEHAPTEKXLib.DLL.
----------------------------------------
System.Configuration
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
Interop.ACTIVEHAPTEKXLib
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///D:/Dokumente%20und%20Einstellungen/Ilias/Lokale%20Einstellungen/Apps/2.0/4CMTJ5WH.BXM/QVZWCA3O.RGG/hape..tion_2509394a011cb8c3_0000.0008_8e11fef252923606/Interop.ACTIVEHAPTEKXLib.DLL.
----------------------------------------
Accessibility
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
----------------------------------------
mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
    CodeBase: file:///D:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------

A thousand thanks for all the work you're doing for us!

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Hap Explorer BETA
« Reply #134 on: April 30, 2009, 08:47:45 pm »
Hmm.  GT40 can you do me a favour please ?

Can you open up any old Haptek figure and then get the console up, then do this query - "current material" (without the quotes).

Then post here exactly what it responds with please.  I need to see how it outputs the figures and see what it is using for a decimal point.

Thanks.
« Last Edit: April 30, 2009, 09:13:45 pm by Freddy »

 


LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

349 Guests, 0 Users

Most Online Today: 350. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles