Yazir Posted April 8, 2017 Share Posted April 8, 2017 (edited) Decided to post the issue there after not getting answers on other post and realising it is issue that occurs on linux-server Post content here: I've downloaded latest Slothbot resource and spawned counple bots. Everything was fine till i noticed that if there's no obstacle between me and enemy, his firing won't make a projectile (or it does, but it looks random). In result players can stand in front of a slothbot while he is shooting at him at point blank range and the bullet projectiles aren't spawning. Left: Bot can't hit me, Right: After hiding into cover, the last bullets he shoots emit projectile (yellow lines) that can deal damage. Extension. How to replicate: 1. Get slothbot on linux server (debian 7 wheezy) 2. Spawn bot with slothbot's spawnBot function. 3. Make the bot start shooting at you, it won't create projectiles, but when you hide behind any sort of cover (isLineOfSightClear=false) bot emits projectiles to wall or to player because of recoil. I have investigated the code and I didn't find anything that could be the reason this issue occurs. Thought: Maybe it's some anti-cheat regulation? Issue didn't occur on localhost Win10, but does occur at Debian 7 (wheezy). Edited April 8, 2017 by Yazir Link to comment
MTA Team ccw Posted April 8, 2017 MTA Team Share Posted April 8, 2017 When testing on Debian, are you the only player in the server? Link to comment
Yazir Posted April 8, 2017 Author Share Posted April 8, 2017 It's the same with, or without players. Link to comment
Yazir Posted April 11, 2017 Author Share Posted April 11, 2017 (edited) Any ideas? Edited April 11, 2017 by Yazir Link to comment
MTA Team ccw Posted April 11, 2017 MTA Team Share Posted April 11, 2017 Please supply a resource which shows the problem Link to comment
Yazir Posted April 13, 2017 Author Share Posted April 13, 2017 https://community.multitheftauto.com/index.php?p=resources&s=details&id=672 And couple bots via spawnBot function. Link to comment
MTA Team ccw Posted April 13, 2017 MTA Team Share Posted April 13, 2017 As I don't have time to work out the details, please make a resource which does everything necessary for me to see the problem. Link to comment
Yazir Posted April 13, 2017 Author Share Posted April 13, 2017 https://drive.google.com/file/d/0B7mtMTEMVviJV05sLVZQVjJ5MXc/view?usp=sharing download whole zip and use it as a resource "/bot" to spawn bot that most of the time won't be able to hit you. Also there's a bug that players sometimes can't hurt the bot when the bot's listener is not nearby, but that i will probably work around. Link to comment
Yazir Posted April 17, 2017 Author Share Posted April 17, 2017 I guess my fix will be paying more for windows server... Link to comment
MTA Team ccw Posted April 17, 2017 MTA Team Share Posted April 17, 2017 Sorry, I haven't had time to look at this in detail yet. The problem may be related to ping, rather than OS Link to comment
Yazir Posted April 18, 2017 Author Share Posted April 18, 2017 I have less than 20 ping to my server and players have less than 60 and the issue occurs. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now