Forged Alliance Forever Forged Alliance Forever Forums 2012-07-17T08:15:06+02:00 /feed.php?f=3&t=1535 2012-07-17T08:15:06+02:00 2012-07-17T08:15:06+02:00 /viewtopic.php?t=1535&p=15913#p15913 <![CDATA[Re: Lua help]]>
It get worst or better depending of the quality of the connection of the people joining. I have a friend with a difficult router. The lobby was freezing when he join, making others timing out. It usually didn't took long enough to crash the lobby, but it did sometimes.

Also, you probably NEVER want to alt-tab.

Statistics: Posted by Ze_PilOt — 17 Jul 2012, 08:15


]]>
2012-07-17T03:38:47+02:00 2012-07-17T03:38:47+02:00 /viewtopic.php?t=1535&p=15910#p15910 <![CDATA[Re: Lua help]]>
Probably simpler to set up a listener service, and query that one. But it would require someone who understands C++, LUA and the inner workings of SupCom in order to to it in a reasonable time. I'm fully booked as it is.

Well, sorry I can't be of more assistance.

Statistics: Posted by bk0 — 17 Jul 2012, 03:38


]]>
2012-07-17T01:38:26+02:00 2012-07-17T01:38:26+02:00 /viewtopic.php?t=1535&p=15907#p15907 <![CDATA[Re: Lua help]]>
bk0 wrote:
Hm, or rewrite the connection part... we have to re-implement those native methods, using LUA (or C++ etc.)

Given how important they are, it might be worth a shot. I'll see what I can dig up, there should be standard code for this kind of stuff posted on the web...


i would not bother. it would be an order of magnitude less work to find the bug in the engine (the "forget it" part) than
to recode parts of it.

Statistics: Posted by rootbeer23 — 17 Jul 2012, 01:38


]]>
2012-07-17T00:43:12+02:00 2012-07-17T00:43:12+02:00 /viewtopic.php?t=1535&p=15906#p15906 <![CDATA[Re: Lua help]]>
Given how important they are, it might be worth a shot. I'll see what I can dig up, there should be standard code for this kind of stuff posted on the web...

Statistics: Posted by bk0 — 17 Jul 2012, 00:43


]]>
2012-07-17T00:31:40+02:00 2012-07-17T00:31:40+02:00 /viewtopic.php?t=1535&p=15905#p15905 <![CDATA[Re: Lua help]]>
Ze_PilOt wrote:
It's not the FAF Game Lobby. It's FA engine. Even on GPGNET, people with badly configured router/firewall were making the lobby freezing, leading to some crashes if a lot of people were trying to log in during that time. It's not new, and not related to FAF or Power Lobby.

I don't know why it happens more on FAF, probably because I'm not using a relay for connecting players.


It did seem to get worse a month ago, so there is still hope that it can be worked around.
Do you mind explaining how the peers are connected with or without a relay.

Statistics: Posted by rootbeer23 — 17 Jul 2012, 00:31


]]>
2012-07-17T00:27:53+02:00 2012-07-17T00:27:53+02:00 /viewtopic.php?t=1535&p=15904#p15904 <![CDATA[Re: Lua help]]>
I don't know why it happens more on FAF, probably because I'm not using a relay for connecting players.

Statistics: Posted by Ze_PilOt — 17 Jul 2012, 00:27


]]>
2012-07-17T00:03:44+02:00 2012-07-17T00:03:44+02:00 /viewtopic.php?t=1535&p=15901#p15901 <![CDATA[Re: Lua help]]>
bk0 wrote:
Hi there, sorry for the programmer question.

So I had a look at the FAF Game Lobby, in order to find out why it freezes. Turns out I'm stuck here:

Code:
LobbyComm = Class(moho.lobby_methods) {

    # General events you should override
    #etc
}


I'd like to have a look at moho.lobby_methods, but can't find the class. Is there an easy way to find said class, without going through all the code?
I've never worked with LUA before, so any help is welcomed.

Greetings and Thanks
bk


That class in implemented in C++ and is part of the moho engine. whenever a call to one of the methods is made,
the arguments are translated to C++ types (numbers are translated to int for example).
So everything there is basically off limits. The only way to work on the moho engine would be on the machine code
level (-> forget it).

Statistics: Posted by rootbeer23 — 17 Jul 2012, 00:03


]]>
2012-07-16T23:42:18+02:00 2012-07-16T23:42:18+02:00 /viewtopic.php?t=1535&p=15900#p15900 <![CDATA[Lua help]]>
So I had a look at the FAF Game Lobby, in order to find out why it freezes. Turns out I'm stuck here:

Code:
LobbyComm = Class(moho.lobby_methods) {

    # General events you should override
    #etc
}


I'd like to have a look at moho.lobby_methods, but can't find the class. Is there an easy way to find said class, without going through all the code?
I've never worked with LUA before, so any help is welcomed.

Greetings and Thanks
bk

Statistics: Posted by bk0 — 16 Jul 2012, 23:42


]]>