PDA

View Full Version : Config help


Pages : [1] 2 3 4

Gai-Luron
8th June 2009, 08:46
Hello,

You can put here your config issue.

I never reply to config help in PM

Gai-Luron

bishofek
14th June 2009, 21:44
Hi!

I have som issues with new 5.842 version of lapper.
I've configured LFSServers,default_1 and LFSLapper.lpr and lapper dont want to start.
He connects to server and in LFS dedi is written "LFSLapper in Stand by State" and nothing else.
Earlier versions works fine like 5.7 but they didnt count points when i was drifting.

I attach logs and configs :)

P.S

Sorry for my bad english im from Poland and i just want to have cool server :)

Gai-Luron
14th June 2009, 22:04
Hello,

Lapper is started in stand by mode. it was waiting you to type !start in LFS chat to start in work mode if you are admin. Check at admin.txt to put your lfs username

In chat you can type now:
!status to view status of Lapper, work mode or stand by mode
!start to go in work mode when you are in stand bye mode
!stop to go in stand by mode when you are in work mode
!reload to reload config when you are in work mode without restart Lapper

To go in work mode directly on launch of LFSLapper type in LFSServers.cfg
autowork at end of definition line

example:
change
DEFs|gr1|192.168.2.100|29999|./default|default_1.ini|autoStart
in
DEFs|gr1|192.168.2.100|29999|./default|default_1.ini|autoWork

if you don't need the first line put a # at begin of line
DEF1|gr1|127.0.0.1|29999|./default|default_1.ini|#autoStart
in
#DEF1|gr1|127.0.0.1|29999|./default|default_1.ini|autoStart




There is many many difference between previous release. If you have time read accurately the change.txt file


Gai-Luron

bishofek
14th June 2009, 22:11
Thank you so much but Lapper dont want to count Driftscore and i dont know why.

And how can i change language from FR to ENG?

Edit:
Why when i started lapper i can choose only fbm? I making Drift server but he dont want to count points and change car.

Tim NL
14th June 2009, 22:13
Hi!

I have som issues with new 5.842 version of lapper.
I've configured LFSServers,default_1 and LFSLapper.lpr and lapper dont want to start.
He connects to server and in LFS dedi is written "LFSLapper in Stand by State" and nothing else.
Earlier versions works fine like 5.7 but they didnt count points when i was drifting.

I attach logs and configs :)

P.S

Sorry for my bad english im from Poland and i just want to have cool server :)

Hi,
Change in LFSServers.cfg autostart in autowork and remove the line DEF1.


Edit : LOL Gai-Luron was faster

bishofek
15th June 2009, 18:26
How can i turn on counting drift points?
I know how to change car "/cars xrg" but i dont want quali just 555 laps race with drift conting and other options :)

Gai-Luron
15th June 2009, 18:54
Remove /* and */ around drift counting option in config file

bishofek
15th June 2009, 19:05
And how to change Languauge to ENG and no quali? Sorry for this questions but its too much for so lame like me :)

type !myconfig in tchat to have the lang choice

bishofek
15th June 2009, 19:14
But how to change default language to ENG and remove Quali?

Gai-Luron
15th June 2009, 19:15
To manually change language, type !myconfig in chat.

I do a mistake, now default lang is english and not french

Download the 842b version

Gai-Luron

bishofek
15th June 2009, 19:37
For first he kicks everyone "could not find destination"
For second he cant find language "lang"en" id not found"

If you want to see whats goin on just connect to my server " Drift Machine " :)

Gai-Luron
15th June 2009, 20:15
Config file working

Gai-Luron
15th June 2009, 20:31
Download new version for corrected configs file ( FBM issue, parenthesis )

michele0676
16th June 2009, 08:25
Hi Gai Luron, how i can see the banned list in my LfsLapper ?
Thanks.

Royale07
16th June 2009, 09:32
Hi guys,I have a problem with LFSlapper.SO,I configure the setting in LFSLapper,but when i start it,the lapper stay opened right 1 sec.And in the server console type:Password does not match your multiplayer admin password.

How to make it to work?? The passwords are same.
HELP !!!!!

Yisc[NL]
16th June 2009, 12:10
Hi guys,I have a problem with LFSlapper.SO,I configure the setting in LFSLapper,but when i start it,the lapper stay opened right 1 sec.And in the server console type:Password does not match your multiplayer admin password.

How to make it to work?? The passwords are same.
HELP !!!!!

The admin-password specified in INI-file has to be identical as the admin-password specified on your LFS-server. The password in the LPR-file is no longer needed.

sinanju
16th June 2009, 13:38
Sorry about this silly question, but I couldn't find or (more probable) I missed the answer on old LFSLapper forum.

How do I convert my old PB.txt and DRIFTPB.txt files to the new sql database system?

I'm finally taking the leap, and going from version 5.714 to 5.831 (latest version my LFS dedicated hosting server has).

Can you also advise what the new files are called (so I can keep backup copies).

Apologies and thanks in profusion.

Yisc[NL]
16th June 2009, 15:28
Sorry about this silly question, but I couldn't find or (more probable) I missed the answer on old LFSLapper forum.

How do I convert my old PB.txt and DRIFTPB.txt files to the new sql database system?

I'm finally taking the leap, and going from version 5.714 to 5.831 (latest version my LFS dedicated hosting server has).

Can you also advise what the new files are called (so I can keep backup copies).

Apologies and thanks in profusion.

New name can be anything you want but a name is already set in the default script. Make a copy of your original finals into the folder which is configured in your lapper script. Remove the .txt extention and fireup Lapper. Then it will automaticly convert the old files into the new database.

[d9]
17th June 2009, 10:32
Hi Gai Luron, how i can see the banned list in my LfsLapper ?
Thanks.

this is imo good improvement request ;)

Tim NL
17th June 2009, 11:45
Hi Gai Luron, how i can see the banned list in my LfsLapper ?
Thanks.

You cant see a banned list in lapper but there is a ban editor where you can see whos banned is on your dedi server.
http://www.lfsforum.net/showthread.php?p=872522#post872522

And its posible in lapper to create a list with people who are not welcome on your server(s).


Event OnConnect() # Player event
$Username = GetCurrentPlayerVar("Username");

UserGroupFromFile( "notwelcome", "./notwelcome.txt" );
IF( UserInGroup( "notwelcome",$Username ) == 1 )
THEN
cmdLFS( "/ban " . $Username . " 30" );
ENDIF

Fire_optikz001
18th June 2009, 05:06
Hi when some one presses shift+I they my buttons and all dont come back is there a easy way to fix plz do get back

Yisc[NL]
18th June 2009, 09:19
Hi when some one presses shift+I they my buttons and all dont come back is there a easy way to fix plz do get back

Yes there is, upgrade to the latest version of Lapper (5.842c) in which Shift+I has been removed.

Gai-Luron
18th June 2009, 14:02
Hello,

Use !myconfig in chat

Gai-Luron

VK RACING
24th June 2009, 06:38
hello
i have problem
when i start lfs lapper
in cmd appears this:
"no connection could be made because the target machine actively refused it 127.0.0.1:29999"
can anybody help me?

Fire_optikz001
26th June 2009, 01:17
oki had that but when i press shift i my stuff still disperses can u make it so shift i dont do anything or is that part of something

sinanju
30th June 2009, 20:28
;1187635']New name can be anything you want but a name is already set in the default script. Make a copy of your original finals into the folder which is configured in your lapper script. Remove the .txt extention and fireup Lapper. Then it will automaticly convert the old files into the new database.
Hi Yisc[NL]
Sorry, but it doesn't seem to work.

Tried calling my old PB.txt files PB and GripPB, but neither seem to convert.


Even when I do time on track, it doesn't seem to capture time - nothing appears when I type !top.
EDIT - !top problem sorted - found I didn't have $PubStatIdk enabled!

sinanju
30th June 2009, 23:24
Instead of doing
CASE "gtg":
CASE "bye":
CASE "cya":
privMsg(langEngine( "%{main_bye}%" ));
BREAK;to go with
main_bye= "^2Bye, and thanks for racing with ^1Sin'rs";
Which gives me Bye, and thanks for racing with Sin'rs when I type bye, gtg or cya.

Is there a shorter way of writing this rather than put the trigger words on separate lines?

I've tried various ways of putting all on same line separated by colons, semi-colons, lines (e.g. CASE "bye:cya", or CASE "bye":"cya"; or CASE "bye";"cya": etc), but all fail.

Gai-Luron
2nd July 2009, 09:49
Hello,


no other way.

bye

Gai-Luron

Tur8o
2nd July 2009, 10:32
hello Gai, could you help me to get speedtraps working on AS3 im new to this i have had alot of help off Andy King but i cannot keep turning to him as he has his own servers thanks i have the latest version of Lapper with the language files in

thanks tur8o

sinanju
2nd July 2009, 16:12
Not looking for help here, but maybe trying to help others.

This little write up is for people like me who could do things in Lapper V5.7, but finding it bit harder in V5.8, and although fairly well explained in the write up, still need a little more specific information and/or example.

In v5.7, you had a 'Register MsgAction' event/routine, which when someone typed a particular word, then lapper would automatically reply.
For instance, one of mine was;
Register MsgAction("gtg",MA_bye);
Register MsgAction("bye",MA_bye);
Register MsgAction("cya",MA_bye);
Sub MA_bye()
privMsg( "Bye, and thanks for racing with Sin'rs." );
EndSubThis little routine was called 'MA-bye', and would come into play when someone typed 'gtg', 'bye' or 'cya' (fairly standard and polite way of leaving a server).

In other words, each of the words between the quotes would act as a trigger word for lapper to reply to with my pre-prepared message.

As a polite "thank you", I got lapper to give an automatic reply of;
"Bye, and thanks for racing with Sin'rs".

In v5.8, this has been changed.

Now you would do;

Go to the "SWITCH( $command )" section, then inbetween a "BREAK;" and "CASE" (BREAK is end of routine, CASE start of another), add the following;
CASE "gtg":
CASE "bye":
CASE "cya":
privMsg(langEngine( "%{main_bye}%" ));
BREAK; This little routine is called 'main_bye'.

You then have to put a little bit of narrative in both the EN(glish) and FR(ench) language parts of lapper at the bottom of the lapper script.

In this instance, I've got;

Lang "EN"
main_bye = "Bye, and thanks for racing with Sin'rs.";

Lang "FR"
main_bye= "Bye et merci pour la course avec Sin'rs.";

(Many apologies if my French isn't correct).

This means that, as before, if someone types the word 'bye', lapper replies with "Bye, and thanks for racing with Sin'rs".

As with all messages, you can colour text with ^ and numbers.

In my slightly complicated example above, I've shown what happens when one of multiple words are chosen. You can do same with single word (only 1 line with CASE) or even more (multiple lines of CASE, such as all the colours in the rainbow, stars in the heavens, F1 driver names, old girlfriends, etc).

At the moment, all the sections are contained within the same lapper config file. I would expect (hint!), that in future releases, there may be separate files for each language.

sinanju
2nd July 2009, 16:39
Not looking for help here, but maybe trying to help others.

This little write up is for people like me who could do things in Lapper V5.7, but finding it bit harder in V5.8, and although fairly well explained in the write up, still need a little more specific information and/or example.

In 5.7, you had a 'Register ScheduleAction' event/routine, which at specific times, lapper would put a message up on the display.
Usually, this was for telling you the team name, or server name, or web address, or email, or serious message like don't drink and drive.

For instance, one of mine was;
Register ScheduleAction( "8 5 * * * *", SA_keyboard );
Sub SA_keyboard()
cmdLFS("/rcm Sinanju uses keyboard so can't respond quickly");
cmdLFS("/rcm_all");
EndSubThis little sub-routine is called SA_keyboard.

This meant that at a specific interval after the hour, you would get large gray message on your screen, shouting "Sinanju uses keyboard so can't respond quickly".

In v5.8, this little sub-routine has been changed. With sub-routine split up bit more.

Under the 'Event OnLapperStart()' section, you need to place your RegisterScheduleAction (in the default script, there is one for SA_mid that you can search for).

In this case it would be
RegisterScheduleAction( "8 5 * * * * *", SA_keyboard );This little sub-routine is called SA_keyboard. Same as before.

However, at end of same section, you will see 'Sub SA_mid() # Lapper Event'.

You'll need to add your own little sub-routine here too.

In my case, I've got
Sub SA_keyboard() # A Sinanju Event
globalRcm( langEngine( "%{main_keyboard}%" ) );
EndSub(I've differentiated it from normal '# Lapper event').

You then have to put a little bit of narrative in both the EN(glish) and FR(ench) language parts of lapper at the bottom of the lapper script.

In this instance, I've got;
Lang "EN"
main_keyboard = "Sinanju uses keyboard so can't respond quickly";
Lang "FR"
main_keyboard = "Sinanju utilise le clavier afin de ne pas pouvoir répondre rapidement";

(Many apologies if my French isn't correct - and I'm not sure if my message will fit, or will truncate).

As with all lapper messages, you can colour text with ^ and numbers.

Gai-Luron
2nd July 2009, 17:54
Good french :)

Better is
main_keyboard = "Sinanju utilise le clavier et ne peux répondre rapidement";

You can have many language section as you want: Italian, Deutch, etc...


sinanju you are good in GLScript and translation feature. Maybe, you can write a little howto for GLScript :D

Gai-Luron

Tur8o
3rd July 2009, 22:26
Hi Gai cand you tell me this problem i dont quite understand whats wrong i edit something this comes up the i get the .dbs files pop up i delete them from the FTP i !start it starts but when i try to !reload i get this come up again please guide me in the way of correctness :)

this is the error message
LFSLapper.LFSClient.managePacket(NCN newConnection) in D:\Dev\DevInsim\lapper\LFSLapper5.842\LFSLapper\sr c\LFSClient\managePacket.cs:line 51
at LFSLapper.LFSClient.Loop(Connect insimConnection) in D:\Dev\DevInsim\lapper\LFSLapper5.842\LFSLapper\sr c\LFSClient\loop.cs:line 889
at LFSLapper.LFSClient.doloop() in D:\Dev\DevInsim\lapper\LFSLapper5.842\LFSLapper\sr c\LFSClient\lfsclient.cs:line 625
at LFSLapper.LFSListen.Listen.goWorkMode() in D:\Dev\DevInsim\lapper\LFSLapper5.842\LFSLapper\sr c\LFSListen\Listen.cs:line 85
at LFSLapper.LFSListen.Listen.startStbMode() in D:\Dev\DevInsim\lapper\LFSLapper5.842\LFSLapper\sr c\LFSListen\Listen.cs:line 270

Gai-Luron
4th July 2009, 09:44
Error message is incomplete. need the few line before. Maybe default top car not set

Tim NL
5th July 2009, 22:01
Hi,

How can i add 2 strings together?
When i make something like this it gives on var $b1 the value 0 in case of Hello world. :shrug:
I use lapper version 5.841.


CASE "!hello":
GlobalVar $a1 ;
$a1 = "hello " ;
GlobalVar $a2 ;
$a2 = "world" ;
privMsg( . $a1 . " + " .$a2 );
$b1 = $a1 + $a2;
privMsg( . $b1 . " this a1+A2" );
BREAK;

Tur8o
6th July 2009, 16:01
Error message is incomplete. need the few line before. Maybe default top car not set

