The online racing simulator
Searching in All forums
(981 results)
Dygear
S3 licensed
I would be shocked if he is not banned for a little while for the epic trolling that he does from time to time. Ya know, just to keep him in check.

But anyway, I really can't see this guy paying for an InSim application as he does not even have a S1 or S2 License. So if he is not willing to pay for the game, why would he be willing to play for an InSim application? I'm sorry but I don't take this very seriously, unless he is going to take LFS seriously enough to actually pay for it!
Dygear
S3 licensed
Yeah, that's another thing. We should really have access to what is going on with the server at any given moment. If there is a command going on, then the InSim application should be informed of it so it can update it's state to keep everything in sync.
Dygear
S3 licensed
With great power comes great responsibility. I think this is a step in the right direction, I think we should have much more power over the engine, I think we should have access to the the engine via a DLL interface that we can use to setup callbacks within our own programs. I want to be able to edit and change the game on the fly, I want tweak on the server side that will propagate to the client side automagicly. I want full control over the client's speed, I want to be able to setup hotkey functions onto their client that will allow for like a server slide KERS system, or DRS. I want images and sprites to be able to be displayed on screen. I want to be able to control the font I use to display information within the buttons. I want control over the engine and all of it's parts. But we are a long way away from that, and that's ok, because if we got all of this tomorrow none of us would know what to do with ourselves.
Last edited by Dygear, .
Dygear
S3 licensed
Quote from cargame.nl :This change is making those filters pretty unreliable?

Pretty much, yeah. But that's because it's only going to be able to filter whats in the /cars setup. It can't filter based on what it might not be able to give you as it just does not know that. That means it's up to us not to abuse it.
Dygear
S3 licensed
Quote from misiek08 :Is anything from latest InSim update in PRISM? Maybe I'm wrong, but new packet has been released.

They are already all supported, they have been since 0.3.4.
Dygear
S3 licensed
Well, we don't have to even go that far, nor do I have the money to run a server on the scale that is LFSWorld. I could how ever add an option to cache results for a period of time within the LFSWorldSDK, but as the options change from server to server on what's available it might be an issue finding a common ground. It's like who has access to a database, what is the database type, sqlite, mysql, mssql, something else? Do they have PDO installed? Should it use a flat file system? Can this run in safe mode without giving the consumer many headaches.
Dygear
S3 licensed
How many queries does LFS World pubstats do a month? I'm just wondering as looking over my at the pubstats details apparently people are leaving the LFSWorldSDK in it's default configuration because my key that is getting shipped with it is still being used.

May 2010 48051 1272.32Mb Free £ 0
June 2010 58456 1489.08Mb Free £ 0
July 2010 82217 2033.42Mb Free £ 0
August 2010 62572 1519.36Mb Free £ 0
September 2010 52238 1292.31Mb Free £ 0
October 2010 46647 1136.63Mb Free £ 0
November 2010 33928 771.86Mb Free £ 0
December 2010 47180 1051.45Mb Free £ 0
January 2011 46076 1071.68Mb Free £ 0
February 2011 42978 976.31Mb Free £ 0
March 2011 34587 767.93Mb Free £ 0
April 2011 46933 1020.4Mb Free £ 0
May 2011 47844 1077.01Mb Free £ 0

I've not used the LFSWorldSDK in about a year, and I was wondering if we could find out both how much the pub stats is using each month, and how many people are using the LFSWorldSDK. Also, is there anything I can do in the next version of LFSWorldSDK to make it more obvious to you that they are using the LFSWorldSDK? Setting a user-agent string perhaps?
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.
FGED GREDG RDFGDR GSFDG