cathook icon indicating copy to clipboard operation
cathook copied to clipboard

Namesteal works inconsistently on bots

Open Auditormadness9 opened this issue 4 years ago • 23 comments

System Information

OS: Linux DE: CathookOS Cathook Version: image

Config used

Luntik.conf.zip

Description

Regardless whether their namesteal option is set to Passive or Active, their names only update in the IPC webpanel, but not in-game. The only time they successfully use a stolen name in the game is at the beginning of a match (and only when they have first been booted), otherwise it's really inconsistent and works like 1% of the time, unlike for a person (for example me, I tested the option and it works normally for me). Their names don't update mid-game, so I tried the retry command, but it still did not help, they joined with their original steam names (or if i set a custom name for them, custom names). It has something to do with how bots work since the option is working fine I think (it's probably just me thinking) since the bots also can't perform cat_join_spam while a human cathooker can. I just don't understand the fact that IPC clearly shows how they change their names, but in-game they stay in their same steam names, regardless of retry or disconnect commands.

Update: okay so apparently it sometimes does the same for me, so it's not exclusive to bots I see, ignore my statement about it being the bots and not the option.

Steps to reproduce

[✓] I am able to consistently reproduce this error

Steps to reproduce the behavior:

  1. Run cat set name.namesteal 1 or 2 in the IPC.
  2. Wait for bots to steal names.
  3. See that bots update their names in the IPC to a stolen name.
  4. Alt tab into the match, check that they haven't changed their names mid-game.
  5. If not, try the retry command. Check that it didn't change anything.
  6. Wait for 10 mins since that's the name change cooldown of the game.
  7. See that nothing changed.
  8. Try cat_name_set command.
  9. See that nothing changed.

Additional context

Maybe you should consider making a bot or a user never change their names back to their original names unless and only unless namesteal is on 0 (disabled). If it is passive or active, regardless of it being in main menu or retrying to join, it should preserve the stolen name and never revert back unless told so. But even then, that could not be the problem, just a suggestion just in case that's the problem.

Screenshot of cheats enabled

Only Cathook.

Checklist

  • [✓] I have included my DE, WM, and version of Cathook.
  • [✓] I have included the steps to reproduce and my logs to the best I am able to share.
  • [✓] The Developers are allowed to contact me on the official telegram for further information if they need to. (Put your username here)

Auditormadness9 avatar May 05 '21 10:05 Auditormadness9

fix: reconnect after name steal and keep the name saved instead of clearing it

LemonatedCat avatar May 05 '21 10:05 LemonatedCat

fix: reconnect after name steal and keep the name saved instead of clearing it

So I was right regarding that it was clearing the stolen name when performing retry?

Auditormadness9 avatar May 05 '21 10:05 Auditormadness9

yes

LemonatedCat avatar May 05 '21 10:05 LemonatedCat

Also I have tested it on myself and most of the time it changes my name mid game without reconnecting, but bots can't seem to do that, which isn't related to name resetting when reconnect.

Auditormadness9 avatar May 05 '21 11:05 Auditormadness9

Bots can't change their name mid-game due to the f2p changes

LemonatedCat avatar May 06 '21 08:05 LemonatedCat

Bots can't change their name mid-game due to the f2p changes

I have 3 p2p bots.

Auditormadness9 avatar May 07 '21 17:05 Auditormadness9

I saw a recent update (May 5), has it been fixed?

Auditormadness9 avatar May 08 '21 12:05 Auditormadness9

No. The biggest issue with this whole change is the reconnect possibly getting you booted for ad-hoc connections.

LemonatedCat avatar May 08 '21 12:05 LemonatedCat

Just because of name change? Because I don't usually get adhoced unless I rejoin 15 times

Auditormadness9 avatar May 08 '21 12:05 Auditormadness9

to change the name we need to reconnect

LemonatedCat avatar May 08 '21 12:05 LemonatedCat

Yes but not always, right? I see sometimes in-game changes work (sometimes).

Maybe the code can read and verify if the name change actually affected the scoreboard name, if not, reconnect, if yes, no.

Auditormadness9 avatar May 08 '21 12:05 Auditormadness9

No, you need to either change maps, have the name upon join, or reconnect.

LemonatedCat avatar May 08 '21 12:05 LemonatedCat

I swear I saw some of my p2p bots keep changing names in a certain server after 10 min intervals, they kept cycling and it really happened, but it only happens very rarely on certain, very certain servers.

Auditormadness9 avatar May 08 '21 12:05 Auditormadness9

those can obviously. Not f2p bots though.

LemonatedCat avatar May 08 '21 12:05 LemonatedCat

Other name changing issues are caused by the 10 min interval.

LemonatedCat avatar May 08 '21 12:05 LemonatedCat

those can obviously. Not f2p bots though.

Yes, but rarely. Most of the times the p2p ones can't either. Been there for an hour and never changed names. They only were able to in 1 out of every 20 servers.

Auditormadness9 avatar May 08 '21 12:05 Auditormadness9

No. The biggest issue with this whole change is the reconnect possibly getting you booted for ad-hoc connections.

Just a thought, maybe not auto reconnect? Do retry manually? Also even if auto reconnect was implemented in it, adhoc limit is like 15 disconnects I think, so 15*10 = 150 minutes of playtime, which is totally ok by me.

Auditormadness9 avatar May 08 '21 21:05 Auditormadness9

for p2p bots a reconnect will not fix the name

LemonatedCat avatar May 08 '21 22:05 LemonatedCat

also you cannot disconnect more than twice or thrixe, do not recall.

LemonatedCat avatar May 08 '21 22:05 LemonatedCat

for p2p bots a reconnect will not fix the name

I am currently playing and I see some p2p bots keep changing names ever 5-10 mins really fast, while mine don't, some even rollback to their steam names after I changed their namesteal from 0 to 1 (at 0 they were using their custom names I gave)

Auditormadness9 avatar May 08 '21 22:05 Auditormadness9

Also noticed that sometimes a specific bot can namesteal normally every 10 mins, while others can't.

Auditormadness9 avatar May 09 '21 11:05 Auditormadness9

Any update?

Auditormadness9 avatar May 25 '21 16:05 Auditormadness9

*OS: CathookOS DE: KDE Plasma

WheeledCord avatar Aug 05 '21 01:08 WheeledCord