default top car is set :/ i have looked at everyline it says and there is nothing wrong with it :(

Tur8o
6th July 2009, 16:03
Hi,

How can i add 2 strings together?
When i make something like this it gives on var $b1 the value 0 in case of Hello world. :shrug:
I use lapper version 5.841.


CASE "!hello":
GlobalVar $a1 ;
$a1 = "hello " ;
GlobalVar $a2 ;
$a2 = "world" ;
privMsg( . $a1 . " + " .$a2 );
$b1 = $a1 + $a2;
privMsg( . $b1 . " this a1+A2" );
BREAK;


is it you pat a "THEN" after your message for example.. IF ( $enable_pitboard == "true" )
THEN
OnConnect_Pitboard();
ENDIF
EndEvent

Gai-Luron
6th July 2009, 18:34
Concatenation is done with .

$b1 = $a1 . $a2;

Tim NL
6th July 2009, 18:47
Concatenation is done with .

$b1 = $a1 . $a2;

Ok thx :thumb:

sinanju
21st July 2009, 14:03
Been trying to update my Drift Meter for newer version of Lapper - without success.

As TIM[NL] version is smaller and neater, thought I would try update his - again no success.

I have


Event OnDriftScore()
$AngleVelocity = GetCurrentPlayerVar( "AngleVelocity" );
IF( $GUI_drift == "yes" )
THEN
openPrivButton( "drf0",99,1,22,10,4,-1,16," " );
IF( $AngleVelocity < 0 )
THEN
$Angle_drift=($AngleVelocity)*(-1);
openPrivButton( "drf1",100,2,20,4,4,-1,32,langEngine( "%{main_ondriftscore}%" , GetCurrentPlayerVar("DriftScore"), GetCurrentPlayerVar("LastDriftScore") ) );
openPrivButton( "drf2",100,6,20,4,4,-1,32,langEngine( "%{main_driftangle}%" , GetCurrentPlayerVar("$Angle_drift") ) );
ELSE
openPrivButton( "drf1",100,2,20,4,4,-1,32,langEngine( "%{main_ondriftscorerev}%" , GetCurrentPlayerVar("DriftScore"), GetCurrentPlayerVar("LastDriftScore") ) );
openPrivButton( "drf2",100,6,20,4,4,-1,32,langEngine( "%{main_driftanglerev}%" , GetCurrentPlayerVar("$AngleVelocity") ) );
ENDIF
ENDIF
EndEvent


along with the following language files

main_ondriftscore = "Score: ^7{0} ^3{1}";
main_driftangle = "Drift Angle: ^7{0} ^2>";
main_ondriftscorerev = "Score: ^7{0} ^2{1}";
main_driftanglerev = "Drift Angle: ^2< ^7{0}";

However, when I switch on the Drift option via Tim's GUI, then as soon as I drift, Lapper goes into Standby state.

sinanju
21st July 2009, 15:24
Tim[NL] Drift Meter

Finally figured it out.

Should be:


Event OnDriftScore()
$AngleVelocity = GetCurrentPlayerVar( "AngleVelocity" );
$DriftScore = GetCurrentPlayerVar( "DriftScore" );
$LastDriftScore = GetCurrentPlayerVar( "LastDriftScore" );

IF( $GUI_drift == "yes" )
THEN
openPrivButton( "drf0",99,1,22,10,4,-1,16," " );
IF( $AngleVelocity < 0 )
THEN
$Angle_drift=($AngleVelocity)*(-1);
openPrivButton( "drf1",100,2,20,4,4,-1,32,langEngine( "%{main_ondriftscore}%" , $DriftScore, $LastDriftScore ) );
openPrivButton( "drf2",100,6,20,4,4,-1,32,langEngine( "%{main_driftangle}%" , GetCurrentPlayerVar("$Angle_drift") ) );
ELSE
openPrivButton( "drf1",100,2,20,4,4,-1,32,langEngine( "%{main_ondriftscorerev}%" , $DriftScore, $LastDriftScore ) );
openPrivButton( "drf2",100,6,20,4,4,-1,32,langEngine( "%{main_driftanglerev}%" , $AngleVelocity ) );
ENDIF
ENDIF
EndEvent


With language part as follows:

main_ondriftscore = "Score: ^7{0} ^3{1}";
main_driftangle = "Drift Angle: ^7{0} ^2>";
main_ondriftscorerev = "Score: ^7{0} ^2{1}";
main_driftanglerev = "Drift Angle: ^2< ^7{0}";

Tur8o
21st July 2009, 18:52
i cannot get my idle exclude to work could some one help please

Gai-Luron
21st July 2009, 20:27
Work only with username, no nickname

sinanju
21st July 2009, 22:51
Seems I've been a bit premature with saying the drift meter coding works.

It does work - but only for very short while, and when not too big a drift.

Otherwise, Lapper turns off with "LFSLapper in Stand By State".

Anyone any ideas why this happens?

Yisc[NL]
21st July 2009, 23:05
In order to see find the error(s) you have to take a look at the log-file.
There's a main log-file in the folder 'logs' which is in the bin-folder and there's a log-file in the folder in which you have the LPR file.
That last log file has the following name: 127.0.0.1-29995-ERR.log (29995 is the insim portnumber you use for lapper, so this will be a value you have used)
Open the log-file to see why Lapper has gone to standby.

sinanju
22nd July 2009, 01:13
Hi Yisc{NL]

I emptied the large log file, and re-run with drift on. Did this a few times.

Log file attached.

It says error on line #2262

My Lapper.lpr file has no line spaces in it, so using PSPad, line #2262 is:

main_split1 = "^7SP1: {0} {1}({2})&^7TPB:{3}";

However, that line is not much different to next 2 lines:

main_split2 = "^7SP2: {0} {1}({2})&^7TPB:{3}";
main_split3 = "^7SP3: {0} {1}({2})&^7TPB:{3}";

Doesn't make much sense, unless line numbering is wrong somewhere.

Tur8o
22nd July 2009, 01:37
Work only with username, no nickname

#$IdleExclude = "Tur8o,5ini5t3r,Andy King,Blaine"; # Usernames excluded for idle check
$IdleExclude = "&./idleexempt.txt";
$OnIdleTimeout1 = 40; # Idle timeout for OnIdleAction1 in seconds
Event OnIdle1() # Player event
privMsg( langEngine( "%{main_idle1}%" ) );
EndEvent
$OnIdleTimeout2 = 50; # Idle timeout for OnIdleAction2 in seconds
Event OnIdle2() # Player event
cmdLFS( "/spec " . GetCurrentPlayerVar("Nickname") );
privMsg( langEngine( "%{main_idle2}%" ) );
EndEvent

i comment the first one out because it didnt work so andy suggested i make a separate folder and put the names in there but still no success Andy hasnt been here for a while so i cant ask him this it the file aswell
it has the usernames andy said something about after the

$IdleExclude = "&./idleexempt.txt";

to put something like a "ELSE" i think but i was trying to keep up but no success again so please Gai could you help me on this one? :thumb:

Tur8o
22nd July 2009, 01:41
Hi Yisc{NL]

I emptied the large log file, and re-run with drift on. Did this a few times.

Log file attached.

It says error on line #2262

My Lapper.lpr file has no line spaces in it, so using PSPad, line #2262 is:

main_split1 = "^7SP1: {0} {1}({2})&^7TPB:{3}";

However, that line is not much different to next 2 lines:

main_split2 = "^7SP2: {0} {1}({2})&^7TPB:{3}";
main_split3 = "^7SP3: {0} {1}({2})&^7TPB:{3}";

Doesn't make much sense, unless line numbering is wrong somewhere.

what i did was cut out the Lang_En and put it into a separate lpr file then in the override options i put include( "./includes/Lang_En.lpr");
include( "./includes/Lang_Fr.lpr");
and that is for both of them En & Fr i havent had a prob with them since

Gai-Luron
22nd July 2009, 11:43
Hi Yisc{NL]

I emptied the large log file, and re-run with drift on. Did this a few times.

Log file attached.

It says error on line #2262

My Lapper.lpr file has no line spaces in it, so using PSPad, line #2262 is:

main_split1 = "^7SP1: {0} {1}({2})&^7TPB:{3}";

However, that line is not much different to next 2 lines:

main_split2 = "^7SP2: {0} {1}({2})&^7TPB:{3}";
main_split3 = "^7SP3: {0} {1}({2})&^7TPB:{3}";

Doesn't make much sense, unless line numbering is wrong somewhere.

Wich version of LFSLapper? i correct some thing in error numbering. If it's the last please send me your lpr file

thank's



for Tur8o, i take a look on iddle exclude, try to put all username in lowercase

Gai-Luron

sinanju
22nd July 2009, 13:23
Using Version=5.8.4.4

I've cut down my Lapper.lpr file a bit to make it smaller, and emptied the error log file.

Then put Drift option on via !gui command. This caused same Stand By State problem.

Lapper and Error files attached.

No problems with lapper file if Drift option not enabled.

And error log still pointing to same line of text as being the problem.

Yisc[NL]
22nd July 2009, 13:44
Using Version=5.8.4.4

I've cut down my Lapper.lpr file a bit to make it smaller, and emptied the error log file.

Then put Drift option on via !gui command. This caused same Stand By State problem.

Lapper and Error files attached.

No problems with lapper file if Drift option not enabled.

And error log still pointing to same line of text as being the problem.

I haven't check the line numbers but the bug is easy to find.
The first error in the log is:

7/22/2009 1:05:38 PM -> Syntax error in cfg file Need string or '.' or ';' on file : "LFSLapper.lpr" at line #1555

If you look a little above the split 2/3 message you find the following line:

main_rodent = "Credo che questo sia un roditore"

There's a ; missing at the end of that line.

Tur8o
22nd July 2009, 19:00
for Tur8o, i take a look on iddle exclude, try to put all username in lowercase

Gai-Luron

no i tried lower case still no luck :/

sinanju
23rd July 2009, 00:21
;1218604']I haven't check the line numbers but the bug is easy to find........There's a ; missing at the end of that line.
Thanks, Yisc[NL], I hadn't spotted that.

It has helped narrow the problem down.

I think the problem is to do with

IF( $AngleVelocity < 0 )
THEN
$Angle_drift=($AngleVelocity)*(-1);I think Lapper sees $Angle_drift as an empty variable.

I've tried various ways to SetCurrentPlayerVar, but without success.

The latest thing I tried was

Event OnDriftScore()

SetCurrentPlayerVar($Angle_drift,"AngleVelocity*(-1)");

$AngleVelocity = GetCurrentPlayerVar( "AngleVelocity" );
$DriftScore = GetCurrentPlayerVar( "DriftScore" );
$LastDriftScore = GetCurrentPlayerVar( "LastDriftScore" );
$Angle_drift = GetCurrentPlayerVar( "Angle_drift" );

IF( $GUI_drift == "yes" )
THEN

openPrivButton( "drf0",99,1,22,10,4,-1,16," " );

IF( $AngleVelocity < 0 )
THEN
openPrivButton( "drf1",100,2,20,4,4,-1,32,langEngine( "%{main_ondriftscore}%" , $DriftScore, $LastDriftScore ) );
openPrivButton( "drf2",100,6,20,4,4,-1,32,langEngine( "%{main_driftangle}%" , GetCurrentPlayerVar("$Angle_drift") ) );
ELSE
openPrivButton( "drf1",100,2,20,4,4,-1,32,langEngine( "%{main_ondriftscorerev}%" , $DriftScore, $LastDriftScore ) );
openPrivButton( "drf2",100,6,20,4,4,-1,32,langEngine( "%{main_driftanglerev}%" , $AngleVelocity ) );
ENDIF
ENDIF
EndEventThis gives me an angle one way, but not in reverse. See attachment.

Also tried various other codings for Get variable

SetCurrentPlayerVar($Angle_drift,AngleVelocity*(-1));
SetCurrentPlayerVar($Angle_drift,$AngleVelocity*(-1));
SetCurrentPlayerVar($Angle_drift,"$AngleVelocity*(-1)");

Anyone any suggestions?

Is the AngleVelocity an Array Variable?

If so, then this can't be set (according to change log).

Maybe needs a negative AngleVelocity built into Lapper as well as AngleVelocity?

Tim NL
23rd July 2009, 08:26
Thanks, Yisc[NL], I hadn't spotted that.

It has helped narrow the problem down.

I think the problem is to do with

IF( $AngleVelocity < 0 )
THEN
$Angle_drift=($AngleVelocity)*(-1);I think Lapper sees $Angle_drift as an empty variable.

I've tried various ways to SetCurrentPlayerVar, but without success.

The latest thing I tried was

Event OnDriftScore()

SetCurrentPlayerVar($Angle_drift,"AngleVelocity*(-1)");

$AngleVelocity = GetCurrentPlayerVar( "AngleVelocity" );
$DriftScore = GetCurrentPlayerVar( "DriftScore" );
$LastDriftScore = GetCurrentPlayerVar( "LastDriftScore" );
$Angle_drift = GetCurrentPlayerVar( "Angle_drift" );

IF( $GUI_drift == "yes" )
THEN

openPrivButton( "drf0",99,1,22,10,4,-1,16," " );

IF( $AngleVelocity < 0 )
THEN
openPrivButton( "drf1",100,2,20,4,4,-1,32,langEngine( "%{main_ondriftscore}%" , $DriftScore, $LastDriftScore ) );
openPrivButton( "drf2",100,6,20,4,4,-1,32,langEngine( "%{main_driftangle}%" , GetCurrentPlayerVar("$Angle_drift") ) );
ELSE
openPrivButton( "drf1",100,2,20,4,4,-1,32,langEngine( "%{main_ondriftscorerev}%" , $DriftScore, $LastDriftScore ) );
openPrivButton( "drf2",100,6,20,4,4,-1,32,langEngine( "%{main_driftanglerev}%" , $AngleVelocity ) );
ENDIF
ENDIF
EndEventThis gives me an angle one way, but not in reverse. See attachment.

Also tried various other codings for Get variable

SetCurrentPlayerVar($Angle_drift,AngleVelocity*(-1));
SetCurrentPlayerVar($Angle_drift,$AngleVelocity*(-1));
SetCurrentPlayerVar($Angle_drift,"$AngleVelocity*(-1)");

Anyone any suggestions?

Is the AngleVelocity an Array Variable?

If so, then this can't be set (according to change log).

Maybe needs a negative AngleVelocity built into Lapper as well as AngleVelocity?


I think you are missing GlobalVar $Angle_drift; somewhere.

$AngleVelocity is the drift angel ( positive and negative ).
With $Angle_drift=($AngleVelocity)*(-1); you make the negative value of $AngleVelocity positive and store it in $Angle_drift.

sinanju
23rd July 2009, 12:55
I think you are missing GlobalVar $Angle_drift; somewhere.

$AngleVelocity is the drift angel ( positive and negative ).
With $Angle_drift=($AngleVelocity)*(-1); you make the negative value of $AngleVelocity positive and store it in $Angle_drift.
Hi Tim

I've checked the guiconfig.lpr file, and it shows
GlobalVar $GUI_col_drift_yes ; GlobalVar $GUI_col_drift_no ; GlobalVar $Angle_drift ;
$GUI_col_drift_yes = 16 ; $GUI_col_drift_no = 32 ; $Angle_drift = 0 ;

I understand about how $Angle_drift makes the negative integer into a positive.

One of the many things I tried was


IF( $ConfVar["$AngleVelocity"] < 0 )
THEN
openPrivButton( "drf1",100,2,20,4,4,-1,32,langEngine( "%{main_ondriftscore}%" , $DriftScore, $LastDriftScore ) );
openPrivButton( "drf2",100,6,20,4,4,-1,32,langEngine( "%{main_driftangle}%" , $AngleVelocity ) );
ELSE
openPrivButton( "drf1",100,2,20,4,4,-1,32,langEngine( "%{main_ondriftscorerev}%" , $DriftScore, $LastDriftScore ) );
openPrivButton( "drf2",100,6,20,4,4,-1,32,langEngine( "%{main_driftanglerev}%" , ($ConfVar["$AngleVelocity"] * (GetCurrentPlayerVar( "$AngleVelocity" )-1))));

without success.

So, still stuck on how to get Lapper to show a negative number as a positive (e.g. -45 to show as 45).

(Can't believe it could be this hard! Maybe I should just give up on the programming and take up knitting instead?)

Gai-Luron
23rd July 2009, 17:07
You are so complicated ;) if negative


$toto = -1; #any negative number
IF( $toto < 0 )
THEN
$toto = -$toto;
ENDIF


"Angle_drift" don't exist as builtin var in LFSLapper


and

SetCurrentPlayerVar($Angle_drift,"AngleVelocity*(-1)");
wrong

Correct is

SetCurrentPlayerVar("Angle_drift",$AngleVelocity);

if $AngleVelocity is set ^^

example

$AngleVelocity = GetCurrentPlayerVar( "AngleVelocity" );
IF( $AngleVelocity < 0 )
THEN
$AngleVelocity = -$AngleVelocity ;
ENDIF
SetCurrentPlayerVar("Angle_drift",$AngleVelocity);

To retreive Angle_drift var, you have to write
$retreiveiVar = GetCurrentPlayerVar( "Angle_drift" );




$myvar is a GLScript Var, everytime preceded with $

GetCurrentPlayerVar( idOfVar ) is a function to get internal player var, idOfVar is a string containing the id of the internal var without $
SetCurrentPlayerVar( idOfVar,value ) is a function to set internal player var ( not the builtin var, only new var ), idOfVar is a string containing the id of the internal var without $ and value is any value, string or numerical

:(, if i have time to write a doc, it will be better. Maybe in Setember

Tur8o
24th July 2009, 01:12
Hello Guy i have fixed it i made a separate file with usernames in and made it similar to the swear filter one :)

Event OnIdle1() # Player event
UserGroupFromFile( "Exempt", "./idleexempt.txt" );
$UserName = GetCurrentPlayerVar("UserName");
IF( UserInGroup( "Exempt",$UserName ) == 1 )
THEN

ELSE

privMsg( langEngine( "%{main_idle1}%" ) );
ENDIF
EndEvent

thanks for the help

Gai-Luron
24th July 2009, 08:15
Hello,

Great!

onIdleExclude was created before UserGroup, it's for this on idle exclude exist. But now it's easy to do with usergroup. You become a GLScript coder ;)

Gai-Luron

sinanju
24th July 2009, 14:12
You are so complicated ;) if negative

$AngleVelocity = GetCurrentPlayerVar( "AngleVelocity" );
IF( $AngleVelocity < 0 )
THEN
$AngleVelocity = -$AngleVelocity ;
ENDIF
SetCurrentPlayerVar("Angle_drift",$AngleVelocity);

To retreive Angle_drift var, you have to write
$retreiveiVar = GetCurrentPlayerVar( "Angle_drift" );





Sorry Gai, but I'm not getting it at all. :(

Not sure if it's the syntax, the logical placement of lines, or what.

Amongst the many things I've tried is


Event OnDriftScore()

$AngleVelocity = GetCurrentPlayerVar( "AngleVelocity" );
$DriftScore = GetCurrentPlayerVar( "DriftScore" );
$LastDriftScore = GetCurrentPlayerVar( "LastDriftScore" );

IF( $GUI_drift == "yes" )

THEN

openPrivButton( "drf0",99,1,22,10,4,-1,16," " );

IF( $AngleVelocity < 0 )

THEN

$AngleVelocity = -$AngleVelocity ;

SetCurrentPlayerVar("Angle_drift",$AngleVelocity);

openPrivButton( "drf1",100,2,20,4,4,-1,32,langEngine( "%{main_ondriftscorerev}%" , $DriftScore, $LastDriftScore ) );
openPrivButton( "drf2",100,6,20,4,4,-1,32,langEngine( "%{main_driftanglerev}%" , GetCurrentPlayerVar( "Angle_drift")));

ELSE
openPrivButton( "drf1",100,2,20,4,4,-1,32,langEngine( "%{main_ondriftscore}%" , $DriftScore, $LastDriftScore ) );
openPrivButton( "drf2”,100,6,20,4,4,-1,32,langEngine( "%{main_driftangle}%" , $AngleVelocity ) );

ENDIF

ENDIF

EndEvent


but even that (like some other syntax/line layouts I tried) comes up with 'IF not terminated' in the error log.

I tried your $retreiveiVar (even with different spellings - in English it should be $retrieveVar - e.g. $retrieveVar = GetCurrentPlayerVar( "Angle_drift" ); ) but still not working.

If I use a # before both of the open button 'drf2" lines, then the scoring part of the coding works - but then, that's the easy part.

(Currently looking on ebay for knitting needles and some nice wool).

Gai-Luron
24th July 2009, 19:17
Wrong ascii double quote in this line, rigth to drf2


openPrivButton( "drf2”,100,6,20,4,4,-1,32,langEngine( "%{main_driftangle}%" , $AngleVelocity ) ;


Good


openPrivButton( "drf2",100,6,20,4,4,-1,32,langEngine( "%{main_driftangle}%" , $AngleVelocity ) ) ;



Do you use pspPad editor? try it. it's good to view unmatched ( or "

Gai-Luron

sinanju
24th July 2009, 19:44
Thanks Gui.:thumb:

That was the problem.:schwitz:

I normally use PSPad at home (which is why I know about line number problems), but I've done a lot of work on this at work (! shhh), where I don't have PSPad (pc's tied down to what programs we can load), so been using mixture of Notepad and Word (easy to compare Screenshots and text side by side).

" issue must have crept in from Word.

Think I'll put the knitting on hold just now - looks like my eyesight needs checking first.

Tur8o
25th July 2009, 16:29
Hello,

Great!

onIdleExclude was created before UserGroup, it's for this on idle exclude exist. But now it's easy to do with usergroup. You become a GLScript coder ;)

Gai-Luron

:thumb: thanks

i just need to work out how to give people limited admin now :) im not sure what to do from here...

UserGroupFromFile( "admin", "./admin.txt" );

UserGroupFromFile( "halfadmin", "./halfadmin.txt" );

i have this for the files like the exclude files from spectate :)

and i have this but it doesnt work maybe you could help
IF( UserInGroup( "admin",$userName ) == 1 )
THEN
IF( UserInGroup( "halfadmin",$userName ) == 1 )
THEN
cmdlfs( "/restart" );
ELSE
privMsg( langEngine( "%{main_notadmin}%" ) );
ENDIF
BREAK;

thanks tur8o

Gai-Luron
25th July 2009, 17:41
Every IF must be close with ENDIF.

But your version can't work because they need an ENDIF and also because there is a logic mistake.
if tirst test is true, you are an admin and you go in THEN clause. But if you are admin it's not an obligation to be an half admin. Second test is wrong. /restart is never executed.

Complicated version


IF( UserInGroup( "admin",$userName ) == 1 )
THEN
cmdlfs( "/restart" );
ELSE
IF( UserInGroup( "halfadmin",$userName ) == 1 )
THEN
cmdlfs( "/restart" );
ELSE
privMsg( langEngine( "%{main_notadmin}%" ) );
ENDIF
ENDIF

BREAK;

In this version, if you are an admin you do only the THEN part to ELSE and exit to the corresponding ENDIF


THEN
cmdlfs( "/restart" );
ELSE
....
ENDIF


if you aren't and admin GLScript execute ELSE to his ENDIF. in this case



IF ....
....
ELSE
IF( UserInGroup( "halfadmin",$userName ) == 1 )
THEN
cmdlfs( "/restart" );
ELSE
privMsg( langEngine( "%{main_notadmin}%" ) );
ENDIF
ENDIF

in this part of code you aren't and admin and you test if you are an halfadmin. if true execute

THEN
cmdlfs( "/restart" );
ELSE


if false execute

ELSE
privMsg( langEngine( "%{main_notadmin}%" ) );
ENDIF


then exit from the main if. i hope i'am clear


More easy version ;)


IF( UserInGroup( "admin",$userName ) == 1 || UserInGroup( "halfadmin",$userName ) == 1)
THEN
cmdlfs( "/restart" );
ELSE
privMsg( langEngine( "%{main_notadmin}%" ) );
ENDIF
BREAK;

|| it's or condition
&& it's and condition

Tur8o
25th July 2009, 18:18
Gai your a life saver.. Thanks ever so much that will also help me in future when i would like to add more things similar....

and its like adding an extra paragraph in to the original paragraph isn't it?

I did a RegisteredActionSchedule for it to go off every 15 minutes but when it gets to the 15 minutes it just spams it loads of times and i dont know why this is what it looks like

RegisterScheduleAction( "* 00 * * * * * : * 15 * * * * * : * 30 * * * * * : * 45 * * * * *", SA_webad );

Sub SA_webad() # Lapper Event
cmdlfs ( "/msg ^3Visit Our Website At ^6www.AMGMotorsports.ucoz.com" );
EndSub

Thanks Tur8o

Gai-Luron
25th July 2009, 20:15
Yes "paragraph" ( better to say block ) only excecute when condition is true in THEN part or false in ELSE part. And block are delimited into IF condition THEN ... ELSE ... ENDIF. unlimited imbrication can be done. to have better reading it's good to indent your code to better view every blocks. ELSE block is optionnal


IF condition1
THEN
IF condition2 THEN
IF condition3 THEN
...
ELSE
IF condition4 THEN
...
ENDIF
ENDIF
ENDIF
ELSE
...
ENDIF



