Jump to content

Slothbot peds not emitting bullets


Yazir

Recommended Posts

Posted (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.

.eJwNyFEOgyAMANC7cACqHS2btyFI0EwpoTX7WHb3mbyv93XXONziNrOuC8C6a5axejUZqRZfRepRUt_VZzkhmaW8naWZAkbiON9oDoEDUrzrNSEj00SRiZ8PhKu9m3ya76263x8IViLl.KYDhf3YEFv1Oqfa6JLtW6oZa_u4?width=400&height=225.eJwNyEEOhCAMAMC_8ACqDYXobwgSNKuU0BoPxr8vyZzmNXc_zWp21SYrwHZI4r5ZUe6xZFuYy5ljO8QmviCqxrRfuaoABvJhHmh2zjukMGqZ0DuPCwWacCzc9Vf5qbbVYr4_CGAi5A.D-s472d1Ae5xz_6YlzU1xNC8aEg?width=400&height=225

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 by Yazir
  • MTA Team
Posted

When testing on Debian, are you the only player in the server?

  • MTA Team
Posted

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.

  • MTA Team
Posted

Sorry, I haven't had time to look at this in detail yet.

The problem may be related to ping, rather than OS

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...