[project1dev] Re: Project1 - SVN Update 667

  • From: Alan Wolfe <alan.wolfe@xxxxxxxxx>
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Thu, 11 Mar 2010 09:46:37 -0800

oh i see about eric joining.  i'll check that out.

for the buttons thing i would try just keeping track of who's turn it is and
if it's not the current player's turn, dont have the button click do
anything.

If you want to get fancy, you could also remove the button when it's not
their turn and possibly replace it with a greyed out image of the button.
On Thu, Mar 11, 2010 at 9:31 AM, Kent Petersen <kentkmp@xxxxxxxxx> wrote:

> I'll try to explain again.
>
> I created a code that creates a net1 game room and joins in. Then it
> displays who is in there via console.
>
> I joined the game with the default log in Atrix. Then I changed the
> config.lua to join as Korgath and I started a new instance of the game and
> joinned it. 2 people in game net1 (console shows this as well). Now I was
> playing with message codes and buttons when it said "eric joined" and
> eventually "eric left". Which as you can see is no where in the code. This
> was also before I updated so I don't see any way Eric could have made it in
> my room. Maybe he tried to join the lobby around that time?
>
> 2nd
> As a demo I am trying to have the players alternate turns. One goes then
> the other goes. For your turn they can click one of the buttons I have. How
> would you recommend going about doing that?
>
>
> On Thu, Mar 11, 2010 at 9:17 AM, Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote:
>
>> huh?
>>
>> need more info...
>>
>> but looking at your code, it looks like its set up to join an existing
>> room if it can, otherwise it will create a new one.
>>   On Wed, Mar 10, 2010 at 9:21 PM, Apache User <
>> dhapache@xxxxxxxxxxxxxxxxxxx> wrote:
>>
>>> User:korgath
>>>
>>> Message: first network experiment. I think I ran into a bug with it as
>>> well
>>>
>>> While I was messing around with my console chat and trying to find a way
>>> to have the server wait for 2 ppl to make a selection... I found that Eric
>>> joined for a bit. Looking at my code it should have its own server.
>>>
>>> <Files Changed>
>>> A   Scripts/Personal/Kent/net1.lua
>>>
>>>
>>> ==============================
>>> Project 1 Dev mailing list
>>> to unsubscribe, please send an email request to demofox@xxxxxxxxxxx
>>> Project 1 website: http://project1.demofox.org
>>> Project 1 SVN repository: http://pyotek.com/project1
>>>
>>
>>
>

Other related posts: