aitorzip / DeepGTAV

A plugin for GTAV that transforms it into a vision-based self-driving car research environment.
GNU General Public License v3.0
1.11k stars 275 forks source link

Scripthook v1.0.1180.2 game crash #71

Closed frmsvrt closed 7 years ago

frmsvrt commented 7 years ago

It seems game crash every time when i trying connect to the server with new scripthook v1.0.1180.2 update, with error by: scripthook V -- critical error: fatal can't find native 0x80E4A6EDDB0BE8D9 I've tried use older one build, but there is no changes. Any suggestions?

dominikandreas commented 7 years ago

Other users at http://gtaforums.com/topic/788343-script-hook-v/page-218 have posted the same issue. Seems LOAD_ALL_PATH_NODES has been removed in the latest update. One user suggests using this function instead which is supposedly the same: http://www.dev-c.com/nativedb/func/info/f7b79a50b905a30d

frmsvrt commented 7 years ago

Ok, seems there will be a lot of changes in future. Close this issue.

dominikandreas commented 7 years ago

Why close it if the issue isn't fixed? I'd keep it open until someone fixed it in the code. That way other users can know which parts of the code can fail and don't open redundant issues

frmsvrt commented 7 years ago

Your truth! Reopen it. Remove LOAD_ALL_PATH_NODES from the code, but still get an error, for now it goes from dct = json.loads(jsonstr) in VPilot/deepgtav/client.py while receive messages from server.

aitorzip commented 7 years ago

It seems that this new update breaks the whole Reward functionality. Try to remove the reward field from the list of fields in the VPilot dataset message. Hopefully that will workaround the issue until I fix it.

IanKirwan commented 7 years ago

@frmsvrt could you post up the mods you did to remove LOAD_ALL_PATH_NODES? I'll try the mod to Vpilot suggested by ai-tor.

IanKirwan commented 7 years ago

Hi @ai-tor I'm not all that familiar with Github. Just wondering if there is a way to do 'releases' so that folks with working GTAV 1.1103.1 versions can access that code, and the mods to make it work with 1.1180.1 can carry on in the 'trunk' code.

aitorzip commented 7 years ago

@IanKirwan Yes, to keep releases is something I definitely want to do.

I also let you know that the compatibility with the last GTAV version has now been fixed and so I close the issue. :)