PDA

View Full Version : Problem with global position


goldwing
30th September 2009, 21:17
Hi to all! I got a problem with latest lapper... I can't see global positions, it always says: "Car FOX Position -/-" It seems it wont store my pbs... Any idea?

Yisc[NL]
30th September 2009, 21:56
Hi to all! I got a problem with latest lapper... I can't see global positions, it always says: "Car FOX Position -/-" It seems it wont store my pbs... Any idea?

Looks like the DefaultCar isn't set or set to a wrong car.

goldwing
1st October 2009, 08:54
This is the part where the default car is set:
#############
#Default Car#
#############
# Default car to show, when no car is specified in command !top or !drf and when a player haven't used a car on this server
# You can combine several cars by using + (example: "XFG+XRG";)
# -------------------------------------------------------------------

#$DefaultTopCar = "UF1";
#$DefaultTopCar = "XFG";
#$DefaultTopCar = "XRG";
#$DefaultTopCar = "XRT";
#$DefaultTopCar = "RB4";
#$DefaultTopCar = "FXO";
#$DefaultTopCar = "LX4";
#$DefaultTopCar = "LX6";
#$DefaultTopCar = "RAC";
#$DefaultTopCar = "FZ5";
#$DefaultTopCar = "MRT";
#$DefaultTopCar = "XFR";
#$DefaultTopCar = "UFR";
$DefaultTopCar = "FOX";
#$DefaultTopCar = "FO8";
#$DefaultTopCar = "FXR";
#$DefaultTopCar = "XRR";
#$DefaultTopCar = "FZR";
#$DefaultTopCar = "BF1";
#$DefaultTopCar = "FBM";

When i make a new pb it also says "-/-"... In which database should i check the pbs?

Yisc[NL]
1st October 2009, 09:05
What do you see when you type: !top
If that list is empty too, something isn't working well.
What version of Lapper are you using?

goldwing
1st October 2009, 18:15
I'm using lapper version 5.8.4.6. When i type !top there is nothing in the table...

Yisc[NL]
1st October 2009, 18:43
I'm using lapper version 5.8.4.6. When i type !top there is nothing in the table...

Hmm, there's defenitly something going wrong then.
Could you place your config file in a text file and upload it to this forum?

goldwing
1st October 2009, 20:07
Here is my config file.

Bass-Driver
1st October 2009, 20:50
try this

#$DefaultTopCar = "UF1";
$DefaultTopCar = "XFG+FOX+enc";
#$DefaultTopCar = "XRG";
#$DefaultTopCar = "XRT";
#$DefaultTopCar = "RB4";
#$DefaultTopCar = "FXO";
#$DefaultTopCar = "LX4";
#$DefaultTopCar = "LX6";
#$DefaultTopCar = "RAC";
#$DefaultTopCar = "FZ5";
#$DefaultTopCar = "MRT";
#$DefaultTopCar = "XFR";
#$DefaultTopCar = "UFR";
#$DefaultTopCar = "FOX";
#$DefaultTopCar = "FO8";
#$DefaultTopCar = "FXR";
#$DefaultTopCar = "XRR";
#$DefaultTopCar = "FZR";
#$DefaultTopCar = "BF1";
#$DefaultTopCar = "FBM";

and ofcourse u need more than 2 drivers in a race

goldwing
1st October 2009, 21:04
I think the problem is that i am the only one for the moment, but i thought i might see 1/1 on my positions and must appeat in !top.

goldwing
3rd October 2009, 12:21
I noticed that on my ddhost i got an error message: IS_MTC could not find destination, can it be a cause?
I raced with a friend and on some races the global position worked but not on other races... I tried deleting all my db files, not working too... Please help me!!

Bass-Driver
3rd October 2009, 12:42
I noticed that on my ddhost i got an error message: IS_MTC could not find destination, can it be a cause?
I raced with a friend and on some races the global position worked but not on other races... I tried deleting all my db files, not working too... Please help me!!