For your next issue :)

With this syntax you have every second for one mn your message

RegisterScheduleAction( "* 00 * * * * * : * 15 * * * * * : * 30 * * * * * : * 45 * * * * *", SA_webad );

* 00 * * * * *
mean at * second ( every number of second. * mean every when used in any position) when minute is 00 do the action.

The good syntax is

RegisterScheduleAction( "0 00 * * * * * : 0 15 * * * * * : 0 30 * * * * * : 0 45 * * * * *", SA_webad );

0 00 * * * * *
mean at 0 second when minute is 0 do action. Action is done one shoot because there is only one 0 second at 0 mn or 0 second at 15 mn etc...

example
0 30 * * * * *
in extenso : at 0 second,30 minute, every hour, every day of week, every day, every month, every year

if you want display a message only the 25 december of every year at 0 hours, 0 minute, zero second
0 0 0 * 25 12 *


i know GLScript is a little bit complicated than standard config file ( like AIRIO ), but much powerfull if you try to understand how it work. Continue!
most script exist for lapper, better is ;)

Tur8o
26th July 2009, 00:30
Thanks Gai much appriciated

yes this is very complicated lol my head hurts i will get it into my head though :razz::D

Tur8o

lysergic
1st August 2009, 18:40
Hi, How can I store the PB again in PB.txt like old version?

Yisc[NL]
1st August 2009, 19:59
Hi, How can I store the PB again in PB.txt like old version?

That's not possible with the new version.
Everything is stored in a database and exported to some sort of text file.

lysergic
1st August 2009, 21:34
;1227126']That's not possible with the new version.
Everything is stored in a database and exported to some sort of text file.

Thanks for the quick answer, but... I'm trying to read the file with LapperSkript, but it returns empy pages.

I successfully rename the file into PB.txt but lapperskript can't convert the values... Any help?

Is there another way to show PB on php page?

Tim NL
2nd August 2009, 16:18
Hi,

Is it posible to store the value of /ws bl1 fbm pb username into a var?:shrug:

Something like:

CASE "!test":
$ws=cmdLFS( "/ws bl1 fbm pb tim nl");
cmdLFS( "/msg lfs pb :" . $ws);
BREAK;

Tur8o
3rd August 2009, 16:41
excuse me but what is "ws" ?

Tim NL
3rd August 2009, 17:31
excuse me but what is "ws" ?

To retrieve a pb on a track with car from someone :smileypul.
Try in lfs chat /ws bl1 fbm pb your_username

Tur8o
4th August 2009, 15:55
ahhh this will help thanks :D

sinanju
5th August 2009, 22:06
I'm having a problem with putting one of the standard CASE commands in a button, and getting it to work.

For instance, my button is:
openGlobalButton( "easyklikhelp",139,1,7,4,2,-1,32,langEngine( "%{main_easyklikhelp}%" ),OnClickHelp );Then sub routine to open further buttons:

