LCKB
Character or npc spawn distance - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128)
+------ Forum: Solved topics (https://lckb.dev/forum/forumdisplay.php?fid=158)
+------ Thread: Character or npc spawn distance (/showthread.php?tid=1715)



- Dimaflash - 02-11-2021


Hi guys. Please tell me where the distance of the appearance of other characters or npcs changes.

Thanks.

 




- Desarija - 02-11-2021


npcs -> t_npc_regen and t_shop (for merchant npcs)

 

for characters, do you mean their spawn positions when logging in, or when changing a map?




- Dimaflash - 02-11-2021



5 hours ago, Desarija said:




npcs -> t_npc_regen and t_shop (for merchant npcs)



 



for characters, do you mean their spawn positions when logging in, or when changing a map?




Hello=). I mean, a review of the player in the game. Distance, how far he will be able to see other players and NPCs.




- kravens - 02-11-2021


I'm not very sure, because I never look for it, but it could be #define CELL_SIZE from config.h server source




- Dimaflash - 02-11-2021



2 hours ago, kravens said:




I'm not very sure, because I never look for it, but it could be #define CELL_SIZE from config.h server source




Yes, this is it! Thank you guys. kravens and Desarija for your help ?




- kravens - 02-11-2021


np, but if you increment the range, it could lag your game




- cooldude - 02-11-2021

Hi there.As your topic has been answered, and from this topic you can solve your problem or already have I am going to move this topic into our Solved section database.Thankyou,-LCKB Staff