View Full Version : SPS custom maps problem
dw171
05-20-2012, 04:43 PM
I'm trying to create a custom map for walking around Gnome Stronghold. It compiles fine but whenever I run the script it tells me
SPS_GetArea ERROR: Exception: Error while reading stream: Unable to open file "C:\Simba\Includes\SPS\img\runescape_surface\0_0.pn g"
I saved it as 0_0 in the correct place I thought, any idea what's wrong. It either gives me that error or access violation in the SPS file.
Brandon
05-20-2012, 04:51 PM
.p ng should be .png.. remove the space.
dw171
05-20-2012, 06:17 PM
I don't know how the space got in what I was writing, but there's still an error.
SPS_GetArea ERROR: Exception: Error while reading stream: Unable to open file "C:\Simba\Includes\SPS\img\runescape_surface\0_0.pn g"
Error: Exception: Access violation at line 305
The access violation is in SPS.
There's no space in between the p and n, that's just how it's showing up.
Spiker
05-22-2012, 04:51 AM
Why not use 3_6 & 4_6 pictures?
iBlank
05-22-2012, 05:00 AM
Why not use 3_6 & 4_6 pictures?
Not sure if the SPS images need to be updated in that area, but walking seems to be more inaccurate than usual for SPS in that specific area.
I'm trying to create a custom map for walking around Gnome Stronghold. It compiles fine but whenever I run the script it tells me
SPS_GetArea ERROR: Exception: Error while reading stream: Unable to open file "C:\Simba\Includes\SPS\img\runescape_surface\0_0.pn g"
I saved it as 0_0 in the correct place I thought, any idea what's wrong. It either gives me that error or access violation in the SPS file.
The 0_0 is saved as a 500x500 pixel .png right? And you say you thought you saved it in the right place. Is it in the folder that the error message lists?
dw171
05-23-2012, 04:59 AM
3_6 and 4_6 aren't up to date with what I need. It's saved as a 500x500 .png picture and I saved it in C:\Simba\Includes\SPS\img\runescape_surface\0_0.pn g. It compiles fine, but when I try and run to test it out the SPS file opens up with an access violation error on line 305 I think.
Google
05-30-2012, 07:56 PM
Not sure if you still are viewing this but if you made the map through Photoshop and saved it as a .png through Photoshop it always seems to give this error. Just open up your custom SPS map through paint and re-save as a .png
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.