Author Topic: Server hosting modified bikes - client auto crash  (Read 508 times)

Asdrael

  • OEM Nerd
  • Hero Member
  • Sr. Member
  • *****
  • Posts: 958
    • View Profile
Server hosting modified bikes - client auto crash
« on: November 07, 2017, 07:42:50 PM »
Hey,

Been slaving trying to figure out why the OEM wouldn't allow online play.

While a bracket was indeed missing in the sfx.cfg file of the 250 OEM, it didn't fix the issue.

Note: the mods were installed in the game folder old school style (not the new mod folder in C:/Documents/Piboso/...).

Steps:
  • Configure dedicated server, from the same install folder as the client.
  • Start server with NO mods at all. Connect client --> works.
  • Start server with 1 bike I took randomly (tried RMZ450, FC350, YZF250 - untouched except for a fixed sfx.cfg when needed). Connect client --> works.
  • Start server with 2 bikes taken from the one working alone (ex: RMZ450+ FC350). Connect client --> crash.
It seems having more than 1 custom bike in the folder induces this crash. Not sure what else I can test to help now, let me know if I can do anything more.

(apologies for the server spam on the list, I was changing server name + port each time to make sure I had no conflict).

Edit: been given the advice by Vortex to clean up what I had left of "ghost" bikes and retry. On it atm.
Edit 2: references to temporary edf removed, no change. Still crashes.
« Last Edit: November 07, 2017, 08:57:34 PM by Asdrael »
Donate to me -> feed my coffee addiction -> get more mods!
OEM pack for Beta7

gokitty199

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
Re: Server hosting modified bikes - client auto crash
« Reply #1 on: November 07, 2017, 10:38:08 PM »
im having this issue as well. i try to join my own server with OEM bikes and it crashes

teeds

  • Hero Member
  • Sr. Member
  • *****
  • Posts: 766
    • View Profile
Re: Server hosting modified bikes - client auto crash
« Reply #2 on: November 08, 2017, 08:32:01 AM »
I tried with just one bike (making sure it had the brackets) loaded onto the server but it crashes just the same for me? Which bike did you get working Asdrael?
"Damn dirt bikers!" - Bubba

Asdrael

  • OEM Nerd
  • Hero Member
  • Sr. Member
  • *****
  • Posts: 958
    • View Profile
Re: Server hosting modified bikes - client auto crash
« Reply #3 on: November 08, 2017, 08:38:50 AM »
RMZ450, FC350, YZF250 on the top of my head. Might be a few more. All those loaded on a dedicated server running from the same folder as the client (so no mismatch possible).

Which one did you try? I had an issue once because the server wasn't really shutting down even after doing "Quit" (check your taskbar). Might need to nuke it with TaskManager and/or change the name of the dedi server + do a port change in the server exe shortcut parameters.

As extra: before going to bed I looked at 2 other random bikes and compared all the "text" files (bike.cfg, bike.ini, gfx, sfx, etc etc) to the stock bikes. No difference or formatting issues found. The only significant difference (not only values) were:
- tyres as I'm pointing at another directory, but this was all copy-pasted from the RMZ 450 as base (which works).
- suspensions have more settings (20 instead of 15) but all of this hasn't been touched since beta5/6. Formatting appears correct after double checking.

« Last Edit: November 08, 2017, 08:41:02 AM by Asdrael »
Donate to me -> feed my coffee addiction -> get more mods!
OEM pack for Beta7

teeds

  • Hero Member
  • Sr. Member
  • *****
  • Posts: 766
    • View Profile
Re: Server hosting modified bikes - client auto crash
« Reply #4 on: November 08, 2017, 09:19:32 AM »
I tried one of the 2003 RMs, can't remember which.

Maybe take one bike at a time from B6 (which all work oddly) make the same changes and test them one by one?
"Damn dirt bikers!" - Bubba

Asdrael

  • OEM Nerd
  • Hero Member
  • Sr. Member
  • *****
  • Posts: 958
    • View Profile
Re: Server hosting modified bikes - client auto crash
« Reply #5 on: November 08, 2017, 09:30:13 AM »
I tried one of the 2003 RMs, can't remember which.

Maybe take one bike at a time from B6 (which all work oddly) make the same changes and test them one by one?

I started doing that. But that wouldn't explain why 2 bikes work on their own, but not simultaneously... I have friday off anyway, guess I found what I'm doing.

