• Welcome to PiBoSo Official Forum. Please login or sign up.
 
May 14, 2024, 11:08:37 PM

News:

World Racing Series beta14 available! :)


Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - HornetMaX

101
Plugins / I've just lost 8 hours of my life ...
March 23, 2016, 10:06:30 PM
... thanks to a KRP bug/flaw/weirdness  >:(

In an output plugin, some of the "callbacks" (exported dll functions) are marked as optional in the documentation/plugin example. All fine up to here.

The problem that fucked me without lube for 8 hours is that GPB, WRS and MXB all work fine even if any of EventInit(), RunStart(), RunStop() and RunDeInit() are missing from the plugin, even if they are not amrked as optional. KRP however, crashes if any of the 4 functions is missing (when going to track, going to track, pausing and going back to pits, respectively).

So I had some plugin code that was perfectly working for GPB, WRS and MXB, and crashing for some unfuckingknown reason in KRP.

Timeline of events:

That's me yesterday evening at 21h00, whe problem started:


That's me yesterday evening, at 22h00:


That's me yesterday evening at 23h30 (you see two of me, it's just a side effect of the rage raising to uberhuman levels):


That's me today at 02h45 in the morning, when I finally decided that having to wake up at 6h30, wake up the kids, prepare them breakfast, wash them, dress them, bring them to school, go to work, escape at lunchtime to discuss a loan with my banker, get back to work, escape at 17h30 to fetch the kids, give them a shower, prepare dinner, watch half of Star Wars 6 with them and put them to bed, ... well, getting only 3h45 of sleep could become an issue:


That's me today, at 20h00 (when I started again to work on the thing):


That's me today, at 22h00 when, in total despair, I tried something totally dumb that gave me a hint of a glimpse of a small idea of a potential issue:


And that's me at 22h30, when I finally got the confirmation of the issue:


I can't find an appropriate animated GIF to describe the reaction that kicked in after the euphoria of finding the issue, so I'll leave t at that.

@PiBoSo: it would be nice to fix the inconsistency between KRP and the other sims and maybe to make it more explicit in the doc/example which functions are really mandatory.

102
Plugins / m_fAccelerationX / Y / Z
March 22, 2016, 11:11:16 PM
@Piboso: in the telemetry data (SPluginsBikeData_t), the CoG accelerations are described as "local to chassis rotation".
From what I see in-game (for a rider sitting on a bike):

  • X is right
  • Y is up
  • Z is backward

That's unusual, no ? Can you confirm ?
104
Support / Nvidia shadowplay working for you in GPB ?
March 16, 2016, 11:26:44 PM
Hi all,

pissed off by AMD drivers, I ditched my 7950 for a GTX 970. Question: is Shadowplay working for you in GPB/MXB/KRP/WRS ?
It isn't for me (while it works in other games).

MaX.
105
OK, OK, it's not a simulator ...
OK, OK, it's Microsoft ...
OK, OK, it's in the Windows Store ( ::) ) ...
OK, OK, you'll need a quad-sli of 980ti ...

But still, free to play and bloody-holy-beany-mary, those visuals (on Youtube, up to 2160p !!) ...

http://techreport.com/news/29796/forza-motorsport-6-apex-coming-to-the-pc-as-a-free-to-play-title

https://www.youtube.com/v/w8xREfr1YuA
106
@PiBoSo: in GPB and WRS SPluginsRaceCommunication_t there's m_iIndex, but it is not there in the same structure of KRP (OK, that may be just because KRP is lagging behind) nor MXB (and that's strange, as MXB is the most recent).

By the way, I have no idea what m_iIndex is.
107
Suggestions and wishlist / Quads with sprites
February 29, 2016, 02:27:41 PM
@PiBoSo: one cool thing to have for plugins is the ability to have quads with sprites being affected by the color, both in terms of color and alpha.

In the video below, look at the radar cross: it's a simple .png and one can programmatically change its transparency (make it disappear, fading in and out).
Also, when a car gets in the "dangerous zone", there's another sprite that appears on the left or right, and its color can be changed programmatically (from yellow to orange).

I guess that in both cases, the sprites are just images with stuff drawn in white over a transparent background and the alpha specified in the code (or the color component specified in the code) just "multiplies" the one of the .png/.tga

https://www.youtube.com/v/v0EdqeHXLI0

Example: sprite is fully white and opaque (ABGR = [255, 255, 255, 255]), I create a quad with that sprite and color [128, 0, 0, 255].
--> What will be shown on screen is fully red and half transparent.

Let me know if I didn't explain this clearly enough, I'm not 100% sure :)
108
Bug Reports / Beta 8 - Strange garage bug
February 20, 2016, 10:14:37 PM
I'm 99% sure I had something similar in the past (beta7). Better to watch the video full screen.

Start, Testing, go to garage:

  • I can't switch from the currently selected setup ("def+soft+tr") to anothe rone ("S001"). But I can switch to anothe rone ("S002"). Weird.
  • Once I can select "S001", I change some parameters (swing arm pivot and length, from 2 and 1 to both 0), save.
  • Now I can't switch to setup "S002", but I can switch to "def+soft+tr".
  • When I finally can switch back to S001, the swing arm params are back to their original values (1 and 2) instead of 0 and 0..

https://www.youtube.com/v/sPFUkd8KJsU
109
Off Topic / Citizenfour
February 07, 2016, 10:57:19 PM
Just saw it (http://www.imdb.com/title/tt4044364/), what's described is pretty scary.
I know it's old news but seeing it told by the ones that were really involved (Snowden, the director and 2 journalists) really gives it a definite extra chilling power.

Side note: I've been thinking for years that the US are essentially a country gone bad (personal opinion, I understand many will disagree), so I had no big surprise there.
But the surprise (sort of) is that the UK is really really following suite there, even taking the lead in some aspects. If you are in the UK, you definitely want to have a look (unless you're already up to date with the details of the story). Serious stuff going on, very.
111
Bug Reports / Flip
January 02, 2016, 08:46:08 PM
I thikn this is an already known bug, but it's kind of a scary one ... looks like something wrong with the quaternions ...

https://www.youtube.com/v/XOKPHSRXyjY

I have the replay, if needed.
112
Off Topic / GPB v1 bet: happy ending
January 02, 2016, 01:05:12 PM
Well, not as happy as v1 being out but ...

For the one that don't remember/were not on the forum at the time, beginning of Aug 2015 I proposed a crazy bet on GPB v1 release date: I said that I was ready to take bets 5 to 1 about GPB v1 not being released before. More explicitly, I was ready to put 10E on the table and lose them if GPB v1 was released before 1 Jan 2016, but win 50E if not. The bet was essentially a joke, as the odds were just insane; I was pretty sure nobody would take. But then, that's without factoring in the effects of alcohol on UK residents: matty0l215 took the bet. So I sent him 10E at the time.

As miracles happen, but only rarely, matty0l215 lost the bet.

The happy ending is *not* that I won the 50E of course: stealing candies from (not so sober) baby is not funny :)

The happy ending is that matty and I agreed to donate the money of the bet to a charity (http://worldcancerresearch.org/). Matty actually went the extra mile, donating 50GPB (which is substantially more than 50E).

<Sarcastic mode ON>
If we had done this on a larger scale for all the past GPB betas, cancer would probably be history by now :)
<Sarcastic mode OFF>
113
Off Topic / Axial engine
December 10, 2015, 09:33:46 AM
So it's not only rugby those kiwis are good at :)

http://www.motorcyclistonline.com/duke-axial-prototype-engine-ultimate-motorcycle-engine-design-concepts-to-speed-motorcyclist?image=0

https://rideapart.com/articles/duke-axial-motorcycle-engine

https://www.youtube.com/v/c19kn3drdFU

On their website (http://www.dukeengines.com/) they have a video of the engine revving up with a coin balancing on top of the engine: zero vibrations, impressive.
114
Support / Anti-aliasing settings
December 08, 2015, 10:51:21 PM
I usually run GPB with all graphics settings maxed out at 1920x1080 @ 120Hz. I've just stumbled on something that surprises me: the two images below are taken with anti-aliasing at 0x (off) and at 16x (you can click in the images to download full size to check the differences full-screen).

   

The differences are tiny and definitely not where I was expecting them. Am I missing something ?

I have an AMD card and I haven't created a dedicated profile in Catalyst (so for example, AA is set to "Use application settings").
115
General Discussion / Houston ...
December 07, 2015, 07:52:51 AM
 ... we have the single most important news on GPB in the last what, 4 years ?

Quote from: PiBoSo on December 07, 2015, 12:07:35 AM

  • GPB / WRS / KRP / MXB: added debug code to detect heap memory corruption

Thanks !
116
Off Topic / DriveClub Bikes
December 05, 2015, 01:51:06 PM
We won't discuss the physics (reason being, there's nothing to discuss), but visually ... especially the 2nd half of the video.

https://www.youtube.com/v/zIuZRANWmbo

And wait: it's a bloody PS4 !! Right, a PS4, with a GPU roughly equivalent to an AMD 7870 ...

P.S.
Thx Juju for the video.
117
Suggestions and wishlist / Drawdistance
November 29, 2015, 08:13:34 PM
In-game it has 3 possible values (low/med/high). At high it corresponds to 1000.0 (m, likely) which is not enough for many tracks (e.g. aragon, spa, ...).
We can edit the profile.ini and change it manully (I usually put it at 100000.0) but as soon as in-game we go into the settings screen, the value is overridden. Very annoying.

Simple solution: have high correspond to much more than 1000.0 (100000.0 would do it).
118
@PiBoSo, applicable to all sims:

  • In SPluginsRaceTrackPosition_t, it would be nice to have the vehicle's f_Pos on the track (0..1) on top of the X/Y/Z position.
  • It would be nice to have the current setup details passed to the plugins (in RunInit, likely). Maybe instead of classical "binary" format (a C struct), you could go for a more flexible format with 2 strings for each setting, like: [("Fuel", "8L"), ("FrontTyre", "Soft"), ... ]. Not the most compact, but could be a bit easier to handle.
120
@Piboso: a few questions raised by a discussion on some gearbox "weirdness" (couple of videos here and here)

  • Varese, no shift help: 4th gear (example), coasting with throttle shut, pull the clutch fully, use enough rear brake --> impossible to up/down shift. Why ? I think it's a bug.
  • Any bike with no shifter: why we can shift down without using the clutch ?
  • Any bike with no shifter: why we can shift up without using the clutch and/or lifting the throttle ?
  • Murasama 990, no shift help: why when we shift down it automatically flicks the clutch and blips the throttle ?