Live for Speed - LFS Main Site
- LFS World
- LFS News
- LFS Manual
- LFS Merchandise
  http://www.sert-lfs.net/

Go Back   Live for Speed > Main > LFS Programmer Forum > LFSLapper Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th March 2012, 12:12   #841  -   
sarxes
S2 licensed
 
sarxes's Avatar
 
Racername: [MD]SarXes
Join Date: Nov 2011
Location: Ireland
Posts: 186
sarxes's online stats
THX a lot for your help again , but the code doesnt work any more

Last edited by sarxes; 18th March 2012 at 12:22.
Reply With Quote
Old 23rd March 2012, 13:10   #842  -   
paul88
S2 licensed
 
paul88's Avatar
 
Racername: cougar
Join Date: Aug 2003
Location: mansfield
Posts: 66
paul88's online stats
lapper fault

guys need help on lapper when in lfs you have t!pwgui set pit window when this is set to 1 pit window with tyre change nothing is done am i missing something ?
Reply With Quote
Old 23rd March 2012, 18:18   #843  -   
Krayy
S2 licensed
 
Krayy's Avatar
 
Join Date: Nov 2007
Location: Auckland, NZ
Posts: 459
Krayy's online stats
Quote:
Originally Posted by paul88 View Post
guys need help on lapper when in lfs you have t!pwgui set pit window when this is set to 1 pit window with tyre change nothing is done am i missing something ?
We're currently rewriting that module for the new lapper version, so we'll fix it in the next release
__________________
Live For Speed New Zealand
Reply With Quote
Old 23rd March 2012, 18:24   #844  -   
Yisc[NL]
S2 licensed
 
Racername: [AB] Yisc
Join Date: Jun 2005
Location: Leiden
Posts: 777
Yisc[NL]'s online stats
The tyre change part was never finished, since I couldn't get it to work in the older Lapper version. Maybe it would be working with the latest version of Lapper.
__________________
Antec P182 / Coolermaster Silent Pro 600W Modular / MSI Z77A-GD65 / Intel Core I7-3770K- 3.5 Ghz / Corsair Vengeance LP 8GB DDR3 1866 MHz / Asus Radeon 7970 - 3GB DDR5 / OCZ Vertex2 120 GB / WD 1 TB - 5400-7200rpm (2x) / LG BH10LS38 Blue-ray re-writer / Hauppauge HVR2200
Reply With Quote
Old 24th March 2012, 12:39   #845  -   
sarxes
S2 licensed
 
sarxes's Avatar
 
Racername: [MD]SarXes
Join Date: Nov 2011
Location: Ireland
Posts: 186
sarxes's online stats
There is any way to run LFS lapper without dedicated host in single player ?
Reply With Quote
Old 24th March 2012, 19:22   #846  -   
Krayy
S2 licensed
 
Krayy's Avatar
 
Join Date: Nov 2007
Location: Auckland, NZ
Posts: 459
Krayy's online stats
Quote:
Originally Posted by sarxes View Post
There is any way to run LFS lapper without dedicated host in single player ?
LFS needs a lfs server to connect to, so technically you can run LFS on your PC and set it up as a local server then connect Lapper to that
__________________
Live For Speed New Zealand
Reply With Quote
Old 31st March 2012, 16:11   #847  -   
ViKTOOR-LFS
S2 licensed
 
ViKTOOR-LFS's Avatar
 
Join Date: Nov 2006
Location: Saudi Arabia
Posts: 96
ViKTOOR-LFS's online stats
hi guys i need help here...

about

###################################
#Authorization Options ( license )#
###################################

how i can Choose only Friends licenses Join to server<for Example


coz I've seen this before and the server kicked me because I did not register to website for drift team or something like that !! But I was not sure about the InSim lfslapper or somthing else !!
__________________
Server Name : 4LFS Drift Tweak
viktoor-lfs : Server Owner
RULLS : NO CRASHING & SWEARING & WRONGWAY ==> HAVE FUN

Last edited by ViKTOOR-LFS; 31st March 2012 at 19:22.
Reply With Quote
Old 31st March 2012, 22:46   #848  -   
Krayy
S2 licensed
 
Krayy's Avatar
 
Join Date: Nov 2007
Location: Auckland, NZ
Posts: 459
Krayy's online stats
Quote:
Originally Posted by ViKTOOR-LFS View Post
hi guys i need help here...

about

###################################
#Authorization Options ( license )#
###################################

how i can Choose only Friends licenses Join to server<for Example