Still bugs me a lot that all bike work offline, but as soon as you get online it starts flipping out. My guess is it's either a very thorough file conformity check for online that spots an unimportant typo (like an extra return or space, but shit I'm even using Word compare documents at that point) that I haven't caught yet, simultaneous loading of .edf that crashes when edf have the same name even in different bikes (hey I'll check that tonight!), or... dunno yet, I'll try to come up with an idea.

Posted on the GPBikes forums too to see if anyone got a similar issue.
Donate to me -> feed my coffee addiction -> get more mods!
OEM pack for Beta7

Asdrael

  • OEM Nerd
  • Hero Member
  • Sr. Member
  • *****
  • Posts: 958
    • View Profile
Re: Server hosting modified bikes - client auto crash
« Reply #6 on: November 08, 2017, 04:55:25 PM »
New report: someone with apparently a much better computer than me got up to 6 models loading at the same time (6 bikes on server, same 6 on client). But sometimes, fewer bikes crashed. And more than 6 auto crashed.

At this stage, this is starting to point at a client-related loading issue. Not sure I can do anything on my end.

@Piboso: let me know if you need a test server setup with some mods to test it out. May it have to do with not having temporary bike models anymore causing havoc in loading?
Donate to me -> feed my coffee addiction -> get more mods!
OEM pack for Beta7

Asdrael

  • OEM Nerd
  • Hero Member
  • Sr. Member
  • *****
  • Posts: 958
    • View Profile
Re: Server hosting modified bikes - client auto crash
« Reply #7 on: November 08, 2017, 05:32:42 PM »
Problem most likely found and solved.

Running the last few tests, uploading the new pack and "solution" once finalized.
Donate to me -> feed my coffee addiction -> get more mods!
OEM pack for Beta7

Heathen

  • Jr. Member
  • **
  • Posts: 64
  • Privateer
    • View Profile
Re: Server hosting modified bikes - client auto crash
« Reply #8 on: November 08, 2017, 05:48:03 PM »
Problem most likely found and solved.

Running the last few tests, uploading the new pack and "solution" once finalized.

you tha man! thanks again !
If you aint mixing Gas you aint hauling Ass ;)

тғc

  • Hero Member
  • Sr. Member
  • *****
  • Posts: 2669
    • View Profile
    • TFC's YouTube
Re: Server hosting modified bikes - client auto crash
« Reply #9 on: November 08, 2017, 05:49:59 PM »
Good job as always man.. so what was it?
Last Project Red Bud Replica

Current Project Unadilla Replica

Next Project Unknown

Buy Me a Beer

Asdrael

  • OEM Nerd
  • Hero Member
  • Sr. Member
  • *****
  • Posts: 958
    • View Profile
Re: Server hosting modified bikes - client auto crash
« Reply #10 on: November 08, 2017, 05:51:26 PM »
Let me just say that, even though it was missing a bracket, it was not my fault.
Donate to me -> feed my coffee addiction -> get more mods!
OEM pack for Beta7

тғc

  • Hero Member
  • Sr. Member
  • *****
  • Posts: 2669
    • View Profile
    • TFC's YouTube
Re: Server hosting modified bikes - client auto crash
« Reply #11 on: November 08, 2017, 05:52:29 PM »
Let me just say that, even though it was missing a bracket, it was not my fault.

Damn it Sandbiter..! Not again..
Last Project Red Bud Replica

Current Project Unadilla Replica

Next Project Unknown

Buy Me a Beer

Bj Slice

  • Hero Member
  • Sr. Member
  • *****
  • Posts: 312
    • View Profile
Re: Server hosting modified bikes - client auto crash
« Reply #12 on: November 08, 2017, 05:57:18 PM »
Problem most likely found and solved.

Running the last few tests, uploading the new pack and "solution" once finalized.

You're amazing Asdrael. Can't wait to see the OEM's in the servers again.
"Practice not until you get it right. But practice until you can never get it wrong, and make it a routine"


Sandbiter

  • Hero Member
  • Sr. Member
  • *****
  • Posts: 1198
    • View Profile
    • RK Web development
Re: Server hosting modified bikes - client auto crash
« Reply #13 on: November 08, 2017, 05:57:39 PM »

Asdrael

  • OEM Nerd
  • Hero Member
  • Sr. Member
  • *****
  • Posts: 958
    • View Profile
Re: Server hosting modified bikes - client auto crash
« Reply #14 on: November 08, 2017, 05:58:32 PM »
It's not my fault, not sandy's fault (for once), and it's not me who found the solution. Chill :p
Donate to me -> feed my coffee addiction -> get more mods!
OEM pack for Beta7