I'm having trouble implementing NPCs in my server - if I send only the spawnnpcpacket, everything's working well. However, if I'm sending the controlnpcpacket as well, the encryption between the client and me breaks, causing the server to fail.
I've been looking at moople and vana as bases - and whereas vana spawns and controls all the npcs when the map changes, moople is doing something entirely different. First, moople is sending all the spawn and control packets, then it's sending spawn and control packets for all npc's within the players screen (viewrange), and keeps sending spawn and control packets on update.
Currently, I'm only sending them on mapspawn - any ideas?


Reply With Quote