i have the same problem when someone disconnect from the server
i use version 5.845

goldwing
5th October 2009, 13:09
Anyone can help me? I thought that when i'm running alone on a track i can see "Car XXX : 1/1" instead of "-/-".

Yisc[NL]
5th October 2009, 16:11
Anyone can help me? I thought that when i'm running alone on a track i can see "Car XXX : 1/1" instead of "-/-".

Sorry that I didn't respond earlier, had more important things to do.
Running alone on the track isn't a problem.
I've started a test-server with your configuration file and found the problem.


Your code:

$EnableRotation = true;
$RotateTracks = "BL1,BL1R,BL2,BL2R,SO1,SO1R,SO2,SO2R,SO3,SO3R,SO4,S O4R,SO5,SO5R,SO6,SO6R,FE1,FE1R,FE2,FE2R,FE3,FE3R,F E4,FE4R,FE5,FE5R,FE6,FE6R,AU1,AU2,AU3,AU4,KY1,KY1R ,KY2,KY2R,KY3,KY3R,WE1,WE1R,AS1,AS1R,AS2,AS2R,AS3, AS3R,AS4,AS4R,AS5,AS5R,AS6,AS6R,AS7,AS7R";
$RotateEveryNbRaces = 4;
$RotateCars = "XFG,UF1,XRG,LX4,LX6,RB4,FXO,XRT,RAC,FZ5,XFR,UFR,FX R,XRR,FZR,MRT,FBM,FOX,FO8,BF1";

Should be:

$EnableRotation = false;
$RotateTracks = "BL1,BL1R,BL2,BL2R,SO1,SO1R,SO2,SO2R,SO3,SO3R,SO4,S O4R,SO5,SO5R,SO6,SO6R,FE1,FE1R,FE2,FE2R,FE3,FE3R,F E4,FE4R,FE5,FE5R,FE6,FE6R,AU1,AU2,AU3,AU4,KY1,KY1R ,KY2,KY2R,KY3,KY3R,WE1,WE1R,AS1,AS1R,AS2,AS2R,AS3, AS3R,AS4,AS4R,AS5,AS5R,AS6,AS6R,AS7,AS7R";
$RotateEveryNbRaces = 4;
$RotateCars = "XFG,UF1,XRG,LX4,LX6,RB4,FXO,XRT,RAC,FZ5,XFR,UFR,FX R,XRR,FZR,MRT,FBM,FOX,FO8,BF1";


Otherwise Lapper will rotate track and car immediatly after staring and then FOX is no longer the default car and giving you the -/-

Tim NL
5th October 2009, 17:19
Hi,
If you want to use the track/car rotator.You can change the !top so you see always the current car in the !top list but you still get the -.- when the current car not equals the $DefaultTopCar. ( see post of Yisc[NL] above)


CASE "!top":
IF( $argv == "" )
THEN
top( getLapperVar( "CurrRotateCar" ));
ELSE
top( $argv );
ENDIF
BREAK;

Krayy
5th October 2009, 20:04
I also found a bug that got in from one of my updates (d'oh) that migth overwrite the DefaultCar. This change needs to made to the TopGrip function.

Index: cmdLapper.cs
================================================== =================
--- cmdLapper.cs (revision 12)
+++ cmdLapper.cs (working copy)
@@ -96,6 +96,11 @@

infoPlayer currPly = listOfPlayers.getPlayerByUCID(UCID);

+ if (carName == "" && currPly.CName != "") // Set default car to current car if no default set in the lapper config
+ {
+ carName = currPly.CName;
+ }
+
closeAllTop(currPly);

string[] splitCmd = cmd.Split(' ');

goldwing
5th October 2009, 20:24
Thank you!! I'll check this! Thank you for your precious help!
I've disabled autorotation :( and if my top default car is FOX and i play with FZ5 for example, i see "FZ5 global -/-" i can't understand, this feature was working on oldest version of lapper! Is it what Krayy is talking about?