coz I've seen this before and the server kicked me because I did not register to website for drift team or something like that !! But I was not sure about the InSim lfslapper or somthing else !!
To be honest I've never understood the Auth system myself.

What exactly are you wanting to acheive?
__________________
Live For Speed New Zealand
Reply With Quote
Old 2nd April 2012, 10:08   #849  -   
ViKTOOR-LFS
S2 licensed
 
ViKTOOR-LFS's Avatar
 
Join Date: Nov 2006
Location: Saudi Arabia
Posts: 96
ViKTOOR-LFS's online stats
Quote:
Originally Posted by Krayy View Post
To be honest I've never understood the Auth system myself.

What exactly are you wanting to acheive?
i need for exp. when someone or anyone try to join the server he get kick or ban already and Leave him a message or link to take my approved.If allowed to enter I put his name on lfslapper or admin.txt or somthing like that !! Because I have problems with some licenses users and I want to chose any licenses only allow to enter the server. i hope u you get my point


Code:
Lang "EN"
main_welc2 = "^7You are not allowed to join this server unless you have been approved by the server admin."
. "%nl%^2Please visit <this website> to apply for approval."
. "%nl%"
. "%nl%^4Approval is required as we have a problem with new users coming here and causing accidents, and not understanding the rules
^^
and when this message show i cant know how to do auto kick or ban. only when he press "OK" he get kicked >> me also i cant join i only have "ok" to kicked my self loool.. so i stop the lfslapper Until I find a solution to this problem
Attached Thumbnails
Click image for larger version

Name:	NMA07861.jpg
Views:	41
Size:	235.5 KB
ID:	121254  
__________________
Server Name : 4LFS Drift Tweak
viktoor-lfs : Server Owner
RULLS : NO CRASHING & SWEARING & WRONGWAY ==> HAVE FUN
Reply With Quote
Old 2nd April 2012, 16:34   #850  -   
Yisc[NL]
S2 licensed
 
Racername: [AB] Yisc
Join Date: Jun 2005
Location: Leiden
Posts: 777
Yisc[NL]'s online stats
What you really want is to set this:

Code:
Event OnNewPlayerJoin()
	UserGroupFromFile( "authorised_ab_users", "./Authorisation.txt" );
	$userName = GetCurrentPlayerVar ( "UserName" );
	IF( UserInGroup( "authorised_ab_users",$userName ) != 1 )
	THEN
	  cmdLFS("/spec "  . GetCurrentPlayerVar("Nickname") );
	  cmdLFS("/msg " . GetCurrentPlayerVar("Nickname") . "^3 not allowed on this server");
	ENDIF
EndEvent
This way only the people mentioned (you will need their LFS world names, instead of the nicknames they use) in your Authorisation.txt will have access to your server. If you are not on that list, you will get spectated (/spec) and get a message (/msg) that your not allowed on this server.
__________________
Antec P182 / Coolermaster Silent Pro 600W Modular / MSI Z77A-GD65 / Intel Core I7-3770K- 3.5 Ghz / Corsair Vengeance LP 8GB DDR3 1866 MHz / Asus Radeon 7970 - 3GB DDR5 / OCZ Vertex2 120 GB / WD 1 TB - 5400-7200rpm (2x) / LG BH10LS38 Blue-ray re-writer / Hauppauge HVR2200
Reply With Quote
Old 2nd April 2012, 21:18   #851  -   
Krayy
S2 licensed
 
Krayy's Avatar
 
Join Date: Nov 2007
Location: Auckland, NZ
Posts: 459
Krayy's online stats
The Membership Admin gui will do this as weel in that it allows you to make a racer a guest, visitor. full member or admin. Then you can just test that when they log on to see what permissions they have. No reason why it cannot be modified to be a license grading system as well.

In fact thats a good idea for an addon...
__________________
Live For Speed New Zealand
Reply With Quote
Old 2nd April 2012, 22:03   #852  -   
ViKTOOR-LFS
S2 licensed
 
ViKTOOR-LFS's Avatar
 
Join Date: Nov 2006
Location: Saudi Arabia
Posts: 96
ViKTOOR-LFS's online stats
Quote:
Originally Posted by Yisc[NL] View Post
What you really want is to set this:

Code:
Event OnNewPlayerJoin()
	UserGroupFromFile( "authorised_ab_users", "./Authorisation.txt" );
	$userName = GetCurrentPlayerVar ( "UserName" );
	IF( UserInGroup( "authorised_ab_users",$userName ) != 1 )
	THEN
	  cmdLFS("/spec "  . GetCurrentPlayerVar("Nickname") );
	  cmdLFS("/msg " . GetCurrentPlayerVar("Nickname") . "^3 not allowed on this server");
	ENDIF
EndEvent
This way only the people mentioned (you will need their LFS world names, instead of the nicknames they use) in your Authorisation.txt will have access to your server. If you are not on that list, you will get spectated (/spec) and get a message (/msg) that your not allowed on this server.
thnx Yisc[NL] for replay

i did what u say capy&paste on lfslapper.lpr

but about the Authorisation.txt !! i made 1 txt Next to the lfslapper.lpr

and i make Edit for default_1 To type $ApprovedFile = "./Authorisation.txt";

when i restart lfslapper >> nothing happen !!
Attached Thumbnails
Click image for larger version

Name:	default_1.jpg
Views:	19
Size:	68.6 KB
ID:	121258   Click image for larger version

Name:	Authorisation.jpg
Views:	16
Size:	149.2 KB
ID:	121259  
__________________
Server Name : 4LFS Drift Tweak
viktoor-lfs : Server Owner
RULLS : NO CRASHING & SWEARING & WRONGWAY ==> HAVE FUN
Reply With Quote
Old 3rd April 2012, 06:16   #853  -   
Yisc[NL]
S2 licensed
 
Racername: [AB] Yisc
Join Date: Jun 2005
Location: Leiden
Posts: 777
Yisc[NL]'s online stats
There is no need to place this in default_1.ini : $ApprovedFile = "./Authorisation.txt";

I have just tested the code myself (with the new uploaded Lapper version 6.0.1.3) and I spotted a small error in the code I gave you earlier, this is the right code:

Code:
##########################################
#New PLayer joining race or leaving pits)#
##########################################

Event OnNewPlayerJoin( $userName )  # Player event
	UserGroupFromFile( "authorised_users", "./Authorisation.txt" );
	$userName = GetCurrentPlayerVar ( "UserName" );
	IF( UserInGroup( "authorised_users",$userName ) != 1 )
	THEN
	  cmdLFS("/spec "  . GetCurrentPlayerVar("Nickname") );
	  cmdLFS("/msg " . GetCurrentPlayerVar("Nickname") . "^3 not allowed on this server");
	ENDIF
EndEvent
Further you have to make sure the Authorisation.txt is in the same place as your LFSLapper.lpr file , and to put one username per line in the Authorisation.txt , like this:

yisc[nl]
ViKTOOR-LFS
Kravy
__________________
Antec P182 / Coolermaster Silent Pro 600W Modular / MSI Z77A-GD65 / Intel Core I7-3770K- 3.5 Ghz / Corsair Vengeance LP 8GB DDR3 1866 MHz / Asus Radeon 7970 - 3GB DDR5 / OCZ Vertex2 120 GB / WD 1 TB - 5400-7200rpm (2x) / LG BH10LS38 Blue-ray re-writer / Hauppauge HVR2200
Reply With Quote
Old 3rd April 2012, 16:02   #854  -   
ViKTOOR-LFS
S2 licensed
 
ViKTOOR-LFS's Avatar
 
Join Date: Nov 2006
Location: Saudi Arabia
Posts: 96
ViKTOOR-LFS's online stats
Quote:
Originally Posted by Yisc[NL] View Post
There is no need to place this in default_1.ini : $ApprovedFile = "./Authorisation.txt";

I have just tested the code myself (with the new uploaded Lapper version 6.0.1.3) and I spotted a small error in the code I gave you earlier, this is the right code:

Code:
##########################################
#New PLayer joining race or leaving pits)#
##########################################

Event OnNewPlayerJoin( $userName )  # Player event
	UserGroupFromFile( "authorised_users", "./Authorisation.txt" );
	$userName = GetCurrentPlayerVar ( "UserName" );
	IF( UserInGroup( "authorised_users",$userName ) != 1 )
	THEN
	  cmdLFS("/spec "  . GetCurrentPlayerVar("Nickname") );
	  cmdLFS("/msg " . GetCurrentPlayerVar("Nickname") . "^3 not allowed on this server");
	ENDIF
EndEvent
Further you have to make sure the Authorisation.txt is in the same place as your LFSLapper.lpr file , and to put one username per line in the Authorisation.txt , like this:

yisc[nl]
ViKTOOR-LFS
Kravy
already did what u told me
but this Code not working with me !
__________________
Server Name : 4LFS Drift Tweak
viktoor-lfs : Server Owner
RULLS : NO CRASHING & SWEARING & WRONGWAY ==> HAVE FUN
Reply With Quote
Old 3rd April 2012, 17:38   #855  -   
Yisc[NL]
S2 licensed
 
Racername: [AB] Yisc
Join Date: Jun 2005
Location: Leiden
Posts: 777
Yisc[NL]'s online stats
Could you upload your LFSLapper.lpr file here?
You have to rename it to *.txt and then will be able to upload it, so I can have a look.
Which version of Lapper are you using?
__________________
Antec P182 / Coolermaster Silent Pro 600W Modular / MSI Z77A-GD65 / Intel Core I7-3770K- 3.5 Ghz / Corsair Vengeance LP 8GB DDR3 1866 MHz / Asus Radeon 7970 - 3GB DDR5 / OCZ Vertex2 120 GB / WD 1 TB - 5400-7200rpm (2x) / LG BH10LS38 Blue-ray re-writer / Hauppauge HVR2200
Reply With Quote
Old 3rd April 2012, 18:14   #856  -   
ViKTOOR-LFS
S2 licensed
 
ViKTOOR-LFS's Avatar
 
Join Date: Nov 2006
Location: Saudi Arabia
Posts: 96
ViKTOOR-LFS's online stats
Quote:
Originally Posted by Yisc[NL] View Post
Could you upload your LFSLapper.lpr file here?
You have to rename it to *.txt and then will be able to upload it, so I can have a look.
Which version of Lapper are you using?

LFSLapper, Version=6.0.1.2 by Robert BRACCAGNI ( Gai-Luron )
Attached Files
File Type: txt LFSLapper.txt (69.9 KB, 12 views)
__________________
Server Name : 4LFS Drift Tweak
viktoor-lfs : Server Owner
RULLS : NO CRASHING & SWEARING & WRONGWAY ==> HAVE FUN
Reply With Quote
Old 3rd April 2012, 22:49   #857  -   
Yisc[NL]
S2 licensed
 
Racername: [AB] Yisc
Join Date: Jun 2005
Location: Leiden
Posts: 777
Yisc[NL]'s online stats
Quote:
Originally Posted by ViKTOOR-LFS View Post
LFSLapper, Version=6.0.1.2 by Robert BRACCAGNI ( Gai-Luron )
I've tested your file in Lapper 6.0.1.2 and it's working instantly.
As soon as I try to join, I get the message that I am not allowed.
When I then put my name in the Authorisation.txt , I can immediatly join the server, without having to restart Lapper.

Does Lapper make any connection to your LFS server at all?
Have you opened an insim port on your LFS server?
To do that, type this into the LFS chat: /insim 29999
That portnumber must be the same as set in your default_1.ini

This is my LFSServers.cfg:

Code:
#    Configuration of LFSServer to be Managed with LFSLapper
# One line per server
# Remote port is the port used to manage LFSLapper remotely, future extension
# One remote port per LFSLapper on one machine, autoStart is optionnal
#Unique ID|GroupId|Ip|Port|WorkDir|IniFile|autowork
timeOutScript=10000;
remotePort=3001;
DEF1|gr1|127.0.0.1|29999|./default|default_1.ini|autowork
And this in my default_1.ini:

Code:
$password = "changeme";
$configFile = "LFSLapper.lpr";
$superUsersFile = "superusers.txt";
__________________
Antec P182 / Coolermaster Silent Pro 600W Modular / MSI Z77A-GD65 / Intel Core I7-3770K- 3.5 Ghz / Corsair Vengeance LP 8GB DDR3 1866 MHz / Asus Radeon 7970 - 3GB DDR5 / OCZ Vertex2 120 GB / WD 1 TB - 5400-7200rpm (2x) / LG BH10LS38 Blue-ray re-writer / Hauppauge HVR2200

Last edited by Yisc[NL]; 4th April 2012 at 06:23.
Reply With Quote
Old 4th April 2012, 12:27   #858  -   
ViKTOOR-LFS
S2 licensed
 
ViKTOOR-LFS's Avatar
 
Join Date: Nov 2006
Location: Saudi Arabia
Posts: 96
ViKTOOR-LFS's online stats
Quote:
Originally Posted by Yisc[NL] View Post
I've tested your file in Lapper 6.0.1.2 and it's working instantly.
As soon as I try to join, I get the message that I am not allowed.
When I then put my name in the Authorisation.txt , I can immediatly join the server, without having to restart Lapper.

