The online racing simulator
Searching in All forums
(966 results)
Gai-Luron
S3 licensed
Hello,

LFSLapper is freeware on GNU license and released with source . It's not top secret App., i think the best way to keep alive an App, it's release source. Most app are dead when insim 4 was released, like GhostCar, LFSStat, PitSpotter. LFSLapper is not Dead because initial dev ( Monkster ) have released source and i think is a good thing. LFSLapper for me it's for fun, not to make money or glory

Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Hello,

Here videos on what happen on Windows and linux server.

http://ks37764.kimsufi.com/replay/insim/videotestbutton.zip

Gai-Luron

PS: My server is on Windows XP machine, not server 2003. Lapper send all button to LFS dedi without a TCP error. Maybe i do an error and CTRA server too, but where, i don't know . We can do a test with Lapper ( lapper on my computer) on your windows 2003 server and on your windows XP server.
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Quote from Dygear :Question, can you save the dedicated host replay file and try to recreate it with that?
Could you provide the reply file of your own clients disconnection.

Yes i can send you the replay, but button will be no displayed because insim application send button, you only can view the disconnection.

Quote :
The last thing I would ask, would be a packed sniffed stream coming from the Ethernet port to see all of the raw packets going across the network from and two the port of LFS.

I have neve user sniffer, and i don't have time for now, to learn how to work sniffer and analyse packet. But if you want to test with me, why not?

Quote :
  • Engine Bug - Should be recreatable in the mpr file as well, or should get some kind of error message in play back (Best we can hope for really)

Without insim app connected, you only see the disconnection
Quote :
  • Network Issue - Should cure it's self when using the loopback device. (By that I mean connecting to the client and host on the same computer ... 127.0.0.1)

Maybe, but this will occur also when i'am connecting to other computer in the world using lapper on windows system.

Quote :
  • Network Code Error - on the Windows API level. (Unlikly, but could happen.)

I don't know how to search in this way

Gai-Luron

EDIT: here two replay:
http://ks37764.kimsufi.com/replay/insim/replay_button1.mpr
http://ks37764.kimsufi.com/replay/insim/replay_button2.mpr

EDIT 2 :
I have a private message from a player who tell me that issue is also present on CTRA ( not lapper insim app!! )

Quote from Dustin Dawes :Hi Gai-Luron:

I'm PMing you...

This issue also happens with the CTRA servers, when the results screen gets shown up (with points), many people lag out of the server because they get flooded with button packets. To counter this, we put in a way to disable, or have them limited by time (rather than instantly, deliver them every 10 seconds, as to avoid spamming clients with packets).

Hope this maybe clears it up, that it is partially a code error, by spamming too many buttons. However it is odd (although expected ) that it works while using WINE in Linux.

Dustin (dawesdust_12)

The only difference is that, i am not spamming all player, but this happen also when i show only one toplist for one player
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
I have made a new Topic in programmer's forum

http://www.lfsforum.net/showthread.php?t=45865

Thank's for the answer Scawen .

Gai-Luron
Gai-Luron
S3 licensed
Hello,

I try to explain more clearly the insim button problem.

When button are implemented in LFS, i start to use it but only for 7 or 8 button at time.
Recently, i upgrade LFSLapper and add ability to display the top classification with button and simple scripting language who can display button. To have beautifull presentation i use 5 button for one line of this top list and 19 lines. I display 95 buttons in one time.

I have tried in many configuration.
When lapper is
Connected on dedi LFS on windows.
if i connect to this server with LFS and i'am alone, the command to display top list display 46 buttons, stop for 1 second, then display rest off button.

if i connect to this server with LFS and i'am not alone, when i want to display top list. +/- 46 buttons are displayed, then the other button are displayed every 1 second. After +/- 10 second, i am disconnected to server.

Connected on not dedi LFS under windows and i start a new game
if i request top in the LFS host game, all buttons are displayed

if a player connect to my server and request top list. 46 buttons are displayed, then the other button are displayed every 1 second. After +/- 10 second, he is disconnected to server.

Connected on dedi LFS but under linux OS with wine

All work fine, button are displayed quickly for every player.

I don't know if this issue come with patch Z, because i never use button before last test patch and when i tried this i do it on dedi located on linux server.
In fact i have already see this issue on server on patch Y, but at this time i have put this issue on provider limitation, because on my server on Linux this issue don't appear ( Dedicated server with 100Mb of bandwith and debian linux ).
i put trace on my Lapper app, and button are sended in one shot, no TCP limitation.
I try also to connect to insim in UDP, same thing , i try to change TCP buffer on windows XP and some register value, no change. I have a good bandwith on my windows server. I'am disapointed.

It's easy to reproduce it, run a dedi LFS on windows server, connect Lapper and connect to this server with LFS and type !top. If you are not alone, you are disconnected after +/- 10 seconds.

