ronancpl / HeavenMS

An improved server based on MapleSolaxia (v83 MapleStory private server)
GNU Affero General Public License v3.0
1.03k stars 742 forks source link

Disable Certain NPCS. #441

Closed UltimateMors closed 5 years ago

UltimateMors commented 5 years ago

This will allow you to disable certain NPCS. All I did was take this: http://forum.ragezone.com/f427/remove-mapletvs-wz-703388/ and changed it a bit to be a bit more clean looking. In this case, it'll remove all of those Maple TV NPCs. But, adding NPC ids to the DISABLED_NPC part in GameConstants will allow you to remove whatever NPCs you want.

ghost commented 5 years ago

This just removes the NPC's spawn. It doesn't really disable it since theoretically a client could interact w/ it via packets. If NPC OID's 1001, 1002, 1003, 1005 are spawned, A lucky guess for 1004 may work 😜 Cheers