NullSystemWorks/mtadayz

Issues with 0.9.9.5a

RVandal opened this issue · 11 comments

Hello. Clean server installation. After logging in all is normal.

  • Picking backpack and putting on -> OK . Than, after you die, you respawn with unremoved backpack (only visual effect) and with errors in console (posted down below). Second or two after, you become CJ and errors keep coming about one time in 1 or 1.5 minutes and server keeps trying to respawn you normally.
  • Experience for "Skills" is not going up.
  • And zombies AI is really bad, should it be?

Thanks.
MTA:DayZ 0.9.9.5a
MTA:SA 1.5.5

P.S.: If you need to translate mod into Russian, our team can do it. Just ask.

[2018-03-29 22:48:19] WARNING: DayZ\handlers\players\server\backpack_player.lua:12: Bad argument @ 'getElementPosition' [Expected element at argument 1, got nil]
[2018-03-29 22:48:19] WARNING: DayZ\handlers\players\server\backpack_player.lua:13: Bad argument @ 'getElementRotation' [Expected element at argument 1, got nil]
[2018-03-29 22:48:19] WARNING: DayZ\handlers\players\server\backpack_player.lua:15: Bad argument @ 'createObject' [Expected vector3 at argument 2, got boolean]
[2018-03-29 22:48:19] ERROR: DayZ\handlers\players\server\backpack_player.lua:15: table index is nil
  1. Fixed.
  2. Can you elaborate on that?
  3. That's slothbot for you. None of the devs have time to create a new, sophisticated AI from scratch.

Thanks for quick fix.

  • There appear a new problem with backpacks: there is no more errors, but they're stacking (only visual). First time you get a default backpack. After death you spawn with default backpack equipped + you had before death (screenshot 1) + again (screenshot 2) + again. So we have a lot of backpacks on the back. After death and relogging, there is no backpacks at all (screenshot 3). (Screenshots down below)
  • Really don't want to blame you or hurry for bad AI. (Did you do something with zombies? They quite better now. :) )
  • -"Experience not adding for hitting/killing zombies or players" - my tester said. But should it, or player need do something other to gain it?
  • In addition, days in Journal isn't gaining. It's always 0 day. Or maybe it's adding, but after relogging it become 0 again.
  • Repairing animations making 1st movement and then freezes, nonetheless action is completing. Player can't be heard or seen by zombies while doing this action.
  • Repairing problems
    On bus: changes indication, but not appearance and smoke.
    Military offroad: changes indication removing smoke, but not changing appearance.
  • If you run over zombie, there appear multiple corpses and lot of errors in console (down below), but zombie survives.

https://puu.sh/zTcEp/217681835f.jpg
https://puu.sh/zTcHv/93270a3ccf.jpg
https://puu.sh/zTcRH/60ba638699.jpg

[2018-03-31 14:33:08] ERROR: DayZ\handlers\zombies\server\kill_zombies.lua:32: attempt to index field '?' (a nil value)
[2018-03-31 14:33:14] ERROR: DayZ\handlers\zombies\server\kill_zombies.lua:32: attempt to index field '?' (a nil value)  [DUP x5]
[2018-03-31 14:33:17] ERROR: DayZ\handlers\zombies\server\kill_zombies.lua:32: attempt to index field '?' (a nil value)
[2018-03-31 14:33:23] ERROR: DayZ\handlers\zombies\server\kill_zombies.lua:32: attempt to index field '?' (a nil value)
[2018-03-31 14:33:27] ERROR: DayZ\handlers\zombies\server\kill_zombies.lua:32: attempt to index field '?' (a nil value)
[2018-03-31 14:33:33] ERROR: DayZ\handlers\zombies\server\kill_zombies.lua:32: attempt to index field '?' (a nil value)  [DUP x3]
[2018-03-31 14:33:33] ERROR: DayZ\handlers\zombies\server\kill_zombies.lua:32: attempt to index field '?' (a nil value)
[2018-03-31 14:33:39] ERROR: DayZ\handlers\zombies\server\kill_zombies.lua:32: attempt to index field '?' (a nil value)  [DUP x8]

