
Originally Posted by
festy
A2.1 - The X,Milage line in menu.skin loads the milage.dll plugin, that's how all RR Extension plugins are loaded. Make sure you only have that line in menu.skin, it causes lots of problems if you load the same plugin multiple times
You're right in that the milage.skin is just for punching in your fuel when you fill up. My tripmeter.skin had a button to 'log fuel', which called the milage.skin, but there's nothing stopping you from calling it from another skin.
As far as crashing RR, I'm not sure - obviously it doesn't do that on mine

You can try turning on debugging in rr.ini, and you might get a hint as to what's happening by looking at your debug.txt after it locks up. There's not a lot of information logged about plugins, but seeing what requests RR is receiving at the time of the lockup might help.
Did you register the plugin on your system with "regsvr32 milage.dll" from your skin directory? Not registering it would cause the tripmeter skin to not display much, but shouldn't cause lockups or anything. Do you het any error messageboxes pop up at that point?
I have it in the skins menu.skin file right at the bottom so it should be loaded...
I couldnt do the register part from the run command so I made it the other way by opening the dll file with the regsvr32 applikation and it says it's registered so it should work...
I dont get a single error message, RR just freezes and I have to shut it down... here's the part from the debug.txt file:
Code:
2006-09-16 17:05:10: Que Exec: True, menu.skin, "LOAD;tripmeter.skin", False
2006-09-16 17:05:10: Executing: LOAD;tripmeter.skin
2006-09-16 17:05:11: Leave Exec: False, menu.skin, LOAD;tripmeter.skin, False
2006-09-16 17:05:11: SDK command: REQUEST;milage;RRPATH
and after this it's dead... the only part that I dont recognize is the SDK command thing... thats the only thing thats no where else in the file...
Any ideas what might be causing it?
oh, and thanks for the help btw!
[Added info below]
ok... I thought I might try and enter some numbers in the milage screen since I can load that one... but as soon as I pressed 1 RR died again....
Debug still on so here's the last part this time...
Code:
2006-09-16 17:13:44: Que Exec: True, menu.skin, "LOAD;milage.skin", False
2006-09-16 17:13:44: Executing: LOAD;milage.skin
2006-09-16 17:13:44: Leave Exec: False, menu.skin, LOAD;milage.skin, False
2006-09-16 17:13:46: Enter Exec: False, milage.skin, "MILAGE_1", False
2006-09-16 17:13:46: Que Exec: True, milage.skin, "MILAGE_1", False
2006-09-16 17:13:46: SDK command: REQUEST;milage;RRPATH
Bookmarks