Sub OnClickHelp( $KeyFlags,$id )
SWITCH( $command)
CASE "!help":
openPrivButton( "help"......
openPrivButton( "help2"......
openPrivButton( "close".......
BREAK;
ENDSWITCH
EndSubI've tried SWITCH ( $argv), SWITCH(), SWITCH (help), SWITCH (!help), Sub OnClickHelp().

I can get command to work, but only when it's not a ! type (e.g. !help, !ban, !kick, etc) command.

Tim NL
5th August 2009, 22:31
I'm having a problem with putting one of the standard CASE commands in a button, and getting it to work.

For instance, my button is:
openGlobalButton( "easyklikhelp",139,1,7,4,2,-1,32,langEngine( "%{main_easyklikhelp}%" ),OnClickHelp );Then sub routine to open further buttons:

Sub OnClickHelp( $KeyFlags,$id )
SWITCH( $command)
CASE "!help":
openPrivButton( "help"......
openPrivButton( "help2"......
openPrivButton( "close".......
BREAK;
ENDSWITCH
EndSubI've tried SWITCH ( $argv), SWITCH(), SWITCH (help), SWITCH (!help), Sub OnClickHelp().

I can get command to work, but only when it's not a ! type (e.g. !help, !ban, !kick, etc) command.

Hi,

By SWITCH( $your_var) then is CASE the value of $your_var.


SWITCH( $your_var)
CASE "!help": #is the value of $your_var
openPrivButton( "help"......
openPrivButton( "help2"......
openPrivButton( "close".......
BREAK;
ENDSWITCH


I think your code is something like

CASE "!help":
OnClickHelp(0,0);
BREAK;
.
.
.
openGlobalButton( "easyklikhelp",139,1,7,4,2,-1,32,langEngine( "%{main_easyklikhelp}%" ),OnClickHelp );

Sub OnClickHelp( $KeyFlags,$id )
openPrivButton( "help"......
openPrivButton( "help2"......
openPrivButton( "close".......
EndSub

sinanju
6th August 2009, 00:22
Thanks Tim[NL] - works a treat!

Fire_optikz001
6th August 2009, 00:30
ok i was testing my new updated lpr and every thing below the welcome dont work =S could u help me gai?

Krayy
6th August 2009, 00:40
ok i was testing my new updated lpr and every thing below the welcome dont work =S could u help me gai?

Can you post your welcome message that you have edited in the lang section, along with the couple of lines below it too.

Fire_optikz001
6th August 2009, 00:49
well i dont use it in the language i use a single language one

Krayy
6th August 2009, 00:52
well i dont use it in the language i use a single language one

In that case, just post your welcome message and include a few of the lines above and below so we can see if there is a syntax error

Fire_optikz001
6th August 2009, 15:33
i dont like posting my stuff where every one can steal ideas i would rather send it in a pm to some one i can trust

Fire_optikz001
6th August 2009, 17:16
i dont like posting my stuff where every one can steal ideas i would rather send it in a pm to some one i can trust
nvm fixed it but now my problem with easy click ... i have a version info button and this is the end part it opens the first part wich is lapper version information but it dont open the reset

Sub MA_ver( $KeyFlags,$id )
IF( UserInGroup( "beta",$userName ) == 1 )
THEN
openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" );
openPrivButton( "ver2"35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version 7.00 ^3Alpha"
. "&^2made by ^0[^4S^0C] ^7T3ChaRmy"
. "&^2Score Board made by ^7[TT^1R^7] Ken Nomura"
. "&^2based off of ^6Gai-Luron's ^2LFSlapper"
. "&Click To Close!",MA_closever );
ELSE
openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" );
openPrivButton( "ver2"35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version 6.50 ^2Stable"
. "&^2made by ^0[^4S^0C] ^7T3ChaRmy"
. "&^2Score Board made by ^7[TT^1R^7] Ken Nomura"
. "&^2based off of ^6Gai-Luron's ^2LFSlapper"
. "&Click To Close!",MA_closever );
ENDIF
EndSub

Krayy
6th August 2009, 23:04
i dont like posting my stuff where every one can steal ideas i would rather send it in a pm to some one i can trust
If we're following the letter of the law, then the GPL license that Lapper has attached to it would mean that you have to provide the source code to any project based off of it, so any intellectual property is in the public domain.

From a community point of view, secrecy and a willingness not to share will only make your development cycle a lonely one, as no one would be willing to help someone who doesn't contribute to the project as a whole.

Your call. :shrug:

Fire_optikz001
7th August 2009, 01:21
i mean i have certain things that are under develop ment that i would not like people to see untill there finalized that and i fixed it as i said can u please help me with my easy click?

i will plan on releasing my easy click soon as i know its what i think is good enough and it works

Krayy
7th August 2009, 03:29
i mean i have certain things that are under develop ment that i would not like people to see untill there finalized that and i fixed it as i said can u please help me with my easy click?

i will plan on releasing my easy click soon as i know its what i think is good enough and it works
Is a screenshot possible? And is there anything in the lapper error log?

Krayy
7th August 2009, 03:34
nvm fixed it but now my problem with easy click ... i have a version info button and this is the end part it opens the first part wich is lapper version information but it dont open the reset

Sub MA_ver( $KeyFlags,$id )
IF( UserInGroup( "beta",$userName ) == 1 )
THEN
openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" );
openPrivButton( "ver2"35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version 7.00 ^3Alpha"
. "&^2made by ^0[^4S^0C] ^7T3ChaRmy"
. "&^2Score Board made by ^7[TT^1R^7] Ken Nomura"
. "&^2based off of ^6Gai-Luron's ^2LFSlapper"
. "&Click To Close!",MA_closever );
ELSE
openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" );
openPrivButton( "ver2"35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version 6.50 ^2Stable"
. "&^2made by ^0[^4S^0C] ^7T3ChaRmy"
. "&^2Score Board made by ^7[TT^1R^7] Ken Nomura"
. "&^2based off of ^6Gai-Luron's ^2LFSlapper"
. "&Click To Close!",MA_closever );
ENDIF
EndSub
Forget the screenshot. Your problem is that the line starts:
openPrivButton( "ver2"35,...
There should be a comma in between the " and the number 35 like this:
openPrivButton( "ver2",35,...

Fire_optikz001
7th August 2009, 04:37
Thanks! that was the problem

Tur8o
8th August 2009, 12:05
. "&Click To Close!",MA_closever );


does this close the box like for instance if i put that on the help page then got rid of the "OK" or "CLOSE" from the bottom and put this in there it would close the !help when i click it? and also what is easy click if someone could explain it to me please?

Thanks Tur8o

Fire_optikz001
8th August 2009, 15:45
ok yes u do !help and u click the help wendow like u would the ok or close button

the point of easy click is so that when ur driving ,drifting,racing u can look up stuff with out haveing to type it out if u wanna have a look at mine let me know ill let u be a beta tester and u can see what all the point of it is =):thumb:

Tur8o
8th August 2009, 19:11
could you show me a screen shot of easyclick from your server?

Fire_optikz001
8th August 2009, 20:38
sure ill add one or 2 im just having a small bug atm
i have the color thing as 32 but its not dark there there the same color as 16 any one got an idea?:shrug:

HERE IS MY COde for my help button on my easy click

openPrivButton( "EasynClick1",178,90,10,5,10,-1,32,"^7Help",MA_help);
whats wrong with it? my new buttons are the dark color but the older ones arnt

ok now i made my background clear and its dark again =s

Tur8o
8th August 2009, 21:40
okay thanks :)

Fire_optikz001
8th August 2009, 23:00
here is my pics =)

Tim NL
9th August 2009, 08:09
here is my pics =)

Hi,
The only problem i had with easy click buttons while driving that the people who driving with a mouse complain that there mouse arrow was moving all the time on the screen.
So i show the buttons now only when people spectate.:) ( And for the Admins there are other buttons.)

Tur8o
9th August 2009, 12:15
Wow nice man i wish i could create like that :(

sinanju
10th August 2009, 13:56
Wow nice man i wish i could create like that :(
Apologies (mainly to TIM[NL]), but that is some basic label/button coding, which if you're going to play with Lapper script at all, you should be able to do.

The logo part of the picture is probably just a label (although could be a 'secret' button just for admin use only!), with the help and other buttons that once pressed, will open another set of labels and buttons.

To me, a 'label' is a button that only gives you information (like a team name/logo, or something like "Best Split ="), whereas a proper 'button' is something that you have to press to give you other information. In Lapper, both a label and a button still referred to as a button - you have to choose what it's use will be.

Some buttons may call some other sub routines into play, most simple ones don't.

Some labels/buttons are only for the driver to see (OpenPrivButton), and others are for all to see (OpenGlobalButton). You need to think about their use as you're designing them. Same goes for private/global messages.

You also have to think about closing buttons before opening others. And should buttons self close after so many seconds, or do they need a button click (like !top, where you have to click "OK" to close table).

For instance, in the default lapper script, when you join a server, you get the typical Welcome message, which you have to Accept or Reject. Once you click the Accept button, it has to close down the open labels/buttons. Including itself. Closing of buttons is something you have to be aware of!! The reject button kicks you off, so you don't have to bother.

Also. This is a private button, otherwise everytime someone joined the server, everyone would get the message again (and again. And again. And.....).

My suggestion is that you open the standard LFSLapper.lpr file and search for all the private and global buttons and try follow what they do.

And/or.

Try your own - make your own team name/logo and place it on screen - look where it would interfere with other things (not top left as this is where you see people 'talk'. Not top right as this is where you get quali and race results. Not bottom right as this is where you get ShiftN info. Maybe not bottom left as this is where you see who's lagging. Maybe not slap bang in middle of screen where it can be little offputting when driving.
What size? Colour of label? Colour of text?

Both Gai and Yisc[NL] have good right-ups in the standard script to explain what the coding criteria is.

There's also nothing to stop you changing the private and global messages into private or global labels/buttons.

I see you've been trying to play with nodes and zones, like what happens with the speedtrap messages.

Make your own simple labels/buttons to go with nodes or zones.

For instance:

RegisterZoneAction( "BL1" , 12,591, 3 , SE_leavepits );

Sub SE_leavepits() # A Sinanju Event
$NickName = GetCurrentPlayerVar("NickName");
openPrivButton( "blank_back",1,45,46,25,3,6,32," ");
openPrivButton( "remember",2,46,44,8,6,6,32,langEngine( "%{main_remember}%", $NickName ) );
openPrivButton( "leavepits",2,60,44,5,4,6,16,langEngine( "%{main_leavepits}%" ) );
EndSub

With language file

main_remember = "^1! REMEMBER !";
main_leavepits = "^1Watch for traffic&^1when exiting pitlane";


This tells you to watch for traffic when exiting the pitlane at Blackwood. Label is timed so that it eventually goes away itself (you don't want to have to try close a button, watch for traffic, change gear, brake/accelerate, slot in, turn wheel, breath, blink, put your biscuit back on the plate, answer your wife, etc., all at the same time!).

The same message can be used at other tracks - you only have to change the button label and zone numbers - the 'SE_leavepits' subroutine can be used again and again, whatever the button label/numbers.

Try your own for when people enter the pits (e.g. stop EXACTLY in box to change tyres), and anything else you or others may like to see. Also be aware that too many labels/buttons/messages put some drivers off - the only thing some people want to see is they've made new PB and their finish position in the race (ignoring everyone they don't know that come behind them)!

Once you get proficient at the simple stuff, then move onto others (a button that then opens another button, etc).

Once you get to that stage, then I (and others) can then start to ask your advice!

My big word of advice; always keep back up of working lapper script!

Fire_optikz001
19th August 2009, 23:03
well im adding stuff to it so u can have an option to turn it on and off

Hi,
The only problem i had with easy click buttons while driving that the people who driving with a mouse complain that there mouse arrow was moving all the time on the screen.
So i show the buttons now only when people spectate.:) ( And for the Admins there are other buttons.)

Fire_optikz001
19th August 2009, 23:10
My big word of advice; always keep back up of working lapper script!
ye that's always important i always make an error so i learned lol

Fire_optikz001
22nd August 2009, 01:44
i wanna make it so that i can change 2 sets of numbers i got it to work with my easy click but i cant get it to work here can any one help?


CASE "!ver":
IF( UserInGroup( "beta",$userName ) == 1 )
THEN
openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" );
openPrivButton( "ver2"35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version " . $VNB . $VSB
. "&^2made by ^0[^4S^0C] ^7T3ChaRmy"
. "&^2Score Board made by ^7[TT^1R^7] Ken Nomura"
. "&^2based off of ^6Gai-Luron's ^2LFSlapper"
. "&Click To Close!",MA_closever );
ELSE
openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" );
openPrivButton( "ver2"35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version " . $VN . $VS
. "&^2made by ^0[^4S^0C] ^7T3ChaRmy"
. "&^2Score Board made by ^7[TT^1R^7] Ken Nomura"
. "&^2based off of ^6Gai-Luron's ^2LFSlapper"
. "&Click To Close!",MA_closever );
ENDIF

Tim NL
22nd August 2009, 09:04
i wanna make it so that i can change 2 sets of numbers i got it to work with my easy click but i cant get it to work here can any one help?


Hi,
You forgot 2x a ,

Small tip: Open your lapper scripts with PSPAd so all the line in the script are numberd.
In ..\bin\default\logs open your error log file to see in which line the error is.


CASE "!ver":
IF( UserInGroup( "beta",$userName ) == 1 )
THEN
openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" );
openPrivButton( "ver2",35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version " . $VNB . $VSB
. "&^2made by ^0[^4S^0C] ^7T3ChaRmy"
. "&^2Score Board made by ^7[TT^1R^7] Ken Nomura"
. "&^2based off of ^6Gai-Luron's ^2LFSlapper"
. "&Click To Close!",MA_closever );
ELSE
openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" );
openPrivButton( "ver2",35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version " . $VN . $VS
. "&^2made by ^0[^4S^0C] ^7T3ChaRmy"
. "&^2Score Board made by ^7[TT^1R^7] Ken Nomura"
. "&^2based off of ^6Gai-Luron's ^2LFSlapper"
. "&Click To Close!",MA_closever );
ENDIF

Fire_optikz001
22nd August 2009, 13:55
lol i think i didnt change that from last time :S

anyways, Thanks For your help

Fire_optikz001
23rd August 2009, 03:16
ok i added my close feature ill be adding it to non beta tomorrow

(The Stig)
23rd August 2009, 11:24
Hi,

I cannot get the insim to connect neither do I know what things todo because I only can config the old version I would like to run this but how? :shrug:

Tomba(FIN)
23rd August 2009, 11:39
Hi,

I cannot get the insim to connect neither do I know what things todo because I only can config the old version I would like to run this but how? :shrug:


And you are trying to offer insim with your servers? Fail.

Fire_optikz001
24th August 2009, 02:39
ok i was setting up my email but it requires a ssl connection is it possible to do this?

(The Stig)
24th August 2009, 12:01
No

Shadowww
24th August 2009, 13:34
NoYes.

Fire_optikz001
24th August 2009, 20:28
u confused me
can u do it or not

Fire_optikz001
24th August 2009, 21:50
oops

Shadowww
25th August 2009, 05:52
Yes, but it's very hard.

Tur8o
25th August 2009, 12:21
could someone help me with this please?

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

thanks tur8o

sinanju
25th August 2009, 16:01
If you'd only waited another hour! Or I'd been quicker?

See your original entry.

Good Luck!

sinanju
30th August 2009, 22:38
Using V5.844

I was watching the F1 Grand Prix earlier, and thought I'd like to have something like the winner sign at end of race, when Kimi won.

Been playing with coding for a while, and having problems getting the winners name to appear on the button.

Main code:

Event OnResult( $flagConfirm )

# writeline ( langEngine( "%{main_on_result}%" ,GetCurrentPlayerVar("FinishedPos")));

$WinnerName = GetCurrentPlayerVar("NickName");

IF( GetCurrentPlayerVar( "FinishedPos" ) == "1" )

THEN

openGlobalButton( "winner_backing",66,136,74,34,3,10,32," ");
openGlobalButton( "number_1",67,137,10,32,3,10,16,"^01");
openGlobalButton( "winner_title",78,137,62,19,4,10,96,langEngine( "%{main_winnertitle}%" ));
openGlobalButton( "winner_name",78,158,58,10,3,10,64,langEngine( "%{main_winnername}%" ),$WinnerName);

openGlobalButton( "white_banner1",108,137,32,18,1,10,16," ");
openGlobalButton( "white_banner2",108,137,32,18,1,10,16," ");
openGlobalButton( "white_banner3",108,137,32,18,1,10,16," ");

openGlobalButton( "black_banner1",136,137,4,6,1,10,32," ");
openGlobalButton( "black_banner2",136,137,4,6,1,10,32," ");
openGlobalButton( "black_banner3",136,137,4,6,1,10,32," ");

openGlobalButton( "black_banner4",112,137,4,6,1,10,32," ");
openGlobalButton( "black_banner5",112,137,4,6,1,10,32," ");
openGlobalButton( "black_banner6",112,137,4,6,1,10,32," ");

openGlobalButton( "black_banner7",120,137,4,6,1,10,32," ");
openGlobalButton( "black_banner8",120,137,4,6,1,10,32," ");
openGlobalButton( "black_banner9",120,137,4,6,1,10,32," ");

openGlobalButton( "black_banner10",128,137,4,6,1,10,32," ");
openGlobalButton( "black_banner11",128,137,4,6,1,10,32," ");
openGlobalButton( "black_banner12",128,137,4,6,1,10,32," ");

openGlobalButton( "black_bannera",108,143,4,6,1,10,32," ");
openGlobalButton( "black_bannerb",108,143,4,6,1,10,32," ");
openGlobalButton( "black_bannerc",108,143,4,6,1,10,32," ");

openGlobalButton( "black_bannerd",116,143,4,6,1,10,32," ");
openGlobalButton( "black_bannere",116,143,4,6,1,10,32," ");
openGlobalButton( "black_bannerf",116,143,4,6,1,10,32," ");

openGlobalButton( "black_bannerg",124,143,4,6,1,10,32," ");
openGlobalButton( "black_bannerh",124,143,4,6,1,10,32," ");
openGlobalButton( "black_banneri",124,143,4,6,1,10,32," ");

openGlobalButton( "black_bannerj",132,143,4,6,1,10,32," ");
openGlobalButton( "black_bannerk",132,143,4,6,1,10,32," ");
openGlobalButton( "black_bannerl",132,143,4,6,1,10,32," ");

openGlobalButton( "black_bannera1",136,149,4,6,1,10,32," ");
openGlobalButton( "black_bannera2",136,149,4,6,1,10,32," ");
openGlobalButton( "black_bannera3",136,149,4,6,1,10,32," ");

openGlobalButton( "black_bannera4",112,149,4,6,1,10,32," ");
openGlobalButton( "black_bannera5",112,149,4,6,1,10,32," ");
openGlobalButton( "black_bannera6",112,149,4,6,1,10,32," ");

openGlobalButton( "black_bannera7",120,149,4,6,1,10,32," ");
openGlobalButton( "black_bannera8",120,149,4,6,1,10,32," ");
openGlobalButton( "black_bannera9",120,149,4,6,1,10,32," ");

openGlobalButton( "black_bannera10",128,149,4,6,1,10,32," ");
openGlobalButton( "black_bannera11",128,149,4,6,1,10,32," ");
openGlobalButton( "black_bannera12",128,149,4,6,1,10,32," ");

ENDIF

EndEventLang "EN" code:

main_winnertitle = "^7Winner";
main_winnername = "^7{0}";Tried various things, including:

IF( GetCurrentPlayerVar( "FinishedPos" ) == "1" )
THEN
$WinnerName = GetCurrentPlayerVar("NickName");
openGlobalButton( "winner_backing",66,136,74,34,3,10,32," ");but nothing I've done will put winners name at bottom of button.

Getting frustrated.

Anyone help?

Looking at the attached photo, it looks like lapper has used my driftscore to fill in where I wanted the name.

Fire_optikz001
30th August 2009, 23:26
here u go buddy :D

Event OnResult( $flagConfirm )

# writeline ( langEngine( "%{main_on_result}%" ,GetCurrentPlayerVar("FinishedPos")));

$WinnerName = GetCurrentPlayerVar("NickName");

IF( GetCurrentPlayerVar("FinishedPos") == "1" )

THEN

openGlobalButton( "winner_backing",66,136,74,34,3,10,32," ");
openGlobalButton( "number_1",67,137,10,32,3,10,16,"^01");
openGlobalButton( "winner_title",78,137,62,19,4,10,96,langEngine( "%{main_winnertitle}%" ));
openGlobalButton( "winner_name",78,158,58,10,3,10,64,langEngine( "%{main_winnername}%" ,$WinnerName ));

...

ENDIF

EndEvent

main_winnertitle = "^7Winner";
main_winnername = "^7{0}";

ur error was te red part the blue part is where is hould have gone
...,langEngine( "%{main_winnername}%" ),$WinnerName ));

Fire_optikz001
31st August 2009, 00:54
thw who and !hc commandsarnt they sapposed to show usernames or something? mine is blank :S

Krayy
31st August 2009, 01:22
thw who and !hc commandsarnt they sapposed to show usernames or something? mine is blank :S
Screenshots? and is there anything in the error logs?

AND do you have pitboard.lpr in the include list in lfslapper.lpr?

Fire_optikz001
31st August 2009, 01:54
:shrug:

Fire_optikz001
31st August 2009, 01:56
Screenshots? and is there anything in the error logs?

AND do you have pitboard.lpr in the include list in lfslapper.lpr?
i have pitbored on false

i just tried true and it still dont work

Krayy
31st August 2009, 02:47
i have pitbored on false

i just tried true and it still dont work
I don't mean true or flase, I mean making sure that pitboard.lpr is included amongst these lines:
####################
#Overriding options#
####################
include( "./includes/addonsused.lpr");
include( "./includes/pitboard.lpr");
include( "./includes/pitwindow_gui.lpr");
include( "./includes/safetycar.lpr");
include( "./includes/ctrack.lpr");
include( "./includes/guiconfig.lpr");
include( "./includes/who.lpr");
include( "./includes/handicapper.lpr");
include( "./includes/myInc.lpr");

The who and hc commands use a data array in the pitboard.lpr file so it needs to be included. There is a thread re culling these out into a separate file, but until that happens, the pitboard.lpr needs to be included.

Tur8o
2nd September 2009, 15:29
Hey guys....

how do i get the pb because i cant find a way of finding it to put into a button or anything... i guess i would have to make it or is it hidden like "getcurrentplayervar "pb""

Thanks Tur8o

sinanju
2nd September 2009, 16:41
Do you mean

!mypb

?

Krayy
2nd September 2009, 21:18
Hey guys....

how do i get the pb because i cant find a way of finding it to put into a button or anything... i guess i would have to make it or is it hidden like "getcurrentplayervar "pb""

Thanks Tur8o
GetCurrentPlayerVar("pblaptime") - will give you the current pb for this car/track

Tur8o
2nd September 2009, 21:45
thanks :)

Tim NL
10th September 2009, 13:32
Hi,

Do anyone know the syntax for openprivtextbutton ?:shrug: [ Problem Solved ]:D:D:D

The code is now OK.

openPrivTextButton( "button_ID",origL,origT,$wide_button,$hight_button,5,96,"text in chat window","Text in button",$max_lenght_of_input,Goto_this_Sub );

Sub Goto_this_Sub( $myVar )
privMsg( "$myVar = " . $myVar );
EndSub

Thanks in advance.

Bass-Driver
10th September 2009, 20:31
hi
i have a lil problem with transfer the driftbox from 5.716 to 5.845 . it doenst show the driftbox completly
can someone help me .


Event OnDriftScore()
$AngleVelocity = GetCurrentPlayerVar( "AngleVelocity" );
$DriftScore = GetCurrentPlayerVar( "DriftScore" );
$LastDriftScore = GetCurrentPlayerVar( "LastDriftScore" );
IF( $GUI_drift == "yes" )
THEN
openPrivButton( "Driftscoreboard",1,117,28,10,4,-1,16,"^0D^4R^0I^4F^0T ^4S^0C^4O^0R^4E^0B^4O^0A^4R^0D" );
openPrivButton( "Servername",1,127,28,5,4,-1,16,"^0[^7" . getLapperVar( "HostName" ) . "^0]" );
openPrivButton( "Score",1,132,14,5,4,-1,16,"^7 Score" );
openPrivButton( "Score1",1,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore" ) );
openPrivButton( "Angle",15,132,14,5,4,-1,16,"^7 Angle" );
openPrivButton( "Angle1",15,137,14,5,4,-1,32,"^1" . $Angle_Reverse);
openPrivButton( "TotalScore",1,142,28,5,4,-1,16,"^7 Total Score" );
openPrivButton( "TotalScore1",1,147,28,5,4,-1,32,"^1" . GetCurrentPlayerVar( "DriftScore" ) );

IF( $AngleVelocity < 0 )
THEN
SetCurrentPlayerVar("Angle_Reverse",$AngleVelocity);
openPrivButton( "Driftscoreboard",1,117,28,10,4,-1,16,"^0D^4R^0I^4F^0T ^4S^0C^4O^0R^4E^0B^4O^0A^4R^0D" );
openPrivButton( "Servername",1,127,28,5,4,-1,16,"^0[^7" . getLapperVar( "HostName" ) . "^0]" );
openPrivButton( "Score",1,132,14,5,4,-1,16,"^7 Score" );
openPrivButton( "Score1",1,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore") );
openPrivButton( "Angle",15,132,14,5,4,-1,16,"^7 Angle" );
openPrivButton( "Angle1",15,137,14,5,4,-1,32,"^1" . $Angle_Reverse);
openPrivButton( "TotalScore",1,142,28,5,4,-1,16,"^7 Total Score" );
openPrivButton( "TotalScore1",1,147,28,5,4,-1,32,"^1" . GetCurrentPlayerVar( "DriftScore") );
ELSE
openPrivButton( "Driftscoreboard",1,117,28,10,4,-1,16,"^0D^4R^0I^4F^0T ^4S^0C^4O^0R^4E^0B^4O^0A^4R^0D" );
openPrivButton( "Servername",1,127,28,5,4,-1,16,"^0[^7" . getLapperVar( "HostName" ) . "^0]" );
openPrivButton( "Score",1,132,14,5,4,-1,16,"^7 Score" );
openPrivButton( "Score1",1,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore" ) );
openPrivButton( "Angle",15,132,14,5,4,-1,16,"^7 Angle" );
openPrivButton( "Angle1",15,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "AngleVelocity" ) );
openPrivButton( "TotalScore",1,142,28,5,4,-1,16,"^7 Total Score" );
openPrivButton( "TotalScore1",1,147,28,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore") );

ENDIF
ENDIF
EndEvent

Tim NL
10th September 2009, 21:33
hi
i have a lil problem with transfer the driftbox from 5.716 to 5.845 . it doenst show the driftbox completly
can someone help me .

openPrivButton( "Servername",1,127,28,5,4,-1,16,"^0[^7" . $ConfVar["host"] . "^0]" );


Hi,
Use this to show the server name.
openPrivButton( "Servername",1,127,28,5,4,-1,16,"^0[^7" . getLapperVar( "HostName" ) . "^0]" );

Bass-Driver
11th September 2009, 14:45
Hi,
Use this to show the server name.
openPrivButton( "Servername",1,127,28,5,4,-1,16,"^0[^7" . getLapperVar( "HostName" ) . "^0]" );

k that works
but the other things dont work . i have changed something but it still dont work

look post above

sinanju
11th September 2009, 22:48
Hi

Couple of things;

You're duplicating a lot of the buttons (about 8).

You've got these after your first THEN, and repeated after your second THEN. Maybe conflict there.

Also, you appear to be missing a line $AngleVelocity = -$AngleVelocity ;

Try the following;

Event OnDriftScore()

$AngleVelocity = GetCurrentPlayerVar( "AngleVelocity" );
$DriftScore = GetCurrentPlayerVar( "DriftScore" );
$LastDriftScore = GetCurrentPlayerVar( "LastDriftScore" );

IF( $GUI_drift == "yes" )
THEN
openPrivButton( "Driftscoreboard",1,117,28,10,4,-1,16,"^0D^4R^0I^4F^0T ^4S^0C^4O^0R^4E^0B^4O^0A^4R^0D" );
openPrivButton( "Servername",1,127,28,5,4,-1,16,"^0[^7" . getLapperVar( "HostName" ) . "^0]" );
openPrivButton( "Score",1,132,14,5,4,-1,16,"^7 Score" );
openPrivButton( "Angle",15,132,14,5,4,-1,16,"^7 Angle" );
openPrivButton( "TotalScore",1,142,28,5,4,-1,16,"^7 Total Score" );

IF( $AngleVelocity < 0 )
THEN

$AngleVelocity = -$AngleVelocity ;

SetCurrentPlayerVar("Angle_Reverse",$AngleVelocity);
openPrivButton( "Score1",1,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore") );
openPrivButton( "Angle1",15,137,14,5,4,-1,32,"^1" . $Angle_Reverse);
openPrivButton( "TotalScore1",1,147,28,5,4,-1,32,"^1" . GetCurrentPlayerVar( "DriftScore") );
ELSE

openPrivButton( "Score1",1,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore" ) );
openPrivButton( "Angle1",15,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "AngleVelocity" ) );
openPrivButton( "TotalScore1",1,147,28,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore") );

ENDIF
ENDIF
EndEventHaven't tested it, but it might help :)

If still problems, you could look at my drift meter coding at http://www.lfsforum.net/showthread.php?p=1243536#post1243536

lysergic
12th September 2009, 22:56
Hi, is it possible to define qual groups also if I define qual users from a file?

$RefreshQualUsers = true;
$QualUsers = "&./qualusers2009.txt";
#$QualUsers = "@DefGroup:2:32:1,Lysergic,.....

May I write:
$QualUsers = ""@DefGroup:2:32:1,&./qualusers2009.txt";


Many thanks!

Fire_optikz001
13th September 2009, 01:58
Hi

Couple of things;

You're duplicating a lot of the buttons (about 8).

You've got these after your first THEN, and repeated after your second THEN. Maybe conflict there.

Also, you appear to be missing a line $AngleVelocity = -$AngleVelocity ;

Try the following;

Event OnDriftScore()

<SNIP>

EndEvent
actually all u need now is

Event OnDriftScore()
IF( $GUI_drift == "yes" )
THEN
openPrivButton( "Score1",1,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore" ) );
openPrivButton( "Angle1",15,137,14,5,4,-1,32,"^1" . GetCurrentPlayerVar( "AngleVelocity" ) );
openPrivButton( "TotalScore1",1,147,28,5,4,-1,32,"^1" . GetCurrentPlayerVar( "LastDriftScore") );
ENDIF
EndEvent

Gai-Luron
13th September 2009, 09:54
Hi, is it possible to define qual groups also if I define qual users from a file?

$RefreshQualUsers = true;
$QualUsers = "&./qualusers2009.txt";
#$QualUsers = "@DefGroup:2:32:1,Lysergic,.....

May I write:
$QualUsers = ""@DefGroup:2:32:1,&./qualusers2009.txt";


Many thanks!


you must define @DefGroup:2:32:1 in qualusers2009.txt. This must be done in first line of the file

example in file :


DefGroup:3;20;13
lysergic
gai-luron
....


Gai-Luron

lysergic
13th September 2009, 19:01
Thanks Gai for the answer, but I have a problem. The file qualusers2009.txt is generated by mySQL select into outfile function and it's not possible to add text (or I don't know how to).

May I define two files, one with defGroup and one with qual users? Something like: $QualUsers = "&./defgroup.txt&./qualusers2009.txt";

Gai-Luron
14th September 2009, 17:28
Insert a temporary username in your mysql table DBS containing qualification user with username like this : DefGroup:3;20;13
then make your sql statement including this row to create file
then erase this row


DefGroup:3;20;13 can be in any line of your qual user file. It's not an obligation to put it in the first line

or better use UNION ( search word on google : "header INTO OUTFILE" )

Here an example

SELECT 'DefGroup:3;20;13'
UNION
SELECT username INTO OUTFILE 'qualuser.txt'
FROM yourTable
WHERE yourquery

Gai-Luron

lysergic
14th September 2009, 20:06
WOW! Thanks Gai, I'll try it.
:thumb:

lysergic
14th September 2009, 20:49
It works perfectly, I create a table named "defgroup" with a row TINYTEXT with value "DefGroup:2:32:5" then I added to my select:
SELECT * FROM defgroup
UNION
SELECT .... INTO OUTFILE "qualusers2009.txt"

the result of the file is:

DefGroup:2:32:5
alexio_82
bLb
CARRERA GT
Clegster
Darrajunior
fallen
Il Nonno
kalabas
Logan 5
lysergic
manosf23
MaurizioNaselli
multit
nasoss
neilser
nikosk31
Ostersund
predrag
radziomistrzu
rockclan
roudim
saxakias
scoupegt
sermilan
sh00ter
thanos gr
thereaperlt
therivierakid
tim.ellis
Tzive
Varwnos
Vule
X-treamRaceR
[HUN] K.Buss

now I'll check if LFSLAPPER works ok ... no doubts about it ;)


many thanks again Gai

Tur8o
18th September 2009, 14:18
Does there need to be a cetain place for lapper files to be?

new server and i didnt set it up is there a certain way i use ftp atm i have it in a folder called lapper...

Thanks In Advance

lysergic
20th September 2009, 08:32
Hi again, I'm trying to use Lapper 5.845 on Windows 2003 Server x-64 but I have this error

An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Mono.Data.SqliteClient
at Mono.Data.SqliteClient.Sqlite.sqlite3_open16(Strin g dbname, IntPtr& handle)
at Mono.Data.SqliteClient.SqliteConnection.Open()
at LFSDbs.DbsAccess..ctor(Debug pmyDebug, String DbName) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:line 45
at LFSDbs.gripDbs..ctor(Debug pmyDebug, String puniqueConnectionId, String DbName, Int32 LapTimeUsedForPbPar, String FtpServer, String FtpLogin, String FtpPasswd, String FtpRemotePath, String dateFormat) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:line 72
at LFSLapper.LFSClient.init(String pip, Int32 pport, String pWorkingDir, String pIniFile, String pSuperUsers) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:line 558
at LFSLapper.LFSClient..ctor(String pip, Int32 pport, String pWorkingDir, String pInifile, String pSuperUsers) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:line 254
at LFSLapper.LFSListen.Listen.goWorkMode() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:line 82
at LFSLapper.LFSListen.Listen.start() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:line 126
Int32 sqlite3_open16(System.String, IntPtr ByRef)
Closing Instance...

Could You help me? Is this caused by 64bit system?

Krayy
20th September 2009, 09:10
...<snip>Could You help me? Is this caused by 64bit system?
Looks that way...is there any options to run it in a 32 bit mode if you create a shortcut and modify the shortcuts environment?

Otherwise, see if there is a 64 bit SQLite dll avaiable for download and try copying that into the Lapper directory. Try here: http://blog.quiziqal.com/post/2008/12/27/SystemDataSQLite-Issue-on-Vista-64-Bit-Part-2.aspx

Tur8o
20th September 2009, 22:59
i get this

-----------------------------------------------------------------------------
9/20/2009 4:32:13 PM
Lapper Instance 127.0.0.1/17468 abort!
Object reference not set to an instance of an object.
LFSLapper
at LFSLapper.listPlayers.updateGap(Int32 PLID, Int32 split, lexConfigurator newCfg, Boolean modifyOnlyPos) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Pla yers\ListPlayers.cs:line 137
at LFSLapper.LFSClient.managePacket(MCI mci) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\managePacket.cs:line 717
at LFSLapper.LFSClient.Loop(Connect insimConnection) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\loop.cs:line 944
at LFSLapper.LFSClient.doloop() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:line 630
at LFSLapper.LFSListen.Listen.goWorkMode() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:line 85
at LFSLapper.LFSListen.Listen.startStbMode() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:line 270
Void updateGap(Int32, Int32, Configurator.lexConfigurator, Boolean)
Closing Instance...
-----------------------------------------------------------------------------

Fire_optikz001
21st September 2009, 04:39
i get this

-----------------------------------------------------------------------------
9/20/2009 4:32:13 PM
Lapper Instance 127.0.0.1/17468 abort!
Object reference not set to an instance of an object.
LFSLapper
at LFSLapper.listPlayers.updateGap(Int32 PLID, Int32 split, lexConfigurator newCfg, Boolean modifyOnlyPos) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Pla yers\ListPlayers.cs:line 137
at LFSLapper.LFSClient.managePacket(MCI mci) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\managePacket.cs:line 717
at LFSLapper.LFSClient.Loop(Connect insimConnection) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\loop.cs:line 944
at LFSLapper.LFSClient.doloop() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:line 630
at LFSLapper.LFSListen.Listen.goWorkMode() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:line 85
at LFSLapper.LFSListen.Listen.startStbMode() in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:line 270
Void updateGap(Int32, Int32, Configurator.lexConfigurator, Boolean)
Closing Instance...
-----------------------------------------------------------------------------
bug in ur lpr :S least thats what i get when i have a bug

m4ccy
25th September 2009, 22:49
I have a dedicated server 2003 unit in germany i host lfs from.
I can run the lapper mod from my home pc in england and connect to the server remote, it works fine, but if i put the lapper files on the server machine itself and try to run it from the server ,machine, i get the following error when i join the game and type !start the lapper goes right back to standby mode.

An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Mono.Data.SqliteClient
at Mono.Data.SqliteClient.Sqlite.sqlite3_open16(Strin g dbname, IntPtr& handle)
at Mono.Data.SqliteClient.SqliteConnection.Open()
at LFSDbs.DbsAccess..ctor(Debug pmyDebug, String DbName) in
D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:line 45
at LFSDbs.gripDbs..ctor(Debug pmyDebug, String puniqueConnectionId, String DbName, Int32
LapTimeUsedForPbPar, String FtpServer, String FtpLogin, String FtpPasswd, String FtpRemotePath, String
dateFormat) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:line 72
at LFSLapper.LFSClient.init(String pip, Int32 pport, String pWorkingDir, String pIniFile, String
pSuperUsers) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:line 558
at LFSLapper.LFSClient..ctor(String pip, Int32 pport, String pWorkingDir, String pInifile, String
pSuperUsers) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:line 247
at LFSLapper.LFSListen.Listen.goWorkMode() in
D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:line 82
at LFSLapper.LFSListen.Listen.startStbMode() in
D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:line 270
Int32 sqlite3_open16(System.String, IntPtr ByRef)
Closing Instance...

Any ideas ?

In 3 years i have not been able to get any version of lapper working from my server 2003 machine :-S this is the 1st time i see a error report with version 5.846

Fire_optikz001
26th September 2009, 00:26
I have a dedicated server 2003 unit in germany i host lfs from.
I can run the lapper mod from my home pc in england and connect to the server remote, it works fine, but if i put the lapper files on the server machine itself and try to run it from the server ,machine, i get the following error when i join the game and type !start the lapper goes right back to standby mode.

An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Mono.Data.SqliteClient
at Mono.Data.SqliteClient.Sqlite.sqlite3_open16(Strin g dbname, IntPtr& handle)
at Mono.Data.SqliteClient.SqliteConnection.Open()
at LFSDbs.DbsAccess..ctor(Debug pmyDebug, String DbName) in
D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:line 45
at LFSDbs.gripDbs..ctor(Debug pmyDebug, String puniqueConnectionId, String DbName, Int32
LapTimeUsedForPbPar, String FtpServer, String FtpLogin, String FtpPasswd, String FtpRemotePath, String
dateFormat) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:line 72
at LFSLapper.LFSClient.init(String pip, Int32 pport, String pWorkingDir, String pIniFile, String
pSuperUsers) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:line 558
at LFSLapper.LFSClient..ctor(String pip, Int32 pport, String pWorkingDir, String pInifile, String
pSuperUsers) in D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:line 247
at LFSLapper.LFSListen.Listen.goWorkMode() in
D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:line 82
at LFSLapper.LFSListen.Listen.startStbMode() in
D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:line 270
Int32 sqlite3_open16(System.String, IntPtr ByRef)
Closing Instance...

Any ideas ?

In 3 years i have not been able to get any version of lapper working from my server 2003 machine :-S this is the 1st time i see a error report with version 5.846

64 bit?

Bass-Driver
3rd October 2009, 16:00
i have a lil problem with my "driftbox"
when someone do !drfon it turns driftbox on for himself
but if someone else go drift with driftbox off ,then it turns the driftbox automaticly on


###################################
#Event triggered when lapper start#
###################################
GlobalVar $driftbox;
$driftbox = "no";


i think this is the problem
i need to change "GlobalVar"in something else
in version 5.617 was this PlayerVar but this doesnt work in 5.845

Tim NL
3rd October 2009, 16:49
i have a lil problem with my "driftbox"
when someone do !drfon it turns driftbox on for himself
but if someone else go drift with driftbox off ,then it turns the driftbox automaticly on

###################################
#Event triggered when lapper start#
###################################
GlobalVar $driftbox;
$driftbox = "no";

i think this is the problem
i need to change "GlobalVar"in something else
in version 5.617 was this PlayerVar but this doesnt work in 5.845

Hi,
GlobalVar $driftbox; $driftbox = "no"; This is a globar var ( will counts for everybody)

For playervars use this

SetCurrentPlayerVar( "driftbox","no" );
and
GetCurrentPlayerVar( "driftbox" );

Bass-Driver
3rd October 2009, 17:20
oh i screwed something up
could u change it pls??

Tim NL
3rd October 2009, 17:31
oh i screwed something up
could u change it pls??

I have not test it but something like this.

Bass-Driver
3rd October 2009, 17:41
Thx it works
now i know how to use
SetCurrentPlayerVar(
GetCurrentPlayerVar(

Fire_optikz001
3rd October 2009, 18:16
Hi,
GlobalVar $driftbox; $driftbox = "no"; This is a globar var ( will counts for everybody)

For playervars use this

SetCurrentPlayerVar( "driftbox","no" );
and
GetCurrentPlayerVar( "driftbox" );

do these reset every time insim does?

Fire_optikz001
8th October 2009, 03:29
what this mean?
-----------------------------------------------------------------------------
10/7/2009 9:19:22 PM

Lapper Instance 78.110.160.85/29000 abort!

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
mscorlib
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
at System.BitConverter.ToInt32(Byte[] value, Int32 startIndex)
at InSim.Decoder.SMALL..ctor(Byte[] packet) in C:\Users\T3ChARmy\Desktop\desktop\src\InSim4.cs:li ne 828
at LFSLapper.LFSClient.Loop(Connect insimConnection) in C:\Users\T3ChARmy\Desktop\desktop\src\LFSClient\lo op.cs:line 878
at LFSLapper.LFSClient.doloop() in C:\Users\T3ChARmy\Desktop\desktop\src\LFSClient\lf sclient.cs:line 632
at LFSLapper.LFSListen.Listen.goWorkMode() in C:\Users\T3ChARmy\Desktop\desktop\src\LFSListen\Li sten.cs:line 85
at LFSLapper.LFSListen.Listen.start() in C:\Users\T3ChARmy\Desktop\desktop\src\LFSListen\Li sten.cs:line 126
Void ThrowArgumentOutOfRangeException(System.ExceptionA rgument, System.ExceptionResource)
Closing Instance...
-----------------------------------------------------------------------------

KSheppard
9th October 2009, 03:55
Can lapper be configured to manage a multi-class start?

What I'd like is to have all the cars enabled and as an example have say 3-fxo's, 4-fox's & 4-bf1's on the track then a) have the fxo's start first - third, the fox's fourth - seventh, the bf1's eighth - eleventh b)in order as per their qualify positions within their own grouping and c) held back from starting until the previous group is a reasonable time away.

Yes I know this puts the fast cars at the back but it's the hardest so I thought I would at least ask... besides a normal qualify puts the fast cars up front - where's the fun in that :)

Krayy
9th October 2009, 05:18
Can lapper be configured to manage a multi-class start?

What I'd like is to have all the cars enabled and as an example have say 3-fxo's, 4-fox's & 4-bf1's on the track then a) have the fxo's start first - third, the fox's fourth - seventh, the bf1's eighth - eleventh b)in order as per their qualify positions within their own grouping and c) held back from starting until the previous group is a reasonable time away.

Yes I know this puts the fast cars at the back but it's the hardest so I thought I would at least ask... besides a normal qualify puts the fast cars up front - where's the fun in that :)
In any InSim you can only tell if a vehicle is moving, you cannot disable their controls, force brake etc and if they join the race late, then they start in the pits. Even if they do move, you have limited options as to what you can do...apply a time/drive through penalty or spec them.

Fire_optikz001
9th October 2009, 17:02
In any InSim you can only tell if a vehicle is moving, you cannot disable their controls, force brake etc and if they join the race late, then they start in the pits. Even if they do move, you have limited options as to what you can do...apply a time/drive through penalty or spec them.

or kick :)

and as he was saying there is

Event OnFalseStartL1()
EndEvent

Event OnFalseStartL2()
EndEvent

in the lpr

Krayy
9th October 2009, 20:29
or kick :)

and as he was saying there is

Event OnFalseStartL1()
EndEvent

Event OnFalseStartL2()
EndEvent
in the lpr
That function reponds to a normal false start in LFS, i.e. moving before the green light. It won't allow any kind of staggered start.

The one thing I could suggest is having a physical person as a race controller. All racers would start in a "no start" group, then the race controller could move tem into a "go" group which would flash a start message on the drivers screen. This is of course would need buy-in from the racers as they would need to wait for these messages after the normal LFS start procedure.

Davique
11th October 2009, 21:29
For some reason I can't start a new thread in this forum.
I have a problem. I'm from Ukraine and I want to use russian symbols in my lapper cfg. In ver. 5.54 I used to write "^C" brfore my russian text, but now I use lapper 5.716 and this does't seem to work. Please somebody tell me how can I put russian symbols in my cfg file :(

m4ccy
23rd October 2009, 10:15
Can anybody help me by posting a 64 bit version of teh lapper mod for me here? as I am not a computer programmer.

Thank you in advance.

Andy King
24th October 2009, 11:50
Hi Gai, sorry not been around but work has been mad. I have a problem I hope you can solve.

I have created a Voting System so drivers can vote for a track change each month on [AKM] Racing UK 3. It saves the vote and then adds the following to the database so drivers can't vote twice.....

SetStoredValue($UserName . "_Server_3_Voted", "Yes");

My problem is how to reset the value to No each month so drivers can vote again. I need a wildcard for UserName like.....

SetStoredValue("*_Server_3_Voted", "Yes");

So anything where the * is ignored and it searches for _Server_3_Voted and sets its value to No. I need it to run thro database changing all to No so drivers can start voting again.

I also think with the release of the new LFS update we are going to have to reset all the PB's in our databases as new tyre structure is going to make the cars slower from what I have read.

Sorry for such a long message, hope you can understand what I mean by a wildcard.


I also cannot get !who to work, its displays but doesn't fill it with drivers.

Thanks for your time

Fire_optikz001
24th October 2009, 16:39
I also cannot get !who to work, its displays but doesn't fill it with drivers.

Thanks for your time
easy fix (i think) make all ur $userName s $UserName :thumb:

Andy King
24th October 2009, 20:07
Thanks for your response but already did that :)

Krayy
25th October 2009, 02:02
Thanks for your response but already did that :)
Hey there Andy,

If you are using !who, you need to maek sure (in the current Lapper anyway) that "pitboard.lpr" is in the includes file and that pitboards are set to True in the includes.lpr file. This becasue the !who command uses the user_array data structure that is defined in the pitboard.lpr. I moved it out of there to stop being dependant on it.

About the voting data structures, I did a large rewrite of the stored values database that I'll post the latest version into the forum topic dedicated to that function. It will allow setting the var on individuals rather than in a genral storage area and allow fro bulk updates.

Bass-Driver
25th October 2009, 08:48
If you are using !who, you need to maek sure (in the current Lapper anyway) that "pitboard.lpr" is in the includes file and that pitboards are set to True in the includes.lpr file. This becasue the !who command uses the user_array data structure that is defined in the pitboard.lpr. I moved it out of there to stop being dependant on it.


hi
i have set the pitboards to true and i have changed the $Username what
Fire_optikz001 said
but it still doesnt work
couls u send me the files to get it work?????

Fire_optikz001
25th October 2009, 14:22
hmmm now lapper crashes when i do !who :<

Andy King
25th October 2009, 14:59
Hey there Andy,

If you are using !who, you need to maek sure (in the current Lapper anyway) that "pitboard.lpr" is in the includes file and that pitboards are set to True in the includes.lpr file. This becasue the !who command uses the user_array data structure that is defined in the pitboard.lpr. I moved it out of there to stop being dependant on it.

I don't use the PitBoard inbuilt I have my own. Could you post what u moved and where to please.

About the voting data structures, I did a large rewrite of the stored values database that I'll post the latest version into the forum topic dedicated to that function. It will allow setting the var on individuals rather than in a genral storage area and allow fro bulk updates.

Please post the Forum url when you have posted it.

I have another question....
Is it possible to add UserNames to a text file using LFS text box, by pressing T and typing !Add_Registration Andy King and it adds my Username to a defined Text file in !Add_Registration

Thanks guys

lysergic
25th October 2009, 21:00
Hi all again...

I have lot of questions for U all from lot of time ago; now it's time to ask help (it isn't the first time..)


I setup autorestart and rotate track system
$VoteLifeSec = 30;
$AutoRestartRaceSec = 60;
$EnableRotation = true;
$RotateTracks = "SO4,AS1R,FE1,BL1";
$RotateEveryNbRaces = 6;
$RotateCars = "LX4";
but after few seconds of race start, the server restart the race again!


I really do not understand how to insert .dbs or .elp values into a mysql db, or read them in a php page, also if I have a linux, apache2, php5 hosting server I cannot find any help on how to read and show them
I use the racepoint system but I can't set it how I need.
This is my league points system, any help?
place 1 points 50
2 40
3 32
4 26
5 22
6 20
7 18
8 16
9 14
10 12
11 10
12 8
13 6
14 4
15 2
I know I'm boring, but I spent so much time trying to fix these settings that now I'm really demoralized

Fire_optikz001
25th October 2009, 22:13
Is it possible to add UserNames to a text file using LFS text box, by pressing T and typing !Add_Registration Andy King and it adds my Username to a defined Text file in !Add_Registration

Thanks guys
well wit This addon: http://www.lfsforum.net/showthread.php?p=1259430#post1259430

u can use mine
CASE "!add":
IF( UserInGroup( "tempadmin",$UserName ) == 1 && UserIsAdmin( $UserName ) == 1 )
THEN
IF( $argv != "" ) THEN
$idxSpace = indexOf( $argv, " ");
IF( $idxSpace != -1 ) THEN
$option = subStr( $argv,0,$idxSpace );
$argv = trim( subStr( $argv,$idxSpace ) );
SWITCH( $option )
CASE "registration":
IF( UserInGroup( "registeration",$argv ) == 1 )
THEN
privMsg( "^7User is already registered ");
ELSE
MoveUserToGroup( "registeration", $argv );
SaveGroupToFile( "registeration", "./registeration.txt" );
privMsg( "^7Added " . $argv . " To " . $option . " File Succesfully!!");
ENDIF
BREAK;
DEFAULT:
privMsg( "No such option for this command: " . $option );
BREAK;
ENDSWITCH
ELSE
privMsg( "Command needs more parameters" );
ENDIF
ENDIF
ELSE
privMsg( "^1Access Denied");
ENDIF
BREAK;

CASE "!re":
IF( UserInGroup( "tempadmin",$UserName ) == 1 && UserIsAdmin( $UserName ) == 1 )
THEN
IF( $argv != "" ) THEN
$idxSpace = indexOf( $argv, " ");
IF( $idxSpace != -1 ) THEN
$option = subStr( $argv,0,$idxSpace );
$argv = trim( subStr( $argv,$idxSpace ) );
SWITCH( $option )
CASE "registration":
IF( UserInGroup( "registeration",$argv ) == 1 )
THEN
RemoveUserFromGroup( "registeration" , $argv);
SaveGroupToFile( "registeration", "./registeration.txt" );
privMsg( "^7Removed " . $argv . " From " . $option . " File Succesfully!!");
ELSE
privMsg( "^1User not found in file");
ENDIF
BREAK;
DEFAULT:
privMsg( "No such option for this command: " . $option );
BREAK;
ENDSWITCH
ELSE
privMsg( "Command needs more parameters" );
ENDIF
ENDIF
ELSE
privMsg( "^1Access Denied");
ENDIF
BREAK;


thats how i have mine set up that way i can add more user groups without doing a whole lot

Tim NL
25th October 2009, 22:30
Hi all again...

I have lot of questions for U all from lot of time ago; now it's time to ask help (it isn't the first time..)


I setup autorestart and rotate track system
$VoteLifeSec = 30;
$AutoRestartRaceSec = 60;
$EnableRotation = true;
$RotateTracks = "SO4,AS1R,FE1,BL1";
$RotateEveryNbRaces = 6;
$RotateCars = "LX4";
but after few seconds of race start, the server restart the race again!


I really do not understand how to insert .dbs or .elp values into a mysql db, or read them in a php page, also if I have a linux, apache2, php5 hosting server I cannot find any help on how to read and show them
I use the racepoint system but I can't set it how I need.
This is my league points system, any help?
place 1 points 50
2 40
3 32
4 26
5 22
6 20
7 18
8 16
9 14
10 12
11 10
12 8
13 6
14 4
15 2
I know I'm boring, but I spent so much time trying to fix these settings that now I'm really demoralized

Hi,
For the first 2 questions i dont have a anser but for the last you can try try this "new" point system. ( i had not the time to test it but i think its working)

It shows the first 24 players and the first 15 who finish get the points what you ask for. number 16 to 24 get 0 points. number 25 to the last get also 0 points but do not show up on the list.

lysergic
25th October 2009, 22:52
Hi,
For the first 2 questions i dont have a anser but for the last you can try try this "new" point system. ( i had not the time to test it but i think its working)

It shows the first 24 players and the first 15 who finish get the points what you ask for. number 16 to 24 get 0 points. number 25 to the last get also 0 points but do not show up on the list.

Many thanks, I'll try it! :)

Fire_optikz001
25th October 2009, 22:54
Many thanks, I'll try it! :)
:< i dont get a thanks for my !add command?

lysergic
25th October 2009, 23:00
:< i dont get a thanks for my !add command?

really?! sorry, THANKYOU!

Fire_optikz001
25th October 2009, 23:03
really?! sorry, Thank You!
i dont deserver that much thank you i fix it :)

Andy King
26th October 2009, 00:09
Hi Fire,
This is great, just got one error......

10/26/2009 12:09:32 AM -> Syntax error in cfg file "./includes/Auto_Actions.lpr" at line #1218
'savegrouptofile' is not a Lapper function

How do I get around that.

Thanks for your time

Fire_optikz001
26th October 2009, 01:20
really?! sorry, THANKYOU!
LOL whoops wrong person :)

Fire_optikz001
26th October 2009, 01:21
Hi Fire,
This is great, just got one error......

10/26/2009 12:09:32 AM -> Syntax error in cfg file "./includes/Auto_Actions.lpr" at line #1218
'savegrouptofile' is not a Lapper function

How do I get around that.

Thanks for your time
have u added the addon? to ur exe?

Andy King
26th October 2009, 10:20
have u added the addon? to ur exe?

No not got a clue how to do it as can script Lapper but not exe lol

m4ccy
26th October 2009, 13:20
I need a 64bit compatible version of the latest lapper mod, could anybody please help?

A possible fingerpoint or a recompile please.

Winserver2003 user.

Help, i need somebody
Help, not just anybody
help, i need someone
Heeelp :D

Fire_optikz001
26th October 2009, 20:56
No not got a clue how to do it as can script Lapper but not exe lol
:) i i can send u my exe but i think u might have to add a few features to ur lpr :)

Andy King
26th October 2009, 22:46
:) i i can send u my exe but i think u might have to add a few features to ur lpr :)

