MSDP_POSITION, don't use it.

MSDP_POSITION, don't use it.

Postby DarkArtist » Tue Mar 11, 2014 10:05 am

Given that there is up to 2 seconds of delay time for it's update, MSDP_POSITION is effectively useless. I find that for anything involving my position, i.e. Fighting, Standing, Sleeping, Sitting, Resting 2 seconds of delay is too much for anything to work properly. Some battles don't even last 2 seconds long. I can't imagine what this variable could actually be used for the way it exists.

This is an FYI not to waste your time/get frustrated with it. Just use triggers to set your position variable as it will be accurate.

Similarly, if your scripts depend on know what room you are in, capture the room name manually and forsake MSDP. With the delay you can't count on the MSDP giving you the right result for the room name or number.

So you'll need triggers for:
sleep, stand, wake up, rest, bashed (sitting), hates your guts, R.I.P., You are dead/stunned/incap/mort, etc...
Double 40 Poster
Posts: 111
Joined: Tue Dec 10, 2013 6:18 pm
Status: Offline

Return to Mudlet - unlimited possibilities

Who is online

Users browsing this forum: No registered users and 1 guest