Error @ UWEExtension/Build_319/Marine.lua

SEKBlackhawkSEKBlackhawk Germany Join Date: 2013-12-22 Member: 190625Members, Reinforced - Shadow
Yesterday I stumbled about an issue with the UWE extension on my server that occured after a round, and game end (when people usually shifted back to the rr).
From client perspective, the server hung for abaout 10 seconds, and then everyone was suddenly in the rr, and the console showed me the 'server had errors'.

This is what i found:
[22:21:47]XXXXXXXXXXX ran command sh_voterandom with no arguments.
[22:21:48]XXXXXXXXX ran command sh_votesurrender with no arguments.
[367286.622] Main : Error: lua/UWEExtension/Build_319/Marine.lua:468: attempt to index a nil value
[Server] Script Error #1: lua/UWEExtension/Build_319/Marine.lua:468: attempt to index a nil value
    Call stack:
    #1: PickupWeapon lua/UWEExtension/Build_319/Marine.lua:468
        self = Marine-709 {activeWeaponId=1669, alive=true, animateAngles=false, animateDistance=false, animatePosition=false, animateYOffset=false, animationBlend=0.19999998807907, animationGraphIndex=41, animationGraphNode=14, animationSequence2=62, animationSequence=1, animationSpeed2=1, animationSpeed=1, animationStart2=1463.9375, animationStart=1465.4765625, armor=27.42857170105, baseYaw=0, bodyYaw=0, bodyYawRun=0, cameraDistance=1, cameraYOffset=-0, canUseTunnel=true, catpackboost=false, clientIndex=4, collisionRep=0, communicationStatus=1, concedeAngularVelocity=0.15384615957737, concedeSequenceActive=false, concedeSettingsIndex=1, concedeStartAngle=5.4977869987488, concedeStartTime=1464.8952636719, concedeTargetPoint=cdata, crouching=false, currentOrderId=18, darwinMode=false, desiredCameraAngles=cdata, desiredCameraDistance=0, desiredCameraPosition=cdata, desiredCameraYOffset=0, desiredSprinting=false, desiredYOffset=0, dissolveStart=0, enableTunnelEntranceCheck=false, flashlightLastFrame=false, flashlightOn=false, flinchIntensity=0, followingTransition=false, fov=90, frozen=false, fullPrecisionOrigin=cdata, gameEffectsFlags=0, giveDamageTime=1440.1002197266, health=90, healthIgnored=false, hotGroupNumber=0, inCombat=false, interruptAim=false, inventoryUpdateId=0, isCorroded=false, isMale=true, isMoveBlocked=false, isOnEntity=true, isUsing=false, jumpHandled=false, jumping=false, lastOrderType=1, lastSpitDirection=cdata, lastTakenDamageAmount=112, lastTakenDamageOrigin=cdata, lastTakenDamageTime=1394.2674560547, lastTargetId=-1, layer1AnimationBlend=0, layer1AnimationGraphNode=137, layer1AnimationSequence2=104, layer1AnimationSequence=-1, layer1AnimationSpeed2=3, layer1AnimationSpeed=1, layer1AnimationStart2=1459.8671875, layer1AnimationStart=1463.5546875, locationId=10, maxArmor=30, maxHealth=100, mode=1, modeTime=-1, modelIndex=63, moveButtonPressed=false, moveTransition=false, nanoShielded=false, onGround=true, onGroundSurface=6, onLadder=false, parasiteDuration=0, parasited=false, physicsGroup=8, physicsGroupFilterMask=0, physicsType=1, playTime=1251.7609863281, playerLevel=260, playerSkill=3410, poisoned=false, primaryAttackLastFrame=false, processMove=true, pushImpulse=cdata, pushTime=0, quickSwitchSlot=2, regenerating=false, regenerationHealth=0, requireNewSprintPress=false, resetMouse=0, resources=23.645000457764, runningBodyYaw=3.4947533607483, ruptured=false, secondaryAttackLastFrame=false, selectionMask=0, shoulderPadIndex=12, sighted=false, slowAmount=0, sprintButtonDownTime=1429.3684082031, sprintButtonUpTime=1429.7102050781, sprintDownLastFrame=false, sprintMode=false, sprintTimeOnChange=6.5756225585938, sprinting=false, sprintingScalar=0, standingBodyYaw=3.4947535991669, startCameraAngles=cdata, startCameraDistance=0, startCameraPosition=cdata, startCameraYOffset=0, strafeJumped=false, stunTime=0, teamAtEntrance=1, teamNumber=1, teamResources=7, techId=55, timeCatpackboost=0, timeGroundAllowed=0, timeGroundTouched=1461.9084472656, timeLastBeacon=0, timeLastHealed=1465.7736816406, timeLastMenu=0, timeLastSpitHit=0, timeLastVisuallyHealed=1414.2604980469, timeOfCrouchChange=1263.65625, timeOfLastDrop=1462.2108154297, timeOfLastJump=1452.8637695313, timeOfLastOrderComplete=0, timeOfLastPhase=1420.0964355469, timeOfLastPickUpWeapon=1462.2491455078, timeOfLastUse=1463.7915039063, timeOfLastWeaponSwitch=1463.9071044922, timeParasited=0, timeSprintChange=1429.7102050781, timeUntilPlayerCollisionsIgnored=0, timeWebEnds=0, totalXP=4174706, transitionDuration=0, transitionStart=0, tunnelNearby=false, tweeningFunction=1, unitStatusPercentage=0, upgrade1=1, upgrade2=1, upgrade3=1, upgrade4=1, upgrade5=1, upgrade6=1, variant=1, velocity=cdata, velocityLength=0, velocityPitch=0, velocityYaw=0, viewModelId=2597, viewPitch=0.48062270879745, viewRoll=0, viewYaw=3.6012666225433, visibleClient=false, vortexed=false, weaponBeforeUseId=-1, weaponUpgradeLevel=0, weaponsWeight=0.14000000059605, webbed=false }
        weapon = Shotgun-659 {alive=true, ammo=0, animationBlend=0, animationGraphIndex=0, animationGraphNode=-1, animationSequence2=-1, animationSequence=-1, animationSpeed2=1, animationSpeed=1, animationStart2=0, animationStart=0, armor=0, clientUserId=73383711, clip=6, collisionRep=0, deployed=false, emptyPoseParam=0, expireTime=1487.2108154297, health=400, healthIgnored=false, isHolstered=true, lastTimeSprinted=0, layer1AnimationBlend=0, layer1AnimationGraphNode=-1, layer1AnimationSequence2=-1, layer1AnimationSequence=-1, layer1AnimationSpeed2=1, layer1AnimationSpeed=1, layer1AnimationStart2=0, layer1AnimationStart=0, locationId=10, maxArmor=0, maxHealth=400, modelIndex=193, physicsGroup=16, physicsGroupFilterMask=524400, physicsType=3, primaryAttacking=false, reloaded=false, reloading=false, secondaryAttacking=false, shotgunVariant=1, teamNumber=1, techId=155, timeAttackEnded=1462.2108154297, timeAttackStarted=0, timeLastHealed=0, timeLastVisuallyHealed=0, weaponWorldState=true }
        wasAutoPickup = true
        replacement = nil
        obsoleteWep = nil
        obsoleteSlot = nil
    #2: f1 lua/UWEExtension/Build_319/Marine.lua:525
        self = Marine-709 {activeWeaponId=1669, alive=true, animateAngles=false, animateDistance=false, animatePosition=false, animateYOffset=false, animationBlend=0.19999998807907, animationGraphIndex=41, animationGraphNode=14, animationSequence2=62, animationSequence=1, animationSpeed2=1, animationSpeed=1, animationStart2=1463.9375, animationStart=1465.4765625, armor=27.42857170105, baseYaw=0, bodyYaw=0, bodyYawRun=0, cameraDistance=1, cameraYOffset=-0, canUseTunnel=true, catpackboost=false, clientIndex=4, collisionRep=0, communicationStatus=1, concedeAngularVelocity=0.15384615957737, concedeSequenceActive=false, concedeSettingsIndex=1, concedeStartAngle=5.4977869987488, concedeStartTime=1464.8952636719, concedeTargetPoint=cdata, crouching=false, currentOrderId=18, darwinMode=false, desiredCameraAngles=cdata, desiredCameraDistance=0, desiredCameraPosition=cdata, desiredCameraYOffset=0, desiredSprinting=false, desiredYOffset=0, dissolveStart=0, enableTunnelEntranceCheck=false, flashlightLastFrame=false, flashlightOn=false, flinchIntensity=0, followingTransition=false, fov=90, frozen=false, fullPrecisionOrigin=cdata, gameEffectsFlags=0, giveDamageTime=1440.1002197266, health=90, healthIgnored=false, hotGroupNumber=0, inCombat=false, interruptAim=false, inventoryUpdateId=0, isCorroded=false, isMale=true, isMoveBlocked=false, isOnEntity=true, isUsing=false, jumpHandled=false, jumping=false, lastOrderType=1, lastSpitDirection=cdata, lastTakenDamageAmount=112, lastTakenDamageOrigin=cdata, lastTakenDamageTime=1394.2674560547, lastTargetId=-1, layer1AnimationBlend=0, layer1AnimationGraphNode=137, layer1AnimationSequence2=104, layer1AnimationSequence=-1, layer1AnimationSpeed2=3, layer1AnimationSpeed=1, layer1AnimationStart2=1459.8671875, layer1AnimationStart=1463.5546875, locationId=10, maxArmor=30, maxHealth=100, mode=1, modeTime=-1, modelIndex=63, moveButtonPressed=false, moveTransition=false, nanoShielded=false, onGround=true, onGroundSurface=6, onLadder=false, parasiteDuration=0, parasited=false, physicsGroup=8, physicsGroupFilterMask=0, physicsType=1, playTime=1251.7609863281, playerLevel=260, playerSkill=3410, poisoned=false, primaryAttackLastFrame=false, processMove=true, pushImpulse=cdata, pushTime=0, quickSwitchSlot=2, regenerating=false, regenerationHealth=0, requireNewSprintPress=false, resetMouse=0, resources=23.645000457764, runningBodyYaw=3.4947533607483, ruptured=false, secondaryAttackLastFrame=false, selectionMask=0, shoulderPadIndex=12, sighted=false, slowAmount=0, sprintButtonDownTime=1429.3684082031, sprintButtonUpTime=1429.7102050781, sprintDownLastFrame=false, sprintMode=false, sprintTimeOnChange=6.5756225585938, sprinting=false, sprintingScalar=0, standingBodyYaw=3.4947535991669, startCameraAngles=cdata, startCameraDistance=0, startCameraPosition=cdata, startCameraYOffset=0, strafeJumped=false, stunTime=0, teamAtEntrance=1, teamNumber=1, teamResources=7, techId=55, timeCatpackboost=0, timeGroundAllowed=0, timeGroundTouched=1461.9084472656, timeLastBeacon=0, timeLastHealed=1465.7736816406, timeLastMenu=0, timeLastSpitHit=0, timeLastVisuallyHealed=1414.2604980469, timeOfCrouchChange=1263.65625, timeOfLastDrop=1462.2108154297, timeOfLastJump=1452.8637695313, timeOfLastOrderComplete=0, timeOfLastPhase=1420.0964355469, timeOfLastPickUpWeapon=1462.2491455078, timeOfLastUse=1463.7915039063, timeOfLastWeaponSwitch=1463.9071044922, timeParasited=0, timeSprintChange=1429.7102050781, timeUntilPlayerCollisionsIgnored=0, timeWebEnds=0, totalXP=4174706, transitionDuration=0, transitionStart=0, tunnelNearby=false, tweeningFunction=1, unitStatusPercentage=0, upgrade1=1, upgrade2=1, upgrade3=1, upgrade4=1, upgrade5=1, upgrade6=1, variant=1, velocity=cdata, velocityLength=0, velocityPitch=0, velocityYaw=0, viewModelId=2597, viewPitch=0.48062270879745, viewRoll=0, viewYaw=3.6012666225433, visibleClient=false, vortexed=false, weaponBeforeUseId=-1, weaponUpgradeLevel=0, weaponsWeight=0.14000000059605, webbed=false }
        input = cdata
        flashlightPressed = false
        dropPressed = false
        autopickupWeapon = Shotgun-659 {alive=true, ammo=0, animationBlend=0, animationGraphIndex=0, animationGraphNode=-1, animationSequence2=-1, animationSequence=-1, animationSpeed2=1, animationSpeed=1, animationStart2=0, animationStart=0, armor=0, clientUserId=73383711, clip=6, collisionRep=0, deployed=false, emptyPoseParam=0, expireTime=1487.2108154297, health=400, healthIgnored=false, isHolstered=true, lastTimeSprinted=0, layer1AnimationBlend=0, layer1AnimationGraphNode=-1, layer1AnimationSequence2=-1, layer1AnimationSequence=-1, layer1AnimationSpeed2=1, layer1AnimationSpeed=1, layer1AnimationStart2=0, layer1AnimationStart=0, locationId=10, maxArmor=0, maxHealth=400, modelIndex=193, physicsGroup=16, physicsGroupFilterMask=524400, physicsType=3, primaryAttacking=false, reloaded=false, reloading=false, secondaryAttacking=false, shotgunVariant=1, teamNumber=1, techId=155, timeAttackEnded=1462.2108154297, timeAttackStarted=0, timeLastHealed=0, timeLastVisuallyHealed=0, weaponWorldState=true }
  

Maybe there is an smaller issue in that code part.

Full error txt may be downloaded here: https://www.sek2000.net:444/diverses/uweext_319.txt
Sign In or Register to comment.