Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment   Page 3 of 3      Prev   1   2   3
ryleyra

Registered:
Posts: 3,007
Reply with quote  #31 
I would say Xavier is on the right track. I wouldn't have known that a GM console started after the game is running would not display buttons.

You definitely have 2.4, though, because you have two buttons. "Instructions" at the top of the screen and "Send Comms" at the bottom definitely demonstrate that the buttons are working. Your script just isn't displaying them for some reason.
john_braker

Registered:
Posts: 4
Reply with quote  #32 
Have not tried it yet but it sounds logical. 

I'll report if it worked as soon as i tested it. Thanks till now!

Edit: it worked! Thanks a lot for the quick response of both of you.

That saved our Artemis(Star Trek LARP)-Mission in two weeks [biggrin]
Arrew

Avatar / Picture

Registered:
Posts: 2,737
Reply with quote  #33 
Xavier is absolutely right.

I was kind of expect this in the feedback thread but I guess you can't feed back if you can't use it. [wink]

I was going to use a timer, like Xavier, to refresh the menus and buttons but decided on a GM button press to refresh them as it'd be less system strain and is less likely to cause refreshing issues with my menus.

In meetings today, will update whenever I have time...
ryleyra

Registered:
Posts: 3,007
Reply with quote  #34 
Quote:
Originally Posted by Arrew
I was going to use a timer, like Xavier, to refresh the menus and buttons but decided on a GM button press to refresh them


Might I suggest putting a note to that effect in the Instructions? That way, if someone brings up the GM screen and doesn't see any buttons, they can click on Instructions, and on that screen it will say something like "If you see no buttons on this screen, press the B key."

I was also thinking that a GM keybind would be the best way to handle the issue, since it would still be active even if the menus weren't working. There is something to be said for continuing to support the keybind interface.


Arrew

Avatar / Picture

Registered:
Posts: 2,737
Reply with quote  #35 
Done and updated.

Although the instructions don't appear either if the menus don't.
I think the file needs a read me file but that's a little further down on the list right now [wink] .

Anyways it's tied to the "M" for Menus key.
Wausauspace

Registered:
Posts: 5
Reply with quote  #36 
I've been trying to create a GM crash redundancy in my simple menu system but have found problems.

Problem: After simulated GM 'crash' and reconnect, the INIT GMbutton does nothing.

Any confirmation of problem or advice from the masters would be appreciated.
Thank you in advance for anything you see here I'm doing wrong.

Note (if applicable)
I'm running all screens on 1 robust PC with Windows 10 with no special compatibility modes on Artemis.exe

How to reproduce (what I'm doing)
1) Run Artemis.exe 800x600 windowed > Server
2) Run Artemis.exe 800x600 windowed > Client
3) Server> Scripted Mission> My short code
4) Client> Connect to Server> Select Ship1, Game Master , Ready to Play
5) Server> Start Game ..... Game starts on both windows....
6) Client> press INIT GMbutton. It works, menus populate, all is well.
7) Exit the client, (Server Black screens) and restart the client in 800x600 windowed mode
8) Client> Connect to Server> Select Ship1, Game Master , Ready to Play (Server loses Black screen)
Problem: INIT GMbutton present but when clicked, menus do NOT populate this time.
Crash redundancy fails.

I even redid the test and added a third windowed client Ship1/HELM so the server didn't "black screen", no results.

I later tried a GM hotkey "0" press.. no results.

My short code:

<mission_data version="2.40">
<start> <!--**************************************************** -->
    <create type ="player"  x="50000" y="0" z="50000" name="Artemis"/>
 <gm_instructions title="Any Text Here">
      Hello  
 </gm_instructions>
 <set_variable name="INITVAR" value="1" />
 <set_timer name="INITTIMER" seconds="5" />
 <set_gm_button text="INIT" x="-1" y="1" w="50" h="19" />
  </start> <!--**************************************************** -->
  <event>
 <if_variable name="INITVAR" comparator="EQUALS" value="0" />
 <if_timer_finished name="INITTIMER" />
 <set_gm_button text="INIT" x="-1" y="1" w="50" h="30" />
 <set_timer name="INITTIMER" seconds="5" />
 <set_variable name="INITVAR" value="1.0" />
  </event>
  <event>
 <if_variable name="INITVAR" comparator="EQUALS" value="1" />
 <if_timer_finished name="INITTIMER" />
 <clear_gm_button text="INIT" x="-1" y="1" w="50" h="19" />
 <set_timer name="INITTIMER" seconds="0.1" />
 <set_variable name="INITVAR" value="0" />
  </event>
  <event>
    <if_gm_button text="INIT"/>
    <set_gm_button text="Create Enemy/Small Standard" menu_w="125" />
  </event>
  <event>
    <if_gm_button text="Create Enemy/Small Standard" />
    <create type ="enemy" raceKeys="enemy standard" hullKeys="small" use_gm_position="yes" angle="90" fleetnumber="-1"/>
  </event>
</mission_data>
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.