The online racing simulator
Searching in All forums
(983 results)
Dygear
S3 licensed
Release what you have. And then work on version 2.0. It's how the world works , just look at PRISM's core.
Dygear
S3 licensed
So a bad install of PHP was causing the error?

As far as UName, yes I can do that, it's a simple one line thing.
Dygear
S3 licensed
How is Tuesday?

Apt-get style plugin installs.
Dygear
S3 licensed
Just an idea, might be useful when we get some popular plugin devs.

Installing a plugin would be as simple as:
prism plugins install pluginName

PRISM should even be able to include and init the plugin during runtime.

Adding popular plugin devs would be as simple as:
prism plugins repos add http://repo.domain.tld/Dygear

This would work off of the HTTP interface, so things like HTTP status codes would be used, and the transport medium for basic information on the plugins available would JSON.

Hip Tip to filur. Who by the way has done something like this for lurLFSd, many years ago. So the idea is not new, obviously, and it's also not new to LFS.
Last edited by Dygear, .
Dygear
S3 licensed
Quote from E.Reiljans :Yes it can, by lowering bit depth / sample rate / making it mono.

How are you still a demo racer? Someone needs to get this man an S2 license.
Dygear
S3 licensed
Can you compress it to an MP3?
Dygear
S3 licensed
In that case, use this debug.bat script, and post the whole deb.log here. Also, if it closes right after, how do you know where the error is coming from?

debug.bat
@echo off
php -e PHPInSimMod.php %1 %2 > deb.log
pause

Dygear
S3 licensed
Quote from TehPaws3D :Whenever the new tire physics get here? Give it about.. Mmm.. Maybe a week after that or such. The date on the tire physics is probably Christmas 2011 or mid year 2012.

For cars being faster than it? It's probably going to be right with the XFG and stuff so maybe... about 15 cars?

Yeah, I think that's a fair time frame.
Dygear
S3 licensed
Ok. I'll keep an eye out for it. But please, once it happens again, post the call stack as reported by PRISM's error handler.
Dygear
S3 licensed
Victor is working on it.
Dygear
S3 licensed
Quote from DieKolkrabe :McLaren (according to Autosport a few weeks back) were privately upset at Hamilton's glitzy lifestyle.

Oh, McLaren could give a **** how Hamilton lives his life. As long as he shows up and does his job that's what matters to them.
I need some testers.
Dygear
S3 licensed
I need some people that are willing to test some of the plugins that come with the next update of PRISM. They are already on the github account, but before I release them in the wild, I would like for 3 or 4 people along with me to get on a server and make sure everything works when running from a client, and running from a dedicated server. If anyone wishes to sign up for this, please just reply below, along with the times you are available (Please include the timezone in your post so I can coordinate times with everyone.)
Dygear
S3 licensed
I've forwarded your request to Victor who is responsible for the packet handling modules with PRISM. If he want's to do it he will, if not, I'll get around to it at some point. But I would not expect it any time soon if I have to do it.
Dygear
S3 licensed
On the subject of installers, I was thinking about this and how some installers cause some Anti-Virus programs to cause a false positive. This would be the case with NSIS when using the Built-in NSISdl plugin that I intend on using. The NSIS Wiki has a warning about this plugin giving a false positive. This is a problem as I've built up a reputation of providing safe applications used by many websites, on many servers, and now many clients. I feel that even the look of impropriety could tarnish that image.

The problem boils down to this. I want to make a installer / updater that uses PRISM's github as a means of keeping everyone up to date. But in order to do that, I would have to use the Built-in NSISdl plugin and that would cause some Anti-Virus plugins to say that my installer / updater in virus. Even tho this is a false positive, I don't like the idea of that at all.

Thoughts?
Dygear
S3 licensed
Quote from paXton :ok.
After struggling with git, GitHub, two clients and some screencasts, I'm slowly getting better understanding...

I've submitted the file some minutes before and done a pull request.
For the patches before, I only used my browser on GitHub. *g*

Ciao... Pascal aka paXton

I have it and it's merged. I'll work on a release before I leave for you. (In about an hour.)

Yeah, there is no way that I can release this in it's current shape.
Last edited by Dygear, .
Dygear
S3 licensed
Quote from T3charmy :its in modules/prism_hosts.php Line 515-517

I'll have a look at it later, I'm going to sleep now. Just a note, I've never had that problem, so I don't really know what could be causing it. So if you can give me more information about the state of PRISM, and plugins running, the call stack trace that PRISM gives, that would be helpful.
Dygear
S3 licensed
You could of submitted that to your repo as you have done before, and sent me a pull request. I would of merged it like the last few updates you've sent me.
In Game iTunes HUD (Via InSim Buttons).
Dygear
S3 licensed
URL: iTunes
VERSION: 0.4.3
DESCRIPTION: In Game iTunes HUD
DEPENDENCIES: COM functions are only available for the Windows version of PHP. .Net support requires PHP 5 and the .Net runtime. You do not need to load any additional extensions in order to use this plugin.

This plugin allows for users to interact with iTunes while still racing. You can call up the iTunes interface by saying `iTunes` in chat. That will bring up the button interface.

I am planning on making navigation much easier for the next version of this plugin. So you can click on the Artist's name, and you'll be able to explore all of the artists within your iTunes library. The same will be true of the Album, where if you click on that, it will show other albums by the currently playing artist. Should you click on the song, it will show other songs available within the current Artist & Album selection.
Dygear
S3 licensed
I've completly lost my train of though on this, but I've uploaded the changes to the PTH parser within PRISM, and I would ask that you take a look at that, along with the LVS plugin.
Last edited by Dygear, .
Dygear
S3 licensed
I am pretty sure that demo users do not have access to InSim. It's a licensed feature only.
Dygear
S3 licensed
Where is this code? Is it in a plugin? Also, is the value of $hostId correct?

I've accepted the 2 pull requests by paXton, and I'm working on fixing the bug he reported here. If I do find a solution today, expect a new version of PRISM by tonight.

While I am at it, there is a known Bug with PHP 5.4.0 Beta 1, that reports the following, and has a fatal on the other.

C:\Users\Dygear\PRISM>php PHPInSimMod.php

Strict Standards: Declaration of IR_HOS::unpack() should be compatible with that of Struct::unpack() in C:\Users\Dygear\PRISM\mo
dules\prism_packets.php on line 2853

Fatal error: Cannot re-assign auto-global variable _GET in C:\Users\Dygear\PRISM\modules\prism_phpparser.php on line 15

As right now, PHP 5.4 is still in beta, we are not going to work to actively fix these bugs, unless these problems persist into the Release Candidate. I'm also reporting these to the PHP dev team as bugs.

Ok. I've fixed the bug as reported by paXton with the State Handler clearing the client or player data before the plugin has had a chance to handle it. I'm going to submit this to github very soon, so that you can test this out. I've also added 3 packets in total that will be reported to the plugins before they are reported to the state handler. These packets are IS_PLL (Player Leave), CNL (Connection Leave) and CPR (Connection Player Rename). The last one is there so you can find both their old name from the state handler, and their new name from the packet. If you can think of any other packets that you would like to see handled in the same way, let me know.
Last edited by Dygear, . Reason : Merged Posts
Dygear
S3 licensed
Putting your post in a forum that has nothing to do with accounts is not the first step in getting something done. Also, you CAN PM the devs, they DO respond when they need too. If you have not gotten an answer from them it's because they did not get enough information, and I'm sure they will not jump on MSN so that they can talk to you. So what you SHOULD do is detail what happened, with everything in it in one post so that it can be reviewed by the mods, and if the mods think that you have a case they will bring it up to the devs.
Dygear
S3 licensed
No, he is right. I have to change the order that client leave messages are processed within the packet handler module, so that the leave packets are sent to the state module last, so they are still on the list should a plugin (like his is) asks for information from the getUserByPLID native.

I'm aware of the bug, It's just a not a 'known' public bug until now.

Merging with the main topic.

Also, if you could report this on GitHub I'll keep it in mind for the next version.
Dygear
S3 licensed
Quote from Makao :And one more thing is there any outgauge simple example? "echo RPM" would be more than enough.

I don't currently have any support for outgauge code, but I'll consider it for the next update.
Dygear
S3 licensed
Quote from Makao :I've updated my plugin, now it can display results in game, but I have problem with buttons. I can't display buttons to all. I only managed to show them to local and by UCID, when I try 255, nothing appears. Did I miss something?

Make sure the Flags for that host does not include ISF_LOCAL, or only in single player will you be able to use the InSim application, or just one your client when connected to servers.

// The ISF_LOCAL flag is important if your program creates buttons.
// It should be set if your program is not a host control system.
// If set, then buttons are created in the local button area, so
// avoiding conflict with the host buttons and allowing the user
// to switch them with SHIFT+B rather than SHIFT+I.

FGED GREDG RDFGDR GSFDG