[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/functions.php on line 4586: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765) [phpBB Debug] PHP Warning: in file /includes/functions.php on line 4588: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765) [phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765) [phpBB Debug] PHP Warning: in file /includes/functions.php on line 4590: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765) [phpBB Debug] PHP Warning: in file /includes/functions_reimg.php on line 122: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/functions_reimg.php on line 124: array_unique() expects parameter 1 to be array, null given [phpBB Debug] PHP Warning: in file /includes/functions_reimg.php on line 126: Invalid argument supplied for foreach() [phpBB Debug] PHP Warning: in file /includes/functions_reimg.php on line 122: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/functions_reimg.php on line 124: array_unique() expects parameter 1 to be array, null given [phpBB Debug] PHP Warning: in file /includes/functions_reimg.php on line 126: Invalid argument supplied for foreach() [phpBB Debug] PHP Warning: in file /includes/functions_reimg.php on line 122: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/functions_reimg.php on line 124: array_unique() expects parameter 1 to be array, null given [phpBB Debug] PHP Warning: in file /includes/functions_reimg.php on line 126: Invalid argument supplied for foreach() [phpBB Debug] PHP Warning: in file /includes/functions_reimg.php on line 122: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file /includes/functions_reimg.php on line 124: array_unique() expects parameter 1 to be array, null given [phpBB Debug] PHP Warning: in file /includes/functions_reimg.php on line 126: Invalid argument supplied for foreach() WorldWorksGames • View topic - TLXP Bug Report/feature request - handling bad markers
Post subject: TLXP Bug Report/feature request - handling bad markers
Posted: 10-17-2012, 09:36 AM
Dirigible Joined: 12-06-2010, 07:16 AM Posts: 1487 Location: Massachusetts
I have been developing some custom marker sets, and found that when the planner can't load certain markers from a file (for example, I renamed an image from foo.png to bar.png) two things happend that were bad. I will say, though, that ultimately the software was resilient to my boo boo in that it put some placehoders on the bad markers.
First, I loaded my set that used the now invalid markers, I saw this:
bad_marker.jpg [ 5.81 KiB | Viewed 8146 times ]
The error could be improved in a couple ways. First, it's inaccurate. I'm not missing a "set" in the sense of a tile set, I'm missing a single image from a marker file. Second, it's not telling me which marker set, or which image. Third, don't use title-case for the message...
After clicking OK, I noticed that there were grey squares instead of textured markers - GREAT! This was helpful that it still had the markers, but they were placeholders. As a suggestion, use something like 0xFF0000 as a color. It'll stand out more than the grey. (or, if you're unable to discern red, at least it'll still be grey, right?) But I couldn't seem to select the markers. Clicking on anything seemed to select the entire collection of stuff on the screen. I was able to rotate the image, and rotate it back, and after that I could select the individual pieces. Weird.
It's awesome that the software continues to load, and even better, it marks where the bad markers are. These would just be some tweaks to make it that much better.
Post subject: Re: TLXP Bug Report/feature request - handling bad markers
Posted: 10-17-2012, 12:34 PM
WorldWorks Developer Joined: 05-31-2011, 09:20 AM Posts: 631 Location: Paris, France
I had a quick look : this message is issued when loading a file, if some images are missing. Normally, it should list the set name of the missing image(s). Having a blank list means that the associated set name is also missing in your save file...
Not so easy to fix... or not so easy to fix it right, because the idea was to list only once each missing set (say, you open a file using a specific modelset you don't have, you don't want a list full of all missing textures). So to be correct, the program should be able to differentiate between missing sets and missing textures inside an existing set.
If I find some time and an idea, i'll take care of that...
Users browsing this forum: No registered users and 5 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum