Citizens2 icon indicating copy to clipboard operation
Citizens2 copied to clipboard

NPCs show up in tablist

Open shepherdjerred opened this issue 12 years ago • 17 comments

Pretty self-explanatory.

Using build 1190. All NPCs show up properly in-game, however the tablist also shows all of the NPCs.

shepherdjerred avatar Dec 01 '14 07:12 shepherdjerred

Is it planned to remove NPCs from tab list?

danielgarciagarcia avatar Dec 01 '14 07:12 danielgarciagarcia

We're working on finding ways to get NPCs to show up properly without being in the tab list. It's a lot harder than it sounds with 1.8 changes.

mcmonkey4eva avatar Dec 01 '14 07:12 mcmonkey4eva

I'll take the tablist over no NPCs. Thanks for your work on these updates.

shepherdjerred avatar Dec 01 '14 07:12 shepherdjerred

well i shall wait for the update then good luck :)

mmuziek avatar Dec 01 '14 18:12 mmuziek

I took a try at fixing this... who wants to test? https://dl.dropboxusercontent.com/u/54130586/citizens-2.0.14-SNAPSHOT.jar

mcmonkey4eva avatar Dec 04 '14 07:12 mcmonkey4eva

i will test it for ya :-)

mmuziek avatar Dec 04 '14 10:12 mmuziek

it works at first they are listed on the tab but after a few seconds its gone :+1: i havent tested this with many players yet so if i find i bug i report it here!

mmuziek avatar Dec 04 '14 10:12 mmuziek

It works, but spams console with errors

CKGAR avatar Dec 04 '14 20:12 CKGAR

My bad about the errors. I totally forgot most servers have multiple worlds. I've updated the download link to a new version, this one error-free :) - it also better avoids disappearing, hopefully.

mcmonkey4eva avatar Dec 05 '14 00:12 mcmonkey4eva

tab list errors is solved. but some npcs dissapear (like i reported in the other issue)

mmuziek avatar Dec 05 '14 12:12 mmuziek

Can you give me specific situations in which they disappear?

I've handled:

  • walking up to NPCs
  • Teleporting to NPCs
  • NPCs spawning

I've not handled:

  • NPCs walking up to you
  • moving NPCs in general are questionable really

mcmonkey4eva avatar Dec 05 '14 22:12 mcmonkey4eva

em they are standing still with a trait. after a while they just dissapear. (randomly sometimes it can take a while) it happens the most with the zombie type currently.

mmuziek avatar Dec 05 '14 22:12 mmuziek

Zombies?! I thought only player-types disappear. Will investigate...

mcmonkey4eva avatar Dec 06 '14 00:12 mcmonkey4eva

The beta one did not work for me. Tab list only works once in a while but now Denizen scripts react really slow. Here is the errors im getting:

http://pastebin.com/9XYMUzQ3

cybermancerr avatar Dec 06 '14 05:12 cybermancerr

@khomitchr that's a Depenizen / Factions issue, report that on the Depenizen github, not here.

mcmonkey4eva avatar Dec 06 '14 05:12 mcmonkey4eva

@mcmonkey4eva Just submitted it to there github.

Thanks

cybermancerr avatar Dec 06 '14 08:12 cybermancerr

This thread is off-topic. Direct further tab list trouble here: https://github.com/CitizensDev/Citizens2/issues/72

mcmonkey4eva avatar Dec 12 '14 00:12 mcmonkey4eva