awgsknite Posted February 17, 2015 Share Posted February 17, 2015 I put this in my game and it worked in the LE editor when playing but when i published my .exe game it keeps crashing when trying to see the note in the published game. How to fix it ? I'm using Lua btw (I don't have the C++ LE yet) Is that why it does not work ? I did disable the lua sandbox in the editor Quote http://steamcommunity.com/profiles/76561197977392956/7977392956/ Link to comment Share on other sites More sharing options...
AnthonyPython Posted February 17, 2015 Share Posted February 17, 2015 I put this in my game and it worked in the LE editor when playing but when i published my .exe game it keeps crashing when trying to see the note in the published game. How to fix it ? I'm using Lua btw (I don't have the C++ LE yet) Is that why it does not work ? I did disable the lua sandbox in the editor you have to use .lua (instead of .txt) with sand box on for when publishing with it or else it wont work you mean on the steam workshop publishing? right? Quote OS: Windows 10 Pro CPU: i3-10100 CPU @ 3.60GHz GPU: NVIDIA 2060 Super - 8 GB RAM: 32 GB Link to comment Share on other sites More sharing options...
awgsknite Posted February 17, 2015 Share Posted February 17, 2015 I was only publishing to test the game and not to steam. I used the project manager and hit publish there which made the exe and all those other files I tried both with lua sandbox on and off and each time it crashed when playing the .exe published game. But it works in the editor Quote http://steamcommunity.com/profiles/76561197977392956/7977392956/ Link to comment Share on other sites More sharing options...
beo6 Posted February 17, 2015 Share Posted February 17, 2015 sounds like a file did not got included in the published files. Can you have a look into the zip file if the files exists? (you should be able to see the file-list but since it is encrypted you will not be able to open or extract them.) Quote Link to comment Share on other sites More sharing options...
awgsknite Posted February 17, 2015 Share Posted February 17, 2015 I can't unzip it 'cos I don't know the password. How do I get the password for it ? It's asking for a password. *edit * I found out you don't need a password with the export option and you lose some things in your game... I just tried to play the exported game and checked to see for that note.lua script and it is not there. Also all my weapons from the weapons addon are not showing up as well as the fire pit in my mainmenu and other things... Anyone else try to publish a game with this note.lua and get it to work ? Quote http://steamcommunity.com/profiles/76561197977392956/7977392956/ Link to comment Share on other sites More sharing options...
beo6 Posted February 17, 2015 Share Posted February 17, 2015 I don´t think the note.lua script creates the problem. Or at least it does nothing special that i would consider it that it might. Also if there are other things missing that you use in your game it looks like a general issue. If you publish the game you get a zip-file. Are you able to look into it? You can use 7-zip that is able to open zip files without needing to extract them. I was able to see the files but you can´t extract them without knowing the secret password. Quote Link to comment Share on other sites More sharing options...
AnthonyPython Posted February 17, 2015 Share Posted February 17, 2015 yea, sounds like a file is missing. of course if you have a large game and only one file is missing this can take while to track down Quote OS: Windows 10 Pro CPU: i3-10100 CPU @ 3.60GHz GPU: NVIDIA 2060 Super - 8 GB RAM: 32 GB Link to comment Share on other sites More sharing options...
awgsknite Posted February 17, 2015 Share Posted February 17, 2015 I don´t think the note.lua script creates the problem. Or at least it does nothing special that i would consider it that it might. Also if there are other things missing that you use in your game it looks like a general issue. If you publish the game you get a zip-file. Are you able to look into it? You can use 7-zip that is able to open zip files without needing to extract them. I was able to see the files but you can´t extract them without knowing the secret password. When I go to publish the game (not using the export option) everything shows up all assets and it works great. Just not your note.lua. If i try to unzip it it asks for a password which i don't know. How do i get that password ? Quote http://steamcommunity.com/profiles/76561197977392956/7977392956/ Link to comment Share on other sites More sharing options...
AnthonyPython Posted February 18, 2015 Share Posted February 18, 2015 When I go to publish the game (not using the export option) everything shows up all assets and it works great. Just not your note.lua. If i try to unzip it it asks for a password which i don't know. How do i get that password ? I don't think we are suppose to. Quote OS: Windows 10 Pro CPU: i3-10100 CPU @ 3.60GHz GPU: NVIDIA 2060 Super - 8 GB RAM: 32 GB Link to comment Share on other sites More sharing options...
beo6 Posted February 18, 2015 Share Posted February 18, 2015 so the note.lua file does not get published? does any other workshop script does not get published? Is that the only workshop file you use in the project? the note.lua does only get used in the script field of an entity. So it sounds a bit like publishing does not take the script file attached to an entity into account. Quote Link to comment Share on other sites More sharing options...
AnthonyPython Posted February 18, 2015 Share Posted February 18, 2015 so the note.lua file does not get published? does any other workshop script does not get published? Is that the only workshop file you use in the project? the note.lua does only get used in the script field of an entity. So it sounds a bit like publishing does not take the script file attached to an entity into account. you might be on to something there, but I don't know anything about the publishing through leadwerks. so I guess it's possible ? Quote OS: Windows 10 Pro CPU: i3-10100 CPU @ 3.60GHz GPU: NVIDIA 2060 Super - 8 GB RAM: 32 GB Link to comment Share on other sites More sharing options...
awgsknite Posted February 18, 2015 Share Posted February 18, 2015 so the note.lua file does not get published? does any other workshop script does not get published? Is that the only workshop file you use in the project? the note.lua does only get used in the script field of an entity. So it sounds a bit like publishing does not take the script file attached to an entity into account. like i said b4 it is the only one out of all my assets that dont show up in the files. I have many workshop files included in my game. prefab car, crates, etc.. to name a few. All my other entities are using script files also but they are not from the workshop. So maybe all workshop script files attached to entities do not get published ? This note.lua is the only workshop script file im currently using in my game atm. Im stil building/ prototyping/ testing and do not have many things in my game atm also. I mainly have FlowGUI and my amazing inventory of whatnots along with a menusystem Quote http://steamcommunity.com/profiles/76561197977392956/7977392956/ Link to comment Share on other sites More sharing options...
chrisknapp001 Posted March 16, 2019 Share Posted March 16, 2019 I got bad argument to pairs with it. Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
Josh Posted April 16, 2021 Share Posted April 16, 2021 I am curious, who's account is this item uploaded on?: https://steamcommunity.com/sharedfiles/filedetails/?id=388493460 I have seen this feature reused in so many games. It would be nice to have this in the downloads area. Notes.zip Quote 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 More sharing options...
Slastraf Posted April 16, 2021 Share Posted April 16, 2021 2 hours ago, Josh said: I am curious, who's account is this item uploaded on?: https://steamcommunity.com/sharedfiles/filedetails/?id=388493460 I have seen this feature reused in so many games. It would be nice to have this in the downloads area. Notes.zip 923.01 kB · 0 downloads Last time I tried to use that it crashed on me. But that was years ago and maybe I had the actual notes.txt or whatever it is importing in some other folder and maybe it crashed because of that. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.