[RESOLVED] tmwserv NPC Interaction

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
User avatar
leeor_net
Novice
Novice
Posts: 180
Joined: Sun Feb 03, 2008 10:17 am
Location: Ohio, USA
Contact:

[RESOLVED] tmwserv NPC Interaction

Post by leeor_net » Mon Feb 18, 2008 3:50 am

Well, I've poked around a bit and I can't seem to get it working right.

I've been trying to add NPC's to my maps... and they show up, but when I try to interact with them, nothing happens. (and yes, I've been right-clicking on them).

I copied a sample NPC from one of the TMW maps to my map code but with no luck. My guess is that libtmw.lua isn't being loaded but this is just a guess. There are no clues in any of the log files.

Any thoughts on what I can look at to attempt to resolve this?
Last edited by leeor_net on Mon Feb 18, 2008 3:55 am, edited 1 time in total.
- Leeor

"Oh, no thanks. I ate a boulder on the way in." - Shrek
User avatar
leeor_net
Novice
Novice
Posts: 180
Joined: Sun Feb 03, 2008 10:17 am
Location: Ohio, USA
Contact:

[RESOLVED] tmwserv NPC Interaction

Post by leeor_net » Mon Feb 18, 2008 3:55 am

I have no clue what I did, but it's working now... go figure... :P
- Leeor

"Oh, no thanks. I ate a boulder on the way in." - Shrek
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Re: [RESOLVED] tmwserv NPC Interaction

Post by ElvenProgrammer » Mon Feb 18, 2008 9:54 am

Just make sure you're near enough for the NPC to answer. Many times that made me think they were not working.
User avatar
leeor_net
Novice
Novice
Posts: 180
Joined: Sun Feb 03, 2008 10:17 am
Location: Ohio, USA
Contact:

Re: [RESOLVED] tmwserv NPC Interaction

Post by leeor_net » Tue Feb 19, 2008 12:06 pm

You know what, that's exactly what 'solved' my problem. I realized this when I ran the SVN version of TMW client with its original maps and couldn't interact with them until I got close enough.

Sounds like it's time to add one of those "You're not close enough" messages for dummies like me!

Although, the mouse pointer could change for interactive things like that... like in World of Warcraft. Just a thought... :)
- Leeor

"Oh, no thanks. I ate a boulder on the way in." - Shrek
Post Reply