[HELP] The game crash If player dead and prepare item to join server again

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Enthusiast 3v0luti0n is offline
    MemberRank
    Oct 2013 Join Date
    38Posts

    [HELP] The game crash If player dead and prepare item to join server again

    Help If you have met before.
    my src is crash. hmm, player1 is shot player2 dead , player2 disconnect to front and prepare item and join a server. crash game
    but player 2 not prepare item not crash.
    no reason in r3dlog and logs
    base on untoch V3

    Code:
    --- Log started at Mon Jan 30 00:49:01 2017
    000000.077| Checking for D3D11
    000000.104| Game Version: Infestation: Survivor Stories v0.0.0  (build: Jan 29 2017 21:01:13) - final
    000000.104| Available memory: 8143 MB
    000000.139| r3dFS: version:January 29, 2017 17:27, 45424 files
    000000.323| r3dFile: can't open local.ini
    000000.323| Can't open file "local.ini"
    000000.323| readGameOptionsFile: found INI at C:\Users\User\Documents\Arktos\WarZ\gameSettings.ini
    000000.324| r3dFile: can't open local.ini
    000000.324| Can't open file "local.ini"
    000000.324| writeGameOptionsFile: Saving settings to C:\Users\User\Documents\Arktos\WarZ\gameSettings.ini
    000000.334| readInputMap: found file at C:\Users\User\Documents\Arktos\WarZ\inputMap.xml
    000000.334| writeInputMap: Saving settings to C:\Users\User\Documents\Arktos\WarZ\inputMap.xml
    000000.339| userSettings: found file at C:\Users\User\Documents\Arktos\WarZ\userSettings.xml
    000000.339| userSettings: Saving settings to C:\Users\User\Documents\Arktos\WarZ\userSettings.xml
    000000.340| SOUND: initializing sound system
    000000.357| SOUND: '2' sound drivers found
    000000.358| SOUND: sound caps = 0xF8, speakermode= 2
    000000.358| SOUND: sound driver 'Speakers (Realtek High Definition Audio)'
    000000.370| SOUND: sound system ready
    000000.370| FMOD: LoadSoundEffects: Loading from Data\Sounds\Sounds.fev
    000001.444| Starting voice
    000001.444|  VoipLog:[4] 2017-01-29 17:49:03.309134|INFO    |              |   |TeamSpeak 3 Client 3.0.3.2 (2015-06-10 10:47:37) SDK
    000001.444|  VoipLog:[4] 2017-01-29 17:49:03.309134|INFO    |              |   |SystemInformation: Windows 8 (9200) x64 (AMD or Intel) Binary: 32bit
    000001.450|  VoipLog:[3] 2017-01-29 17:49:03.315137|DEBUG   |Direct Sound  |   |setting timer resolution to 1ms
    000001.465|  Playback device: Speakers (Realtek High Definition Audio) (default)
    000001.465|  Playback device: Realtek Digital Output (Realtek High Definition Audio) 
    000001.465|  Capture device: Microphone (Realtek High Definition Audio) (default)
    000001.470| Input Devices enabled: Mouse, Keyboard
    000001.494| VMEM As seen through DDRaw: 1970
    000001.494| VMEM As seen through WMI: 0
    000001.494| Setting mode:  1920x1080x32 Flags=0
    000001.512| NVApi successfuly initialized.
    000001.512| NVApi: stereo is not available. Stereo driver not installed?
    000001.512|  Adapter: NVIDIA GeForce GTX 950
    000001.512|   nvd3dum.dll 10.18.13.5569
    000001.512|  Monitor: \\.\DISPLAY1 (1920x1080)
    000001.516|  r3dRenderLayer::SetMode(x=1920,y=1080,bpp=32,windowed=0,hz=60)
    000001.521|  Creating d3d device
    000001.604|  NVApi: failed to create stereo handle!
    000001.604|  GPU supports D3DQUERYTYPE_TIMESTAMP
    000001.604|  GPU supports D3DQUERYTYPE_TIMESTAMPFREQ
    000001.604|  D3D hack support = NullRT: 1, hwPCF: 1, IntZ: 1, ResZ: 0
    000001.605|  We have 4079 MB texture memory
    000001.637|  r3dFont: Creating Verdana 10pt
    000001.638|  r3dFont: Finished creating Verdana 10pt
    000001.639| Loading shaders...
    000002.113| Finished loading shaders (0.473894 sec)!
    000002.113| Started background thread: 3064
    000002.144| Creating dynamic buffer of size 1.00 MB
    000002.145| Creating dynamic buffer of size 0.09 MB
    000002.151| Creating dynamic buffer of size 0.15 MB
    000002.151| r3dFont: Creating Tahoma 12pt
    000002.155| r3dFont: Finished creating Tahoma 12pt
    000002.155| r3dFont: Creating Verdana 10pt
    000002.155| r3dFont: Finished creating Verdana 10pt
    000002.239| Creating render targets
    000002.239| CreateDynamicEnvMap: creating of size 512x512x6000002.244| r3dFont: Creating Verdana 8pt
    000002.245| r3dFile: can't open data/fonts/verdana_8_0.tga
    000002.250| r3dFont: Finished creating Verdana 8pt
    000002.320| Loaded 12 of 12 grass settings locations from the glist file
    000002.321| Loaded 12 grass settings files
    000002.322| Trying to load an ammo 'smoke_grenade_blue' that is already loaded!000002.322| Trying to load an ammo 'smoke_grenade_green' that is already loaded!000002.322| Trying to load an ammo 'smoke_grenade_orange' that is already loaded!000002.322| Trying to load an ammo 'smoke_grenade_red' that is already loaded!000002.322| Trying to load an ammo 'smoke_grenade_white' that is already loaded!000002.463| WEAPON ERROR: M202 Flash  trying to load non existent sound event Sounds/Weapons/SUPPORT/SUP_Generic_Shot_single
    000004.736| SetHomeDir: Levels\WZ_FrontEndLighting
    000004.736| We have 3802 MB texture memory
    000006.033| r3dFile: can't open Levels\WZ_FrontEndLighting/wind.cfg
    000006.033| Loading 'Levels\WZ_FrontEndLighting/LevelSettings.xml'
    000006.038| r3dFile: can't open data/shaders/texture/cclut3d/cameradrone.dds
    000006.039| Loading sky texture: Data/SkyDome/wz_night_02c.dds
    000006.441| Unloaded 0.0 MB STATIC decal textures
    000006.441| Unloaded 0.0 MB DYNAMIC decal textures
    000006.441| Loading decal library Data\Decals\library.xml.
    000006.442| Loading decal library Levels\WZ_FrontEndLighting\decals.xml.
    000006.442| Loaded 0.0 MB STATIC decal textures
    000006.475| Loaded 0.8 MB DYNAMIC decal textures
    000006.475| LoadLevel_MatLibs...
    000006.475| LoadLevel_Objects...
    000006.735| r3dMesh::Load(): Can't load 'data/objectsdepot/env_military/cr_mil_sandbag_block_01.scb' or 'data/objectsdepot/env_military/cr_mil_sandbag_block_01.scb', file doesn't exist
     (Loading mesh data/objectsdepot/env_military/cr_mil_sandbag_block_01.scb)
    000006.735| WARNING: Object data/objectsdepot/env_military/cr_mil_sandbag_block_01.scb can't be loaded!
    000006.735| !!!Created object is set to not active right after creation! class: obj_Building, name: data/objectsdepot/env_military/cr_mil_sandbag_block_01.scb
    000006.743| LoadGrassLib()...
    000006.833| g_pGrassMap->Load...
    000006.833| Loaded grass for 0.00 seconds000006.833| LoadLevel_MatLibs...
    000006.833| Building skeleton cache..000006.864| 
    000006.864| Building obstacles cache..000006.864| 
    000006.864| done.
    000006.864| Loading 'Levels\WZ_FrontEndLighting\collections\collections.xml'
    000006.864| r3dFile: can't open Levels\WZ_FrontEndLighting\collections\elements.bin
    000006.865| COLLECTIONS: Could not open 'Levels\WZ_FrontEndLighting\collections\elements.bin'
    000006.865| CollectionsManager::Init: populating 0 objects... 
    000006.865| done in 0.00 seconds
    000006.865| World loaded
    000006.865| Total load time: 0.84
    000011.192| r3dNetwork: Creating client
    000011.222|  IP: 192.168.2.223
    000011.222| r3dNetwork: connecting
    000011.230| Acquired base profile data for 6.498284
    000012.138| writeGameOptionsFile: Saving settings to C:\Users\User\Documents\Arktos\WarZ\gameSettings.ini
    000012.200| Creating dynamic buffer of size 0.02 MB
    000013.401| Creating dynamic buffer of size 0.13 MB
    000013.402| Creating dynamic buffer of size 0.13 MB
    000013.402| Creating dynamic buffer of size 0.13 MB
    000018.686| r3dNetwork: Creating client
    000018.712|  IP: 192.168.2.223
    000018.712| r3dNetwork: connecting
    000018.761| r3dNetwork: external ip: 183.88.53.67:2693
    000018.761| connected to master server peer00
    000020.689| obj_Zombie::FreePhysSkeletonCache:000020.689| done in 0.00 seconds
    000020.689| r3dNetwork: Deinitialize
    000020.802| r3dNetwork: Creating client
    000020.828|  IP: 192.168.2.223
    000020.828| r3dNetwork: connecting
    000020.901| r3dNetwork: external ip: 183.88.53.67:51839
    000020.978| writeGameOptionsFile: Saving settings to C:\Users\User\Documents\Arktos\WarZ\gameSettings.ini
    000020.982| userSettings: Saving settings to C:\Users\User\Documents\Arktos\WarZ\userSettings.xml
    000020.983| SetHomeDir: Levels\Rockyford
    000020.983| We have 3741 MB texture memory
    000020.983| r3dFile: can't open levels/rockyford/loadingscreen1.dds
    000020.996| r3dFile: can't open Levels\Rockyford/wind.cfg
    000020.996| Loading 'Levels\Rockyford/LevelSettings.xml'
    000021.003| r3dFile: can't open data/shaders/texture/cclut3d/cameradrone.dds
    000021.008| Loading sky texture: Data/SkyDome/wz_daynew_05_d.dds
    000022.154| Unloaded 0.0 MB STATIC decal textures
    000022.154| Unloaded 0.8 MB DYNAMIC decal textures
    000022.154| Loading decal library Data\Decals\library.xml.
    000022.155| Loading decal library Levels\Rockyford\decals.xml.
    000022.156| Loaded 0.0 MB STATIC decal textures
    000022.189| Loaded 0.8 MB DYNAMIC decal textures
    000022.190| LoadLevel_MatLibs...
    000022.190| LoadLevel_Objects...
    000022.272| TERRAIN:  LOADING Levels\Rockyford\TERRAIN
    000022.511| TERRAIN3: Finished reading script file
    000022.512| Creating dynamic buffer of size 0.50 MB
    000022.531| TERRAIN:  LOADED
    000025.012| LoadGrassLib()...
    000025.101| g_pGrassMap->Load...
    000025.103| Loaded grass for 0.00 seconds000025.103| LoadLevel_MatLibs...
    000025.103| Building skeleton cache..000025.251| 
    000025.251| Building obstacles cache..000025.251| 
    000025.251| done.
    000025.252| Loading 'Levels\Rockyford\collections\collections.xml'
    000025.256| Loading collection elements from file: Levels\Rockyford\collections\elements.bin...000025.259| done in 0.00 seconds
    000025.259| CollectionsManager::Init: populating 0 objects... 000025.259| done in 0.00 seconds
    000025.259| obj_Zombie::InitPhysSkeletonCache..
    000027.141| done
    000027.141| World loaded
    000027.141| Total load time: 6.16
    000032.313| obj_Gravestone 1032
    000032.425| obj_Gravestone 1038
    000032.775| VoipLog:[5] 2017-01-29 17:49:34.640298|DEVELOP |Windows Audio Session|   |DeviceDeleteList::waitForDeletes - enter
    000032.776| VoipLog:[5] 2017-01-29 17:49:34.640298|DEVELOP |Windows Audio Session|   |DeviceDeleteList::waitForDeletes - leave
    000032.776| VoipLog:[5] 2017-01-29 17:49:34.640298|DEVELOP |Windows Audio Session|   |DeviceDeleteList::waitForDeletes - enter
    000032.776| VoipLog:[5] 2017-01-29 17:49:34.640298|DEVELOP |Windows Audio Session|   |DeviceDeleteList::waitForDeletes - leave
    000032.776| VoipLog:[3] 2017-01-29 17:49:34.640298|DEBUG   |Windows Audio Session|   |WAS::openDevice-enter
    000032.783| VoipLog:[3] 2017-01-29 17:49:34.647300|DEBUG   |Windows Audio Session|   |WAS Buffer size: 1056
    000032.783| VoipLog:[3] 2017-01-29 17:49:34.647300|DEBUG   |Windows Audio Session|   |WAS::openDevice-leave
    000032.783| VoipLog:[3] 2017-01-29 17:49:34.648300|DEBUG   |Windows Audio Session|   |WAS::startDevice-enter
    000032.784| VoipLog:[3] 2017-01-29 17:49:34.648300|DEBUG   |Windows Audio Session|   |WAS::startDevice-leave
    000032.784| VoipLog:[3] 2017-01-29 17:49:34.648300|DEBUG   |Windows Audio Session|   |WAS::openDevice-enter
    000032.788| VoipLog:[3] 2017-01-29 17:49:34.652301|DEBUG   |Windows Audio Session|   |WAS Buffer size: 1056
    000032.788| VoipLog:[3] 2017-01-29 17:49:34.652301|DEBUG   |Windows Audio Session|   |WAS::openDevice-leave
    000032.788| VoipLog:[4] 2017-01-29 17:49:34.652301|INFO    |PreProSpeex   |1  |Speex version: speex-1.2beta3
    000032.788| VoipLog:[3] 2017-01-29 17:49:34.653302|DEBUG   |Windows Audio Session|   |WAS::startDevice-enter
    000032.789| VoipLog:[3] 2017-01-29 17:49:34.653302|DEBUG   |Windows Audio Session|   |WAS::startDevice-leave
    000032.792| Loading sky texture: Data/SkyDome/wz_dusknew_03_d.dds
    000032.793| Loading sky texture: Data/SkyDome/wz_night_02c.dds
    000032.817| VoipLog:[5] 2017-01-29 17:49:34.681313|DEVELOP |PktHandler    |   |Puzzle solve time: 11
    000032.945| Unloading sky texture: Data/SkyDome/wz_daynew_05_d.dds
    000034.598| 
    Time between load end and game start: 7.46
    000054.159| eventCallback[551E3B54]: 'eventClickedTabInUI' (unhandled)
    000055.056| obj_Gravestone 1042
    000055.075| ***** disconnected from game server
    000055.075| r3dNetwork: Deinitialize
    000055.272| obj_Zombie::FreePhysSkeletonCache:000055.272| .000055.273| .000055.273| .000055.273| .000055.273| .000055.274| .000055.274| .000055.274| .000055.274| .000055.275| .000055.275| .000055.275| .000055.275| .000055.275| .000055.276| .000055.276| .000055.276| .000055.276| .000055.277| .000055.277| .000055.277| .000055.277| .000055.277| .000055.278| .000055.278| .000055.278| .000055.278| .000055.279| .000055.279| .000055.279| .000055.279| .000055.280| .000055.280| done in 0.01 seconds
    000056.112| SetHomeDir: Levels\WZ_FrontEndLighting
    000056.112| We have 3718 MB texture memory
    000056.606| r3dFile: can't open Levels\WZ_FrontEndLighting/wind.cfg
    000056.607| Loading 'Levels\WZ_FrontEndLighting/LevelSettings.xml'
    000056.610| r3dFile: can't open data/shaders/texture/cclut3d/cameradrone.dds
    000056.612| Loading sky texture: Data/SkyDome/wz_night_02c.dds
    000057.015| Unloaded 0.0 MB STATIC decal textures
    000057.015| Unloaded 0.8 MB DYNAMIC decal textures
    000057.015| Loading decal library Data\Decals\library.xml.
    000057.016| Loading decal library Levels\WZ_FrontEndLighting\decals.xml.
    000057.017| Loaded 0.0 MB STATIC decal textures
    000057.049| Loaded 0.8 MB DYNAMIC decal textures
    000057.050| LoadLevel_MatLibs...
    000057.050| LoadLevel_Objects...
    000057.306| r3dMesh::Load(): Can't load 'data/objectsdepot/env_military/cr_mil_sandbag_block_01.scb' or 'data/objectsdepot/env_military/cr_mil_sandbag_block_01.scb', file doesn't exist
     (Loading mesh data/objectsdepot/env_military/cr_mil_sandbag_block_01.scb)
    000057.306| WARNING: Object data/objectsdepot/env_military/cr_mil_sandbag_block_01.scb can't be loaded!
    000057.306| !!!Created object is set to not active right after creation! class: obj_Building, name: data/objectsdepot/env_military/cr_mil_sandbag_block_01.scb
    000057.313| LoadGrassLib()...
    000057.404| g_pGrassMap->Load...
    000057.404| Loaded grass for 0.00 seconds000057.404| LoadLevel_MatLibs...
    000057.405| Building skeleton cache..000057.438| 
    000057.439| Building obstacles cache..000057.439| 
    000057.439| done.
    000057.439| Loading 'Levels\WZ_FrontEndLighting\collections\collections.xml'
    000057.439| r3dFile: can't open Levels\WZ_FrontEndLighting\collections\elements.bin
    000057.439| COLLECTIONS: Could not open 'Levels\WZ_FrontEndLighting\collections\elements.bin'
    000057.439| CollectionsManager::Init: populating 0 objects... 000057.439| done in 0.00 seconds
    000057.439| World loaded
    000057.439| Total load time: 0.87
    000057.549| Acquired base profile data for 1.493931
    000058.437| writeGameOptionsFile: Saving settings to C:\Users\User\Documents\Arktos\WarZ\gameSettings.ini
    000097.176| r3dNetwork: Creating client
    000097.202|  IP: 192.168.2.223
    000097.202| r3dNetwork: connecting
    000097.248| r3dNetwork: external ip: 183.88.53.67:51841
    000097.248| connected to master server peer00
    000099.927| obj_Zombie::FreePhysSkeletonCache:000099.927| done in 0.00 seconds
    000099.928| r3dNetwork: Deinitialize
    000100.041| r3dNetwork: Creating client
    000100.068|  IP: 192.168.2.223
    000100.068| r3dNetwork: connecting
    000100.140| r3dNetwork: external ip: 183.88.53.67:51844
    000100.218| writeGameOptionsFile: Saving settings to C:\Users\User\Documents\Arktos\WarZ\gameSettings.ini
    000100.221| userSettings: Saving settings to C:\Users\User\Documents\Arktos\WarZ\userSettings.xml
    000100.222| SetHomeDir: Levels\Rockyford
    000100.222| We have 3704 MB texture memory
    000100.223| r3dFile: can't open levels/rockyford/loadingscreen1.dds
    000101.272| r3dFile: can't open Levels\Rockyford/wind.cfg
    000101.273| Loading 'Levels\Rockyford/LevelSettings.xml'
    000101.280| r3dFile: can't open data/shaders/texture/cclut3d/cameradrone.dds
    000101.283| Loading sky texture: Data/SkyDome/wz_daynew_05_d.dds
    000101.431| Unloaded 0.0 MB STATIC decal textures
    000101.431| Unloaded 0.8 MB DYNAMIC decal textures
    000101.431| Loading decal library Data\Decals\library.xml.
    000101.432| Loading decal library Levels\Rockyford\decals.xml.
    000101.432| Loaded 0.0 MB STATIC decal textures
    000101.463| Loaded 0.8 MB DYNAMIC decal textures
    000101.464| LoadLevel_MatLibs...
    000101.464| LoadLevel_Objects...
    000101.541| TERRAIN:  LOADING Levels\Rockyford\TERRAIN
    000101.775| TERRAIN3: Finished reading script file
    000101.776| Creating dynamic buffer of size 0.50 MB
    000101.794| TERRAIN:  LOADED
    000104.240| LoadGrassLib()...
    000104.331| g_pGrassMap->Load...
    000104.333| Loaded grass for 0.00 seconds000104.333| LoadLevel_MatLibs...
    000104.334| Building skeleton cache..000104.501| 
    000104.501| Building obstacles cache..000104.501| 
    000104.501| done.
    000104.501| Loading 'Levels\Rockyford\collections\collections.xml'
    000104.507| Loading collection elements from file: Levels\Rockyford\collections\elements.bin...000104.509| done in 0.00 seconds
    000104.509| CollectionsManager::Init: populating 0 objects... 000104.509| done in 0.00 seconds
    000104.509| obj_Zombie::InitPhysSkeletonCache..
    000106.332| done
    000106.332| World loaded
    000106.332| Total load time: 6.11


  2. #2
    Your average Dutch guy Laenoar is offline
    MemberRank
    Apr 2013 Join Date
    The NetherlandsLocation
    384Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    Scenario 1
    1. Player A kills Player B
    2. Player B takes items out of his global inventory and respawns
    3. Player B crashes


    Scenario 2
    1. Player A kills Player B
    2. Player B does not take any items out of his global inventory and respawns
    3. Player B does not crash


    Is this right? It's pretty confusing the way you explained it.

    And is it a game crash or does he get disconnected back to the main menu?

  3. #3
    Enthusiast 3v0luti0n is offline
    MemberRank
    Oct 2013 Join Date
    38Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    Quote Originally Posted by Laenoar View Post
    Scenario 1
    1. Player A kills Player B
    2. Player B takes items out of his global inventory and respawns
    3. Player B crashes


    Scenario 2
    1. Player A kills Player B
    2. Player B does not take any items out of his global inventory and respawns
    3. Player B does not crash


    Is this right? It's pretty confusing the way you explained it.

    And is it a game crash or does he get disconnected back to the main menu?
    Right. Help me !
    when dead player is disconnected take a item from global inventory

  4. #4
    Your average Dutch guy Laenoar is offline
    MemberRank
    Apr 2013 Join Date
    The NetherlandsLocation
    384Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    Quote Originally Posted by Tartarus View Post
    Right. Help me !
    Is it a game crash or does the player get disconnected​?

  5. #5
    Enthusiast 3v0luti0n is offline
    MemberRank
    Oct 2013 Join Date
    38Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    Quote Originally Posted by Laenoar View Post
    Is it a game crash or does the player get disconnected​?
    hmm, player dead and disconnected to frontend not crash but take item from a global inventory and join game again is crash.

  6. #6
    Your average Dutch guy Laenoar is offline
    MemberRank
    Apr 2013 Join Date
    The NetherlandsLocation
    384Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    We need your server logs then, not r3dlog.

  7. #7
    Enthusiast 3v0luti0n is offline
    MemberRank
    Oct 2013 Join Date
    38Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    LogSS
    Code:
    000000.021| r3dFS: there is no volume file wo_00.bin
    000000.021| SERVER NAME: ####
    000000.022| GameServerId: 99, map:7
    000000.022| GameName: #01 | Rocky ford | ASR
    000000.022| CAsyncApiMgr starting
    000000.022| Connecting to master server at 127.0.0.1:54009
    000000.022|  r3dNetwork: Creating client
    000000.042|   IP: ####
    000000.042|  r3dNetwork: connecting to 127.0.0.1:54009
    000000.042|  waiting: connecting, 30.0 sec left
    000000.062|  r3dNetwork: external ip: 127.0.0.1:55012
    000000.062| Game: Initializing with 20 players
    000000.062|  Server time is Tue Jul 05 17:42:12 2078
    000000.062| Starting server on port 54012
    000000.062| r3dNetwork: Creating host at port 54012
    000000.070|  IP: ####
    000000.082| Getting shop data
    000000.234| Reading game rewards
    000000.241| Loading armory config
    000000.241| Trying to load an ammo 'smoke_grenade_blue' that is already loaded!000000.241| Trying to load an ammo 'smoke_grenade_green' that is already loaded!000000.241| Trying to load an ammo 'smoke_grenade_orange' that is already loaded!000000.241| Trying to load an ammo 'smoke_grenade_red' that is already loaded!000000.241| Trying to load an ammo 'smoke_grenade_white' that is already loaded!000000.255| Reading loot boxes
    000000.262| Loot boxes data updated
    000000.262| Loading A.I. tactics config
    000000.262| Loading A.I. brain profiles
    000000.262| Starting game server
    000000.262| SetHomeDir: Levels\Rockyford
    000000.262| Starting voice
    000000.262|  Server lib version: 3.0.3.2 [Build: 1433933257] SDK
    000000.262|  VOICE:[4] 2017-01-29 17:28:31.854147|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.3.2 (2015-06-10 10:47:37) SDK
    000000.262|  VOICE:[4] 2017-01-29 17:28:31.854147|INFO    |ServerLibPriv |   |SystemInformation: Windows Server 2008 R2 SP1 (7601) x64 (AMD or Intel) Binary: 32bit
    000000.262|  VOICE:[4] 2017-01-29 17:28:31.854147|INFO    |ServerLibPriv |   |Using hardware aes
    000000.329|  VOICE:[4] 2017-01-29 17:28:31.921151|INFO    |Accounting    |   |Licensing Information
    000000.329|  VOICE:[4] 2017-01-29 17:28:31.921151|INFO    |Accounting    |   |licensed to       : TeamSpeak_SDK
    000000.329|  VOICE:[4] 2017-01-29 17:28:31.921151|INFO    |Accounting    |   |type              : SDK
    000000.329|  VOICE:[4] 2017-01-29 17:28:31.921151|INFO    |Accounting    |   |starting date     : Thu Dec 31 22:00:00 2009
    000000.329|  VOICE:[4] 2017-01-29 17:28:31.921151|INFO    |Accounting    |   |ending date       : Wed Dec 31 22:00:00 2098
    000000.329|  VOICE:[4] 2017-01-29 17:28:31.921151|INFO    |Accounting    |   |max virtualservers: 999999999
    000000.329|  VOICE:[4] 2017-01-29 17:28:31.921151|INFO    |Accounting    |   |max slots         : 999999999
    000001.263|  TERRAIN:  LOADING Levels\Rockyford\TERRAIN
    000001.270|  TERRAIN3: Finished reading script file
    000001.270|  TERRAIN:  LOADED
    000001.305|  Loading 'Levels\Rockyford\collections\collections.xml'
    000001.306|  Loading collection elements from file: Levels\Rockyford\collections\elements.bin...000001.309|  done in 0.00 seconds
    000001.309|  NavMesh.Load...
    000001.312|  Loading Mission Data
    000001.312|  r3dFile: can't open Levels\Rockyford\Missions.xml
    000001.312|  !!! ERROR: Failed to open Levels\Rockyford\Missions.xml
    000001.312|  !!! Missions have been turned OFF!
    000001.378|  Terrain3: Creating physics data
    000001.378|  r3dTerrain3::UnpackHeightCached: unpacking (0,0) for [0]
    000001.381|  Terrain3: Creating physics data - DONE!
    000001.381|  WorldObjects: 11 + 542 static
    000001.381|  server main loop started
    000001.381|  net_mapLoaded_LastNetID: 1026
    000001.411|  CJobGetSavedServerState, restoring state
    000001.411|   0 ItemSpawnPoints restored
    000001.431|  Job CJobGetServerObjects 0828FC60: Creating 0 objects
    000001.662|  VOICE:[4] 2017-01-29 17:28:33.254227|INFO    |              |   |Puzzle precompute time: 1333
    000001.662|  Read keypair 'MG4DAgeAAgEgAiASAugW28U3mhq/xj+yJKcxqH9IOK9IGfCWRe0EyjOC3AIgdFVlkICgZ2sPk3un4NXAd+XDZq/csEmpiOpJ8+38aGoCIQDhC3btfFC92j4MS/pRAMPqcP2W8/AQniK27WkNGkPkIg==' from file 'ts_keypair_54512.txt'.
    000001.662|  Creating virtual server with 2 slots
    000001.667|  VOICE:[4] 2017-01-29 17:28:33.259228|INFO    |VirtualServer |1  |listening on 0.0.0.0:54512
    000001.667|  VOICE:[4] 2017-01-29 17:28:33.259228|INFO    |VirtualSvrMgr |   |addServer() VirtualServer(1) started
    000001.667|  Server running
    000001.667|  voip: !!!!!! Channel 1 edited by 0 on virtual server 1
    000013.269| !!!PERFORMANCE REPORT:
    tick:3.29
    gameworld:0.00
    terrain3:0.00
    PhysX:0.00
    navmesh:0.00
    END
    000020.232| !!!PERFORMANCE REPORT:
    tick:1.67
    gameworld:0.00
    terrain3:0.00
    PhysX:0.00
    navmesh:0.00
    END
    000028.033| !!!PERFORMANCE REPORT:
    tick:4.10
    gameworld:0.00
    terrain3:0.00
    PhysX:0.00
    navmesh:0.00
    END
    000034.123| !!!PERFORMANCE REPORT:
    tick:0.00
    gameworld:0.00
    terrain3:-0.00
    PhysX:0.10
    navmesh:-0.00
    END
    000035.938| !!!PERFORMANCE REPORT:
    tick:0.39
    gameworld:0.00
    terrain3:0.00
    PhysX:0.00
    navmesh:0.00
    END
    000037.086| !!!PERFORMANCE REPORT:
    tick:0.00
    gameworld:0.00
    terrain3:-0.00
    PhysX:0.17
    navmesh:0.00
    END
    000040.953| !!!PERFORMANCE REPORT:
    tick:0.13
    gameworld:0.00
    terrain3:0.00
    PhysX:0.00
    navmesh:0.00
    END
    000041.159| !!!PERFORMANCE REPORT:
    tick:0.19
    gameworld:0.00
    terrain3:0.00
    PhysX:0.00
    navmesh:0.00
    END
    000042.231| !!!PERFORMANCE REPORT:
    tick:0.27
    gameworld:0.00
    terrain3:0.00
    PhysX:0.00
    navmesh:0.00
    END
    000050.963| !!!PERFORMANCE REPORT:
    tick:5.15
    gameworld:0.00
    terrain3:0.00
    PhysX:0.00
    navmesh:0.00
    END
    000051.809| !!!PERFORMANCE REPORT:
    tick:0.83
    gameworld:0.00
    terrain3:-0.00
    PhysX:0.00
    navmesh:-0.00
    END
    000058.868| !!!PERFORMANCE REPORT:
    tick:0.13
    gameworld:0.00
    terrain3:0.00
    PhysX:0.00
    navmesh:0.00
    END
    000107.265| !!!PERFORMANCE REPORT:
    tick:0.89
    gameworld:0.00
    terrain3:0.00
    PhysX:0.00
    navmesh:-0.00
    END
    000108.331| !!!PERFORMANCE REPORT:
    tick:0.89
    gameworld:0.00
    terrain3:-0.00
    PhysX:0.00
    navmesh:0.00
    END
    000108.569| !!!PERFORMANCE REPORT:
    tick:0.17
    gameworld:0.00
    terrain3:0.00
    PhysX:0.00
    navmesh:0.00
    END
    000214.798| peer00 PKT_C2S_JoinGameReq: CID:1000145, ip:171.99.159.95
    000228.252| peer00 PKT_C2S_StartGameReq, playerIdx:0 startGameAns: 1, lastNetID: 1026
    000241.075| voip: Client 1 '2796224512' peer00, playerIdx:0 joined channel 1 on virtual server 1
    000366.857| peer01 PKT_C2S_JoinGameReq: CID:1002622, ip:183.88.53.67
    000386.886| r3dNetwork_Peer_Timeout: 183.88.53.67
    000447.755| peer01 PKT_C2S_JoinGameReq: CID:1002622, ip:183.88.53.67
    000461.561| peer01 PKT_C2S_StartGameReq, playerIdx:1 startGameAns: 1, lastNetID: 1026
    000462.448| voip: Client 2 '2329018369' peer01, playerIdx:1 joined channel 1 on virtual server 1
    000480.441| voip: Client 1 left channel 1 on virtual server 1
    000489.092| r3dNetwork_Peer_Timeout: 171.99.159.95
    000489.092| peer00 player Eng APAP is updating his data
    000489.092| DeletePlayer: Eng APAP, playerIdx: 0
    000502.170| obj_DroppedItem 09697D80 created. 20015, 599.999946 sec left
    000504.340| obj_DroppedItem 09810A28 created. 20006, 599.999904 sec left
    000724.391| peer00 PKT_C2S_JoinGameReq: CID:1000145, ip:171.99.159.95
    000735.834| peer00 PKT_C2S_StartGameReq, playerIdx:0 startGameAns: 1, lastNetID: 1026
    000737.991| voip: Client 3 '3630825472' peer00, playerIdx:0 joined channel 1 on virtual server 1
    000772.261| kak pak mak killed by Eng APAP, forced: 0
    000772.261| LogInfo: peer01, r:Death , CID:1002622 [kak pak mak], ip:183.88.53.67
    000772.261|  peer01, SetLatePacketsBarrier: death
    000772.261| obj_DroppedItem 067C9C20 created. 101106, 599.999938 sec left
    000772.261| obj_DroppedItem 09810A28 created. 20015, 599.999838 sec left
    000772.261| obj_DroppedItem 0984D248 created. 20006, 599.999791 sec left
    000772.261| obj_DroppedItem 097679B0 created. 20176, 599.999746 sec left
    000772.301| peer01 PKT_C2C_PacketBarrier_s death 1 vs 1
    000832.308| PKT_C2S_DisconnectReq for kak pak mak
    000832.308| LogInfo: peer01, r:DisconnectPeer disconnect request while dead, we already updated profile, CID:1002622 [kak pak mak], ip:183.88.53.67
    000832.308| DeletePlayer: kak pak mak, playerIdx: 1
    000832.420| voip: Client 2 left channel 1 on virtual server 1
    000900.238| peer01 PKT_C2S_JoinGameReq: CID:1002622, ip:183.88.53.67
    000919.447| cmd: /gi 700011 admin:126
    000919.447| !!! cheat: peer00, r:Admin Spawn Item 1000145 (Eng APAP) spawned 700011 with quantity 1 on server #01 | Rocky ford | ASR
    , CID:1000145 [Eng APAP], ip:171.99.159.95
    000920.277| r3dNetwork_Peer_Timeout: 183.88.53.67
    000929.711| cmd: /go 7000044 admin:126
    000935.134| cmd: /gi 700044 admin:126
    000935.135| !!! cheat: peer00, r:Admin Spawn Item 1000145 (Eng APAP) spawned 700044 with quantity 1 on server #01 | Rocky ford | ASR
    , CID:1000145 [Eng APAP], ip:171.99.159.95
    000941.848| cmd: /gi 700011 admin:126
    000941.848| !!! cheat: peer00, r:Admin Spawn Item 1000145 (Eng APAP) spawned 700011 with quantity 1 on server #01 | Rocky ford | ASR
    , CID:1000145 [Eng APAP], ip:171.99.159.95
    000947.549| cmd: /gi 700046 admin:126
    000947.549| !!! cheat: peer00, r:Admin Spawn Item 1000145 (Eng APAP) spawned 700046 with quantity 1 on server #01 | Rocky ford | ASR
    , CID:1000145 [Eng APAP], ip:171.99.159.95
    000955.771| cmd: /gi 700108 admin:126
    000955.771| !!! cheat: peer00, r:Admin Spawn Item 1000145 (Eng APAP) spawned 700108 with quantity 1 on server #01 | Rocky ford | ASR
    , CID:1000145 [Eng APAP], ip:171.99.159.95
    000962.867| cmd: /gi 700287 admin:126
    000962.867| !!! cheat: peer00, r:Admin Spawn Item 1000145 (Eng APAP) spawned 700287 with quantity 1 on server #01 | Rocky ford | ASR
    , CID:1000145 [Eng APAP], ip:171.99.159.95
    000968.884| cmd: /gi 700287 admin:126
    000968.884| !!! cheat: peer00, r:Admin Spawn Item 1000145 (Eng APAP) spawned 700287 with quantity 1 on server #01 | Rocky ford | ASR
    , CID:1000145 [Eng APAP], ip:171.99.159.95
    000980.519| cmd: /gi 700487 admin:126
    000980.519| !!! cheat: peer00, r:Admin Spawn Item 1000145 (Eng APAP) spawned 700487 with quantity 1 on server #01 | Rocky ford | ASR
    , CID:1000145 [Eng APAP], ip:171.99.159.95
    000986.819| cmd: /gi 700547 admin:126
    000986.819| !!! cheat: peer00, r:Admin Spawn Item 1000145 (Eng APAP) spawned 700547 with quantity 1 on server #01 | Rocky ford | ASR
    , CID:1000145 [Eng APAP], ip:171.99.159.95
    000993.590| cmd: /gi 700627 admin:126
    000993.590| !!! cheat: peer00, r:Admin Spawn Item 1000145 (Eng APAP) spawned 700627 with quantity 1 on server #01 | Rocky ford | ASR
    , CID:1000145 [Eng APAP], ip:171.99.159.95
    000999.761| Running CJobUpdateSkins000999.762| Running CJobUpdateSkins::Exec001000.612| Running CJobUpdateSkins001000.612| Running CJobUpdateSkins::Exec001001.832| Running CJobUpdateSkins001001.832| Running CJobUpdateSkins::Exec001002.573| Running CJobUpdateSkins001002.573| Running CJobUpdateSkins::Exec001003.343| Running CJobUpdateSkins001003.343| Running CJobUpdateSkins::Exec001004.614| peer01 PKT_C2S_JoinGameReq: CID:1002622, ip:183.88.53.67
    001009.295| Running CJobUpdateSkins001009.295| Running CJobUpdateSkins::Exec001009.975| Running CJobUpdateSkins001009.975| Running CJobUpdateSkins::Exec001010.577| Running CJobUpdateSkins001010.577| Running CJobUpdateSkins::Exec001013.920| !!! cheat: peer00, r:skinned item has no skinned: 700547, CID:1000145 [Eng APAP], ip:171.99.159.95
    001013.920| peer00 player Eng APAP is updating his data
    001013.920| DeletePlayer: Eng APAP, playerIdx: 0
    001014.000| voip: Client 3 left channel 1 on virtual server 1
    001016.580| peer01 PKT_C2S_StartGameReq, playerIdx:1 startGameAns: 1, lastNetID: 1026
    001016.946| voip: Client 4 '3945988097' peer01, playerIdx:1 joined channel 1 on virtual server 1
    001032.398| peer00 PKT_C2S_JoinGameReq: CID:1000145, ip:171.99.159.95
    001043.410| peer00 PKT_C2S_StartGameReq, playerIdx:0 startGameAns: 1, lastNetID: 1026
    001044.345| voip: Client 5 '309788672' peer00, playerIdx:0 joined channel 1 on virtual server 1
    001044.753| !!!PERFORMANCE REPORT:
    tick:0.11
    gameworld:0.00
    terrain3:0.00
    PhysX:0.00
    navmesh:0.00
    END
    001068.990| kak pak mak killed by Eng APAP, forced: 0
    001068.990| LogInfo: peer01, r:Death , CID:1002622 [kak pak mak], ip:183.88.53.67
    001068.990|  peer01, SetLatePacketsBarrier: death
    001068.990| obj_DroppedItem 09767FD0 created. 20015, 599.999910 sec left
    001068.990| obj_DroppedItem 0985D6F8 created. 20006, 599.999801 sec left
    001068.990| obj_DroppedItem 09691D10 created. 101106, 599.999731 sec left
    001068.990| obj_DroppedItem 0992C378 created. 400017, 599.999688 sec left
    001068.990| obj_DroppedItem 0984D248 created. 101262, 599.999635 sec left
    001069.030| peer01 PKT_C2C_PacketBarrier_s death 1 vs 1
    001072.950| PKT_C2S_DisconnectReq for kak pak mak
    001072.950| LogInfo: peer01, r:DisconnectPeer disconnect request while dead, we already updated profile, CID:1002622 [kak pak mak], ip:183.88.53.67
    001072.950| DeletePlayer: kak pak mak, playerIdx: 1
    001072.989| voip: Client 4 left channel 1 on virtual server 1
    001074.530| Eng APAP: equip attachment STANAG C-Mag for IMI TAR-21
    001074.540| reloaded 100 using slot 4 - 0 left
    001112.881| peer01 PKT_C2S_JoinGameReq: CID:1002622, ip:183.88.53.67
    001125.343| Running CJobUpdateSkins001125.343| Running CJobUpdateSkins::Exec001126.303| Running CJobUpdateSkins001126.303| Running CJobUpdateSkins::Exec001132.905| r3dNetwork_Peer_Timeout: 183.88.53.67
    001133.657| !!! cheat: peer00, r:skinned item has no skinned: 700011, CID:1000145 [Eng APAP], ip:171.99.159.95
    001133.657| peer00 player Eng APAP is updating his data
    001133.657| DeletePlayer: Eng APAP, playerIdx: 0
    001133.772| voip: Client 5 left channel 1 on virtual server 1
    001227.725| peer00 PKT_C2S_JoinGameReq: CID:1000145, ip:171.99.159.95
    001238.731| peer00 PKT_C2S_StartGameReq, playerIdx:0 startGameAns: 1, lastNetID: 1026
    001239.489| voip: Client 6 '4279828480' peer00, playerIdx:0 joined channel 1 on virtual server 1
    001247.674| peer01 PKT_C2S_JoinGameReq: CID:1002622, ip:183.88.53.67
    001258.692| peer01 PKT_C2S_StartGameReq, playerIdx:1 startGameAns: 1, lastNetID: 1026
    001259.558| voip: Client 7 '99745793' peer01, playerIdx:1 joined channel 1 on virtual server 1
    001266.225| cmd: /ttp "kak pak mak" admin:126
    001266.225| peer00, SetLatePacketsBarrier: teleport
    001266.225| Eng APAP teleported to 146.859665, 100.097633, 206.789810
    001266.245| peer00 PKT_C2C_PacketBarrier_s teleport 1 vs 1
    001273.248| cmd: /stime 08 00 admin:126
    001277.944| kak pak mak killed by Eng APAP, forced: 0
    001277.944| LogInfo: peer01, r:Death , CID:1002622 [kak pak mak], ip:183.88.53.67
    001277.944|  peer01, SetLatePacketsBarrier: death
    001277.944| obj_DroppedItem 0992C378 created. 101106, 599.999995 sec left
    001277.944| obj_DroppedItem 0992FA20 created. 20015, 599.999895 sec left
    001277.944| obj_DroppedItem 0982F210 created. 20006, 599.999849 sec left
    001277.984| peer01 PKT_C2C_PacketBarrier_s death 1 vs 1
    001281.758| PKT_C2S_DisconnectReq for kak pak mak
    001281.758| LogInfo: peer01, r:DisconnectPeer disconnect request while dead, we already updated profile, CID:1002622 [kak pak mak], ip:183.88.53.67
    001281.758| DeletePlayer: kak pak mak, playerIdx: 1
    001281.800| voip: Client 7 left channel 1 on virtual server 1
    001291.546| obj_DroppedItem 0992C378 created. 101106, 599.999989 sec left
    001326.914| peer01 PKT_C2S_JoinGameReq: CID:1002622, ip:183.88.53.67
    001346.949| r3dNetwork_Peer_Timeout: 183.88.53.67
    001407.130| r3dNetwork_Peer_Timeout: 171.99.159.95
    001407.130| peer00 player Eng APAP is updating his data
    001407.130| DeletePlayer: Eng APAP, playerIdx: 0
    001425.763| voip: Client 6 left channel 1 on virtual server 1

  8. #8
    Your average Dutch guy Laenoar is offline
    MemberRank
    Apr 2013 Join Date
    The NetherlandsLocation
    384Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    Very strange, but what it seems like to me is that when the player dies and disconnects, and then picks items from the global inventory and joins back, for some reason the game thinks he never disconnected. He then joins with different items than the game thinks he has, server thinks he's cheating because according to the server he all of a sudden has completely different items and disconnects him.

    I remember back in WarZ this happened some times, where you would die and it would look like you still have all items, but then if you join back you get disconnected immediately.

    Did you somewhere in your code (FrontEndWarZ most likely) force player hp to 100%?

    Because then if someone dies, they will automatically be "revived". I put revived in quotes because although you forced hp to 100%, in the database their alive status is still dead.

    Really difficult to troubleshoot this. I hope this makes sense.

  9. #9
    Enthusiast 3v0luti0n is offline
    MemberRank
    Oct 2013 Join Date
    38Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    No force player hp 100%. I buy revived T^T. thanks Laenoar. I will check a code FrontEndWarZ.

  10. #10
    Valued Member dldanny05 is offline
    MemberRank
    Jun 2016 Join Date
    139Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    Your api is failing:

    000772.301| peer01 PKT_C2C_PacketBarrier_s death 1 vs 1
    000832.308| PKT_C2S_DisconnectReq for kak pak mak
    000832.308| LogInfo: peer01, r:DisconnectPeer disconnect request while dead, we already updated profile, CID:1002622 [kak pak mak], ip:183.88.53.67
    000832.308| DeletePlayer: kak pak mak, playerIdx: 1




    001072.950| PKT_C2S_DisconnectReq for kak pak mak
    001072.950| LogInfo: peer01, r:DisconnectPeer disconnect request while dead, we already updated profile, CID:1002622 [kak pak mak], ip:183.88.53.67
    001072.950| DeletePlayer: kak pak mak, playerIdx: 1

  11. #11
    Your average Dutch guy Laenoar is offline
    MemberRank
    Apr 2013 Join Date
    The NetherlandsLocation
    384Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    Quote Originally Posted by dldanny05 View Post
    Your api is failing:

    Code:
    000772.301| peer01 PKT_C2C_PacketBarrier_s death 1 vs 1
    000832.308| PKT_C2S_DisconnectReq for kak pak mak
    000832.308| LogInfo: peer01, r:DisconnectPeer disconnect request while dead, we already updated profile, CID:1002622 [kak pak mak], ip:REMOVED
    000832.308| DeletePlayer: kak pak mak, playerIdx: 1
    Code:
    001072.950| PKT_C2S_DisconnectReq for kak pak mak
    001072.950| LogInfo: peer01, r:DisconnectPeer disconnect request while dead, we already updated profile, CID:1002622 [kak pak mak], ip:REMOVED
    001072.950| DeletePlayer: kak pak mak, playerIdx: 1
    What's wrong here? There are 0 errors.

    @Tartarus, could you please go to your OnNetPeerDisconnected void in ServerGameLogic.cpp and post either the whole void or the content of the PEER_PLAYING case.
    Last edited by Laenoar; 29-01-17 at 10:28 PM.

  12. #12
    Enthusiast 3v0luti0n is offline
    MemberRank
    Oct 2013 Join Date
    38Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    this code OnNetPeerDisconnected(DWORD peerId)
    Code:
    void ServerGameLogic::OnNetPeerDisconnected(DWORD peerId)
    {
     // too many connections, do not do anything
     if(peerId >= MAX_PEERS_COUNT)
      return;
     //r3dOutToLog("peer%02d disconnected\n", peerId); CLOG_INDENT;
     peerInfo_s& peer = GetPeer(peerId);
     // debug validation
     switch(peer.status_)
     {
     default: 
      r3dError("!!! Invalid status %d in disconnect !!!", peer.status_);
      break;
     case PEER_FREE:
      break;
     case PEER_CONNECTED:
     case PEER_VALIDATED1:
      r3d_assert(peer.player == NULL);
      r3d_assert(peer.playerIdx == -1);
      break;
     case PEER_LOADING:
      r3d_assert(peer.playerIdx != -1);
      r3d_assert(plrToPeer_[peer.playerIdx] != NULL);
      r3d_assert(peer.player == NULL);
      // if we got profile and joined game we need to report that player left to server.
      if(peer.startGameAns == PKT_S2C_StartGameAns_s::RES_Ok)
      {
       ApiPlayerLeftGame(peerId);
      }
      plrToPeer_[peer.playerIdx] = NULL;
      break;
     case PEER_PLAYING:
      r3d_assert(peer.playerIdx != -1);
      r3d_assert(plrToPeer_[peer.playerIdx] != NULL);
      r3d_assert(plrToPeer_[peer.playerIdx] == &peer);
      if(peer.player)
      {
    #ifdef VEHICLES_ENABLED
       // check if player is in vehicle, if is, remove player from vehicle
       if (peer.player->IsInVehicle())
       {
        obj_Vehicle* vehicle = obj_Vehicle::GetVehicleById(peer.player->currentVehicleId);
        if (vehicle)
        {
         peer.player->ExitVehicle(true, true, true);
        }
       }
    #endif
       gMasterServerLogic.RemovePlayer(peer.playerIdx);
       if(peer.player->loadout_->Alive && !peer.player->wasDisconnected_ && !peer.player->inventoryOpActive_)
       {
        r3dOutToLog("peer%02d player %s is updating his data\n", peerId, peer.player->userName);
        ApiPlayerUpdateChar(peer.player);
       }
       ApiPlayerLeftGame(peerId);
      
       // report to users
       if(!(peer.player->profile_.ProfileData.isDevAccount & wiUserProfile::DAA_HIDDEN))
       {
        PKT_S2C_PlayerNameLeft_s n;
        n.playerIdx = (WORD)peer.playerIdx;
        // send to all, regardless visibility
        for(int i=0; i<MAX_PEERS_COUNT; i++) {
         if(peers_[i].status_ >= PEER_PLAYING && peers_[i].player && i != peerId) {
          net_->SendToPeer(&n, sizeof(n), i, true);
         }
        }
       }
       DeletePlayer(peer.playerIdx, peer.player);
      }
      plrToPeer_[peer.playerIdx] = NULL;
      break;
     }
     if(peer.status_ != PEER_FREE)
     {
      // OnNetPeerDisconnected can fire multiple times, because of forced disconnect
      curPeersConnected--;
     }
     // clear peer status
     peer.Clear();
     return;
    }

  13. #13
    Your average Dutch guy Laenoar is offline
    MemberRank
    Apr 2013 Join Date
    The NetherlandsLocation
    384Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    Try removing this:
    if(peer.player->loadout_->Alive && !peer.player->wasDisconnected_ && !peer.player->inventoryOpActive_)

    So it should look like:
    if(peer.player->loadout_->Alive && !peer.player->wasDisconnected_)


    Also completely remove:
    if(!(peer.player->profile_.ProfileData.isDevAccount & wiUserProfile::DAA_HIDDEN))


    Also completely remove this under the PEER_LOADING case:
    if(peer.startGameAns == PKT_S2C_StartGameAns_s::RES_Ok)
    {
    ApiPlayerLeftGame(peerId);
    }

  14. #14
    Enthusiast d72911 is offline
    MemberRank
    Feb 2014 Join Date
    29Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    Did you succeed?

  15. #15
    Enthusiast 3v0luti0n is offline
    MemberRank
    Oct 2013 Join Date
    38Posts

    Re: [HELP] The game crash If player dead and prepare item to join server again

    not success. this way failed



Page 1 of 2 12 LastLast

Advertisement