Such as? Send it with info on whats needed to add please

mackosajt
27th October 2009, 22:42
Hello!

1st of all, sry if i wrote in wrong topic.

Our little team runs a dedicated host on a Mandriva linux based system.
We used Lapper in the past, but when we used it, we runs the server from our pc, with win os and .net.
Now on linux, a bit problem appears. The old 5.7xx lapper runs fine, without error msg.
The new 5.8xx give us an error.
Mono 2.0 "installed" via built in update and install.

The error log attached.

What can be the problem?

Fire_optikz001
28th October 2009, 03:35
is this
IF( GetCurrentPlayerVar( "command" ) == "does not exist" )
THEN
privMsg( "^1Invalid Command! ^7Please Look At ^2!Help ^7For Commands!" );
ENDIF
correct if wanted to fetch this
SetCurrentPlayerVar( "command","does not exist" );

please help!

Fire_optikz001
29th October 2009, 20:31
help???

KIMA
5th November 2009, 00:22
And who will prompt to me as in LFSLapper5.850beta to include mode DRIFT and that I change with is not present on yes, and it all the same does not work (((

Gai-Luron
5th November 2009, 07:40
Already discuss in thread many, many time

In file LFSLapper.lpr and in section
##################
#Drifting options#
##################

Remove /* and */ present in all event

Example remove code in red, and do for all event in this section


/*
Event OnDriftPB() # Player event
globalRcm( langEngine( "%{main_newdriftpb}%" , GetCurrentPlayerVar("Nickname"),GetCurrentPlayerVar("DriftScore") . " ^3pts!") );
EndEvent
*/

/*
Event OnDriftPB() # Player event
globalMsg( langEngine( "%{main_newdriftpb}%" , GetCurrentPlayerVar("Nickname"),GetCurrentPlayerVar("DriftScore") . " ^3pts!") );
EndEvent
*/
...



Gai-Luron

KIMA
6th November 2009, 02:53
Huge to you thanks, instead of prompt as to correct востановление, and that when you are restored the tablet with an inscription jumps out the penalty from the Manager проедти through боксы how it to clean? Also prompt where to clean a limit of idle time of 10 seconds.
In advance thanks.KIMA:)

Tim NL
6th November 2009, 09:22
Huge to you thanks, instead of prompt as to correct востановление, and that when you are restored the tablet with an inscription jumps out the penalty from the Manager проедти through боксы how it to clean? Also prompt where to clean a limit of idle time of 10 seconds.
In advance thanks.KIMA:)

Hi,
I think you use a very bad translation site.:schwitz:
But the options for idle player on track you can find in this part


##################################
#Options for idle player on track#
##################################

#$IdleExclude = "Lagamel,Gai-Luron"; # Usernames excluded for idle check

$OnIdleTimeout1 = 20; # Idle timeout for OnIdleAction1 in seconds

Event OnIdle1() # Player event
privMsg( langEngine( "%{main_idle1}%" ) );
EndEvent

$OnIdleTimeout2 = 30; # Idle timeout for OnIdleAction2 in seconds

Event OnIdle2() # Player event
cmdLFS( "/spec " . GetCurrentPlayerVar("Nickname") );
privMsg( langEngine( "%{main_idle2}%" ) );
EndEvent

Andy King
7th November 2009, 12:56
Hi Guys,
Whats the replacememnt for GetLapperVar("nbPlayerOnTrack")

Cheers

Edit: its GetLapperVar("nbPlayersOnTrack") the S was missing lol

Gai-Luron
7th November 2009, 19:00
I dont understand, it's exist!

KIMA
10th November 2009, 14:03
Prompt to me, what this for an error and why it constantly takes off?
This error shows LFSLapper5.850beta

http://s53.radikal.ru/i142/0911/13/82bf7ee4f0c1.jpg (http://www.radikal.ru)

9/20/2009 11:04:43 AM -> Connecting to 127.0.0.1 / 29999 .-----------------------------------------------------------------------------
11/6/2009 7:21:47 AM
-----------------------------------------------------------------------------
11/6/2009 7:21:47 AM -> Parsing config file...Ok
11/6/2009 7:21:47 AM -> Loading WR...Not Loaded
11/6/2009 7:21:47 AM -> Loading swearwords...Ok
11/6/2009 7:21:47 AM -> Connecting to 127.0.0.1 / 29999
Connection OK
11/6/2009 7:21:47 AM -> 06.11.2009 7:21:47 -> Product:S2 Version:0.5Z25 InSim Version:4
InSImReceive Thread Started...
06.11.2009 7:21:48 -> Ftp Upload grip DB Thread Started...
06.11.2009 7:21:48 -> Ftp Upload drift DB Thread Started...
06.11.2009 7:21:48 -> 06.11.2009 7:21:48 -> Web Commands Thread Started...
11/6/2009 7:21:48 AM -> LFSLapper is running...
PubStat Thread Started...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
06.11.2009 7:21:48 -> Register Web Thread Started...
-----------------------------------------------------------------------------
11/6/2009 7:22:21 AM
-----------------------------------------------------------------------------
11/6/2009 7:22:21 AM -> Parsing config file...Ok
11/6/2009 7:22:21 AM -> Loading WR...Not Loaded
11/6/2009 7:22:21 AM -> Loading swearwords...Ok
11/6/2009 7:22:21 AM -> Connecting to 127.0.0.1 / 29999
Connection OK
11/6/2009 7:22:21 AM -> 06.11.2009 7:22:21 -> Product:S2 Version:0.5Z25 InSim Version:4
06.11.2009 7:22:21 -> Ftp Upload grip DB Thread Started...
InSImReceive Thread Started...
06.11.2009 7:22:21 -> Ftp Upload drift DB Thread Started...
06.11.2009 7:22:21 -> 06.11.2009 7:22:21 -> 11/6/2009 7:22:21 AM -> 06.11.2009 7:22:21 -> PubStat Thread Started...
LFSLapper is running...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Web Commands Thread Started...
Register Web Thread Started...
-----------------------------------------------------------------------------
11/6/2009 5:57:40 PM
-----------------------------------------------------------------------------
11/6/2009 5:57:40 PM -> Parsing config file...Ok
11/6/2009 5:57:40 PM -> Loading WR...Not Loaded
11/6/2009 5:57:41 PM -> Loading swearwords...Ok
11/6/2009 5:57:41 PM -> Connecting to 127.0.0.1 / 29999
Connection OK
11/6/2009 5:57:41 PM -> Product:S2 Version:0.5Z25 InSim Version:4
06.11.2009 17:57:41 -> InSImReceive Thread Started...
06.11.2009 17:57:41 -> Ftp Upload drift DB Thread Started...
06.11.2009 17:57:41 -> Ftp Upload grip DB Thread Started...
06.11.2009 17:57:41 -> 06.11.2009 17:57:41 -> Web Commands Thread Started...
PubStat Thread Started...
11/6/2009 5:57:41 PM -> LFSLapper is running...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
06.11.2009 17:57:41 -> Register Web Thread Started...
11/6/2009 11:26:11 PM -> Connecting to 127.0.0.1 / 29999
Connection OK
06.11.2009 23:26:11 -> InSImReceive Thread Started...
-----------------------------------------------------------------------------
11/7/2009 12:44:01 AM
-----------------------------------------------------------------------------
11/7/2009 12:44:01 AM -> Parsing config file...Ok
11/7/2009 12:44:02 AM -> Loading WR...Not Loaded
11/7/2009 12:44:02 AM -> Loading swearwords...Ok
11/7/2009 12:44:02 AM -> Connecting to 127.0.0.1 / 29999
Connection OK
07.11.2009 0:44:02 -> InSImReceive Thread Started...
11/7/2009 12:44:02 AM -> Product:S2 Version:0.5Z25 InSim Version:4
07.11.2009 0:44:05 -> Ftp Upload grip DB Thread Started...
07.11.2009 0:44:05 -> Ftp Upload drift DB Thread Started...
07.11.2009 0:44:05 -> Web Commands Thread Started...
07.11.2009 0:44:05 -> PubStat Thread Started...
07.11.2009 0:44:05 -> Register Web Thread Started...
11/7/2009 12:44:05 AM -> LFSLapper is running...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
11/7/2009 12:46:55 AM
-----------------------------------------------------------------------------
11/7/2009 12:46:55 AM -> Parsing config file...Ok
11/7/2009 12:46:55 AM -> Loading WR...Not Loaded
11/7/2009 12:46:55 AM -> Loading swearwords...Ok
11/7/2009 12:46:55 AM -> Connecting to 127.0.0.1 / 29999
Connection OK
11/7/2009 12:46:55 AM -> Product:S2 Version:0.5Z25 InSim Version:4
07.11.2009 0:46:56 -> 07.11.2009 0:46:56 -> Ftp Upload grip DB Thread Started...
Ftp Upload drift DB Thread Started...
07.11.2009 0:46:55 -> InSImReceive Thread Started...
07.11.2009 0:46:56 -> 07.11.2009 0:46:56 -> Web Commands Thread Started...
PubStat Thread Started...
11/7/2009 12:46:56 AM -> 07.11.2009 0:46:56 -> LFSLapper is running...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Register Web Thread Started...
-----------------------------------------------------------------------------
11/7/2009 12:41:24 PM -> Connecting to 127.0.0.1 / 29999
Connection OK
07.11.2009 12:41:24 -> InSImReceive Thread Started...
-----------------------------------------------------------------------------
11/7/2009 1:27:29 PM
-----------------------------------------------------------------------------
11/7/2009 1:27:29 PM -> Parsing config file...Ok
11/7/2009 1:27:29 PM -> Loading WR...Not Loaded
11/7/2009 1:27:29 PM -> Loading swearwords...Ok
11/7/2009 1:27:29 PM -> Connecting to 127.0.0.1 / 29999
Connection OK
11/7/2009 1:27:29 PM -> 07.11.2009 13:27:29 -> Product:S2 Version:0.5Z25 InSim Version:4
InSImReceive Thread Started...
07.11.2009 13:27:30 -> Ftp Upload grip DB Thread Started...
07.11.2009 13:27:30 -> Ftp Upload drift DB Thread Started...
07.11.2009 13:27:30 -> 07.11.2009 13:27:30 -> Web Commands Thread Started...
11/7/2009 1:27:30 PM -> 07.11.2009 13:27:30 -> PubStat Thread Started...
Register Web Thread Started...
LFSLapper is running...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
11/7/2009 1:27:31 PM -> Connecting to 127.0.0.1 / 29999
Connection OK
07.11.2009 13:27:31 -> InSImReceive Thread Started...
-----------------------------------------------------------------------------
11/10/2009 1:24:32 PM
-----------------------------------------------------------------------------
11/10/2009 1:24:32 PM -> Parsing config file...Ok
11/10/2009 1:24:33 PM -> Loading WR...Not Loaded
11/10/2009 1:24:33 PM -> Loading swearwords...Ok
11/10/2009 1:24:33 PM -> Connecting to 127.0.0.1 / 29999
Connection OK
11/10/2009 1:24:33 PM -> Product:S2 Version:0.5Z25 InSim Version:4
10.11.2009 13:24:33 -> InSImReceive Thread Started...
10.11.2009 13:24:34 -> Ftp Upload grip DB Thread Started...
10.11.2009 13:24:34 -> Ftp Upload drift DB Thread Started...
10.11.2009 13:24:35 -> 10.11.2009 13:24:35 -> Web Commands Thread Started...
11/10/2009 1:24:35 PM -> PubStat Thread Started...
LFSLapper is running...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
10.11.2009 13:24:35 -> Register Web Thread Started...
11/10/2009 4:33:28 PM -> Connecting to 127.0.0.1 / 29999
Connection OK
10.11.2009 16:33:28 -> InSImReceive Thread Started...

Gai-Luron
10th November 2009, 16:02
You send the MSS file not the ERR.

You can only send day error, not all the file please.

Try to use the new beta release before send an error, at this day is the 5.8.5.2 and it fix some beta errors

Gai-Luron

KIMA
10th November 2009, 16:26
06.11.2009 20:42:37 -> Error on web command
11/6/2009 11:26:10 PM -> SQL COMMAND :
SELECT a.* FROM fi_epb a WHERE carName IN ( "XRG","XRT","FZ5" ) AND trackName = "SO4" AND a.userName = 'vetl''

-----------------------------------------------------------------------------
11/6/2009 11:26:10 PM

Lapper Instance 127.0.0.1/29999 abort!

unrecognized token: "'vetl''"
LFSLapper
в LFSDbs.DbsAccess.executeQuery2(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 137
в LFSDbs.DbsAccess.executeQuery(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 98
в LFSDbs.gripDbs.GetTable2(Int32 from, String relativeToUserName, Int32 nbRead, String trackName, String carName, String Filter, Boolean onlyQualUser, Int32 MaxGroupQual, Int32 MaxUserGroupQual, Int32 MinUserGroupQual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:строка 798
в LFSLapper.LFSClient.getPosQual(String userName, Boolean flagqual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\cmdLapper.cs:строка 1128
в LFSLapper.LFSClient.GetVarPlayer(unionVal val, String idVar, String userName) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 395
в LFSLapper.LFSClient.execCmd(unionVal val, ArrayList args, infoPlayer currInfoPlayer) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 994
в LFSLapper.LFSClient.myFunctions(unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 806
в GLScript.GLApp.parseBackcall(SetOfVars GVAR, SetOfVars LVAR, unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 1031
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 566
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 577
в GLScript.GLApp.retrieveEvalVar(String funcName, TokenParse tkparse, TokenBuffer currTokenBuffer, SetOfVars GVAR, SetOfVars LVAR, Boolean breakFunc, Char& breakCar) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 840
в GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVars GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 225
в GLScript.GLApp.executeTokensPart(String funcName, SetOfVars GVAR, SetOfVars LVAR, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 156
в GLScript.GLApp.privExecuteFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 151
в GLScript.GLApp.executeFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 121
в Configurator.lexConfigurator.executeFunction(Strin g funcName, infoPlayer pcurrInfoPlayer, String[] par) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\cfg Parser\readCfg.cs:строка 333
в LFSLapper.LFSClient.managePacket(NCN newConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\managePacket.cs:строка 69
в LFSLapper.LFSClient.Loop(Connect insimConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\loop.cs:строка 985
в LFSLapper.LFSClient.doloop() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:строка 552
в LFSLapper.LFSListen.Listen.goWorkMode() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 85
в LFSLapper.LFSListen.Listen.start() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 126
System.Data.IDataReader executeQuery2(System.String)
Closing Instance...
-----------------------------------------------------------------------------
11/7/2009 12:41:22 PM -> SQL COMMAND :
SELECT a.* FROM fi_epb a WHERE carName IN ( "XRG","XRT","FZ5" ) AND trackName = "KY3R" AND a.userName = 'vetl''

-----------------------------------------------------------------------------
11/7/2009 12:41:23 PM

Lapper Instance 127.0.0.1/29999 abort!

unrecognized token: "'vetl''"
LFSLapper
в LFSDbs.DbsAccess.executeQuery2(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 137
в LFSDbs.DbsAccess.executeQuery(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 98
в LFSDbs.gripDbs.GetTable2(Int32 from, String relativeToUserName, Int32 nbRead, String trackName, String carName, String Filter, Boolean onlyQualUser, Int32 MaxGroupQual, Int32 MaxUserGroupQual, Int32 MinUserGroupQual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:строка 798
в LFSLapper.LFSClient.getPosQual(String userName, Boolean flagqual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\cmdLapper.cs:строка 1128
в LFSLapper.LFSClient.GetVarPlayer(unionVal val, String idVar, String userName) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 395
в LFSLapper.LFSClient.execCmd(unionVal val, ArrayList args, infoPlayer currInfoPlayer) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 994
в LFSLapper.LFSClient.myFunctions(unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 806
в GLScript.GLApp.parseBackcall(SetOfVars GVAR, SetOfVars LVAR, unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 1031
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 566
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 577
в GLScript.GLApp.retrieveEvalVar(String funcName, TokenParse tkparse, TokenBuffer currTokenBuffer, SetOfVars GVAR, SetOfVars LVAR, Boolean breakFunc, Char& breakCar) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 840
в GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVars GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 225
в GLScript.GLApp.executeTokensPart(String funcName, SetOfVars GVAR, SetOfVars LVAR, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 156
в GLScript.GLApp.privExecuteFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 151
в GLScript.GLApp.executeFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 121
в Configurator.lexConfigurator.executeFunction(Strin g funcName, infoPlayer pcurrInfoPlayer, String[] par) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\cfg Parser\readCfg.cs:строка 333
в LFSLapper.LFSClient.managePacket(NCN newConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\managePacket.cs:строка 69
в LFSLapper.LFSClient.Loop(Connect insimConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\loop.cs:строка 985
в LFSLapper.LFSClient.doloop() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:строка 552
в LFSLapper.LFSListen.Listen.goWorkMode() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 85
в LFSLapper.LFSListen.Listen.start() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 126
System.Data.IDataReader executeQuery2(System.String)
Closing Instance...
-----------------------------------------------------------------------------
11/7/2009 1:27:31 PM -> SQL COMMAND :
SELECT a.* FROM fi_epb a WHERE carName IN ( "XRG","XRT","FZ5" ) AND trackName = "BL3" AND a.userName = 'vetl''

-----------------------------------------------------------------------------
11/7/2009 1:27:31 PM

Lapper Instance 127.0.0.1/29999 abort!

unrecognized token: "'vetl''"
07.11.2009 13:27:31 -> Error on web command
LFSLapper
в LFSDbs.DbsAccess.executeQuery2(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 137
в LFSDbs.DbsAccess.executeQuery(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 98
в LFSDbs.gripDbs.GetTable2(Int32 from, String relativeToUserName, Int32 nbRead, String trackName, String carName, String Filter, Boolean onlyQualUser, Int32 MaxGroupQual, Int32 MaxUserGroupQual, Int32 MinUserGroupQual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:строка 798
в LFSLapper.LFSClient.getPosQual(String userName, Boolean flagqual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\cmdLapper.cs:строка 1128
в LFSLapper.LFSClient.GetVarPlayer(unionVal val, String idVar, String userName) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 395
в LFSLapper.LFSClient.execCmd(unionVal val, ArrayList args, infoPlayer currInfoPlayer) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 994
в LFSLapper.LFSClient.myFunctions(unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 806
в GLScript.GLApp.parseBackcall(SetOfVars GVAR, SetOfVars LVAR, unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 1031
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 566
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 577
в GLScript.GLApp.retrieveEvalVar(String funcName, TokenParse tkparse, TokenBuffer currTokenBuffer, SetOfVars GVAR, SetOfVars LVAR, Boolean breakFunc, Char& breakCar) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 840
в GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVars GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 225
в GLScript.GLApp.executeTokensPart(String funcName, SetOfVars GVAR, SetOfVars LVAR, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 156
в GLScript.GLApp.privExecuteFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 151
в GLScript.GLApp.executeFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 121
в Configurator.lexConfigurator.executeFunction(Strin g funcName, infoPlayer pcurrInfoPlayer, String[] par) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\cfg Parser\readCfg.cs:строка 333
в LFSLapper.LFSClient.managePacket(NCN newConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\managePacket.cs:строка 69
в LFSLapper.LFSClient.Loop(Connect insimConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\loop.cs:строка 985
в LFSLapper.LFSClient.doloop() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:строка 552
в LFSLapper.LFSListen.Listen.goWorkMode() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 85
в LFSLapper.LFSListen.Listen.start() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 126
System.Data.IDataReader executeQuery2(System.String)
Closing Instance...
-----------------------------------------------------------------------------
10.11.2009 13:49:28 -> Error on web command
10.11.2009 15:38:57 -> Error on web command
11/10/2009 4:33:26 PM -> SQL COMMAND :
SELECT a.* FROM fi_epb a WHERE carName IN ( "XRG","XRT","FZ5" ) AND trackName = "FE3R" AND a.userName = 'vetl''

-----------------------------------------------------------------------------
11/10/2009 4:33:27 PM

Lapper Instance 127.0.0.1/29999 abort!

unrecognized token: "'vetl''"
LFSLapper
в LFSDbs.DbsAccess.executeQuery2(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 137
в LFSDbs.DbsAccess.executeQuery(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 98
в LFSDbs.gripDbs.GetTable2(Int32 from, String relativeToUserName, Int32 nbRead, String trackName, String carName, String Filter, Boolean onlyQualUser, Int32 MaxGroupQual, Int32 MaxUserGroupQual, Int32 MinUserGroupQual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:строка 798
в LFSLapper.LFSClient.getPosQual(String userName, Boolean flagqual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\cmdLapper.cs:строка 1128
в LFSLapper.LFSClient.GetVarPlayer(unionVal val, String idVar, String userName) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 395
в LFSLapper.LFSClient.execCmd(unionVal val, ArrayList args, infoPlayer currInfoPlayer) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 994
в LFSLapper.LFSClient.myFunctions(unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 806
в GLScript.GLApp.parseBackcall(SetOfVars GVAR, SetOfVars LVAR, unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 1031
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 566
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 577
в GLScript.GLApp.retrieveEvalVar(String funcName, TokenParse tkparse, TokenBuffer currTokenBuffer, SetOfVars GVAR, SetOfVars LVAR, Boolean breakFunc, Char& breakCar) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 840
в GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVars GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 225
в GLScript.GLApp.executeTokensPart(String funcName, SetOfVars GVAR, SetOfVars LVAR, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 156
в GLScript.GLApp.privExecuteFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 151
в GLScript.GLApp.executeFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 121
в Configurator.lexConfigurator.executeFunction(Strin g funcName, infoPlayer pcurrInfoPlayer, String[] par) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\cfg Parser\readCfg.cs:строка 333
в LFSLapper.LFSClient.managePacket(NCN newConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\managePacket.cs:строка 69
в LFSLapper.LFSClient.Loop(Connect insimConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\loop.cs:строка 985
в LFSLapper.LFSClient.doloop() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:строка 552
в LFSLapper.LFSListen.Listen.goWorkMode() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 85
в LFSLapper.LFSListen.Listen.start() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 126
System.Data.IDataReader executeQuery2(System.String)
Closing Instance...
-----------------------------------------------------------------------------
11/10/2009 6:48:11 PM -> SQL COMMAND :
SELECT a.* FROM fi_epb a WHERE carName IN ( "XRG","XRT","FZ5" ) AND trackName = "FE3R" AND a.userName = 'vetl''

-----------------------------------------------------------------------------
11/10/2009 6:48:12 PM

Lapper Instance 127.0.0.1/29999 abort!

unrecognized token: "'vetl''"
LFSLapper
в LFSDbs.DbsAccess.executeQuery2(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 137
в LFSDbs.DbsAccess.executeQuery(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 98
в LFSDbs.gripDbs.GetTable2(Int32 from, String relativeToUserName, Int32 nbRead, String trackName, String carName, String Filter, Boolean onlyQualUser, Int32 MaxGroupQual, Int32 MaxUserGroupQual, Int32 MinUserGroupQual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:строка 798
в LFSLapper.LFSClient.getPosQual(String userName, Boolean flagqual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\cmdLapper.cs:строка 1128
в LFSLapper.LFSClient.GetVarPlayer(unionVal val, String idVar, String userName) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 395
в LFSLapper.LFSClient.execCmd(unionVal val, ArrayList args, infoPlayer currInfoPlayer) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 994
в LFSLapper.LFSClient.myFunctions(unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 806
в GLScript.GLApp.parseBackcall(SetOfVars GVAR, SetOfVars LVAR, unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 1031
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 566
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 577
в GLScript.GLApp.retrieveEvalVar(String funcName, TokenParse tkparse, TokenBuffer currTokenBuffer, SetOfVars GVAR, SetOfVars LVAR, Boolean breakFunc, Char& breakCar) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 840
в GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVars GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 225
в GLScript.GLApp.executeTokensPart(String funcName, SetOfVars GVAR, SetOfVars LVAR, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 156
в GLScript.GLApp.privExecuteFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 151
в GLScript.GLApp.executeFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 121
в Configurator.lexConfigurator.executeFunction(Strin g funcName, infoPlayer pcurrInfoPlayer, String[] par) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\cfg Parser\readCfg.cs:строка 333
в LFSLapper.LFSClient.managePacket(NCN newConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\managePacket.cs:строка 69
в LFSLapper.LFSClient.Loop(Connect insimConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\loop.cs:строка 985
в LFSLapper.LFSClient.doloop() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:строка 552
в LFSLapper.LFSListen.Listen.goWorkMode() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 85
в LFSLapper.LFSListen.Listen.start() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 126
System.Data.IDataReader executeQuery2(System.String)
Closing Instance...
-----------------------------------------------------------------------------
11/10/2009 6:49:54 PM -> SQL COMMAND :
SELECT a.* FROM fi_epb a WHERE carName IN ( "XRG","XRT","FZ5" ) AND trackName = "FE3R" AND a.userName = 'vetl''

-----------------------------------------------------------------------------
11/10/2009 6:49:54 PM

Lapper Instance 127.0.0.1/29999 abort!

unrecognized token: "'vetl''"
LFSLapper
в LFSDbs.DbsAccess.executeQuery2(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 137
в LFSDbs.DbsAccess.executeQuery(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 98
в LFSDbs.gripDbs.GetTable2(Int32 from, String relativeToUserName, Int32 nbRead, String trackName, String carName, String Filter, Boolean onlyQualUser, Int32 MaxGroupQual, Int32 MaxUserGroupQual, Int32 MinUserGroupQual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:строка 798
в LFSLapper.LFSClient.getPosQual(String userName, Boolean flagqual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\cmdLapper.cs:строка 1128
в LFSLapper.LFSClient.GetVarPlayer(unionVal val, String idVar, String userName) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 395
в LFSLapper.LFSClient.execCmd(unionVal val, ArrayList args, infoPlayer currInfoPlayer) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 994
в LFSLapper.LFSClient.myFunctions(unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 806
в GLScript.GLApp.parseBackcall(SetOfVars GVAR, SetOfVars LVAR, unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 1031
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 566
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 577
в GLScript.GLApp.retrieveEvalVar(String funcName, TokenParse tkparse, TokenBuffer currTokenBuffer, SetOfVars GVAR, SetOfVars LVAR, Boolean breakFunc, Char& breakCar) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 840
в GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVars GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 225
в GLScript.GLApp.executeTokensPart(String funcName, SetOfVars GVAR, SetOfVars LVAR, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 156
в GLScript.GLApp.privExecuteFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 151
в GLScript.GLApp.executeFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 121
в Configurator.lexConfigurator.executeFunction(Strin g funcName, infoPlayer pcurrInfoPlayer, String[] par) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\cfg Parser\readCfg.cs:строка 333
в LFSLapper.LFSClient.managePacket(NCN newConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\managePacket.cs:строка 69
в LFSLapper.LFSClient.Loop(Connect insimConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\loop.cs:строка 985
в LFSLapper.LFSClient.doloop() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:строка 552
в LFSLapper.LFSListen.Listen.goWorkMode() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 85
в LFSLapper.LFSListen.Listen.start() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 126
System.Data.IDataReader executeQuery2(System.String)
Closing Instance...

KIMA
10th November 2009, 16:27
-----------------------------------------------------------------------------
10.11.2009 18:49:54 -> Error on web command
11/10/2009 6:50:16 PM -> SQL COMMAND :
SELECT a.* FROM fi_epb a WHERE carName IN ( "XRG","XRT","FZ5" ) AND trackName = "FE3R" AND a.userName = 'vetl''

10.11.2009 18:50:16 -> Error on web command
-----------------------------------------------------------------------------
11/10/2009 6:50:16 PM

Lapper Instance 127.0.0.1/29999 abort!

unrecognized token: "'vetl''"
LFSLapper
в LFSDbs.DbsAccess.executeQuery2(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 137
в LFSDbs.DbsAccess.executeQuery(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 98
в LFSDbs.gripDbs.GetTable2(Int32 from, String relativeToUserName, Int32 nbRead, String trackName, String carName, String Filter, Boolean onlyQualUser, Int32 MaxGroupQual, Int32 MaxUserGroupQual, Int32 MinUserGroupQual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:строка 798
в LFSLapper.LFSClient.getPosQual(String userName, Boolean flagqual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\cmdLapper.cs:строка 1128
в LFSLapper.LFSClient.GetVarPlayer(unionVal val, String idVar, String userName) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 395
в LFSLapper.LFSClient.execCmd(unionVal val, ArrayList args, infoPlayer currInfoPlayer) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 994
в LFSLapper.LFSClient.myFunctions(unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 806
в GLScript.GLApp.parseBackcall(SetOfVars GVAR, SetOfVars LVAR, unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 1031
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 566
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 577
в GLScript.GLApp.retrieveEvalVar(String funcName, TokenParse tkparse, TokenBuffer currTokenBuffer, SetOfVars GVAR, SetOfVars LVAR, Boolean breakFunc, Char& breakCar) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 840
в GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVars GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 225
в GLScript.GLApp.executeTokensPart(String funcName, SetOfVars GVAR, SetOfVars LVAR, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 156
в GLScript.GLApp.privExecuteFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 151
в GLScript.GLApp.executeFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 121
в Configurator.lexConfigurator.executeFunction(Strin g funcName, infoPlayer pcurrInfoPlayer, String[] par) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\cfg Parser\readCfg.cs:строка 333
в LFSLapper.LFSClient.managePacket(NCN newConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\managePacket.cs:строка 69
в LFSLapper.LFSClient.Loop(Connect insimConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\loop.cs:строка 985
в LFSLapper.LFSClient.doloop() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:строка 552
в LFSLapper.LFSListen.Listen.goWorkMode() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 85
в LFSLapper.LFSListen.Listen.start() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 126
System.Data.IDataReader executeQuery2(System.String)
Closing Instance...
-----------------------------------------------------------------------------
11/10/2009 6:50:37 PM -> SQL COMMAND :
SELECT a.* FROM fi_epb a WHERE carName IN ( "XRG","XRT","FZ5" ) AND trackName = "FE3R" AND a.userName = 'vetl''

10.11.2009 18:50:37 -> Error on web command
-----------------------------------------------------------------------------
11/10/2009 6:50:37 PM

Lapper Instance 127.0.0.1/29999 abort!

unrecognized token: "'vetl''"
LFSLapper
в LFSDbs.DbsAccess.executeQuery2(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 137
в LFSDbs.DbsAccess.executeQuery(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 98
в LFSDbs.gripDbs.GetTable2(Int32 from, String relativeToUserName, Int32 nbRead, String trackName, String carName, String Filter, Boolean onlyQualUser, Int32 MaxGroupQual, Int32 MaxUserGroupQual, Int32 MinUserGroupQual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:строка 798
в LFSLapper.LFSClient.getPosQual(String userName, Boolean flagqual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\cmdLapper.cs:строка 1128
в LFSLapper.LFSClient.GetVarPlayer(unionVal val, String idVar, String userName) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 395
в LFSLapper.LFSClient.execCmd(unionVal val, ArrayList args, infoPlayer currInfoPlayer) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 994
в LFSLapper.LFSClient.myFunctions(unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 806
в GLScript.GLApp.parseBackcall(SetOfVars GVAR, SetOfVars LVAR, unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 1031
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 566
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 577
в GLScript.GLApp.retrieveEvalVar(String funcName, TokenParse tkparse, TokenBuffer currTokenBuffer, SetOfVars GVAR, SetOfVars LVAR, Boolean breakFunc, Char& breakCar) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 840
в GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVars GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 225
в GLScript.GLApp.executeTokensPart(String funcName, SetOfVars GVAR, SetOfVars LVAR, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 156
в GLScript.GLApp.privExecuteFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 151
в GLScript.GLApp.executeFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 121
в Configurator.lexConfigurator.executeFunction(Strin g funcName, infoPlayer pcurrInfoPlayer, String[] par) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\cfg Parser\readCfg.cs:строка 333
в LFSLapper.LFSClient.managePacket(NCN newConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\managePacket.cs:строка 69
в LFSLapper.LFSClient.Loop(Connect insimConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\loop.cs:строка 985
в LFSLapper.LFSClient.doloop() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:строка 552
в LFSLapper.LFSListen.Listen.goWorkMode() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 85
в LFSLapper.LFSListen.Listen.start() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 126
System.Data.IDataReader executeQuery2(System.String)
Closing Instance...
-----------------------------------------------------------------------------
11/10/2009 6:50:46 PM -> SQL COMMAND :
SELECT a.* FROM fi_epb a WHERE carName IN ( "XRG","XRT","FZ5" ) AND trackName = "FE3R" AND a.userName = 'vetl''

10.11.2009 18:50:46 -> Error on web command
-----------------------------------------------------------------------------
11/10/2009 6:50:47 PM

Lapper Instance 127.0.0.1/29999 abort!

unrecognized token: "'vetl''"
LFSLapper
в LFSDbs.DbsAccess.executeQuery2(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 137
в LFSDbs.DbsAccess.executeQuery(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 98
в LFSDbs.gripDbs.GetTable2(Int32 from, String relativeToUserName, Int32 nbRead, String trackName, String carName, String Filter, Boolean onlyQualUser, Int32 MaxGroupQual, Int32 MaxUserGroupQual, Int32 MinUserGroupQual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:строка 798
в LFSLapper.LFSClient.getPosQual(String userName, Boolean flagqual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\cmdLapper.cs:строка 1128
в LFSLapper.LFSClient.GetVarPlayer(unionVal val, String idVar, String userName) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 395
в LFSLapper.LFSClient.execCmd(unionVal val, ArrayList args, infoPlayer currInfoPlayer) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 994
в LFSLapper.LFSClient.myFunctions(unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 806
в GLScript.GLApp.parseBackcall(SetOfVars GVAR, SetOfVars LVAR, unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 1031
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 566
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 577
в GLScript.GLApp.retrieveEvalVar(String funcName, TokenParse tkparse, TokenBuffer currTokenBuffer, SetOfVars GVAR, SetOfVars LVAR, Boolean breakFunc, Char& breakCar) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 840
в GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVars GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 225
в GLScript.GLApp.executeTokensPart(String funcName, SetOfVars GVAR, SetOfVars LVAR, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 156
в GLScript.GLApp.privExecuteFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 151
в GLScript.GLApp.executeFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 121
в Configurator.lexConfigurator.executeFunction(Strin g funcName, infoPlayer pcurrInfoPlayer, String[] par) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\cfg Parser\readCfg.cs:строка 333
в LFSLapper.LFSClient.managePacket(NCN newConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\managePacket.cs:строка 69
в LFSLapper.LFSClient.Loop(Connect insimConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\loop.cs:строка 985
в LFSLapper.LFSClient.doloop() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:строка 552
в LFSLapper.LFSListen.Listen.goWorkMode() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 85
в LFSLapper.LFSListen.Listen.start() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 126
System.Data.IDataReader executeQuery2(System.String)
Closing Instance...
-----------------------------------------------------------------------------
11/10/2009 6:51:18 PM -> SQL COMMAND :
SELECT a.* FROM fi_epb a WHERE carName IN ( "XRG","XRT","FZ5" ) AND trackName = "FE3R" AND a.userName = 'vetl''

10.11.2009 18:51:19 -> Error on web command
-----------------------------------------------------------------------------
11/10/2009 6:51:19 PM

Lapper Instance 127.0.0.1/29999 abort!

unrecognized token: "'vetl''"
LFSLapper
в LFSDbs.DbsAccess.executeQuery2(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 137
в LFSDbs.DbsAccess.executeQuery(String _command) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 98
в LFSDbs.gripDbs.GetTable2(Int32 from, String relativeToUserName, Int32 nbRead, String trackName, String carName, String Filter, Boolean onlyQualUser, Int32 MaxGroupQual, Int32 MaxUserGroupQual, Int32 MinUserGroupQual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:строка 798
в LFSLapper.LFSClient.getPosQual(String userName, Boolean flagqual) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\cmdLapper.cs:строка 1128
в LFSLapper.LFSClient.GetVarPlayer(unionVal val, String idVar, String userName) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 395
в LFSLapper.LFSClient.execCmd(unionVal val, ArrayList args, infoPlayer currInfoPlayer) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 994
в LFSLapper.LFSClient.myFunctions(unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\parseEvent.cs:строка 806
в GLScript.GLApp.parseBackcall(SetOfVars GVAR, SetOfVars LVAR, unionVal val, ArrayList args) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 1031
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 566
в GLScript.Parseur.getval(SetOfVars GVAR, SetOfVars LVAR, executeParsedFunction BC) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\ParseExpr.cs:строка 577
в GLScript.GLApp.retrieveEvalVar(String funcName, TokenParse tkparse, TokenBuffer currTokenBuffer, SetOfVars GVAR, SetOfVars LVAR, Boolean breakFunc, Char& breakCar) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 840
в GLScript.GLApp.privExecuteTokensPart(Int32 level, String funcName, SetOfVars GCAR, SetOfVars LVAR, Boolean breakable, Boolean inSwitchCase, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 225
в GLScript.GLApp.executeTokensPart(String funcName, SetOfVars GVAR, SetOfVars LVAR, Int32 start, Int32 end) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 156
в GLScript.GLApp.privExecuteFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 151
в GLScript.GLApp.executeFunction(String funcName, String[] argsVals) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\GLS cript\GLScript.cs:строка 121
в Configurator.lexConfigurator.executeFunction(Strin g funcName, infoPlayer pcurrInfoPlayer, String[] par) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\cfg Parser\readCfg.cs:строка 333
в LFSLapper.LFSClient.managePacket(NCN newConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\managePacket.cs:строка 69
в LFSLapper.LFSClient.Loop(Connect insimConnection) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\loop.cs:строка 985
в LFSLapper.LFSClient.doloop() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:строка 552
в LFSLapper.LFSListen.Listen.goWorkMode() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 85
в LFSLapper.LFSListen.Listen.start() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 126
System.Data.IDataReader executeQuery2(System.String)
Closing Instance...
-----------------------------------------------------------------------------
11/10/2009 7:21:04 PM -> Syntax error in cfg file "./includes/pitboard.lpr" at line #193
'openprivbutton' parameter #4 is wrong type at line #
Function 'onnewplayerjoin_pitboard' script aborted
11/10/2009 7:21:04 PM -> Syntax error in cfg file "./includes/pitboard.lpr" at line #193
'openprivbutton' parameter #4 is wrong type at line #
Function 'onnewplayerjoin_pitboard' script aborted
11/10/2009 7:21:16 PM -> Syntax error in cfg file "./includes/pitboard.lpr" at line #193
'openprivbutton' parameter #4 is wrong type at line #
Function 'onnewplayerjoin_pitboard' script aborted
11/10/2009 7:21:16 PM -> Syntax error in cfg file "./includes/pitboard.lpr" at line #193
'openprivbutton' parameter #4 is wrong type at line #
Function 'onnewplayerjoin_pitboard' script aborted
11/10/2009 7:21:21 PM -> Syntax error in cfg file "./includes/pitboard.lpr" at line #193
'openprivbutton' parameter #4 is wrong type at line #
Function 'onnewplayerjoin_pitboard' script aborted
11/10/2009 7:24:01 PM -> Syntax error in cfg file "./includes/pitboard.lpr" at line #193
'openprivbutton' parameter #4 is wrong type at line #
Function 'onnewplayerjoin_pitboard' script aborted
11/10/2009 7:24:14 PM -> Syntax error in cfg file "./includes/pitboard.lpr" at line #193
'openprivbutton' parameter #4 is wrong type at line #
Function 'onnewplayerjoin_pitboard' script aborted

Gai-Luron
10th November 2009, 16:29
Ok thank's i have what i nedd to correct this issue.

Gai-Luron

Fire_optikz001
11th November 2009, 22:17
is it possible to have a include on a website?

Andy King
13th November 2009, 02:05
Hi Guys.
How can I make this button carry forward the UserName to a SUB called Remove_Registered which will delete the UserName from a UserGroup

openPrivButton ("player_".$i."_username",$topleft_x+6,$topleft_y+1,25,5,5,-1,80,$currUserName,"UserName");

Thanks in advance

Krayy
13th November 2009, 02:22
Hi Guys.
How can I make this button carry forward the UserName to a SUB called Remove_Registered which will delete the UserName from a UserGroup

openPrivButton ("player_".$i."_username",$topleft_x+6,$topleft_y+1,25,5,5,-1,80,$currUserName,"UserName");

Thanks in advance
That looks like part of the code from my !who function. Basically what I did in that the $i in the button name ( "player_".$i."_username") is the username that I parse in the called function (btw your code sample isn't correct, it should be as below):

...
openPrivButton ("player_".$i."_remove",$topleft_x+6,$topleft_y+1,25,5,5,-1,80,"Remove",Remove_Registered);
...

Sub Remove_Registered( $KeyFlags,$id )
IF ($id != "")
THEN
# use the Split command to extract the uname from the $id which should be "player_<username>_remove"
$uName = split( $id,"_",1 );
# Do something with the extracted username
ENDIF
EndSub


Good luck

Andy King
13th November 2009, 03:39
Hi Kray,
I still can't get this to work $uName is giving me player_9_remove not a UserName.

Thanks in Advance

Krayy
13th November 2009, 05:00
Hi Kray,
I still can't get this to work $uName is giving me player_9_remove not a UserName.

Thanks in Advance
Substitute the split line with:

$uName = $user_array[ToNum(split( $id,"_",1 )),1];

(unless it's using the RacerArray in which case:
$uName = $RacerArray[ToNum(split( $id,"_",1 )),$raUserName];
)

Andy King
13th November 2009, 11:54
Hi Krayy,
Sorry about this but its still giving me player_1_remove and not username. The button code is....
openPrivButton ("player_".$i."_remove",$topleft_x+31,$topleft_y+1,4,5,5,-1,16,"^3X",Remove_Registered);

I want the SUB to....
RemoveUserFromGroup( "Events_Reg" , $uName);
UserGroupToFile( "Events_Reg", "./Text_Files/Events_Reg.txt" );

Would it be possible for you to write this as I have battled for 2 days and its silly lol, cannot get my head around it.

Krayy
13th November 2009, 12:06
Hi Krayy,
Sorry about this but its still giving me player_1_remove and not username. The button code is....
openPrivButton ("player_".$i."_remove",$topleft_x+31,$topleft_y+1,4,5,5,-1,16,"^3X",Remove_Registered);

I want the SUB to....
RemoveUserFromGroup( "Events_Reg" , $uName);
UserGroupToFile( "Events_Reg", "./Text_Files/Events_Reg.txt" );

Would it be possible for you to write this as I have battled for 2 days and its silly lol, cannot get my head around it.
You'll need to post the whole Sub that creates the GUI buttons so I can see the context

Andy King
13th November 2009, 13:40
Sent PM

Krayy
13th November 2009, 18:35
Hey Andy,

based on the PM you sent it is only the name of the array that you are indexing that is the problem (not the ListOfUsers line that is currently commented. I just want to see if commented works first before trying uncommented. This is a method to pass a stored local var to a sub - I might have to write a HOWTO on varibale scope):

...
openPrivButton ("player_".$i."_remove",$topleft_x+6,$topleft_y+1,25,5,5,-1,80,"Remove",Remove_Registered);
...

Sub Remove_Registered( $KeyFlags,$id )
IF ($id != "")
THEN
# NOTE: Try with the next line ocmmented out first, then uncomment if debug line is wrong
# $ListOfUsers= getCurrentPlayerVar( "ListOfUsers");

# use the Split command to extract the uname from the $id which should be "player_<username>_remove"
$uName = $ListOfUsers[ToNum(split( $id,"_",1 ))];
privMsg("DEBUG: uName = " . $uName . "; id = " . $id);
# RemoveUserFromGroup( "Events_Reg" , $uName);
# UserGroupToFile( "Events_Reg", "./Text_Files/Events_Reg.txt" );
ENDIF
EndSub

Gai-Luron
13th November 2009, 18:41
You can also in more easy way without having a global $ListOfPlayer ( better limit the use of global if possible).


...
openPrivButton ("player_".$userName."_".$id."_remove",$topleft_x+6,$topleft_y+1,25,5,5,-1,80,"Remove",Remove_Registered)
...

Sub Remove_Registered( $KeyFlags,$receiveId )
IF ($receiveId != "")
THEN
$ar = SplitTOArray( $receiveId ,"_" );
privMsg("DEBUG: uName = " . $ar[1] . "; id = " . $ar[2]);
ENDIF
EndSub

In Next Release

groupToArray()

Krayy
13th November 2009, 18:52
]In Next Release

groupToArray()
I'm laughing at the irony...and writing a HOWTO on var scope

Gai-Luron
13th November 2009, 19:38
No no i really write groupToArray :razz:.

I also include const token to have the ability to define it

Example of use of const

const ISB_C1 1 // you can choose a standard
const ISB_C2 2 // interface colour using
const ISB_C4 4 // these 3 lowest bits - see below
const ISB_CLICK 8 // click this button to send IS_BTC
const ISB_LIGHT 16 // light button
const ISB_DARK 32 // dark button
const ISB_LEFT 64 // align text to left
const ISB_RIGHT 128 // align text to rightconst

openPrivButton ("player_".$userName."_".$id."_remove",$topleft_x+6,$topleft_y+1,
25,5,5,-1,ISB_LEFT | ISB_LIGHT,"Remove",Remove_Registered)

more clear than

openPrivButton ("player_".$userName."_".$id."_remove",$topleft_x+6,$topleft_y+1,
25,5,5,-1,80,"Remove",Remove_Registered)

And i provide a set of const for your use, retreived from insim.txt doc of LFS.


EDIT : Shame on me, this funtion already exist ::Looking_a it's getlistofusersgroup. I forgot this. it's Alzheimer, i'm to old :(

Andy King
14th November 2009, 14:09
Hi Guys,
I got this working with a bit of adjusting and this is the button I ended up with that gave me the UserName and ID to delete which works fine now but my problem now is I cannot delete the button because it has currUserName in it.

openPrivButton ("PlayerList_".$currUserName."_".$i."_remove",$topleft_x+31,$topleft_y+1,4,5,5,-1,16,"^3X",Remove_Registered);

WHILE( $i < 46 )
closePrivButton ("PlayerList_".$i."_nickname&PlayerList_".$i."_username&PlayerList_".$currUserName."_".$i."_remove");
$i = $i + 1;
ENDWHILE

SUB PrintUserGroup_Close ( $KeyFlags, $id )
closePrivButton ("h_bg1&h_bg2&click_refresh&click_close&h_nick1&h_nick2&h_nick3&h_user1&h_user2&h_user3&h_x1&h_x2&h_x3");
FOR ($i=0;$i<32;$i=$i+1)
closePrivButton ("PlayerList_".$i."_nickname&PlayerList_".$i."_username&PlayerList_".$currUserName."_".$i."_remove");
ENDFOR
ENDSUB

Any ideas guys...

Gai-Luron
14th November 2009, 14:34
closePrivButton ("PlayerList_".$currUserName."_".$i."_remove");

but i think, i don't understand what you want

or Maybe

GlobalVar $arToClose;

$i = 0
...

$arToClose[$i] = "PlayerList_".$currUserName."_".$i."_remove";
openPrivButton ( $arToClose[$i],$top left_x+31,$topleft_y+1,4,5,5,-1,16,"^3X",Remove_Registered);
$i = $i +1;
...

For closing all

$i = 0;
...
$i=$i+1;
closePrivButton( $arToClose[$i] );
...

mackosajt
14th November 2009, 23:47
Hello!

1st of all, sry if i wrote in wrong topic.

Our little team runs a dedicated host on a Mandriva linux based system.
We used Lapper in the past, but when we used it, we runs the server from our pc, with win os and .net.
Now on linux, a bit problem appears. The old 5.7xx lapper runs fine, without error msg.
The new 5.8xx give us an error.
Mono 2.0 "installed" via built in update and install.

The error log attached.

What can be the problem?

Nobody can help me?

maybe sql lite need? or what?

Gai-Luron
15th November 2009, 09:32
Hello,

Try to update mono version on your Linux.

LFSLapper work fine on our Linux system. DLL provided are installed in exe directory?

Gai-Luron

Fire_optikz001
16th November 2009, 01:31
how would i do ° for my drift angle i tried it and it gives me a ? can some one help?

Krayy
16th November 2009, 02:12
how would i do ° for my drift angle i tried it and it gives me a ? can some one help?

http://www.lfsforum.net/showthread.php?p=26896#post26896

http://msdn.microsoft.com/en-gb/goglobal/cc305145.aspx

ANSI code = 176 for a degrees symbol

Fire_optikz001
16th November 2009, 02:22
:| im lost :P

what do i do :P

if needed i use 5.8.4.6

Krayy
16th November 2009, 03:40
When you say you tried to use a degree symbol, how did you do it...find it in Character Map and then copy/paste into your text editor?

Fire_optikz001
16th November 2009, 04:31
When you say you tried to use a degree symbol, how did you do it...find it in Character Map and then copy/paste into your text editor?
ye :P idk how else to do it

sinanju
16th November 2009, 12:44
I can't test it (my computer has died - currently surfing from work), but you may have to do under the LANG "EN" part of Lapper rather than directly in the script.

i.e.

instead of
openPrivButton( "drift_deg_symbol",$left+50,$top+14,3,4,2,-1,0,"^2o" );

try something like
openPrivButton( "drift_deg_symbol",$left+50,$top+14,3,4,2,-1,0,langEngine( "%{main_drift_deg_symbol}%" ));

and under the main_drift_deg_symbol, put the correct symbol.

Let me know if this works!

Fire_optikz001
16th November 2009, 22:27
it didnt seem to work :P but idk might have not done something right

IRCheateR
17th November 2009, 19:59
11/17/2009 9:57:12 PM

Lapper Instance 127.0.0.1/29999 abort!

Была сделана попытка загрузить программу, имеющую неверный формат. (Исключение из HRESULT: 0x8007000B)
Mono.Data.SqliteClient
в Mono.Data.SqliteClient.Sqlite.sqlite3_open16(Strin g dbname, IntPtr& handle)
в Mono.Data.SqliteClient.SqliteConnection.Open()
в LFSDbs.DbsAccess..ctor(Debug pmyDebug, String DbName) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \DbsAccess.cs:строка 45
в LFSDbs.gripDbs..ctor(Debug pmyDebug, String puniqueConnectionId, String DbName, Int32 LapTimeUsedForPbPar, String FtpServer, String FtpLogin, String FtpPasswd, String FtpRemotePath, String dateFormat) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\Dbs \gripdbs.cs:строка 72
в LFSLapper.LFSClient.init(String pip, Int32 pport, String pWorkingDir, String pIniFile, String pSuperUsers) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:строка 558
в LFSLapper.LFSClient..ctor(String pip, Int32 pport, String pWorkingDir, String pInifile, String pSuperUsers) в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Client\lfsclient.cs:строка 254
в LFSLapper.LFSListen.Listen.goWorkMode() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 82
в LFSLapper.LFSListen.Listen.start() в D:\Dev\DevInsim\lapper\LFSLapper\LFSLapper\src\LFS Listen\Listen.cs:строка 126
Int32 sqlite3_open16(System.String, IntPtr ByRef)
Closing Instance...
-----------------------------------------------------------------------------

can someone help me?

Andy King
17th November 2009, 23:27
Hi Guys,
whats the oposite to tolower($argv); as need to make sure an input is CAPITALISED lol

Fire_optikz001
17th November 2009, 23:39
Hi Guys,
whats the oposite to tolower($argv); as need to make sure an input is CAPITALISED lol
toupper?

Andy King
17th November 2009, 23:43
I knew it was going to be obvious as was trying ToHigher LMAO

Cheers

Fire_optikz001
22nd November 2009, 05:02
is this
IF( GetCurrentPlayerVar( "command" ) == "does not exist" )
THEN
privMsg( "^1Invalid Command! ^7Please Look At ^2!Help ^7For Commands!" );
ENDIFcorrect if wanted to fetch this
SetCurrentPlayerVar( "command","does not exist" );please help!
Bump

Gai-Luron
22nd November 2009, 09:46
Yes..., but what's the question?

Fire_optikz001
22nd November 2009, 19:05
ok well when i tried it it didnt work :| im trying to set something up cause i have a full time command section and part time but i think i may trash the idea :| idk yet

Gai-Luron
22nd November 2009, 19:12
Hello,

I say i don't understand what do you want to do on LFSLapper. Explain more. I can't help you with this poors infos

Fire_optikz001
23rd November 2009, 21:57
well i was gonna create a cruise part so there would be 2 areas and since i didnt want to double my script i wanted to put it in 2 sections so one was the commands that are on all the time (admin commands) the other was ones that wouldnt matter so i had 2 defaults if the command wasent in the admin it would say invalid command even if it was a real command so i needed it to store a value so that it could tell the other command area that it dont exist in the admin section meaning it would then say it only once if it was not really a command in either section

Gai-Luron
24th November 2009, 08:52
Give me some example like
player 1 enter in zone1
Command available
player2(admin) enter in zone1
Command available

player 1 enter in zone2
Command available
player2(admin) enter in zone2
Command available

player 1 enter not in zone
Command available
player2(admin) not in zone
Command available


i don't know how work cruise server. for me it's new

Gai-Luron

Fire_optikz001
24th November 2009, 20:47
Give me some example like
player 1 enter in zone1
Command available
player2(admin) enter in zone1
Command available

player 1 enter in zone2
Command available
player2(admin) enter in zone2
Command available

player 1 enter not in zone
Command available
player2(admin) not in zone
Command available


i don't know how work cruise server. for me it's new

Gai-Luron
:P well i mean what i have now is its spilt there is a section of admin commands and help commands then there is race/drift commands that i dont want used in cruise... u should come see al the stuff im working on :)

Fire_optikz001
25th November 2009, 19:27
how to do this in the src of 5.9.0.3


case "usermsg":
{
testArgs(ident, "SSS", args);
currInfoPlayer = listOfPlayers.getPlayerByUserName((string)args[1]);
if (currInfoPlayer == null)
throw new GLScript.GLApp.GLScriptException("You can't use " + ident + " in this context, not a player event");
string text = args[2].ToString();
if (text == "[[TranslateEngine]]")
text = lfsLang.replaceParmsLangStr(currInfoPlayer.idLang) ;
SendMsgToConnection(currInfoPlayer.UCID, "^6Personal msg from: ^8" + (string)args[0]);
SendMsgToConnection(currInfoPlayer.UCID, "^7" + text );
break;
}

Gai-Luron
25th November 2009, 19:34
privMsg( username,message )
privMsg( message )
privMsg can be used with userName or no



CASE "!pm":
$tmp = splitToArray( $argv,"," )
privMsg( $tmp[0], "You have received a private message from" . GetCurrentPlayer("UserName" ) );
privMsg( $tmp[0], $tmp[1] );

BREAK;



in chat just type
!pm gai-luron,hello my friend

or if you want absolutely this function create a sub like
in this case you haven't to change anything in your code :thumb:

Sub userMsg( $userOrig,$userDest,$msg )
PrivMsg($userDest,"You have receive a message from " . $userOrig );
PrivMsg($userDest, $msg );
EndSub

Fire_optikz001
25th November 2009, 20:46
aha :P well i figured out how to do that :P :) nice tho i didnt even think of that :P

Fire_optikz001
25th November 2009, 22:38
i tired this CASE "!pm":
IF( $argv != "" ) THEN
$idxSpace = indexOf( $argv, " ");
IF( $idxSpace != -1 ) THEN
$toUser = subStr( $argv,0,$idxSpace );
$argv = trim( subStr( $argv,$idxSpace ) );
privMsg ( "^6PM To " . GetPlayerVar( $toUser , "NickName" ) );
privMsg ( "^7" . $argv );
privMsg( $toUser , "^6PM From " . GetCurrentPlayer("UserName" ) );
privMsg( $toUser , $argv );
ELSE
privMsg ( "^7Command needs 2 paremters" );
ENDIF
ELSE
privMsg ( "^7Command needs 2 paremters" );
ENDIF
BREAK;
but it didnt work

Fire_optikz001
27th November 2009, 17:31
gai, i tries this and im in the zone but it says Command not available here

any idea?


CASE "!buyfood":
IF( GetCurrentPlayerVar( "idZone") == "Store" ) THEN
privmsg( "You Just Bought " . $argv . " units of food." );
ELSE
privmsg( "Command not available here");
ENDIF
Break;



RegisterZoneAction( "Store" , "AS5" , -101,432, 130 , Test );

Gai-Luron
27th November 2009, 18:15
idZone -> IdZone

Fire_optikz001
27th November 2009, 20:58
i like how i can do this and it pm s the user i think it would be cleaner as "PM to: Me"
and "PM From: You"

privMsg( $toUser , "^7" . $argv );

Gai-Luron
27th November 2009, 22:33
Create a sub that do this

Sub myPm( $from, $to, $msg )

privMsg( $to,"PM from " . $from );
privMsg( $to,$msg );

privMsg( $from,"PM to " . $to );
privMsg( $from,$msg );

EndSub

Don't forget you can create your own command! if i want to limit command to builtin command, i never dev GLScript and sub

Fire_optikz001
27th November 2009, 22:51
Create a sub that do this

Sub myPm( $from, $to, $msg )

privMsg( $to,"PM from " . $from );
privMsg( $to,$msg );

privMsg( $from,"PM to " . $to );
privMsg( $from,$msg );

EndSubDon't forget you can create your own command! if i want to limit command to builtin command, i never dev GLScript and sub
no i mean i tried that and it says that bye default :P

This is exactly my pm command


CASE "!pm":
IF( $argv != "" ) THEN
$idxSpace = indexOf( $argv, " ");
IF( $idxSpace != -1 ) THEN
$toUser = subStr( $argv,0,$idxSpace );
$argv = trim( subStr( $argv,$idxSpace ) );
privMsg( $toUser , "^7" . $argv );
ELSE
privMsg ( "^7Command needs 2 paremters" );
ENDIF
ELSE
privMsg ( "^7Command needs 2 paremters" );
ENDIF
BREAK;


and it says " you have received a private message from ..."

i just think it will look a lil better if it was "PM from ..."

Gai-Luron
28th November 2009, 09:34
Not on last version!

Andy King
15th December 2009, 15:08
Hi Gai,
My Points System has stopped working.....

Error:12/15/2009 3:05:29 PM -> Syntax error in cfg file "./includes/Points_System.lpr" at line #29
Incorrect number of parenthesis
Function 'onresult' script aborted

Line 29:IF(( $flagConfirm == 2 )||( $flagConfirm == 18 )||( $flagConfirm == 34 )) THEN
SetCurrentPlayerVar("Race_Points",GetUserStoredValue("Race_Points"));
SetCurrentPlayerVar("Race_Points",GetCurrentPlayerVar("Race_Points")+ $ps_points);
SetUserStoredValue("Race_Points", GetCurrentPlayerVar("Race_Points"));
ENDIF


Any Ideas Why ?

Gai-Luron
15th December 2009, 17:37
Do you change anything in your script?

if yes the error can be localised in previous line

wich LFSLapper version?

Gai-Luron

Andy King
15th December 2009, 17:49
Hi Gai,
Previous line is....
CASE 1:

I have changed nothing in that file and LFSLapper version is in my signature below

Gai is this line OK
EVENT OnResult($UserName,$flagConfirm )

is UserName case sensitive in Player Events

Tim NL
15th December 2009, 19:15
Hi Andy,

Line 29:IF(( $flagConfirm == 2 )||( $flagConfirm == 18 )||( $flagConfirm == 34 )) THEN

must be ( in ver. 5.911 or 5.912 )

IF( $flagConfirm == 2 || $flagConfirm == 18 || $flagConfirm == 34 ) THEN

:D

Gai-Luron
15th December 2009, 19:33
No reason to have this syntax, maybe a bug. I take a look


Gai-Luron

Fire_optikz001
15th December 2009, 23:49
ok im making prices and i was wondering if i could do
SetLapperVar( "Price_UF1", "2000" );

Gai-Luron
16th December 2009, 10:00
use global var

Andy King
16th December 2009, 10:23
Hi Gai,
Previous line is....
CASE 1:

I have changed nothing in that file and LFSLapper version is in my signature below

Gai is this line OK
EVENT OnResult($UserName,$flagConfirm )

is UserName case sensitive in Player Events

Hi Gai any news on this problem?

Tim NL
16th December 2009, 12:41
Hi Gai any news on this problem?

Hi Andy,

This works for your line 29

IF( $flagConfirm == 2 || $flagConfirm == 18 || $flagConfirm == 34 )
THEN

In your line is the syntax changed (remove the red ( and ) and it works.:)
Line 29:IF(( $flagConfirm == 2 )||( $flagConfirm == 18 )||( $flagConfirm == 34 )) THEN

The line EVENT OnResult($UserName,$flagConfirm ) is OK.

Andy King
16th December 2009, 13:34
Hi Tim,
Thanks that works perfectly again.

Fire_optikz001
16th December 2009, 13:38
use global var
i cant cause i cant do $Price_ . $argv :P

Gai-Luron
16th December 2009, 17:25
And array

$Price[$argv]

Fire_optikz001
16th December 2009, 21:17
And array

$Price[$argv]
how i use that?

Gai-Luron
16th December 2009, 22:03
The big question is : What do you want to do????

$Price[500] = "This is one var";
$Price["MyVar"] = "This a other var";

WriteLine( $Price[500] ) ; // Display on console "This is one var"
WriteLine( $Price["MyVar"] ) ; // Display on console "This a other var"

Fire_optikz001
16th December 2009, 23:13
The big question is : What do you want to do????

$Price[500] = "This is one var";
$Price["MyVar"] = "This a other var";

WriteLine( $Price[500] ) ; // Display on console "This is one var"
WriteLine( $Price["MyVar"] ) ; // Display on console "This a other var"
Well i need to set up car prices for cruise insim :)

Gai-Luron
16th December 2009, 23:20
$price["XFG"] = 1000;
$price["XRT"] = 2000;

WriteLine( "Price for XFG is " . $price["XFG"] );