The online racing simulator
Searching in All forums
(983 results)
Dygear
S3 licensed
So, part of the rewrite that I'm doing for PHP 5.5, is the InSim, HTTP and Telnet interfaces are no longer going to be hard coded into the core of PRISM. I want to be able to implement any type of interface that uses sockets, simply by importing it with a configuration file.

This means a few things, for the core devs. Each interface has to promise to provide a checkTraffic() method and a getSelectableSockets() method. It can also implement a maintenance() method if the interface requires it (InSim Did).

The cool part about doing it this way, is that PRISM becomes quite a bit more general purpose and can be suited to interact with many different types of interfaces quite easily and because of the plugin system attached to it, it can cross pollinate the information from one interface (InSim for Example) with another (WebSockets, Telnet, Ect).

There is another thing, that I wanted to discuss. The deprecation of the HTTP module. I'd like to use the built in PHP server as it should in theory make it easier for people to program for ... if we give them some boilerplate WebSocket interface for them to use. Basically, I wanted to replace the HTTP module with a WebSocket module, and fork anything that we did for HTTP and move that into a separate (but equal) project.
Dygear
S3 licensed
Quote from dawesdust_12 :Microsoft basically needs to do a "NT2", but actually make it a clean break. They never will, but they need to actually ditch the gigantic heap of legacy and look towards the future.

Well, NT was kinda like the hybrid of OS/2 and Win32. In fact, NT was built to be 32bit from the ground up, they kinda just bolted on Win16 just to keep everything running in the background. "Hey look, you can upgrade to this, and still use your old applications! When you want to move forward, the infrastructure will be there to support you." Some of OS/2 and some of NT came from Steve Jobs, because they licensed some tech from NeXTSTEP.

Quote from dawesdust_12 :Apple never killed OS 9 in a day, but over the last 10 years they have switched from OS 9 to OS X, and PPC to Intel without much issue for most users.

And OS 9 was kinda killed in a day, because when Apple bought out NeXT, they pretty much knew that they where buying it because they wanted a new OS, and they wanted Steve back and this one company had both.

And Intel to PPC happend in the back room over many, many years because Macs have always been compatible with x86, and PPC, and ARM. iOS is OSX distilled and boiled down, and compiled for ARM chips.

Quote from dawesdust_12 :The only users who have had issues are ones who rely on 10 year old software for their daily life, which is a bit crazy (and unbelievable) that something wouldn't exist that was better at that point.

Big Corporations are doing that every day, I still still "Patient Care Registration" running DOS emulators! It's INSANE, but that's because they spend money in the wrong areas.
Dygear
S3 licensed
From my understanding of the SMX and PTH files, there are 65536 units in 1 game meter, that's a pretty good level of fidelity already. That is millimeter precision in the game.
Dygear
S3 licensed
Quote from just2fast :What about if the peripheral vision (outside red area) is simply rendered with a very very low resolution, and inside the red area with normal resolution?

Ok but why? If some can see it, then why throw away information?
Dygear
S3 licensed
Quick notice for everyone. There is an change in PHP 5.5 that breaks some string parsing in the packets module. It's an interesting "gotcha" that you should all be aware of. I noticed this problem in the LVS plugin when parsing the AXI packets the LName was filled with white space at the end. For now you'll want to trim() any string you get from the PRISM packet system until a core patch is applied.
Dygear
S3 licensed
The parsing error that you are listing was fixed in the last patch that I applied to PRISM on github. Now if you use that link again it will give you a zip file with all of the patches that I've applied for this thread in it. So to make it easy, click here and download. After you've downloaded that, you can simply extract it to the C:/modas directory and it will replace what it needs and update all of the files.

As far as the startup procedure text, it should be lowercase only.

Your doing a direct connection, if its on your local machine. I don't know if you have a listen server or dedicated server. It's a listen server if you start the host and can play at the same time. It's a dedicated host, if you have to start the client to connect to your host, but one does not depend on the other. It's the same nomenclature of Half-Life servers. And it does not matter, PRISM works on Mac, Linux, Windows ... just answer the questions based on the type of server you are connecting too in the fashion you are connecting to it.
Last edited by Dygear, .
Dygear
S3 licensed
Thanks for the update T3, good luck and god speed.
Dygear
S3 licensed
Some say rendering too twice the size and then reducing the image by 50% is the best way to do AA.
Dygear
S3 licensed
Quote from NeverEatYellowSnow :Yes I know - and I appreciate that - and Scawen's conservatism (is this english ?!?) - very much... there are really more urgent things on the LFS Todo list than a revolution of the graphics engine :-)

One can dream right?
Dygear
S3 licensed
What are the problems?
Dygear
S3 licensed
Quote from Dajmin :Right after I get a native Mac version

If only, if only. OpenGL seems like a good idea all around at this point. You decouple yourself from Micrsoft's upgrade cycle and you can lunch the game on Linux (SteamOS), Mac OSX, and Windows all at the same time. That in turns brings up your market share, you'll be one of the first true racing games to be cross platform that people really want to play.
Dygear
S3 licensed
Use that link above again and you'll get a working version of PRISM. I just did a quick run through with the patch that I just applied. From there you should click on the PRISM.bat script and it will start PRISM for you and you just have the answer questions to get it up and running.
Dygear
S3 licensed
Quote from cargame.nl :You shouldn't edit php files, only the ones in the plugins folder. Unless you know exactly what you are doing better leave the core files alone.

Exactly this. You should redownload PRISM and start fresh.

This link includes that fix fr ... o you should use this one.

From there I would follow cargame's advice and extract it to a root directory in your C:/ drive.
Last edited by Dygear, .
Dygear
S3 licensed
Quote from MadCatX :Really? How does the user write stuff into their "home" directory on Windows? Isn't the Desktop or My Documents folders there?

Yes you can write stuff to your home directory, and any sub-directory but that's not the point. The point is he just made a hard code articulation when he should of done it in the config file. Let's try to keep a good single to noise ratio please gentlemen.
Dygear
S3 licensed
That's because you should not be doing that at all.


<?php 
!file_exists($logPath['C:\Users\Deividas\Desktop\insim']))
?>

Don't edit the code, it gets this information from the configuration file. You need to put that path in there.
Dygear
S3 licensed
Ok, simple fix for that one is ...

console('The path to your log folder does not exist : '.$logPath['dirname']);

Change that line to that and it should work. I've also patched it on github.

You'll also want to fix the error it's reporting by making a log folder for PRISM to use.
Dygear
S3 licensed
What's the error? What environment are you trying to start PRISM in? MAC? Windows? Linux?
Dygear
S3 licensed
Quote from Whiskey :I've never been on such a situation, and sure nobody wants to, so I can only wish they can recover from this experience without any further loss.

It's never a fun situation. I applaud their work to help out in the emergency shelters setup in the area. When Hurricane Sandy rolled in too NY last year we pretty much lost a few cities over night. 911 was swamped with calls, Long Beach Fire Department, who are all Volunteers were fighting fires with water up to their chests, and they had multiple building on fire from on the same block, and there were even more fires that they could not even get too. Nassau County has a whole did more calls in the 2 weeks following Sandy then we did all of last year combined. Working as a Captain in another department we covered their ALS (Advanced Life Support) for a while because they lost all of their apparatus. It looks to me, much like what is going on in IL right now.

Anyone who is able to walk should be helping really. This is an MCI (Mass Casualty Incident) Any help anyone can give really helps everyone. It helps the emergency responders, who are incredibly overworked in these situations. It helps the people you are helping because they are getting the help they want or need. And it helps you because you have something to do and you don't think about the devastation surrounding you.
Washington, Illinois Tornado
Dygear
S3 licensed
Please everyone spare a moment for a thought for Zenware and T3charmy who both happened to be affected by the tornado that went through Illinios recently. For those that don't know they are both contributing programmers for this PRISM project.

Quote :The town of Washington, Ill., about 140 miles southwest of Chicago was particularly hard-hit as an EF-4 tornado touched down there. According to the Associated Press, Washington Mayor Gary Manier estimated that between 250 and 500 homes in the town of 16,000 residents were destroyed or seriously damaged Sunday.

zenware sent me a PM last night telling me that he and T3 were still alive and zenware is working in disaster centers and emergency shelters setup around the area.
Dygear
S3 licensed
Or it could be that the settings are only making the buttons local. I'm pretty sure it's a flag in the ISP_ISI packet.

If your running a host that is also the client in the game, you might be tripping over the ISF_LOCAL flag.
Dygear
S3 licensed
Quote from fennel16 :I would like to know how to draw the YAW value in the GRID.
Please, let me know the calculation formula.

mail: [email protected]

No one should ever support anyone else via email. It competly misses the point of the internet and these forums.

Also, I take it you mean YAW as the cars facing direction vs that of it's direction of travel, but I have no idea what you mean by GRID.
Dygear
S3 licensed
Quote from Shotglass :you are aware that carmack is working for the rift these days?

He is now, yes, but not when they first came out. Carmack only joined in like 2 months ago.
Dygear
S3 licensed
Quote from Scawen :As I'm just a chap who likes programming and am not really interested in what all the different versions of DirectX and latest video cards can do, I assume that DX9 has plenty of good features we could make use of, and I have no idea why we would want to go to a higher version.

Thank you for the honest answer.
Dygear
S3 licensed
Quote from Scawen :It's the first time I have encountered any kind of problem with VC6. I suppose that the upgrade to DX9 and the use of a modern compiler will need to happen at the same time, then I'll be able to connect with the Oculus SDK.

Is DX9 where you are intending on landing just to support Oculus? Are you considering going to DX11 in order to get the performance gains from it? Perhaps a OpenGL version, so it's easier to make it cross platform at a later date, as some of us are staring at SteamOS and it should increase the lifespan of LFS by going to a platform agnostic graphic API ...

Questions, questions ...
Dygear
S3 licensed
InSim should automatically have the same authority as the instances it's connected too. All you have to do is send the game forward slash commands.
FGED GREDG RDFGDR GSFDG