Jump to content

Steamworks disabled when sandbox is disabled?


Kraxie
 Share

Recommended Posts

Hey

 

I'm quite new to the Leadwerks engine and I've been playing around with external libraries and what not.

To make this possible, I had to disable Lua Sandboxing. It then worked fine to load my library and all that works fine.

 

Only problem, this seems to have disabled Steam or Steamworks. The overlay no longer shows up and when starting the game, it no longer says that the user is in-game on Steam.

 

A steam_appid.txt and all that exists...

Anyone knows what the problem can be?

 

Thanks!

Regards, KraXarN

 

EDIT: Included app.lua if that helps

Windows 7 | Intel Core i7-4790K | 16 GB RAM | Nvidia GTX 980

Link to comment
Share on other sites

If you run your game from the editor, it will now show the Steam overlay because the parent application has it's overlay disabled. When you run the game on its own it will appear. Does that solve it?

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

You have to be signed into Steam (obviously).

It can take a few seconds before the overlay becomes available.

Check to make sure Steamworks:Initialize() is returning true.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

I am running it through Steam, so that's running and all...

 

I tried using this code:

if not Steamworks:Initialize() then Debug:Error("Failed to load Steam") end

And it ran just fine, so it seems it returns true

Windows 7 | Intel Core i7-4790K | 16 GB RAM | Nvidia GTX 980

Link to comment
Share on other sites

Yes

As I said before, it doesn't even say I'm in-game either on Steam, but with sandboxing enabled, it says I am.

And no "Press shift-tab in-game blah blah" either comes up...

 

It's really weird :/

Windows 7 | Intel Core i7-4790K | 16 GB RAM | Nvidia GTX 980

Link to comment
Share on other sites

Well by default sandboxing is disabled. It only gets enabled when -sandbox is passed in the command line arguments. So any time you run it by clicking on the EXE, sandboxing will be disabled.

 

Maybe post a small complete demo here so other people can try it?

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...