Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Gothic 2 Online
Gothic 2 Online
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 42
    • Issues 42
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Bimbol
  • Gothic 2 OnlineGothic 2 Online
  • Issues
  • #135

Closed
Open
Opened Apr 24, 2018 by garneck@garneck

Client: Camera functions crashing the client after world change

After a player changes their world from the default one to some other one (such as OLDWORLD/OLDWORLD.ZEN into ADDON/ADDONWORLD.ZEN), using any of the functions of the Camera class crashes player's client.

I was able to recreate the issue on multiple occasions and installations of the game. After changing the world, even a simple position retrieval crashes the client and causes an exception.

At first, I have been trying to use Camera.enableMovement, but any other function generates a crash in these circumstances as well. A simple example of a test code from a command I wrote to see if any other function would work:

local pos = Camera.getPosition();
print(pos.x+" "+pos.y+" "+pos.z);

The exception seems to originate from the G2O dll, here's the dump of it:

======================================= UNHANDLED EXCEPTION OCCURED ======================================================
======================================= CRASH INFOS: =====================================================================
Gothic II - 2.6 (fix), Parser Version: 50
User:  Ja,  CPUType: 586,  Mem: 1024 MB total, 1024 MB free
Camera: Pos(-176.561584/-641.820557/-417.288422), At(0.372967452/-0.118251763/0.920278132)
Startup Options:
=============================================== CALLSTACK : ==============================================================
0023:57E1449A (0x0135F61C 0x54AC5C2E 0x00000000 0x2A0D66A0) 0.1.4.dll
0023:57E169FC (0x2A0D66A0 0x00000000 0x2A0D66A0 0x2A0D6730) 0.1.4.dll
0023:57EAD005 (0x2AF72AE0 0x00000070 0x0000000C 0x0135F728) 0.1.4.dll
0023:57EAA84F (0x08000200 0x00000003 0x01000008 0x0135F7CC) 0.1.4.dll
0023:57EAE417 (0x2712BF18 0x00000003 0x00000008 0x0135F7CC) 0.1.4.dll
0023:57E4C15C (0x00000002 0x26E4B6D0 0x0135F824 0x0135F9A8) 0.1.4.dll
0023:57E4DE98 (0x2A0D66A0 0x0135F824 0x54AC522E 0x03EC14D0) 0.1.4.dll
0023:57E4FC88 (0x54AC53BE 0x00000000 0x2A0D66A0 0x2A70A888) 0.1.4.dll
0023:57E376FF (0x57EAD005 0x2A0D66A0 0x2B8746A0 0x2A0D66A0) 0.1.4.dll
0023:57E51E1E (0x2A70A888 0x00000001 0x00000005 0x0135FABC) 0.1.4.dll
0023:57EAA84F (0x08000200 0x00000002 0x01000002 0x0135FB60) 0.1.4.dll
0023:57EAE417 (0x2712BEE8 0x00000002 0x00000002 0x0135FB60) 0.1.4.dll
0023:57E4C15C (0x00000001 0x2B53DBBC 0x0135FBB8 0x03EC14D0) 0.1.4.dll
0023:57E4DE98 (0x2A0D66A0 0x0135FBB8 0x54AC51BA 0x0000001C) 0.1.4.dll
0023:57E4FD4D (0x0000001C 0x00000001 0x006FC170 0x0135FC08) 0.1.4.dll
0023:57E3C611 (0x0000001C 0x0000001C 0x03F19470 0x00000000) 0.1.4.dll
0023:57E33502 (0x0000001C 0x0082E6F0 0x00000000 0x00425E3F) 0.1.4.dll
0023:007A55EE (0x00400000 0x03E6379B 0x0135FEC4 0x00220000) Gothic2.exe, zCInputCallback::GetInput()+46 byte(s), P:\dev\g2addon\release\ZenGin\_ulf\zView.cpp, line 210+20 byte(s)
0023:00425E3F (0x0082F0EC 0x00000000 0x000A0EC4 0x03EA0B70) Gothic2.exe, CGameManager::Run()+1551 byte(s), P:\dev\g2addon\release\Gothic\_bert\oGameManager.cpp, line 767
0023:0078188B (0x0000002C 0x00BC03D1 0x000000A8 0x00000000) Gothic2.exe, MainProg()+75 byte(s), P:\dev\g2addon\release\Gothic\_ulf\Phoenix.cpp, line 111
0023:00503270 (0x00400000 0x00000000 0x03E6379B 0x0000000A) Gothic2.exe, HandledWinMain()+928 byte(s), P:\dev\g2addon\release\ZenGin\_carsten\zWin32.cpp, line 1169
0023:00502DFD (0x0135FEC8 0x00000000 0x03E6379B 0x0000000A) Gothic2.exe, WinMain()+141 byte(s), P:\dev\g2addon\release\ZenGin\_carsten\zWin32.cpp, line 1054+17 byte(s)
0023:007D43F8 (0x00000004 0x0000FFFF 0x000000B8 0x00000000) Gothic2.exe, WinMainCRTStartup()+224 byte(s)
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: Bimbol/Gothic2Online#135