Thanks.

  1. Will investigate, the previous fix was more of a hotfix...
  2. Not per sé, we made them a bit more varied in speed, appearance and general behaviour (their AI now properly detects players based on distance, the closer they are, the more likely they are detect you).
  3. There's a settlement in Whetstone with 2 NPC's which hand out jobs (Extermination and Science). The former means killing a bunch of zombies, the latter is about getting the requested item and bringing it back to the NPC. That's how you get XP and SP.
  4. That's a minor bug. "Alivetime" isn't being calculated as I wanted to rewrite the code.
    5-7) Will investigate.

Can't check backpacks stacking because of...

  • Looks like recent commits broke something, because you literally can't die. There appears 2 your characters corpses, and interaction with corpse menu. Screen swing and flying up non-stop, without "You're dead" screen and sometimes you get messages: You're unconscious, You're awake (blood starts to regen from 0). If this can help, here you go:

[2018-03-31 19:38:36] ERROR: DayZ\init\players\spawn_init.lua:203: attempt to index field '?' (a nil value)

  • If you get in Whetstone on a car, you can use weapons inside town and use (!) fists. Not to mention you can run over quest NPC's and other players. (Capable solution for now - block vehicle from getting inside)
  • (MTA problem) Sometimes choppers from the start picking and always keeping forward angle. Tested on News heli, Little bird, Huey. After get out and than get in - going normal. (screenshot below)
  • I think maybe you need slightly increase damage from vehicles on zombies (takes 4-5 hits to roadkill zombie)

http://puu.sh/zTqD3/f8db657d13.jpg

Thanks.
P.S.: I hope we're not annoying you too much.

I've fixed all bugs you mentioned. As for the chopper thing, that has nothing to do with DayZ, as we don't modify or handle anything related to their flying behaviour.

Ok, I'll test everything.

  • Backpacks again... :
  • Survival ACU is the only backpack, that shows when equiped in the inventory backpack slot
  • All backpacks can be equiped more than 1 time simultaneously, but until inventory reaches 50 slots
  • + visual stacking (screenshot below)
  • Czech backpack can be equiped even after 50 slots inventory, but doesn't do anything
  • After reaching 50 slots inventory, clicking on all backpacks (except Czech backpack) makes "This backpack is too small" message appear
  • NOT backpacks:
  • (MTA problem) Wrong button names at the top of the map (screenshot below)
  • Every cycle of repairing animation moves you a little bit in some direction
  • One more thing. If you disconnect or exit game on the death screen after respawn timer is up, server throws a lot of warnings and errors. (down below) Can there be some checking system, so server won't try to respawn disconnected players? And if answer is "Yes", this system should also check player death status on login and respawn them.