Does Lapper make any connection to your LFS server at all?
Have you opened an insim port on your LFS server?
To do that, type this into the LFS chat: /insim 29999
That portnumber must be the same as set in your default_1.ini

This is my LFSServers.cfg:

Code:
#    Configuration of LFSServer to be Managed with LFSLapper
# One line per server
# Remote port is the port used to manage LFSLapper remotely, future extension
# One remote port per LFSLapper on one machine, autoStart is optionnal
#Unique ID|GroupId|Ip|Port|WorkDir|IniFile|autowork
timeOutScript=10000;
remotePort=3001;
DEF1|gr1|127.0.0.1|29999|./default|default_1.ini|autowork
And this in my default_1.ini:

Code:
$password = "changeme";
$configFile = "LFSLapper.lpr";
$superUsersFile = "superusers.txt";
bro my server working with 500servers from Control Panel Login
http://www.500control.co.uk

lfslapper is already start no proplem with that

they have Different numbers inside LFSServers.cfg to make lfslapper working.

Code:
remotePort=3918;
^7Saudi_Arabia_Cruise|gr1|84.45.52.141|17684|./default|default_1.ini|autowork
and default_1.ini i have same yours

but this code !! I do not know why this still not working

I am surprised that it worked well with you

if you want take a look to server :saudi_arabia_criuse

maby there is something should we do inside (addonsused.lpr) or Something Missing.

Code:
include ("./gui.lpr");
include( "./utils.lpr");
include( "./myInc.lpr");
# Help GUI


#### Include for splitting infos ####
#include( "./pitboard.lpr");
include( "./pitwindow_gui.lpr");
# OR
#include( "./defPitInfo.lpr");
#####################################

#### Include for drifting infos ####
#include( "./driftdef.lpr");
# OR
#include( "./driftmeter.lpr");
#####################################

include ("./debug.lpr");
# GUI Framework main include - this MUST be first
include ("./gui.lpr");

# Help GUI
include ("./gui_help.lpr"); # Multi-tabbed help (all in one)

# Admin GUI
include ("./gui_admin.lpr");    # Admin GUI root include
include ("./gui_admin_membership.lpr");   # Admin GUI Membership administration
include ("./gui_admin_handicaps.lpr"); # Admin GUI Handicap allocations

include ("./gui_help_cruise.lpr"); # Cruise help file (remove if not reqd)  
include( "./safetycar.lpr");
include( "./ctrack.lpr");
#include( "./Cruise.lpr");
#include( "./Cruise_Settings.lpr");
include( "./guiconfig.lpr");
include( "./racecontrol.lpr");
include( "./who.lpr");
include( "./tops.lpr");
include ("./cif/info_newbie.lpr");
include( "./listevent.lpr");
#include( "./winnerflags.lpr");
include( "./scripts.lpr");
include ("./cif/help_custom.lpr");
include ("./cif/help_stats.lpr");
include ("./cif/help_admin.lpr");
include ("./cif/help_general.lpr");
include ("./cif/info_mystats.lpr"); # MyStats Information
include ("./cif/info_rules.lpr"); # Server Rules
__________________
Server Name : 4LFS Drift Tweak
viktoor-lfs : Server Owner
RULLS : NO CRASHING & SWEARING & WRONGWAY ==> HAVE FUN

Last edited by ViKTOOR-LFS; 4th April 2012 at 12:50.
Reply With Quote
Old 4th April 2012, 13:56   #859  -   
Yisc[NL]
S2 licensed
 
Racername: [AB] Yisc
Join Date: Jun 2005
Location: Leiden
Posts: 777
Yisc[NL]'s online stats
Could you upload the logfile please?
You can find them in the folder "logs" and then you will need: 84.45.52.141-17684-ERR.log
__________________
Antec P182 / Coolermaster Silent Pro 600W Modular / MSI Z77A-GD65 / Intel Core I7-3770K- 3.5 Ghz / Corsair Vengeance LP 8GB DDR3 1866 MHz / Asus Radeon 7970 - 3GB DDR5 / OCZ Vertex2 120 GB / WD 1 TB - 5400-7200rpm (2x) / LG BH10LS38 Blue-ray re-writer / Hauppauge HVR2200
Reply With Quote
Old 4th April 2012, 15:20   #860  -   
ViKTOOR-LFS
S2 licensed
 
ViKTOOR-LFS's Avatar
 
