Hello Lapperusers.
Here is a new version of LFSLapper.
See the changes below.
NOTE: Since Version 7.0.4.4 contains changes for the RegisterNodeAction() & RegisterZoneAction() Sub Callbacks. The Sub callback requires now 2 values. See example below!!
==========================================================
==========================================================
Here is a new version of LFSLapper.
See the changes below.
+-------------------------------+
|Changes from 7.0.4.5 to 7.0.4.6|
+-------------------------------+
=================================================
New:
=================================================
01 New function: layoutinfo(); Layout information ISP_AXI Insimpacket
-Number of objects
-Number of Checkpoints
-Number of startarrows
-Layoutname: (only when lapper is loaded on a local server)
02 New PlayerVars: Extra player info ISP_NCI Insimpacket (DONE)
//These vars are set after the player has joined the server
GetPlayerVar($userName,"LFS_Language"));
GetPlayerVar($userName,"LFS_UserID"));
GetPlayerVar($userName,"DecimalIPAdress"));
GetPlayerVar($userName,"IPAdress"));
To retreive extra info about the players AFTER lapper is loaded:
connectioninfo();
03 New PlayerVars: AFKTimer/IdleTimer
GetPlayerVar($userName,"AFKTime")); # Not being active in the server (Driving/Sending messages)
GetPlayerVar($userName,"IdleTime")); #Not driving the car (on the road).
=================================================
Updated:
=================================================
01: Max stored laptime is now 30 minutes instead of 5 minutes.
//Laptimes higher than 30 minutes will not be stored in the Lapper database.
//Reason: For very long layouts.
02: Few document updates.(Docs folder)
=================================================
Fixed:
=================================================
01: Lapper Crash: After loading/clearing layouts
02: Lapper Crash: After loading new track
NOTE: Since Version 7.0.4.4 contains changes for the RegisterNodeAction() & RegisterZoneAction() Sub Callbacks. The Sub callback requires now 2 values. See example below!!
==========================================================
<?php
RegisterNodeAction( TESTID, getLapperVar( "ShortTrackName" ) , getCurrentPlayerVar("CurrNode") , test,"" );
Sub test($UserName,$ZoneID)
privmsg("ID=".$ZoneID); #output is TESTID
EndSub
?>