Mirage Source
Why are there 2 npcs for the map? - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Why are there 2 npcs for the map? (/showthread.php?tid=89)



Why are there 2 npcs for the map? - Misunderstood - 03-06-2006

Well ya know how theres the npc array of bytes in the maprec, then theres the MapNpc array, why both? The MapNpc array even contains the type byte(which is the only thing in the other npc array) so why both?!

I don't understand it.


- grimsk8ter11 - 03-06-2006

REMOVE IT, were the next generation lol, we shall be faster O_O


- Matt - 03-06-2006

Both of you have some mad issues, I swear. You guys make fun of each other all the time, and then say silly little things like what grim just somehow spit out. Lol.


- funkynut - 03-06-2006

I know, there both stark raving mad. Do you really trust these guys as forum mods? Big Grin Big Grin

Naa only kidding, but just wondering, did you manage to figure it with whatever you made out from grims post?


- Misunderstood - 03-06-2006

grim knows I mentioned it because im looking through all the code while porting the client to java, he was saying, do whatever makes more sense because we are supposed to be improving the code as we go, not just directly porting it over. Wink.


- grimsk8ter11 - 03-06-2006

exactly, we have done so much together we know exactly what the others mean.


- Matt - 03-06-2006

And everyone else thinks you're crazy. Lol.


- Misunderstood - 03-06-2006

Maybe we are?

But my question still stands, what the hell is the point of both, seems like a waste to me.


- grimsk8ter11 - 03-06-2006

it probably useless you know how consty's programming has proven to be.

try changing it aound?


- Misunderstood - 04-06-2006

What im doing is making the mapnpc in the Map class(like the maprec, but cooler) since it contains the npc num anyway.


- grimsk8ter11 - 04-06-2006

make sure you tlel me what you change client whise that will cause server change.


- Misunderstood - 04-06-2006

it will still act the same with the server. However you might wanna think about why theres the npc thing in the maprec yet theres a 3dimensional array for mapnpcs server side xD