• Welcome to PiBoSo Official Forum. Please login or sign up.
 
March 29, 2024, 03:23:36 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.

Messages - PiBoSo

1997
General Discussion / Re: Daily development
November 13, 2017, 11:31:19 PM

* GPB / WRS / KRP / MXB: further optimization of the online memory usage

* GPB / WRS / KRP / MXB: greatly reduced the connection lag

* MXB: misc fixes


http://www.youtube.com/v/TH6r0GtuKMA
1998
Quote from: matty0l215 on November 11, 2017, 05:57:56 PM
But seriously, MXB has the Trainer so why can't it be implimented in to GPB?

The trainer in KRP and MXB was a little "wink" to the commercial side ( unfortunately MXB has other compromises, but I'm not going to discuss them ).
I'd like to keep GPB and WRS as close to my simulator "vision" as possible.
Nonetheless, I'm becoming less and less adamant about the "no-ghost" policy, and the opinion of hardcore simmers like uberslub is very interesting.
1999
General Discussion / Re: Daily development
November 12, 2017, 11:46:26 PM

* WRS: porting of the latest features continues


http://www.youtube.com/v/QQBSeclvMV8
2000
General Discussion / Re: Daily development
November 11, 2017, 11:27:39 PM

* WRS: porting of the latest features continues


http://www.youtube.com/v/DKxZY0DIxIk
2001
Quote from: Napalm Nick on November 11, 2017, 11:11:42 PM
But its not online crashes with Mod bikes that are the problem - its the dropping to track/dsq problem that's been fed back since B12 came out making online races a farce - a problem introduced with the latest Beta.

You know that one right ?  ??? :-\ :'(

TFC is talking about MXB.
2002
Quote from: TheFatController on November 11, 2017, 10:39:00 PM
Definitely good news!

I understand other sims need releases and MXB is at the back of the queue, but would it be possible to push a hotfix for the multiplayer, like a beta 7.1 or 7a? It would go a long way to securing some of the new community we've inherited recently.

Not sure it would be worth releasing a patch with one fix only, that doesn't guarantee to solve the online crashes with mod bikes  :-\
2003
Quote from: HornetMaX on November 11, 2017, 06:50:33 PM
Quote from: PiBoSo on November 11, 2017, 12:51:16 AM
The fix was successful. MX Bikes' online memory usage dropped 570MB with two mod bikes.
That's spectacular.

Only because it was spectacularly bad before  :-[
2004
It would be interesting to know from you, who just a few days ago wrote: "Eliminate Third Person View - It's a simulator, not a game... ", why the ghost rider is acceptable in GP Bikes.
2005
Documentation / Live Timing
November 11, 2017, 04:19:59 PM
It is possible to connect to a dedicated server to receive live race data.
The feature is off by default and must be enabled:
https://forum.piboso.com/index.php?topic=26.0
Only 1 client can connect to the server.

Communication is made with UDP sockets and strings terminated with "\n".

Send "CONNECT" followed by the connection password ( empty string if no password ).
Reply:
OK -> connected
FULL -> another client is already connected
WRONGPASSWORD -> wrong password

Send "START", followed by two parameter strings to start receiving data.
First parameter: "0" or "1". If set to "1", the track centerline and the track position of the bikes are sent, too.
Second Parameter: "0", "1" or "2". If set to "1", contacts between bikes are sent. If set to "2", then contacts with walls are sent, too.

Data format is "MSG" followed by the message ID and then a stream of strings.
Send "ACK" followed by the message ID after each MSG.

Send "KEEPALIVE" every 15 seconds to keep the connection active.
The server sends "ALIVE" to report that the connection is active.

Send "DISCONNECT" to correctly close the connection.

Example source code can be downloaded at this link: http://www.kartracing-pro.com/downloads/livetiming.c

Messages data format

EVENT
Type
- TESTINGDAY
- RACE
Name
Track
Track Length ( meters )
Allowed Categories and Bikes
Empty string

ENTRY
Race Number
Name
Bike Name
Bike Short Name
Categories
GUID
Extra Data
Empty string

ENTRYREMOVE
Race Number
Empty string

Testing Day:
SESSION
Session
- WAITING
- TESTINGDAY
State
Length
Empty string

Race:
SESSION
Session
- WAITING
- PRACTICE
- QUALIFY
- WARMUP
- RACE
State
if session = practice ( PRACTICE, QUALIFY, WARMUP )
- INPROGRESS
- COMPLETE
else if session = race ( RACE )
- SIGHTINGLAP
- WARMUPLAP
- PRESTART
- STARTSEQUENCE
- INPROGRESS
- RACEOVER
- COMPLETE
endif
Length ( minutes if practice, laps if race )
Empty string

WEATHER
Conditions
- CLEAR
- CLOUDY
- RAINY
Air Temperature
Ground Temperature
Empty string

DRIVERSTATUS
Race Number
State
- DNS
- RET
- DSQ
Reason ( empty if state is not DSQ )
- JUMPSTART
- TOOMANYOFFENCES
- DRIVETHROUGHNOTCLEARED
- DIRECTOR
Empty string

BESTLAP
Race Number
Session Time ( milliseconds )
Lap Time ( milliseconds )
Lap Number
Split 1 ( milliseconds )
Split 2 ( milliseconds )
Split 3 ( milliseconds )
Speed Trap ( meters/s )
Empty string

LASTLAP
Race Number
Session Time ( milliseconds )
Lap Time ( milliseconds )
Lap Number
Split 1 ( milliseconds )
Split 2 ( milliseconds )
Split 3 ( milliseconds )
Speed Trap ( meters/s )
Empty string

PENALTY
Race Number
Penalty Number
Type
- TIME
- DRIVETHROUGH
if type = TIME
Penalty Time ( seconds )
endif
Offence
- JUMPSTART
- PITLANESPEEDING
- CUTTING
Empty string

PENALTYCLEAR
Race Number
Penalty Number
Empty string

PENALTYCHANGE
Race Number
Penalty Number
Penalty Time
Empty string

LAP
Race Number
Lap Invalid
Session Time ( milliseconds )
Lap Time ( milliseconds )
Split 1 ( milliseconds )
Split 2 ( milliseconds )
Split 3 ( milliseconds )
Speed Trap ( meters/s )
Empty string

SPLIT
Race Number
Split Number
Split Time ( milliseconds )
Empty string

SPEED
Race Number
Speed Trap ( meters/s )
Empty string

CLASSIFICATION
Session
Status
Session Timer ( milliseconds )
Session Length ( minutes )
Session Lap
Number of Laps
Classification Type ( 0 -> none; 1 -> practice; 2 -> race )
if "Classification Type" is 1 or 2
Start Entry
Number of Entries
for each entry:
Race Number
if "Classification Type" is 1 ( practice, qualify, warmup )
Best Lap ( milliseconds )
Lap Number
Total Laps
Gap ( milliseconds, -- if zero )
Speed Trap ( meters/s )
else
Race Time ( milliseconds ) or Status
- DNS
- DSQ
Lap Number
Gap ( milliseconds or L if lapped )
endelse
Bike Status
- TRK: on track
- PIT: in the pits
endfor
endif
Empty string after the last entry

TRACKDATA
Start / Finish Longitudinal Position
Split 1 Longitudinal Position
Split 2 Longitudinal Position
Split 3 Longitudinal Position
Speed Trap Longitudinal Position
Number of Segments
Empty string

Always sent after TRACKDATA:
TRACKSEGMENT
Segment Number
Type ( 0 = straight, 1 = curve )
Length ( meters )
Radius ( meters )
Angle ( degrees )
Start Position X ( meters )
Start Position z ( meters )
Height ( meters )
Empty string

TRACKPOSITION
for each entry on track:
Race Number
Position X ( meters )
Position Y ( meters )
Position Z ( meters )
endfor
Empty string after the last entry

CONTACT
Time ( milliseconds )
Race Number 1 ( -1 for a wall )
Race Number 2 ( -1 for a wall )
Relative Impact Velocity ( meters/s )
Empty string

END
Empty string
2006
Quote from: Alby46 on November 11, 2017, 02:04:36 PM
What about krp? Is it finished or does it still need tweaks?

Finished?

2007
Quote from: doubledragoncc on November 11, 2017, 11:03:09 AM
So are we looking at no more online racing for another 6 months or so as it is killing GPB as it is right now?.

Please note that a lot of time passed between Beta11 and Beta12 because of the release of Kart Racing Pro on Steam, and because of substantial engine code refactoring.
After the upcoming WRS update, the releases cycle should be a lot shorter.
2008
Quote from: doubledragoncc on November 11, 2017, 08:42:41 AM
That sounds great for MXB, but all about MXB is better than GPB so how much did GPB usage drop please? Quoting MXB facts in a GPB forum dont give us an answer about GPB by the way.

We understand about the update for WRS, unfortunately it means NO online racing in GPB until when you decide to give us the fix and MANY are VERY unhappy with GPB for this right now.

A prudent move would be a memory usage patch for ALL games if possible I think WRS guys would agree too.

DD

To be honest, haven't tested GP Bikes in a while. Sadly, GPB is now third in the update line: WRS -> KRP -> GPB -> MXB
Apologies for the multiplayer problems. A new build will be published as soon as possible  :-[

P.S.
This is the "PiBoSo Official Forum", so no harm in occasionally discussing projects that are not GPB :)
2009

The fix was successful. MX Bikes' online memory usage dropped 570MB with two mod bikes.

However, please wait until WRS is updated. The latest build was 9 months ago  :'(
2010
General Discussion / Re: Daily development
November 10, 2017, 11:44:35 PM

*WRS: porting of all the latest features


http://www.youtube.com/v/oAoliCapF8g