Faulty Code

  • cyberdragon
    27th Jul 2013 Member 0 Permalink

     

    In LuaScriptInterface and TPTScriptInterface. -_- Now I'll have to revert them.

    STOP BREAKING THINGS!

     

    EDIT: [CUSSES EXPUNGED] IT'S GETTING WORSE. 

     

    I might just PM Simon about this...this is not just a few bugs...this is EXTENSIVE.

     

     

    6 IntelliSense: no instance of overloaded function "GameController::OpenSavePreview" matches the argument list
    argument types are: (int, int, bool)
    object type is: GameController c:\Users\Trevor\Documents\Mythical Mod\The-Powder-Toy-master\src\cat\TPTScriptInterface.cpp 429 3 Mythical Mod

     

    Error 1 error C2661: 'GameController::OpenSavePreview' : no overloaded function takes 3 arguments C:\Users\Trevor\Documents\Mythical Mod\the-powder-toy-master\src\cat\LuaScriptInterface.cpp 1383 1 Mythical Mod

     

    Error 4 error C2661: 'GameController::OpenSavePreview' : no overloaded function takes 3 arguments C:\Users\Trevor\Documents\Mythical Mod\the-powder-toy-master\src\cat\TPTScriptInterface.cpp 429 1 Mythical Mod

     

    Error 3 error C2039: 'SetDebugHUD' : is not a member of 'GameController' C:\Users\Trevor\Documents\Mythical Mod\the-powder-toy-master\src\cat\LuaScriptInterface.cpp 1790 1 Mythical Mod

     

    Error 2 error C2039: 'GetDebugHUD' : is not a member of 'GameController' C:\Users\Trevor\Documents\Mythical Mod\the-powder-toy-master\src\cat\LuaScriptInterface.cpp 1786 1 Mythical Mod

     

    EDIT: It compiles fine now...after I reverted half of your S***!

     

     

    Edited 3 times by cyberdragon. Last: 28th Jul 2013
  • Pilihp64
    27th Jul 2013 Developer 0 Permalink

    The code compiles fine, I just checked.

     

    Some of your files aren't up to date with the rest.

  • jacob1
    28th Jul 2013 Developer 0 Permalink
    yes, some of your files are out of date. I think maybe GameController.cpp? or others.

    Anyway, I can't help you when you are this overdramatic, just calmly say your problems. Although I think it's too late for you to get proper help ...
Locked by jacob1: overdramatic, calm down. Also there is no problem, make sure you have the latest source. Do a clean build also