Jump to content


Photo

Command Stack usage in GMS


  • Please log in to reply
57 replies to this topic

#1 lordvtp

lordvtp

    GMC Member

  • GMC Member
  • 343 posts
  • Version:GM:Studio

Posted 01 May 2012 - 07:25 PM

this? Hello, I've gotten to depending on the command stack setup from-
http://gmc.yoyogames...opic=335600&hl= command stack&st=0

-and from the get go in GMS it has been nonfunctional while either causing a fatal crash or just not seeming to execute is any meaningful way. No flag info is generated to debug with in either case ( that I know of, which doesn't mean much IMO) . So guys am I dense or is it a change in data structures/calls or a simple runner bug causing this? BTW it does work on HTML5 but thats presumably from the Delphi runner still being in use there.
  • 0

#2 icuurd12b42

icuurd12b42

    Self Formed Sentient

  • Global Moderators
  • 14395 posts
  • Version:GM:Studio

Posted 01 May 2012 - 09:34 PM

It was broken in HTML5 and they fixed it. Please report the problem for Studio.
  • 0

#3 lordvtp

lordvtp

    GMC Member

  • GMC Member
  • 343 posts
  • Version:GM:Studio

Posted 03 May 2012 - 10:59 PM

Well Shucks, what am I supposed to report dosnt work?
  • 0

#4 icuurd12b42

icuurd12b42

    Self Formed Sentient

  • Global Moderators
  • 14395 posts
  • Version:GM:Studio

Posted 04 May 2012 - 01:03 AM

I got the latest studio and it does work on windows and on htlm5 output.
  • 0

#5 lordvtp

lordvtp

    GMC Member

  • GMC Member
  • 343 posts
  • Version:GM:Studio

Posted 04 May 2012 - 02:56 AM

Really? I'm on the beta updatde channel and its not working... (the code doesnt throw an error, but no actual behavoir occurs) Perhas this is a case of forced reinstall needed?
  • 0

#6 lordvtp

lordvtp

    GMC Member

  • GMC Member
  • 343 posts
  • Version:GM:Studio

Posted 04 May 2012 - 03:07 AM

Just unintalled, reinstalled studio... No change, windows/Android version of project does not react.
  • 0

#7 icuurd12b42

icuurd12b42

    Self Formed Sentient

  • Global Moderators
  • 14395 posts
  • Version:GM:Studio

Posted 04 May 2012 - 03:18 AM

Just unintalled, reinstalled studio... No change, windows/Android version of project does not react.


Well, you say windows... Like I said, I tried it under windows and HTML5 (not android) and it works.


Open Studio, import the demo (commandstack.gmk). runs fines here.
  • 0

#8 lordvtp

lordvtp

    GMC Member

  • GMC Member
  • 343 posts
  • Version:GM:Studio

Posted 04 May 2012 - 07:29 PM

Thats including windows, E.I when you say it works are the arrows on screen moving?
  • 0

#9 icuurd12b42

icuurd12b42

    Self Formed Sentient

  • Global Moderators
  • 14395 posts
  • Version:GM:Studio

Posted 04 May 2012 - 08:14 PM

Thats including windows, E.I when you say it works are the arrows on screen moving?


Yes and the ai is chasing and eating the other guys. and the tank rooms work too,
  • 0

#10 lordvtp

lordvtp

    GMC Member

  • GMC Member
  • 343 posts
  • Version:GM:Studio

Posted 04 May 2012 - 10:05 PM

This is interesting...
I just did a clean GMS install on my laptop (has not had GMS on it till now) updated GMS and still no functionaliy of commandstack.gmk outside HTML5 ...
Either you are doing someting very right or I am doing osmething very wrong here...
My GMS list version as 1.0.153 (r11948) Is this somehow not the version you are using?
  • 0

#11 icuurd12b42

icuurd12b42

    Self Formed Sentient

  • Global Moderators
  • 14395 posts
  • Version:GM:Studio

Posted 04 May 2012 - 11:42 PM

Same version.

These bugs are almost impossible to figure out unless the person who experiences it (on his machine) is skilled enough to debug it. And it's not easy to debug someone else's stuff.

If you could use show_debug_message() starting from the top functions and pin point where it's failing...

top of function
show_debug_message("Enter: FunctionName")
...code

bottom of function, before the return statements
show_debug_message("Exit: FunctionName")
  • 0

#12 lordvtp

lordvtp

    GMC Member

  • GMC Member
  • 343 posts
  • Version:GM:Studio

Posted 05 May 2012 - 12:18 AM

Ok nice! Thanks icuured, I can see now that the "CommandsPerfom" script is not completing for whatever reason..... I should note that I am refering to a freshly downloaded and otherwise unmodified version of the commandstack tutorial... So there is no code of mine at work here. I do wish someone else could verify this behavior as being uniqe to my household here or rather it working for you is.
  • 0

#13 lordvtp

lordvtp

    GMC Member

  • GMC Member
  • 343 posts
  • Version:GM:Studio

Posted 05 May 2012 - 04:36 AM

Scratch that, doesnt seem to be the case...... What the heck is going on here?
  • 0

#14 NakedPaulToast

NakedPaulToast

    GM Studio/Mac/Win

  • GMC Member
  • 7203 posts
  • Version:GM:Studio

Posted 05 May 2012 - 05:14 AM

I downloaded the .gm81 version, and imported it into GM:S 1.0.153

It worked perfectly with the HTML5 export, with the Blue AI object immediately hunting down the Red enemies.

With both the Windows and Android exports, the screen froze immediately when running, with the Blue AI object and all visible Red enemies frozen with their directional arrows pointing right.
  • 0

#15 icuurd12b42

icuurd12b42

    Self Formed Sentient

  • Global Moderators
  • 14395 posts
  • Version:GM:Studio

Posted 05 May 2012 - 05:24 AM

That is way bizarre. Are the functions even called? With a show_message you can detect what function blows the whole thing to bits. You can also enable the error save log in the game settings. show_debug_messages are logged there too I think.
  • 0

#16 lordvtp

lordvtp

    GMC Member

  • GMC Member
  • 343 posts
  • Version:GM:Studio

Posted 05 May 2012 - 06:12 AM

+1 ^ Thats what I get on my machines as well!

Edited by lordvtp, 05 May 2012 - 06:13 AM.

  • 0

#17 rwkay

rwkay

    YoYo Games CTO

  • YoYo Games Staff
  • 1415 posts
  • Version:Unknown

Posted 05 May 2012 - 08:56 AM

Currently GML in extensions will not be working (though DLL's are in the next version, coming soon) - can you file a bug with a project attached and I will take a look.

Russell
  • 0

#18 icuurd12b42

icuurd12b42

    Self Formed Sentient

  • Global Moderators
  • 14395 posts
  • Version:GM:Studio

Posted 05 May 2012 - 03:26 PM

This is made in GML and simply uses ds_list, ds_stack and script execute. and user defined command scripts do use other functions, if it gets that deep in the calls.

I don't know where the fault would happen or why it would glitch only for some. Especially in Windows

Added to bug tracker
  • 0

#19 lordvtp

lordvtp

    GMC Member

  • GMC Member
  • 343 posts
  • Version:GM:Studio

Posted 21 May 2012 - 10:45 PM

Sorry to necro this, but what bug # did this get? I'm just wondering if its been assigned or passed off, as are allready on the 2nd release candicate and still no dice for this.

Edited by lordvtp, 21 May 2012 - 10:46 PM.

  • 0

#20 icuurd12b42

icuurd12b42

    Self Formed Sentient

  • Global Moderators
  • 14395 posts
  • Version:GM:Studio

Posted 21 May 2012 - 11:22 PM

Sorry to necro this, but what bug # did this get? I'm just wondering if its been assigned or passed off, as are allready on the 2nd release candicate and still no dice for this.


Studio Database, #3181
http://bugs.yoyogames.com/view.php?id=3181
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users