|
Development Forum |
 |
| Invalid Map Position error | |
|
 Carrot Beetle
DragonSparke

|
5/29/2015 | |
So, while testing my new Sriracha sauce vendors, we encountered this error
Runtime error in agent 2 23 55605 script 2 23 55605 1 unique id 6934
Invalid map position (1626.500000, 9256.900391)
... 10 accg 2 perm 100 {@}mvto va00 va01 tick 8 stim wri ... |
Unfortunately my tester couldn't remember what they were doing at the time to trigger it - it's my suspicion that the vendor tried to spawn sauce somewhere invalid... Is this right? |
 Prodigal Sock
Ghosthande
    

|
5/29/2015 | 1 |
Yes. You might try using MVSF instead of MVTO to avoid this kind of thing.
MVTO tries to move the item to the location you tell it "literally", regardless of whether it's possible to put that agent there or not. So if the location would put the agent halfway through a wall or something, MVTO doesn't care, it will try to do so even though it causes an error in the process.
MVSF works the same way as MVTO, but it's a "smarter" command: it will automatically adjust the agent's position slightly if there is any risk of that location being "bad". So you don't usually get this kind of error. (MVSF does have its own drawbacks in certain situations, but for a vendor it will work fine.)
 |

Mioonktoo
 

|
5/29/2015 | |
I don't know how many testers that you have, but on my end it was the newest iteration on the stand-alone version of your sauce when created from the Comms Room that threw out errors on me. (I couldn't nab the entire error string on both of them, the description on the comms window is only so big, but I did get screencaps of what it said. Those will be making it to your inbox shortly.)
Your vendor worked fine (or at least the copy I had downloaded yesterday at around the time I posted this did), if only one sauce being vended had been intended. All I saw was the sweet sprite being used so it was hard telling if I was vending sweet or spicy en masse upon my feral creatures.
From the depths of Deep Lurkspace I emerge... And suddenly can't remember what it is I came up for. |
 Carrot Beetle
DragonSparke

|
5/29/2015 | |
@Mioonktoo, Got the email from you - I think you have a version that's one older, 1.1 not 1.2 - the newest stand alone sauces (that you can get on the website here) shouldn't be throwing any errors like that any more.
I also have two seperate vendors being used - one for sweet and one for spicy - the test version I sent to you was just the sweet vendor. |