Jump to content

Kraxie

Members
  • Posts

    39
  • Joined

  • Last visited

Posts posted by Kraxie

  1. Hello!

     

    So, recently this error has been starting to pop up at random when I change map

    Possible reference count error for asset "models/crates/crate_small.mdl"
    

    And then it just crashes.

    I have 3 crate_small models on the map, but some maps work and some don't, even if they are just mostly copies of each other.

     

    Suggestions?

    Thanks! :)

  2. Hello!

     

    So something weird have started happening in the later updates. It now instantly crashes on

     

    local mousePos = App.window:GetMousePosition()
    

    With the error

    MainMenu.lua" : 2 : attempt to index field 'window' (a nil value)
    

    To try, I tried creating the window with

    self.window = Window:Create("Window", 10, 10, 1280, 720, window.Titlebar)
    

    Which results in the same error.

     

    Suggestions?

    Thanks!

  3. Hello!

     

    Some time ago I bought the Standard Edition DLC so I could play around in C++, but I have a current project I'm working on in only Lua.

    When I load up the project, it creates the C++ files and attempting to play the game have some weird issues, so I want to completely remove the C++ part and just use Lua.

     

    Is there a way to do this?

    I tried just right clicking Leadwerks in Steam and went to DLC to uninstall it, but no DLCs could be found...

     

    Regards, Krax

  4. Just a small thing really, but would be nice to be able to change the icons to a lighter theme if you're using a dark theme in the application.

    As shown in the screenshot, it can be a little hard to see all the icons.

    Thanks wink.png

     

    EBHi8Su.png

  5. Hey!

     

    During the time of me playing around to get controllers to work in Leadwerks, I came across SDL bindings for Lua. So I compiled and tried it and it worked fine without problems.

     

    But, when I later try to require it from Leadwerks, I get the following error:

    "error loading module 'SDL' from file './SDL.so'" : 0 : undefined symbol
    

     

    When running outside of Leadwerks, I'm running it with Lua 5.1, which afaik, is what Leadwerks uses.

     

    Any help is much appreciated! Thanks!

    Regards, Krax

  6. KraXarN, for what it's worth, AppID 251810 is Leadwerks's own ID - it's not your program's.

     

    I was more or less looking at the line

    Steam_SetMinidumpSteamID: Caching Steam ID: 76561198024704964 [API loaded no]
    

  7. If you are using C++ the entire Steamworks SDK is included in the project already. Not that you need Leadwerks for that, but it's there.

     

    I'm using Lua, but I thought as it's able to fetch the Steam ID, I thought it would be able to at least use the Steam API, nut maybe not the Steamworks API

  8. Hi!

     

    I noticed a while ago that the Leadworks editor prints the following

    Setting breakpad minidump AppID = 251810
    Steam_SetMinidumpSteamID: Caching Steam ID: 76561198024704964 [API loaded no]
    

     

    Is there actually any way to make use of this?

    Like, load the ID into a variable or use the API in any other way since it says "API loaded no"?

     

    I know that Steamworks is probably impossible, since it's for C++, but yea...

     

    Thanks, KraXarN smile.png

  9. I've been writing a c++ class using SDL in the last few days and it's almost finished. There were issues with my xbox controller, keys aren't mapped the same as regular controllers but i managed to fix it and implement a button mapping feature and now it behaves like normal controllers. It can automatically re-acquire controllers that are unplugged/replugged.

     

    I will post the code once i'ts done, after that, i'll add lua support.

     

    Thanks, but I'm using Lua, yea...

    When you get Lua working, let me know tongue.png

  10. Exactly what I was looking for! Thanks! laugh.png

     

    I don't really know why I used App there instead of self, but changed it and all works fine now so...

     

    EDIT: I found out that it works just fine, but when drawing it, it works for a little while until the game freezes and just randomly closes...

×
×
  • Create New...