Scawen, when you have time, i can config a server to make test.

For now last version of Lapper is in test and no much guys use it because professionnal hoster have not updated Lapper with this last version. Actually there are +/- 130 lapper who run with stable version and +/- 20 with new version ( this numbers are only server voluntary registered, i have no idea of the real total number of server running Lapper http://www.frh-team.net/reglapper/ ). But i can't release it with this issue or i do remove top list displayed with button.

Thank's for your answer .

Gai-Luron
Last edited by Gai-Luron, .
Insim Button Issue with patch Z
Gai-Luron
S3 licensed
Hello, i put a message from Scawen here to begin discuss about insim button issue.

Quote from Scawen :Hi. All I can say is I've seen this thread. I can't explain it...

It's not clear from this description if it's a new problem or not, Mischa NED says it's the same with old versions. And nothing has changed since the buttons were first implemented, so I would be surprised if it is a new problem.

If there was an very clear way to reproduce it, every time then I could look into the problem at some point. Though I am very busy right now on a lot of things so... no rush with it.

Maybe you just shouldn't send too many buttons to too many users at once. Are you making sure that every text button packet is of the minimum size needed to send the text in that button?

Maybe some bandwidth calculations would help. Exactly what bandwidth of button packets is being sent to how many users all at once, to cause the bug? Maybe the upload bandwidth is being exceeded.

Could be a good idea to discuss it with the other programmers in the programmer section?

Gai-Luron
S3 licensed
Hello,

I don't think that Insim send IP adress of the connected player. I can't do anything.. But now if you have his username, you can ban it!

For the official version, i want to terminate expr evaluation with '&&' and '||' to have multiple test in one.
I planned also to add
WHILE(...)...ENDWHILE
FOR(...)...ENDFOR
CALL function() with args and return value from a function

Hard work, the final version it's not for tommorow

Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Hello,

i am happy to know that i'am not alone. A little explanation by the Dev will be top.

If dedi is on linux server with wine, all work fine!

Gai-Luron
Gai-Luron
S3 licensed
Hello,

New version of Lapper : 7.0.4 Beta

Quote :+----------------------------+
|Changes from v5.703 to 5.704|
+----------------------------+

1. Fix wrong decimal value in driftscore.

2. Many modification and Upgrade in expression evaluator
operator allowed:
+,-,/,*,^,==,!=,>,<,<=,>=
3. You can use IF( expr ) THEN ... ELSE ... ENDIF in script, take a look on onSpbSplit for an averview
Exemple if you want kick unnamed on OnConnectClose Sub called when player click Accept
Sub OnConnectClose()
closePrivButton("welc&pos&clos&ref");
IF( $Nickname == "unnamed" )
THEN
cmdLFS( "/kick " . $Username );
ENDIF
EndSub
You can also test this when a player join a race


4. Event removed in config file:
OnSpb1Up
OnSpb1Low
OnSpb2Up
OnSpb2Low
OnSpb3Up
OnSpb3Low
OnSpbLastUp
OnSpbLastLow

5. New Event in config file
OnSpbSplit When a split is done
OnSpbLast When a lap is done

6. Remove turn off button when spectated

7. Add config version file from Yisc[NL]

8. New color syntax file for PSPPAD editor in doc folder


Have a good test

Gai-Luron
Gai-Luron
S3 licensed
Hello,

You can't do anything. Fixed for the next release

Gai-Luron
Gai-Luron
S3 licensed
Quote from Starblue :I think it's the Lapper that clears the button...I tried to log the insim communication and it seems that Lapper sends a 42 - ISP_BFN packet right after LFS has sent a 23 - ISP_PLL (Player Leave) packet.
Infact, trying with another app (LFSAdminRights), I do not lose buttons on screen when going from race to spectator.

Btw, congrats for all your work on LFSLapper, I haven't used it much (yet) but it looks amazing
The possibility of using user-defined scripts is absolutely brilliant

Starblue

Exact Sherlock, i forgot this . I remove it. I hope this don't impact in other way.

Gai-Luron
Gai-Luron
S3 licensed
Kick with nicknane don't work in Z patch

Wait for a future extension of LFSLapper
Gai-Luron
S3 licensed
Hello,

More info,

On dedi host windows, don't work
On dedi host linux with wine, work perfectly

If host is not a dedi host, work if i play with the host, don't work if a player connect to my host.

Funny, no!

Gai-Luron
Gai-Luron
S3 licensed
Quote from The_saint :Hi, I have some problems with the lapper (5.703)

There´s no kicking when driving to fast in the pit, have tryed username instead of nickname and im Not using Admin rights.

Then there´s no kicking when swearing and flooding the chat

Have I done something wrong or is it the lapper?

Do you use UTF-8 editor, try PSPPAD
Gai-Luron
S3 licensed
Hello,

Thank's dev for the massive answers . i will try to bypass this bug... oupss no, "functionnality" or maybe i put Lapper in stand by. why not?

Bye

Gai-Luron
Gai-Luron
S3 licensed
Hello,

Yes, it's LFS who turn off button. I take a look if any chance to do in other way.

Gai-Luron
Gai-Luron
S3 licensed
Quote from Tim NL :
1: When you use a openGlobalButton that closed on time (Example 4sec) it will be closed after 30 sec.
It's alway's 30 sec .

Register MsgAction("!blue",MA_blue);
Sub MA_blue()
$allow = "&./admin.lst";
openGlobalButton( "blue",40,50,120,15,10,4,0,"^4RESPECT BLUE FLAGS QUICKLY",);
EndSub

If you are not on track, or no player are on track it's normal, because receive info from insim every 30 s. It's not really a bug because normally there are player on track.

For restart, i take a look

Gai-Luron
Gai-Luron
S3 licensed
I change the extension of the config file because i use an editor wich can colorize file when displaying ( The editor is PSPAD, you can find it here : http://www.pspad.com/en/ ). extension cfg is to generic and i change to lpr. You can use PSPPAD editor with this file http://ks37764.kimsufi.com/mods/PSPPADLapper.zip. Put it in Syntax folder to have colorized config file.

I remove overriding option, thank's Yisc[NL].

Bye

Gai-Luron
Gai-Luron
S3 licensed
Hello,

new version 5.7.0.3

For now i fix the bug, but i write in todo your wish

Quote :+----------------------------+
|Changes from v5.702 to 5.703|
+----------------------------+

1. Fix wrong value for acceleration Time display in Acceleration options.

2. Corrected config file by Yisc[NL]

3. Fix issue when wr not present on lfs world or not loaded

+----------------------------+
|Changes from v5.701 to 5.702|
+----------------------------+

1. Fix issue when config file is in utf-8 format. This file must be in UTF-8 or ansi
solve somme bug on autokick, and $allow


+----------------------------+
|Changes from v5.700 to 5.701|
+----------------------------+

1. Idle Time out wrong Unit in config file, now second

2. Laptime and averagespeed (unknown) when new PB

3. Car can be put in lower or uppercase in !top

4. Corrected config file

Gai-Luron
Gai-Luron
S3 licensed
Hello,


When i'am alone, there is a break in display button after +- 46 button and then i receive the rest of button. But when there is at less 3 or 4 players on server under 46 button display, this will work fine and the display is quickly done. But upper 46, 1 button per second is displayed and timeout connection is received and i'am disconnected from the server.

I look more tonite but in Lapper all button are sended in one shot, no tcp issue.

Thank's for your investigations


Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Quote from Andy King :Bug Accelerate Options isn't showing correct speed when you select MPH, it defaults to 100 which is KM/H when it displays the message in LFS.

You have selected Mph in shift+i screen on LFS ?

Gai-Luron
insim Button issue in patch Z
Gai-Luron
S3 licensed
Hello,

I noticed a strange issue in new version Z. When LFSLapper query LFS to put much button on a screen for one player ( command !top display 86 buttons ). LFS display about 40 buttons and the next ones appear very slowly. Then a timeout is reached and i lost connection. In patch Y10 this don't occur, but in recent pacth Y, this occured and now in patch Z.

Geetings

Gai-Luron
Gai-Luron
S3 licensed
New version, 5.702

Fix issue if config file is not ansi type. Now this file can be UTF-8 or Ansi

Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
What's the name of your event?????


Gai-Luron
Gai-Luron
S3 licensed
Quote from Tim NL :Hi,

Is it posible to goto a sub from a closePrivButton?
So i can close a multiline Privbutton and open a new one.

Something like this.
Example:

Sub Gotohelp()
closePrivButton("welc&clos");
cmdLFS("MA_help");
EndSub

Sub MA_help
..
..

And How to load PubStatIdk?
When i use the folling line i get a syntax error
PubStatIdk = xxxxxxxxxxxxxxxx;

ps: i using Lapper version 5.701

For now no, but in the future Yes! I change config file also for this .

In next stage i planned to add
- control flow
IF ... THEN ... ELSE ... ENDIF

- Loop methods
WHILE ... ENDWHILE
FOR ... STEP ... NEXT

Now In event and sub you can use +-/* in expression or attribution to local var
Exemple
$toto = (12 + 3)*4 + $OtherVar;

Many thank's for your tests men. I look it quickly.
Today i construct my barbecue and i have no time to look for your request. But don't worry i fix the bugs

Pubstat is a string! Quote it!

$PubStatIdk = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";



Gai-Luron
Last edited by Gai-Luron, .
FGED GREDG RDFGDR GSFDG