The online racing simulator
Searching in All forums
(983 results)
Dygear
S3 licensed
Quote from T3charmy :got to finish my social network

Your never going to finish it, facebook will never be finished. It's organic, it grows with it's user base.
Dygear
S3 licensed
I've lost so much respect for Lewis. I understand most of this was frustration, but his driving this week was more like a child then a racer.
Dygear
S3 licensed
Now that Lewis has had his time deleted, does that mean he can choose the tires he wishes to start the race with? The rules say that the top ten drives must start with the tires that the fastest time was set with. Seeing as that was deleted, it would stand to reason that then Lewis could then use any set he wishes because he did not 'set a time'.

Quote from Squelch :Lewis, or rather his mechanics did make a mistake in not sending him out early to put a banker time in.

Ted Kravitz had repoerted that Lewis was out of the car for a while in the first part of the Q2 or Q3 due to a problem with the car that they fixed. So it might not of been an error, it was more likely due to a problem with the car.

Also on the subject of Perez, it seems that he had a puncture and that was why he was off line, and then when we went over the bump, his car bottomed out and he lost all control.
Last edited by Dygear, .
Dygear
S3 licensed
Quote from Squelch :Sadly I omitted to save the replay, and haven't been able to reproduce the exact same line.

Holy mother, that would be a pretty cool replay.
Dygear
S3 licensed
Ok .
Dygear
S3 licensed
Quote from Scawen :Actually your example is not confusing. It looks good... it's the thought of how to implement InSim key binds that is confusing, when the keys are all used up and multiple InSim programs can be attached, when my head is filled with so many other things.

Good point! This is the same problem I'm having with the InSim Buttons myself right now. I don't know how to display a group of buttons that are meant to work as one, but when they display on top of another group. I though that I would use a push / pop kind of method, so that the last bunch of items to be put onto the screen are the first interfaced by the user. This way, the most 'current' information is placed up front for the user to deal with. Once they have handled that, they are then represented with the older button group so they can interact with that.

In essence the button bound key, would work just like a ClickID, but with a physical key to click. In the same way that if you use a ClickID twice, then the data is overwritten, the same could be true of this. It would be up to the InSim programmer to handle themselves. Of course this would become a problem with multiple InSim instances running at once, should they request the same key, but then I would think that the first in last out, push pop method could work there too.
Dygear
S3 licensed
Also not a problem using Windows 7 Enterprise Edition (x64), and Intel HD graphics (Built into the i3-2100T).
Dygear
S3 licensed
Quote from Scawen :I would like to just forget about this for now, the thought of it is a little confusing, and I don't want to occupy any more of my brain with anything tricky at the moment. This patch has taken longer than expected and I just want to get those last few things done and tested so we can release the official patch.

Thanks for the reply. Sorry my example was confusing, I'll try to provide a more concise example using the LFS client with a plugin I'm making for PRISM as an example.
Dygear
S3 licensed
Quote from PoVo :I've binded my the ISP_MCI packet to my MCI function is the _construct, and it simply doesn't receive packets.

I'm not sure what you mean, it's normally better to just post the code and then to state the problem. It let's me know what your trying to do, and let's me see how your trying to do it.
Dygear
S3 licensed
The reason why I bring this up, is that right now, for people who use a mouse to steer have to use their mouse to also select these items. I would like to be able to race with my mouse and still interact with the InSim app without having to use my mouse. You can still click on these items if you wish, but having the option to use you keyboard I think makes it a more robust solution.
Dygear
S3 licensed
Thank you Scawen, I have just one request now.

I would like to be able to bind InSim buttons to keys on the keyboard. For example, should I show a menu on the screen, and allow the player to use a button on their keyboard to activate (click) that button.



Something along the lines of this, but as you would suspect with LFS Track names, or player names as needed.
Dygear
S3 licensed
Ok, that's not going to work, but you could do a chain extension, where one class extends another, extends another until you have all the parts you need. It would look something like this:

povo.php

<?php 
php
include 'povo_utils.php';
class 
povo extends povo_utils
{
    const 
URL '-';
    const 
NAME '-';
    const 
AUTHOR '-';
    const 
VERSION 'This can be anything by the way, and really you should set it to not be that of PHPInSimMod\'s Version';
    const 
DESCRIPTION '-';

    public 
$data = array();
    
    public function 
__construct()
    {
        
$this->doFunction(); # function from povo_utils.php
    
}
}
?>

povo_utils.php

<?php 
php
class povo_utils extends Plugins
{
    public function 
doFunction(&$data $this->data)
    {
        
$data['Povo']['Place'] = 'Random Place!';
        
$MST = new IS_MST();
        
$MST->Msg('/msg Data Updated')->Send();
    }
}
?>