Join Date: Nov 2006
Location: Saudi Arabia
Posts: 96
ViKTOOR-LFS's online stats
Quote:
Originally Posted by Yisc[NL] View Post
Could you upload the logfile please?
You can find them in the folder "logs" and then you will need: 84.45.52.141-17684-ERR.log
yea sure

LFSLapper-MSS.txt

LFSLapper-ERR.txt<< i cant upload it .txt in lfsforum coz its 1.47 MB so i but it inside .rar
Attached Files
File Type: txt LFSLapper-MSS.txt (23.9 KB, 6 views)
File Type: rar LFSLapper-ERR.rar (44.8 KB, 10 views)
__________________
Server Name : 4LFS Drift Tweak
viktoor-lfs : Server Owner
RULLS : NO CRASHING & SWEARING & WRONGWAY ==> HAVE FUN
Reply With Quote
Old 4th April 2012, 19:07   #861  -   
Yisc[NL]
S2 licensed
 
Racername: [AB] Yisc
Join Date: Jun 2005
Location: Leiden
Posts: 777
Yisc[NL]'s online stats
Those are the log files of Lapper it self.
Inside the "default" directory, you will find another "logs" directory and I need the ERR file from there please.
__________________
Antec P182 / Coolermaster Silent Pro 600W Modular / MSI Z77A-GD65 / Intel Core I7-3770K- 3.5 Ghz / Corsair Vengeance LP 8GB DDR3 1866 MHz / Asus Radeon 7970 - 3GB DDR5 / OCZ Vertex2 120 GB / WD 1 TB - 5400-7200rpm (2x) / LG BH10LS38 Blue-ray re-writer / Hauppauge HVR2200
Reply With Quote
Old 4th April 2012, 20:36   #862  -   
ViKTOOR-LFS
S2 licensed
 
ViKTOOR-LFS's Avatar
 
Join Date: Nov 2006
Location: Saudi Arabia
Posts: 96
ViKTOOR-LFS's online stats
:
Quote:
Originally Posted by yisc[nl] View Post
those are the log files of lapper it self.
Inside the "default" directory, you will find another "logs" directory and i need the err file from there please.
84.45.52.141-17684-err

i open it and i found 2 txt file inside /default/Text_Files

but when i was searching for admin1,admin2 on google i found
http://www.lfsforum.net/showthread.php?p=1694998
i think this what you want from me to go >> listevent.lpr !!

Code:
CatchEvent OnLapperStart()

	GlobalVar $arToClose;
	GlobalVar $currUserGroup;
	GlobalVar $pathAdminFile;
	$pathAdminFile = "./Text_Files";

EndCatchEvent

CatchEvent OnMSO( $UserName, $text ) # Player event

	$idxOfFirtsSpace = indexOf( $text, " ");
	IF( $idxOfFirtsSpace == -1 ) THEN
	  $command = $text;
	  $argv = "";
	ELSE
	  $command = subStr( $text,0,$idxOfFirtsSpace );
	  $argv = trim( subStr( $text,$idxOfFirtsSpace ) );
	ENDIF
	userGroupFromFile( "admin1",$pathAdminFile . "/admin1.txt");
	UserGroupFromFile( "admin2",$pathAdminFile . "/admin2.txt");
	SWITCH( Tolower( $command ) )
		CASE "!ug":
			IF( UserInGroup( "admin1",$UserName ) == 1 || UserInGroup( "admin2",$UserName ) == 1 )
			THEN
				IF ( $argv != "" ) THEN
  					privMsg("^6ADMIN - ^3CURRENT REGISTERED DRIVERS....");
  					$currUserGroup = $argv;
  					PrintUserGroup($currUserGroup);
				ELSE
  					privMsg("^6ADMIN - YOU MUST SPECIFY A GROUP TO LIST");
				ENDIF
			ELSE
  				privMsg("^6ADMIN - ^2YOU DO NOT HAVE ADMIN STATUS!");
			ENDIF
			BREAK;
	ENDSWITCH
EndCatchEvent
Attached Thumbnails
Click image for larger version

Name:	Untitled.jpg
Views:	16
Size:	33.3 KB
ID:	121295  
Attached Files
File Type: rar 84.45.52.141-17684-ERR.rar (35.7 KB, 3 views)
__________________
Server Name : 4LFS Drift Tweak
viktoor-lfs : Server Owner
RULLS : NO CRASHING & SWEARING & WRONGWAY ==> HAVE FUN

