InternalsPlugin

Discussion in 'Plugins' started by ThaKilla, Jun 29, 2012.

  1. ThaKilla

    ThaKilla Registered

    Joined:
    Jan 10, 2012
    Messages:
    7
    Likes Received:
    0
    Hey guys,

    Everybody talks about the InternalsPlugin, but where can i get that example Plugin for rFactor 2 ?

    Thanks for helping me !
    ThaKilla
     
  2. Frank Geyer

    Frank Geyer Registered

    Joined:
    Oct 5, 2010
    Messages:
    222
    Likes Received:
    3
  3. ThaKilla

    ThaKilla Registered

    Joined:
    Jan 10, 2012
    Messages:
    7
    Likes Received:
    0
    Thanks, realy difficult to find that link :)

    After importing in Visual Studio 2010 i tried to compile this sample code. The compile process works fine and was successfull. But it seems rfactor doesn't recognize the Plugin. No text files were written.

    Any ideas? How can i recognize that the plugin was found and use by rfactor?

    Thanks for helping me.
    ThaKilla
     
  4. MaXyM

    MaXyM Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,774
    Likes Received:
    29
    should work. However you have to compile it for 32bit env.
    If compiled for 64bit - it wont work.

    Note also you have to wait about 20 seconds after entering car (in game mode) or after session start (in dedicated server mode).
     
  5. Rich Goodwin

    Rich Goodwin Registered

    Joined:
    May 3, 2012
    Messages:
    1,219
    Likes Received:
    9
    Any way around this? I only have 64bit machines :/
     
  6. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,382
    Likes Received:
    6,600
    You just need to set your compiler to target 32 bit. rF2 itself is 32-bit, and your 32-bit plugin will run fine on your 64 bit machine.
     
  7. ThaKilla

    ThaKilla Registered

    Joined:
    Jan 10, 2012
    Messages:
    7
    Likes Received:
    0
    Strange. After a while testing, it seem that my plugin works fine. On my local machine it works in client and dedicated server. But on my remote server it is completely ignored by rfactor. I'm running Windows Server 2008 on my remote server. Does rFactor need special permissions to write log files on server ?
     
  8. MaXyM

    MaXyM Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,774
    Likes Received:
    29
    I suspect you need VC runtime libraries for WS2008
     
  9. ThaKilla

    ThaKilla Registered

    Joined:
    Jan 10, 2012
    Messages:
    7
    Likes Received:
    0
    VC runtime was already installed. I have no clue what's wrong. Is there any debug log ore something else?
     
  10. ThaKilla

    ThaKilla Registered

    Joined:
    Jan 10, 2012
    Messages:
    7
    Likes Received:
    0
    I got it. Microsoft Visual C++ 2010 Redistributable Package was not installed on the server.
     

Share This Page