Dygear
S3 licensed
Quote from Dygear :Victor, can you please post the whole list of error messages in the LFSWorld Stats thread.

And on that subject:

Quote from Victor :These should be all of them :

don't block your ip please.
Identification is required - http://www.lfsforum.net/showthread.php?t=14480
Invalid Ident-Key
not authed (invalid identkey)
not authed (ip)
Invalid login details provided
No authentication method provided.
can't reload this page that quickly after another
hl_log is only available since version 1.2 and later
no output
ch: invalid track
ch: invalid car
fuel: no valid username
hl: no racer
hl: no hotlaps found
pb: no valid username
pb: racer has no pbs
pst: no valid username

Dygear
S3 licensed
The MTC struct has changed in the newest versions of LFS, Scawen changed the Msg property to Text. So you'll have to use that from now on. Just replace Msg with Text and it should go away. Also make sure you're using the latest version of PRISM.
Dygear
S3 licensed
Quote from dawesdust_12 :Isn't the NY test just "Are you Italian? Ok sir.. here's your license!"

No it's "Do you have a pulse?", and "Can you drive half a mile without hitting anything?" that's pretty much it.
Dygear
S3 licensed
Yeah, I'm pretty sure I was going to use SQLiteV3 as well, seeing as it ships with PHP in all cases, and I'm pretty sure it's license is the same as PRISMs, but I'll have to check that.
Dygear
S3 licensed
Quote from PoVo :Hi,

[1]I was wondering if it's possible to create a multi classed plugin in PRISM?

Let's say we have the main class - game.php.

[2]Now I also want to add game_utilities.php which would contain functions.

[3]Now let's say I have the usual stuff in game.php like the constructor along with a variable
var $my_array = array();

Now I also want to add a function in game_utilities.php called "performChanges()".

The bit that I'm stuck on is allowing the game_utilities.php to access the $my_array variable.

Is this possible?

[4]Another goodie would be to be able to send / receive InSim packets from the game_utilities.php class.

[5]Any suggestions?

Thanks!
  1. Yes it is. Anything that can be done in PHP can be done in PRISM, I don't have the power to restrict the language at all.
  2. I'm not quite sure what you mean here. There are many ways to handle this so if you could give me a full example, php code, of what you want to do I'll tell you if that's how I would set it up, or you could just run a pilot example and see if that works.
  3. Depending on how you set it up, if you simply have game_utilities class extend the game class then it's really simple to use on function within the other. However, if you want to use two separate classes, then you would have to make $my_array public, in fact the syntax you have right now automatically makes it public.
  4. You can send packets from anywhere within the PRISM instance, plugins, modules, or the core. (However, I'll pretty much be the only one sending packets from the core.) Any class that is made, as long as it uses the prism_packets.php instance module should be able to send the packet from PRISM. (Although, I've never really tried.)
  5. As far as suggestions. I would recomend making the game plugin, into a module as I think that's more of what you want. It would act as a layer between the PRISM core and your plugin. But I still don't know what you have planned so if you could provide some more details and what exactly you want to do that would help me help you. Even better then that write me to pseudo code and I'll tell you from there what's the best way to handle it within PRISM.
Dygear
S3 licensed
Hell, I would be happy with anything other then the NY state exam for driving. Most drivers around here are, well, shit.
Dygear
S3 licensed
Quote from Psysim :Someone who is using dougies work, help me out here!

NPL = Someone joins the race from spectate
NCN = Someone connects to the host (also happens when you start the application)

Yes, but that's not just Dougies work, that is how InSim works with these two packets.
Dygear
S3 licensed
Quote from T3charmy :Hey guys, since I have gone and started on my new plugin, I started to use a new account storage system, This update along with KM, and a few other un announced features, will be out some time end of may.

I really should work on a db module for you guys.
Dygear
S3 licensed
I'm really not sure myself, but I would love Victor to comment on this, as he deals with thing like this everyday.
Dygear
S3 licensed
Fire_optikz001 has a Cruse Plugin for LFS lapper, but I think that will be deprecated for the PRISM version.
Dygear
S3 licensed
UTF-8 encodes each of the 1,11 ... in the Unicode Standard).

We really do need to have full support for the UTF-8 standard as this could be used on websites as well as in email, or pretty much any transmission. I still don't know what I am going to do about this myself, and I do appreciate the suggestions so far.
Dygear
S3 licensed
Check your file list (resource list) it's saying that LFS_External_Client.Form1.resources is listed twice.
Dygear
S3 licensed
I would love a whole patch update process for just InSim requests, I think what the 3rd party devs could add to the community could be huge.
FGED GREDG RDFGDR GSFDG