Author Topic: C++ Runtime Error?  (Read 1155 times)

Im getting a runtime error and now its annoying me just because the music list: Executing config/server/musicList.cs.
its gonna get me mad to the point were i flip. can anybody help me?



heres the log:

Testing a few things on heed's server with ~40 players. What we've done:

1) Change size of blobchunkevent from 450 to 400 (edited exe, link here if someone else wants to test);
2) Run a script to periodically un-stuck clients with the missing packet bug (this is only a hack and you need to find the actual problem)

function fastPacketFixLoop(%bool)
{
   cancel($FastPacketFixSchedule);
   $Pref::Net::FastPackets = %bool;

   if(%bool)
      $FastPacketFixSchedule = schedule(8000, 0, fastPacketFixLoop, !%bool);
   else
      $FastPacketFixSchedule = schedule(600, 0, fastPacketFixLoop, !%bool);
}

fastPacketFixLoop(true);



So far

1) people have stopped complaining about loading freezes
2) the server has stopped crashing with runtime errors

This might be getting somewhere ?!


I don't believe this applies here, from looking at the console.log.

Try removing RTB

I Cant remove rtb because i use it for administration but alright.

removed rtb. seeing if it works

I don't believe this applies here, from looking at the console.log.
Runtime errors can happen anytime but since it hasn't been fixed yet it's been very common when hosting

R6025 - use Dragon's method
Buffer overrun - try Scout's method, if it doesn't work try to find an add-on you recently installed

i removed rtb and it dosent work. it just stops at music and does nothing.

i removed rtb and it dosent work. it just stops at music and does nothing.
What does the runtime error look like

There is no error. it just sits on the loading music after i removed rtb.

There is no error. it just sits on the loading music after i removed rtb.
Do you get a "Blockland.exe has stopped working"?

alxGetWavChannels: invalid buffer

ERROR: Stereo sound detected on "musicData_Children_of_the_Grave" - Removing datablock.
BackTrace: ->ServerSettingsGui::clickLaunchGame->createServer->onServerCreated->createMusicDatablocks

alxGetWavChannels: invalid buffer

ERROR: Stereo sound detected on "musicData_Check_my_Brain" - Removing datablock.
BackTrace: ->ServerSettingsGui::clickLaunchGame->createServer->onServerCreated->createMusicDatablocks

alxGetWavChannels: invalid buffer

ERROR: Stereo sound detected on "musicData_CCDASHTakeAToke" - Removing datablock.
BackTrace: ->ServerSettingsGui::clickLaunchGame->createServer->onServerCreated->createMusicDatablocks



Children_of_the_Grave
Check_my_Brain
CCDASHTakeAToke


Try removing these.

Nvm. the game is working ever since i took rtb out, ran blockland then put it back in.

There is no error. it just sits on the loading music after i removed rtb.
This can sometimes take a while, your best bet is to just be patient.