[SOLVED] InternalsPluginV05 - successful build anyone ?
hi,
Can anyone confirm a successful plugin build & usage with current build 218 (or 217 as reported by dev mode) ?
I tried implementing a bare plugin, inspired by sample plugin from http://rfactor.net/web/rf2/devscorner/ ("v5 Download – May 20, 2013") but rf2 refuses to start when the plugin is there (starts, initializes gfx window then crashes).
I tried implementing v1 and v5 plugins, same result.
Here are some logs when started in dev mode with +trace=4 :
trace.txt:
my v5 plugin log (logs every function/method entry, only those are shown til crash) :
Win7 error window:
any idea anyone ? The call sequence would be great
[for example, i would expect PreReset() to be called before PostReset() which is not the case atm if i'm right]
I'm building the shared lib with eclipse under win7, using mingw.
hi,
Can anyone confirm a successful plugin build & usage with current build 218 (or 217 as reported by dev mode) ?
I tried implementing a bare plugin, inspired by sample plugin from http://rfactor.net/web/rf2/devscorner/ ("v5 Download – May 20, 2013") but rf2 refuses to start when the plugin is there (starts, initializes gfx window then crashes).
I tried implementing v1 and v5 plugins, same result.
Here are some logs when started in dev mode with +trace=4 :
trace.txt:
Code:
TRACE LEVEL = 3
TRACE LEVEL = 4
tracelog.cpp 139: Command line: "+path=".." +hash=####HIDDEN#### +trace=4"
main.cpp 218: FPU=0x0009001f
game.cpp 1692: Entered Game::Enter()
osman.cpp 727: Entered OSMan::Enter()
plrfile.cpp 2891: Entered PlayerFile::Enter()
setup.cpp 2031: ATTENTION: Skipping vehicle because the filename rter_01.veh matches an existing vehicle
setup.cpp 2031: ATTENTION: Skipping vehicle because the filename rter_02.veh matches an existing vehicle
plrfile.cpp 2033: Attempting to save to E:\games\rfactor2\ModDev\UserData\player\player.TMP
plrfile.cpp 2066: Retcode: 0 for renaming to E:\games\rfactor2\ModDev\UserData\player\player.PLR
hwinput.cpp 7484: Entered HWInput::Enter()
hwinput.cpp 7485: HKL=0x04090409
my v5 plugin log (logs every function/method entry, only those are shown til crash) :
Code:
+++GetPluginName()
+++GetPluginType()
+++GetPluginVersion()
+++CreatePluginObject()
+++ExampleInternalsPlugin::PostReset()
Win7 error window:
Code:
Problem Event Name: APPCRASH
Application Name: rFactor2 Mod Mode.exe
Application Version: 1.2.1.7
Application Timestamp: 5192a561
Fault Module Name: rFactor2 Mod Mode.exe
Fault Module Version: 1.2.1.7
Fault Module Timestamp: 5192a561
Exception Code: c0000005
Exception Offset: 003770b5
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1036
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
any idea anyone ? The call sequence would be great
[for example, i would expect PreReset() to be called before PostReset() which is not the case atm if i'm right]
I'm building the shared lib with eclipse under win7, using mingw.
Last edited by a moderator: