The online racing simulator
Searching in All forums
(941 results)
PoVo
S3 licensed
Quote from Victor :inline code block rather than the usual block-type.

I've made this in my version with [c]. Should go live over the weekend I think, after I finish the first part of car setup management.

Ah, [icode] makes more sense then Big grin
PoVo
S3 licensed
[code] is the standardised tag.

http://www.bbcode.org/examples/?id=15
PoVo
S3 licensed
Quote from Dygear :You shouldn't modify the class function that work's everywhere's for one special case. What you should do, is overwrite that function in the special case only. That way, the special case code is only called when it's needed.

Haha, that would make a lot of sense!

I kinda forgot the packet class is extending the Struct class Smile
PoVo
S3 licensed
My solution to packing IS_JRR:

<?php 
class IS_JRR extends Struct // Join Request Reply - send one of these back to LFS in response to a join request
{
    const 
PACK 'CCxCCCxx';
    const 
UNPACK 'CSize/CType/CReqI/CPLID/CUCID/CJRRAction/xSp2/xSp3';
    
    protected 
$Size 16;       # 16
    
protected $Type ISP_JRR;  # ISP_JRR
    
public $ReqI;               # 0
    
public $PLID;            # ZERO when this is a reply to a join request - SET to move a car

    
public $UCID;               # set when this is a reply to a join request - ignored when moving a car
    
public $JRRAction;          # 1 - allow / 0 - reject (should send message to user)
    
public $Sp2;
    public 
$Sp3;

    public 
$StartPos// 0 : use default start point / Flags = 0x80 : set start point
    
    
public function pack() {
        if (
$this->StartPos == null)
            
$this->StartPos = new ObjectInfo();
        return 
parent::pack() . $this->StartPos->pack();
    }
}; function 
IS_JRR() { return new IS_JRR; }
?>

I also had to modify the pack() method in the Struct class similar to cargame.nl:

<?php 
public function pack()
{
    
$return '';
    
$packFormat $this->parsePackFormat();
    
$propertyNumber = -1;

    foreach (
$this as $property => $value) {
        if (!isset(
$packFormat[++$propertyNumber])) break;

        
$pkFnkFormat $packFormat[$propertyNumber];

        if (
$pkFnkFormat == 'x') {
            
$return .= pack('C'0); # null & 0 are the same thing in Binary (00000000) and Hex (x00), so null == 0.
        
} elseif (is_array($pkFnkFormat)) {
            list(
$type$elements) = $pkFnkFormat;

            for (
$i 0$i $elements; ++$i) {
                if(isset(
$value[$i])){
                    
var_dump($value$type$elements$i$value[$i]);
                    
$return .= pack($type$value[$i]);
                } else {
                    
$return .= pack("x");
                }
            }
        } else {
            
$return .= pack($pkFnkFormat$value);
        }
    }

    return 
$return;
}
?>

The line "if (!isset($packFormat[++$propertyNumber])) break;" is needed because PRISM will try to pack the StartObject property even though there is no pack format specified in PACK for it and ends up complaining about a non-existent index.

For me this seems the cleanest solution thus far but I'm wondering if someone can write it any cleaner?

Dygear included the unpack() method in his latest commit. I don't think it's required because LFS doesn't send any IS_JRR packets. IS_JRR is only used for join request responses so it will only be packed.
PoVo
S3 licensed
idi siuda sabaka
PoVo
S3 licensed
Quote from Scawen :For a quick download, the compressed JPG : http://img.lfs.net/remote/maps/RO.jpg

Or the full RO.tif in a 9 MB zip file : https://www.lfs.net/file_lfs.php?name=RO_TIF.zip

I've uploaded the updated TRACKS_TIF.zip now as well.

Thank you Smile
PoVo
S3 licensed
Scawen,

Can you upload the track bitmaps (top down view image) for Rockingham?

Thank you.
PoVo
S3 licensed
Nice prize for the winner Smile
PoVo
S3 licensed
Actually it makes a lot of difference. By saying you have been hosting for 4 years you are suggesting that you have more experience in hosting.

And still, why is it 3 years? I can count 2 years...
PoVo
S3 licensed
Quote from ryan.hynes :He could of just created this post in 2013 and hosted before that. No need to be a complete troll PoVo. Congrats on the anniversary guys!

Yes he could have, but I can remember the company opening in 2013.

Still don't believe me?

http://who.is/whois/rackservice.org

Domain registered in March 2013. Surprise surprise...

Quote from Chriship :New Server Location

We are happy to announce that we have now a new Server Location. When purchasing a server, you can choose if you want the server to be hosted in our German Server at Germany, or in our French server hosted at France.

When ordering, simply fill the Server Configuration fields, or add a note in the payment at PayPal.

_________________

Celebrating 2 Years of Hosting

Getting profit of this announcement, we are also happy to announce that we are almost 2 Years Hosting servers. We started hosting servers the 26th April 2012.

To celebrate this we've added a discount - voucher code, which gives you a 30% of discount in any order you place ( LFS Servers ) , no matters the lenght or amount of slots of the service. All of them have a 30% Discount.

To get profit of this offer, before checking out just fill one of those two voucher codes and the discount will be succesfully applied.

Use: 2yearsfrance as voucher code if you want the 30% Discount for a French Server.

Use: 2yearsgermany as voucher code if you want the 30% Discount for a German Server.

You can check them out at www.rackservice.org

Thanks!
[/center]

Celebrated 2 years of hosting in 2014. Celebrating 4 years in 2015. Nice counting there.
PoVo
S3 licensed
Quote from Chriship :Celebrating 4 Years of Hosting! 20% Discount!

To celebrate 4 years of Hosting we've created a discount code which everyone can use. Using this discount code you'll get profit of a 20% one-time discount for new orders of the following services
  • Live For Speed Game Servers
  • Assetto Corsa Game Servers
  • Web Hosting Packages
To get profit of the 20% discount, while finishing the order use te following discount code:

4yearshosting

Once again we thank you for your trust in all this years!

Discount valid until: 01/05/2015


2015 - 2013 = 2 years
PoVo
S3 licensed
Quote from Bmxtwins :http://www.topgear.com/uk/jeremy-clarkson/jeremy-clarkson-ford-fiesta-2012-01-06

Why is car insurance so expensive? I think mine in the states cost <$1000 a year and it's for a 2013 Civic.

Probably not even a $1000, I don't worry too much about it I just pay it when I have to.

I'm pretty sure it would be cheap to insure a 2013 Civic in the UK too but not every 17~ year old is rich or stupid enough to take out a massive loan for a brand new car Thumbs up
PoVo
S3 licensed
Quote from ACCAkut :First time firing up LFS since August .. wtf? That's unbelievable, I never got lost on a LFS track before.

But I sort of don't get why Westhill was done to that extent. I mean it is nice, all those streets and stuff, but for what? Is this meant as a sort of benchmark or tech demo, showing of what the LFS is still (or just now, I dunno) capable of? Does a racing sim need a track inviroment of that extent.

I honestly am speechless about what we got here, but at the same time my racer mind can't make sense of it.

It's all for the cruisers. Usually the cruise servers are filled up more than the race servers so it makes sense.
PoVo
S3 licensed
Is there an updated Westhill track image available?
PoVo
S3 licensed


Since most of my milage is on the motorway I guess it's time to get rid of all the vibrations Big grin
PoVo
S3 licensed
Quote from CodeLyoko1 :1.0L 72 HP mothafackin Aygo Big grin

hahaha 1999 1.0L 70 HP Yaris here. I feel your pain.
PoVo
S3 licensed
I see that pyinsim 3.0.0 is in the repository but the latest released version is 2.0.5. Does anyone know if the 3.0.0 version works okay?
PoVo
S3 licensed
It's required at standard and should be documented in the InSim.txt. By default it's Latin characters (^L) so you need to switch to a different encoding manually.
PoVo
S3 licensed
Switch to Baltic encoding:
"^B^2Spauskite čia"
"^B^3Įrašykite čia"

Your modified library probably inserts this before sending IS_MSO/MTC/MSX/BTN packets Smile
PoVo
S3 licensed
2,833 km != 2,833 miles
PoVo
S3 licensed
Quote from flymike91 :Povo the Irish insurance companies dictate what kind and age of car you can drive? wtf? Old cars are usually slower and less expensive to fix as well as already having made their 'carbon footprint' many years ago. Weird logic there considering a 1987 Volvo 240 is probably the best car ever for young drivers.

I could have insured 1959 Ferrari 250 GT at 18 if I had thousands of dollars per month to do so.

Yes, pretty much no insurance company wants to insure a car older than 15 years. It isn't strictly enforced but that's the usual response.

If you want to drive an old car you will need classic insurance which is cheaper than normal insurance and requires you to be at least 25 years old.

I presume the logic is that if you give a young driver an old banger to drive they won't mind it and will trash it around the streets.

Unfair but that's the case. I have to suffer the pain being a fan of 80's cars

Back on topic:
I was hoping to get some pictures of my car because I washed it recently but today I noticed it's quite dirty again... We'll have to wait until the new year I guess
PoVo
S3 licensed
Here is the error log that is outputted. This only started to happen since the last couple of updates (DX9 perhaps).

err:clipboard:X11DRV_CLIPBOARD_ExportString Failed to render 000d format
err:clipboard:X11DRV_CLIPBOARD_RenderFormat hWndClipOwner is lost!
err:clipboard:X11DRV_CLIPBOARD_ExportString Failed to render 000d format
wine: Unhandled page fault on read access to 0x00000000 at address 0xf740a596 (thread 002a), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0xf740a596).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:f740a596 ESP:029ae4e4 EBP:029ae548 EFLAGS:00010283( R- -- I S - - -C)
EAX:00000000 EBX:7dd78000 ECX:00000000 EDX:00000000
ESI:00000000 EDI:00000000
Stack dump:
0x029ae4e4: 00000000 00000000 7dd174b7 00000000
0x029ae4f4: 6f5334a0 029ae548 7dd17188 029ae5b4
0x029ae504: 01cc8258 7dbac029 7db74000 7db74000
0x029ae514: 6f533f20 00000000 7db5e084 6f533f2c
0x029ae524: 6f53f8f0 0000018f 7378e500 7db74000
0x029ae534: 6f533f20 7dd1715b 7dd78000 7dd17150
000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
Backtrace:
=>0 0xf740a596 in libc.so.6 (+0x83596) (0x029ae548)
1 0x7dd174b7 in winex11 (+0x174b6) (0x029ae548)
2 0x7dd15874 in winex11 (+0x15873) (0x029ae5f8)
3 0x7dd1cbc6 in winex11 (+0x1cbc5) (0x029ae738)
4 0x7dd1d309 in winex11 (+0x1d308) (0x029ae768)
5 0x7eb4f9c1 in user32 (+0x8f9c0) (0x029ae7c8)
6 0x7eb16997 in user32 (+0x56996) (0x029ae938)
7 0x7eb17e85 MsgWaitForMultipleObjectsEx+0x54() in user32 (0x029ae988)
8 0x7dd13e8a in winex11 (+0x13e89) (0x029ae9d8)
9 0x7bc76830 call_thread_func_wrapper+0xb() in ntdll (0x029ae9f8)
10 0x7bc7965f call_thread_func+0xce() in ntdll (0x029aeae8)
11 0x7bc7680e RtlRaiseException+0x21() in ntdll (0x029aeb08)
12 0x7bc7f99f in ntdll (+0x6f99e) (0x029af358)
13 0xf753bf16 start_thread+0xd5() in libpthread.so.0 (0x029af428)
14 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
15 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
16 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
17 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
18 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
19 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
20 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
21 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
22 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
23 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
24 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
25 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
26 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
27 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
28 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
29 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
30 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
31 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
32 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
33 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
34 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
35 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
36 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
37 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
38 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
39 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
40 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
41 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
42 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
43 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
44 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
45 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
46 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
47 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
48 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
49 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
50 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
51 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
52 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
53 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
54 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
55 0xf74729fe __clone+0x5d() in libc.so.6 (0x00000000)
....

PoVo
S3 licensed
Speaking about LFS on Wine... Any idea why LFS crashes when you copy a message from the chat in-game and try to paste it somewhere else?

Copying the message is fine but when you hit CTRL+V LFS crashes instantly.
PoVo
S3 licensed
Any ideas when this is going to happen?
PoVo
S3 licensed
Your Volvo was a much cooler car!

I wish I could insure a classic car being 19 in Ireland... You need to be at least 25 over here to insure something older than 15 years
FGED GREDG RDFGDR GSFDG