Last edited by ViKTOOR-LFS; 4th April 2012 at 21:56.
Reply With Quote
Old 4th April 2012, 22:24   #863  -   
Yisc[NL]
S2 licensed
 
Racername: [AB] Yisc
Join Date: Jun 2005
Location: Leiden
Posts: 777
Yisc[NL]'s online stats
Hmm, the log file doesn't show any problems regarding the event we are talking about.
So I only have one last solution, make a RAR file of the whole Lapper directory and upload it here.
I will download that and start your Lapper on a test server of mine.
__________________
Antec P182 / Coolermaster Silent Pro 600W Modular / MSI Z77A-GD65 / Intel Core I7-3770K- 3.5 Ghz / Corsair Vengeance LP 8GB DDR3 1866 MHz / Asus Radeon 7970 - 3GB DDR5 / OCZ Vertex2 120 GB / WD 1 TB - 5400-7200rpm (2x) / LG BH10LS38 Blue-ray re-writer / Hauppauge HVR2200
Reply With Quote
Old 5th April 2012, 15:46   #864  -   
ViKTOOR-LFS
S2 licensed
 
ViKTOOR-LFS's Avatar
 
Join Date: Nov 2006
Location: Saudi Arabia
Posts: 96
ViKTOOR-LFS's online stats
Quote:
Originally Posted by Yisc[NL] View Post
Hmm, the log file doesn't show any problems regarding the event we are talking about.
So I only have one last solution, make a RAR file of the whole Lapper directory and upload it here.
I will download that and start your Lapper on a test server of mine.
okey ..
Attached Files
File Type: rar Lfslapper.rar (1.84 MB, 12 views)
__________________
Server Name : 4LFS Drift Tweak
viktoor-lfs : Server Owner
RULLS : NO CRASHING & SWEARING & WRONGWAY ==> HAVE FUN
Reply With Quote
Old 5th April 2012, 19:38   #865  -   
Yisc[NL]
S2 licensed
 
Racername: [AB] Yisc
Join Date: Jun 2005
Location: Leiden
Posts: 777
Yisc[NL]'s online stats
I have tried to find the problem in your installation of Lapper, but it is so messed up, I gave up in the end.
I have created a new installation using Lapper 6.0.1.3 with the desired functionality we have been talking about all the time.
Download and unzip it, then customize the scripts to your likings and remember, files have a specific place for a reason, you can't just move them around, merge sub-directories etc.
Attached Files
File Type: zip LFSLapper6.013.zip (1.99 MB, 31 views)
__________________
Antec P182 / Coolermaster Silent Pro 600W Modular / MSI Z77A-GD65 / Intel Core I7-3770K- 3.5 Ghz / Corsair Vengeance LP 8GB DDR3 1866 MHz / Asus Radeon 7970 - 3GB DDR5 / OCZ Vertex2 120 GB / WD 1 TB - 5400-7200rpm (2x) / LG BH10LS38 Blue-ray re-writer / Hauppauge HVR2200
Reply With Quote
Old 5th April 2012, 22:03   #866  -   
ViKTOOR-LFS
S2 licensed
 
ViKTOOR-LFS's Avatar
 
Join Date: Nov 2006
Location: Saudi Arabia
Posts: 96
ViKTOOR-LFS's online stats
Quote:
Originally Posted by Yisc[NL] View Post
I have tried to find the problem in your installation of Lapper, but it is so messed up, I gave up in the end.
I have created a new installation using Lapper 6.0.1.3 with the desired functionality we have been talking about all the time.
Download and unzip it, then customize the scripts to your likings and remember, files have a specific place for a reason, you can't just move them around, merge sub-directories etc.
im sorry to till u lfslapper u give me. not working at all !

1-Delete all files of old version
2-upload Lapper 6.0.1.3
3-unzip
4-i Edit only 2 file
LFSServers.cfg Edit
Code:
#    Configuration of LFSServer to be Managed with LFSLapper
# One line per server
# Remote port is the port used to manage LFSLapper remotely, future extension
# One remote port per LFSLapper on one machine, autoStart is optionnal
#Unique ID|GroupId|Ip|Port|WorkDir|IniFile|autowork
timeOutScript=2000;
remotePort=3001;
#DEF1|gr1|127.0.0.1|31993|./default|default_1.ini|autowork
^7Saudi_Arabia_Cruise|gr1|84.45.52.141|17684|./default|default_1.ini|autowork
#SAC|gr1|127.0.0.1|17684|./default|default_1.ini|autowork
default_1.ini Edit
for exp
Code:
$password = "viktoor_lfs";
No problem bro its not very important if we did not find the solution : D