[2018-04-02 21:34:55] WARNING: DayZ\init\players\login_init.lua:535: Bad argument @ 'destroyElement' [Expected element at argument 1]
[2018-04-02 21:34:55] WARNING: DayZ\handlers\players\server\backpack_player.lua:45: Bad argument @ 'destroyElement' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:33: Bad argument @ 'spawnPlayer' [Expected player at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:34: Bad argument @ 'setElementFrozen' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:36: Bad argument @ 'setCameraTarget' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:43: Bad argument @ 'setElementData' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:44: Bad argument @ 'attachElements' [Expected element at argument 2]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:50: Bad argument @ 'getPlayerAccount' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:51: Bad argument @ 'setAccountData' [Expected account at argument 1, got boolean]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:52: Bad argument @ 'getAccountData' [Expected account at argument 1, got boolean]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:52: Bad argument @ 'setElementData' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:53: Bad argument @ 'getAccountData' [Expected account at argument 1, got boolean]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:53: Bad argument @ 'setElementData' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:55: Bad argument @ 'setElementData' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:56: Bad argument @ 'setElementData' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:64: Bad argument @ 'setElementData' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:64: Bad argument @ 'setElementData' [Expected element at argument 1]  [DUP x292]
[2018-04-02 21:35:22] WARNING: DayZ\handlers\players\server\status_player.lua:105: Bad argument @ 'getElementData' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\handlers\players\server\backpack_player.lua:13: Bad argument @ 'getElementPosition' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\handlers\players\server\backpack_player.lua:14: Bad argument @ 'getElementRotation' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\handlers\players\server\backpack_player.lua:16: Bad argument @ 'createObject' [Expected vector3 at argument 2, got boolean]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:142: Bad argument @ 'setElementData' [Expected element at argument 1]
[2018-04-02 21:35:22] WARNING: DayZ\init\players\spawn_init.lua:144: Bad argument @ 'triggerClientEvent' [Expected element at argument 1]
[2018-04-02 21:35:25] WARNING: DayZ\init\players\spawn_init.lua:35: Bad argument @ 'fadeCamera' [Expected element at argument 1]

Backpacks:
https://puu.sh/zUMOL/c085238259.jpg
Buttons:
https://puu.sh/zUNng/316f2b3dae.jpg

Thanks.

I hope I fixed every backpack-related bug this time...as for the map, that's nothing to do with us. That's a problem with MTA.

Looks like backpacks is OK now.

  • Is there some plans for adding ability to unequip backpacks to give them or should it be only through looting (from loot piles or corpses)?
  • I think we understood repairing system. You have to repair vehicle multiple times: first - to change indication, second - to remove smoke, third - to update hull. Or it shouldn't be like that?
  • Repairing animation freezes again
  • Flashlight is not working, as flashlight. Besides it shoots 1 time making 10 blood damage and destroys. Can be reloaded, looks like a pistol for other players. Located in the "Weapon" category.
  • Re-skinned weapons desynchronization + sometimes between players + after respawn not removing from backpack side: For example AK lying on the ground. You pick it up - it's RPK. You equip it and visually it's default GTA AK, switch weapon. On the side of backpack it becomes RPK. You switch it back to your arms - it's RPK. Drop it to ground - still RPK. Other player picks it up - it's again visually default GTA AK for him and for me, but it still RPK.
  • Weapon shooting sounds desynchronization between players (hitting sounds works properly)
  • Hitting player doesn't toggle combat mode for both attacker and victim
  • Sometimes throwing a grenade throws an error in console (below)
  • Grenade quantity indicator always shows 0/0
  • Double-barreled shotgun can't be reloaded properly. After 1 of 2 shots reload can't be done. Sound happening and can be spammed. After both shots, reloads automatically instantly without animation and sound. Shotgun can shoot non-stop while it have ammo.
  • Wind collision on trees need to be corrected, because it looks kinda weird (screenshot below).
  • Items from inventory can be used under unconscious state, breaking it and breaking lying animation.
  • Epi-pen can't be used to awake unconscious player.
  • Encampment system show duplicate names in management. Example: Player1 sees Player1 and Player1 in management, Player2 sees Player2 and Player2 in management. Account names are OK.
  • Empty loot piles showing loot icon and side menu.
  • (Possibly MTA bug) Sometimes vehicle doors not closing completely (visual bug).
  • Desynchronization between players about unconscious state. For me - I'm lying. For other players - standing. Besides they can't kill standing one, because real hitbox is lying.
  • Shooting in the leg from lots of weapons makes "Bone broken" effect (can't sprint and jump), but there's no indication and it can't be healed neither blood/meds, nor morphine. So it stays until death.
  • I hope "Give vehicle" button will work at 1.0.0.
  • If we got it right: unconscious timer randomly calculated every time. But sometimes it's very long (about 3-5 minutes) or something is wrong.
  • Sometimes unconscious/awake happening immediately afterwards, which causing standing unconscious player.
  • After reaching 0 fuel, you can get out and get in. And you can drive vehicle a few seconds.
  • Rare, running over zombie makes him spin and take an angle exactly, what angle is holding a vehicle, that runned over him. Plus error in console.

[2018-04-03 17:46:04] ERROR: DayZ\handlers\players\server\damage_player.lua:70: attempt to perform arithmetic on local 'damage' (a nil value)
Run over error:
[2018-04-04 14:42:24] ERROR: DayZ\handlers\zombies\server\kill_zombies.lua:65: attempt to index field '?' (a nil value)
Collision: https://puu.sh/zVZmt/319b118faf.jpg

Thanks.

  1. Yeah, I reverted that.
  2. No, you only repair 200 health points of the vehicle in question. You can increase that to up to 400 with the Engineer Skill "Prototype Duct Tape".
  3. Will check the other bugs.

Having the same issue with the helicopters flying constantly towards the east and even if I re-enter nothing works just keeps flying towards east and it's really hard to try and fly in the opposite direction as it will just keep on trying to turn itself around at all times.

The problem with the blood type system.
proxy_sa_2018-08-26_00-01-48
proxy_sa_2018-08-25_23-58-24