• Welcome to PiBoSo Official Forum. Please login or sign up.
 
April 28, 2024, 06:26:25 PM

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

61
Support / .tyre file question
September 27, 2016, 07:20:55 PM
In the murasama ans 125 .tyre files there's no r_Bx3 parameter (hence it's zero), while in the varese's .tyre files r_Bx3 is explicitly set to zero.

When r_Bx3 is zero then the longitudinal force generated by the tyre does not depend on the camber angle (bike lean), even when there's a sideslip angle (and hence a lateral force generated by the tyre ). That's equation 10.E54 in Pacejka's book.

This seems strange to me, no ?

62
Support / Comments in .tyre files ?
September 25, 2016, 08:12:16 PM
@PiBoSo: is it possible to add comment line in .tyre files ? Something like:
type = bike
id = M RR 1000 03 R Qual
R0 = 0.300000
Fz0 = 1000.000000
// That's a comment !!
p_Cx1 = 1.600000
p_Dx1 = 1.800000
p_Dx2 = -0.100000
p_Kx1 = 30.000000
r_Bx1 = 14.000000


If yes, would a modified comment line cause a data mismatch online ?
63
Bug Reports / WRS bug in SessionState ?
September 22, 2016, 07:42:32 PM
@PiBoSo: in a race (standing start, no sighting lap, no warmup lap), the SessionState goes from 256 (Pre-Start) to 32 (Semaphore), but when the race starts, it doesn't go to 16 (In Progress). It works fine for KRP.

64
2 consequences:
Just in case anybody was pondering actually paying for it ...
66
Support / RaceClassification() during test sessions
September 10, 2016, 12:09:44 PM
@PiBoSo: during testing, RaceClassification() is called but the content is not updated (number of completed laps, time/best time, pit indicator etc). Is this intentional ?


67
Off Topic / Not for Hawk :)
August 24, 2016, 11:36:14 AM
68
Off Topic / Easy peasy
August 20, 2016, 01:36:08 PM
70
Plugins / Bug in RaceVehicleData() ?
July 24, 2016, 09:27:04 PM
@PiBoso: during a replay (offline or spectating live), m_iGear in SPluginsRaceVehicleData_t seems to be always zero (it works fine when on track).
71
Plugins / Bug in RaceSession() ?
July 24, 2016, 08:51:38 PM
@PiBoSo: I joined a server on which a race was already in progress. The plugin got a call to RaceSession(), but the race data had zero laps (instead of the expected 22).


@RaceSession - 24 Jul 2016, 22:37:52
  : Session = Race [2/4, State = 16]
  : Length = 0 min //  0 laps, Cond. = Cloudy [1], Air/Track temp = 22.0 / 24.8
@END RaceSession
72
@PiBoSo: in replay mode 9live/spectating and offline) the mouse pointer is shown on screen, but it cannot span the entire screen.
It seems to be constrained to a 4:3 area within the screen area (I'm on 16:9 1920x1080).

This is not a big deal as the replay buttons are all in this area (I guess not by chance), but for a plugin needing to show a mouse pointer spanning the whole screen it is a problem.
I can show my own mouse pointer and I can map the coords to span the whole screen, but I cannot hide the GPB pointer so I only have 2 bad options: 1, live with two mouse pointers, 2 livnig with only GPB mouse pointer (not spanning the whole screen).
73
@PiBoSo: it seems RaceClassification() is not called from WRS beta8 and KRP beta14 (but works fine for GPB beta8 and MXB beta4).
74
@PiBoSo: it would be very very handy to have a bool flag that shows/hide a quad/string.

If the show flag is true, then the quad/string ABGR colour (and sprite)  is honoured (i.e. is the quad/string is shown on screen as dictated by the ABGR data).
If the show flag is false, then the quad string is *not* shown on screen, no matter the ABGR data.

Without the flag one has to play with the alpha to show hide stuff, but that's messy.
75
Plugins / Bug in RaceClassification ?
June 28, 2016, 09:09:37 PM
@Piboso: we did a short test race tonight to test some plugin stuff. I think Ive found something fishy.

We were 5, we started and did a first lap: all the 5 crossed the finish line ans we stopped right after.
Here's a pretty-print of the RaceClassification data at that point (should be self explanatory to you), all good:

@RaceClassification
  : Session = Race [2/4, State = 16, Time = 145787]
  01) # 87 (0) [144209  39.93 1] [1 laps, gap = 0 (+0 laps)] 0 0
  02) # 58 (0) [144821  40.99 1] [1 laps, gap = 611 (+0 laps)] 0 0
  03) # 90 (0) [145135  41.69 1] [1 laps, gap = 925 (+0 laps)] 0 0
  04) # 17 (0) [145300  38.82 1] [1 laps, gap = 1091 (+0 laps)] 0 0
  05) # 92 (0) [145734  41.61 1] [1 laps, gap = 1525 (+0 laps)] 0 0
@END RaceClassification


The I asked two riders (87 and 90) to completed another lap and stop after crossing the finish line, while the other riders didn't move.
At that point the 3 other riders are essentially lapped, but as they haven't yet crossed the finish line again, their gap laps are not updated (still 0):

@RaceClassification
  : Session = Race [2/4, State = 16, Time = 278627]
  01) # 87 (0) [133822  68.43 2] [2 laps, gap = 0 (+0 laps)] 0 0
  02) # 90 (0) [133431  53.84 2] [2 laps, gap = 534 (+0 laps)] 0 0
  03) # 58 (0) [144821  40.99 1] [1 laps, gap = 611 (+0 laps)] 0 0
  04) # 17 (0) [145300  38.82 1] [1 laps, gap = 1091 (+0 laps)] 0 0
  05) # 92 (0) [145734  41.61 1] [1 laps, gap = 1525 (+0 laps)] 0 0
@END RaceClassification


Now form there, all the 5 riders completed another lap, crossed the finish ine and stopped there.
And here's the weird stuff:

@RaceClassification
  : Session = Race [2/4, State = 16, Time = 463007]
  01) # 87 (0) [133822  68.43 2] [3 laps, gap = 0 (+0 laps)] 0 0
  02) # 90 (0) [133431  53.84 2] [3 laps, gap = 818 (+0 laps)] 0 0
  03) # 17 (0) [145300  38.82 1] [2 laps, gap = 184066 (+0 laps)] 0 0
  04) # 58 (0) [144821  40.99 1] [2 laps, gap = 184503 (+0 laps)] 0 0
  05) # 92 (0) [145734  41.61 1] [2 laps, gap = 184908 (+0 laps)] 0 0
@END RaceClassification


As you can see above, the 3 "other riders" (17, 58 and 92) are lapped but their gap laps are still at zero.
Their gap time however is "somehow correct', in the sense it's more than one lap.

It seems to me there's something wrong in the counting of m_iGapLaps: it looks like m_iGapLaps is 1 only when the difference between te laps made by the leader and the laps made by the "other" rider is 2. Example here below: from the previous situation, all the riders did another lap; when the 1st rider crosses the finish line and the others have not yet crossed it, I get:

@RaceClassification
  : Session = Race [2/4, State = 16, Time = 630047]
  01) # 90 (0) [133431  53.84 2] [4 laps, gap = 0 (+0 laps)] 0 0
  02) # 87 (0) [133822  68.43 2] [3 laps, gap = 0 (+0 laps)] 0 0
  03) # 17 (0) [145300  38.82 1] [2 laps, gap = 0 (+1 laps)] 0 0
  04) # 58 (0) [144821  40.99 1] [2 laps, gap = 0 (+1 laps)] 0 0
  05) # 92 (2) [145734  41.61 1] [2 laps, gap = 0 (+1 laps)] 0 1
@END RaceClassification


So now riders 17 and 58 (92 was in the pit by then) are shown with a 1 lap gap, but that's just because the haven;t yet crossed the line, as soon as they do we get:

@RaceClassification
  : Session = Race [2/4, State = 16, Time = 633587]
  01) # 90 (0) [133431  53.84 2] [4 laps, gap = 0 (+0 laps)] 0 0
  02) # 87 (0) [133822  68.43 2] [4 laps, gap = 289 (+0 laps)] 0 0
  03) # 58 (0) [144821  40.99 1] [3 laps, gap = 173918 (+0 laps)] 0 0
  04) # 17 (0) [145300  38.82 1] [3 laps, gap = 175426 (+0 laps)] 0 0
  05) # 92 (2) [145734  41.61 1] [2 laps, gap = 0 (+1 laps)] 0 1
@END RaceClassification



76
Plugins / Online session to test plugin stuff
June 25, 2016, 08:58:21 PM
Would it be possible to have an online session with a few players next Tue or Wed (28/29 June) ?
What's needed:

  • A server with a few players with admin password (to quickly switch between practice/quali/race etc).
  • Don't care about which bikes.
  • A short track (e.g. snetterton): that will save time.
  • 10min practice, 10min quali, 10 laps race (no sighting or warmup lap).
  • A lot of patience for the guys joining :)
77
[Mostly for PiBoSo]

Playing around with RaceData stuff, the more I think about it the more I'm convinced the current data organization is not so good.
We have 3 "high-frequency" callbacks with their respective data structures: RaceClassification, RaceTrackPosition and RaceVehicleData.

It would be much handier if these 3 were actually a single one. Example: when drawing the track map with a dot for each vehicle you may want to color-code the dots to indicate the race leader and/or vehicles already lapped (or being lapped). But to do so you need the classification data.

A simple, single callback could have a single vector of data structure containing everything: the vector would be sorted as the current standings and each element could contain all the data, i.e. standings data (gaps), position data and vehicle data (plus an index to indicate which is the current vehicle being driven or spectated).

I'm not 100% sure about the RaceVehicleData: does a client receive RaceVehicleData for all the other vehicles ? But even if it's not the case, you can have the single vehicle data in the overall data
structure. It would be at the same time simpler (1 callback instead of 3) and much more practical to use.


78
Off Topic / Brexit or not ?
June 20, 2016, 10:38:16 PM
Cast your vote :)

I hope for a leave but I'd bet on the stay.
79
Off Topic / TT 2016 is over and ...
June 13, 2016, 01:05:39 PM
Am I wrong or:

  • The RCV dind't do too bad (5th) for a 1st appearance
  • The Suter didn't exactly blow the 4 strokes into orbit (34th, lapped)
  • The death toll ... well, 4 more down :(

I hadn't checked the stats before, probably out of fear, but now I have: since 1911, 252 deaths (counting only competitors), 29 in the last 10 years (from 2007). It's almost a freakin' 3 per year !!

Out of the 252 total, 202 are from the UK (plus 17 from Isle of Man and 6 from Ireland).

Madness.