I hope I did not bother you
__________________
Server Name : 4LFS Drift Tweak
viktoor-lfs : Server Owner
RULLS : NO CRASHING & SWEARING & WRONGWAY ==> HAVE FUN
Reply With Quote
Old 6th April 2012, 06:09   #867  -   
Yisc[NL]
S2 licensed
 
Racername: [AB] Yisc
Join Date: Jun 2005
Location: Leiden
Posts: 777
Yisc[NL]'s online stats
The Lapper I gave you is a clear download from this forum, in which I only added your server name (there is no need to put the name with colour tags there, nobody will see it) and insim port number. Then I added the code needed for authorisation and tested everything on a test server. So there is no way of it not working.

*edit*
I have currently 7 LFS server with Lapper running and I've written a lof of add-ons over the years, so I think I know my way around Lapper.
I'm sorry but I have invested enough time into this now and won't help you any further.
__________________
Antec P182 / Coolermaster Silent Pro 600W Modular / MSI Z77A-GD65 / Intel Core I7-3770K- 3.5 Ghz / Corsair Vengeance LP 8GB DDR3 1866 MHz / Asus Radeon 7970 - 3GB DDR5 / OCZ Vertex2 120 GB / WD 1 TB - 5400-7200rpm (2x) / LG BH10LS38 Blue-ray re-writer / Hauppauge HVR2200
Reply With Quote
Old 6th April 2012, 11:00   #868  -   
ViKTOOR-LFS
S2 licensed
 
ViKTOOR-LFS's Avatar
 
Join Date: Nov 2006
Location: Saudi Arabia
Posts: 96
ViKTOOR-LFS's online stats
Quote:
Originally Posted by Yisc[NL] View Post
The Lapper I gave you is a clear download from this forum, in which I only added your server name (there is no need to put the name with colour tags there, nobody will see it) and insim port number. Then I added the code needed for authorisation and tested everything on a test server. So there is no way of it not working.

*edit*
I have currently 7 LFS server with Lapper running and I've written a lof of add-ons over the years, so I think I know my way around Lapper.
I'm sorry but I have invested enough time into this now and won't help you any further.
its okey bro
Thanks for your time
__________________
Server Name : 4LFS Drift Tweak
viktoor-lfs : Server Owner
RULLS : NO CRASHING & SWEARING & WRONGWAY ==> HAVE FUN
Reply With Quote
Old 13th April 2012, 18:03   #869  -   
ViKTOOR-LFS
S2 licensed
 
ViKTOOR-LFS's Avatar
 
Join Date: Nov 2006
Location: Saudi Arabia
Posts: 96
ViKTOOR-LFS's online stats
hi again

sorry guys if i'm disturbed

but yastrday my lfslapper shotdown on 500servers for no resoin !!

can anyone know what happen !!

this is my ERR.TXT

thnx & Regard .
Attached Files
File Type: rar 84.45.52.141-17684-ERR.rar (18.0 KB, 4 views)
__________________
Server Name : 4LFS Drift Tweak
viktoor-lfs : Server Owner
RULLS : NO CRASHING & SWEARING & WRONGWAY ==> HAVE FUN
Reply With Quote
Old 13th April 2012, 20:00   #870  -   
sinanju
S2 licensed
 
sinanju's Avatar
 
Racername: [><]Sinanju
Join Date: May 2006
Location: Livingston
Posts: 1,120
sinanju's online stats
There appear to be a couple of issues, but the biggest seems to be a timing issue when lapper trying to save data - the error appears as
Time Out in Event or Sub 2000 ms

Yisc[NL] had this issue and found a workaround - see his post http://www.lfsforum.net/showthread.p...79#post1685079.

Basically, he amended his LFSServers.cfg file, and changed timeOutScript=2000; to timeOutScript=10000;

2000 maybe 2000 milliseconds (2 seconds)?

Rather than changing timeOutScript to 10000, change it to say 5000 and see if that gets rid of your error. If it doesn't, keep making it bigger.

PS Edit your error log, and delete everything in it, so that if you post it again, we can see only the current errors.
Reply With Quote
Reply

  Live for Speed > Main > LFS Programmer Forum > LFSLapper Development

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:52.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Live for Speed © 2002-2014 - Scawen Roberts, Eric Bailey, Victor van Vlaardingen