Coder Social home page Coder Social logo

Game crash on connect about emptyepsilon HOT 5 CLOSED

daid avatar daid commented on July 4, 2024
Game crash on connect

from emptyepsilon.

Comments (5)

nallath avatar nallath commented on July 4, 2024

I don't think we've ever tried playing it over the interwebs. We usually just play over a local network.

from emptyepsilon.

daid avatar daid commented on July 4, 2024

We haven't tried, but there is not a real reason why it should not work. Might be the same crash as daid/SeriousProton#6

from emptyepsilon.

kwadroke avatar kwadroke commented on July 4, 2024

Crash Report from 2015.11.13 build: (ran twice)
https://gist.github.com/kwadroke/dd5ebf388f99daa6bc79

This RPT is from a computer running Windows 8.1 32bit on Intel Atom with Intel HD Graphics card.

I have noticed if you quickly click connect when the server appears, sometimes you can connect without crashing.

from emptyepsilon.

daid avatar daid commented on July 4, 2024

FYI, the intresting part of the crash file is:

004EEDCF 3C8F81E9 063B1CA0 0023FB58  EmptyEpsilon.exe!getSystemEffectiveness  [/home/daid/ee/EmptyEpsilon/src/spaceObjects/spaceship.cpp @ 924]
00501A17 3C8F81E9 0067875C 00677FEC  EmptyEpsilon.exe!update  [/home/daid/ee/EmptyEpsilon/src/spaceObjects/cpuShip.cpp @ 70]
00596B02 00000001 06394194 0023FDC4  EmptyEpsilon.exe!runMainLoop  [/home/daid/ee/SeriousProton/src/engine.cpp @ 139]
00638B66 056181A8 00000032 00000001  EmptyEpsilon.exe!main  [/home/daid/ee/EmptyEpsilon/src/main.cpp @ 229]
004013E0 7FFDB000 74E84170 0D731E29  EmptyEpsilon.exe!__tmainCRTStartup  [/build/buildd/mingw-w64-3.1.0/build/i686-w64-mingw32-i686-w64-mingw32-crt/../../mingw-w64-crt/crt/crtexe.c @ 332]
74E84198 7FFDB000 2F451DAD 00000000  KERNEL32.DLL!@BaseThreadInitThunk@12
770332D1 FFFFFFFF 7705F08F 00000000  ntdll.dll!__RtlUserThreadStart
7703329F 004014E0 7FFDB000 00000000  ntdll.dll!__RtlUserThreadStart@8

As well as:

EmptyEpsilon.exe caused an Access Violation at location 004EEDCF in module EmptyEpsilon.exe Reading from location 000002D5.

What it says, is the function "getSystemEffectiveness" on the line "if (gameGlobalInfo->use_system_damage)" is accessing memory that it is not allowed to access. Namely, address "000002D5", which is close to 0. Meaning that "gameGlobalInfo" is not yet set.

Which, now that I think of it, makes total sense. The "gameGlobalInfo" object is send from the server to the client, but ships can be send before this. If there is a large came world, and the network connection is a bit slow. Then ships could be on the clients before the game state is complete, causing this crash. Which also explains why it only happens when there is a scenario selected already.

The fix is also easy!

from emptyepsilon.

daid avatar daid commented on July 4, 2024

Many thanks!

from emptyepsilon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.