Promotion NPCs

09/27/2011 20:13 HerpDerpNigga#1
Anyone know where are the promotion npcs coded, cause I can't seem to find them in NPCS.cs (Using 5525 source).
They are not there, where else could they be coded?
I tried to search for their case IDs but visual c# can't find anything, I looked if they are coded in phyton nothing. there is no phyton npc file...
09/27/2011 22:36 pro4never#2
Seeing as you mentioned python, I'm gonna go ahead and assume it's the old hellmouth source you're using.

Few questions (cause I don't remember that far back)

#1: Do the npcs work at all? (Anything with 'not coded' msg means you need a new python file or hardcoded npc)

#2: What's the npc ID (should say when you talk to it... if not re-enable that by going to packet processor, finding the npc request packet and having it print the npc id to console or w/e)

#3: Open the python npc folder (should be like bin/debug/npcs) and try to find one with matching npc id... That's your python script for the npc! (if it's coded). If it's not coded simply copy and paste and existing script as an example and you're good to go (note the .npc files are simple text. Open with notepad)

#4: There are VERY few hard coded npcs in that source (I think related to my old crappy ctf code) but you can try looking in the Handlers/npc scripting area.