[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: 03 Feb 2008, 10:17
Location: Ohio, USA
Contact:

[RESOLVED] tmwserv NPC Interaction

Post by leeor_net » 18 Feb 2008, 03:50

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 18 Feb 2008, 03:55, 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: 03 Feb 2008, 10:17
Location: Ohio, USA
Contact:

[RESOLVED] tmwserv NPC Interaction

Post by leeor_net » 18 Feb 2008, 03:55

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: 13 Apr 2004, 20:11
Location: Italy
Contact:

Re: [RESOLVED] tmwserv NPC Interaction

Post by ElvenProgrammer » 18 Feb 2008, 09:54

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: 03 Feb 2008, 10:17
Location: Ohio, USA
Contact:

Re: [RESOLVED] tmwserv NPC Interaction

Post by leeor_net » 19 Feb 2008, 12:06

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