AresScripts Posted March 6, 2015 Author Share Posted March 6, 2015 Hmm, i've never had that issue before. I remember when isolate decompiled one of my scripts, all the states were backwards and what not. like my drop state contained what was supposed to be under the lay state, and things like that. I have no idea though. Hmm weird. Im talking to Maxi right now about it. Quote Link to comment Share on other sites More sharing options...
Mysteryy Posted March 6, 2015 Share Posted March 6, 2015 When i run the same code locally it all works So just to understand what you are saying. The script works fine locally, but over the SDN it doesnt work properly. When on the SDN does the script load up and start/load gui ok? How far does the script actualy make it before it doesnt work? By the sound of it, you are saying that the script loads up and you are able to start it, but then it doesnt do anything when it should be running? Quote Link to comment Share on other sites More sharing options...
Twin Posted March 6, 2015 Share Posted March 6, 2015 (edited) It handles an inventory fine, it gets it from the sack, deposits and banks all good. It seems to work after depositing a full inventory, although it's really sluggish with clicking on paydirt, not sure if that was intentional or not. Edited March 6, 2015 by twin 763 Quote Link to comment Share on other sites More sharing options...
AresScripts Posted March 6, 2015 Author Share Posted March 6, 2015 So just to understand what you are saying. The script works fine locally, but over the SDN it doesnt work properly. When on the SDN does the script load up and start/load gui ok? How far does the script actualy make it before it doesnt work? By the sound of it, you are saying that the script loads up and you are able to start it, but then it doesnt do anything when it should be running? It doesnt have a gui, but there are no errors when the script starts. It reminds me of when my dog had vertigo. Its there and you can see that its trying to do something, but you just dont know what/why its trying to do something. Its very slow and lathargic. Did that help? Quote Link to comment Share on other sites More sharing options...
Mysteryy Posted March 6, 2015 Share Posted March 6, 2015 It doesnt have a gui, but there are no errors when the script starts. It reminds me of when my dog had vertigo. Its there and you can see that its trying to do something, but you just dont know what/why its trying to do something. Its very slow and lathargic. Did that help? Are you using multiple instances of Script by any chance? Or are you passing the same instance to all of your other objects? Quote Link to comment Share on other sites More sharing options...
AresScripts Posted March 6, 2015 Author Share Posted March 6, 2015 Are you using multiple instances of Script by any chance? Or are you passing the same instance to all of your other objects? Same instance to all my other objects. Is that bad? Quote Link to comment Share on other sites More sharing options...
Mysteryy Posted March 6, 2015 Share Posted March 6, 2015 Same instance to all my other objects. Is that bad? No that is how it should be. Did maxi have any suggestions. Quote Link to comment Share on other sites More sharing options...
AresScripts Posted March 7, 2015 Author Share Posted March 7, 2015 (edited) No that is how it should be. Did maxi have any suggestions. He hasnt responded. Ill send him a link to this thread EDIT: I based my script framework off of this guide http://osbot.org/forum/topic/41900-beginners-guide-to-separating-classes/ Edited March 7, 2015 by AresScripts Quote Link to comment Share on other sites More sharing options...