Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Help on an old problem.
#1
Can someone tell me how Ejlol did this???
http://save-point.org/showthread.php?tid=2905

I'm having the same problem again and don't know which event it is.
Reply }
#2
Some events on the map is using a tile-graphic that no longer exists according to his post. See trough all your events and be sure that all have valid graphics.
Valdred
Tech Administrator of Save-Point

Reply }
#3
I know... But there's SO many events if I just had a list printed out with his debugging thingie, it would be so much easier to find.
Reply }
#4
what i would recommend before you go any further in development. keep a spreadsheet of all your maps and what graphic assests are being used. i wouldnt reference all events in the spreadsheet just ones that use graphical assets.
Current Projects: Concepting and R&D
Reply }
#5
dunno how I did, problably scripted something :P
Edit:
This might help you:
Code:
class ResourceChecker
  def checkMap(filename)
    @map = load_data(filename)
    for key in @map.events.keys
      event = @map.events[key]
      for page in event.pages
        if !FileTest.exist?('Graphics/Characters/' + page.graphic.character_name + '.png')
          # might be RTP
          begin
            bitmap = RPG::Cache.character(page.graphic.character_name, 0)
          rescue
            id = event.id.to_s
            x = event.x.to_s
            y = event.y.to_s
            pageid = event.pages.index(page).to_s
            filename = page.graphic.character_name
            p 'ID: ' + id,'X: ' + x,'Y: ' + y,'Page: ' + pageid,'Filename: ' + filename
          end
        end
      end
    end
    RPG::Cache.clear
  end
end

rs = ResourceChecker.new
rs.checkMap('Data/Map001.rxdata')

Edit 2: actually the script doesnt work at all. (it thinks everything doesnt exist :/)
edit 3: fixed.
*insert signature here.
Reply }
#6
Thanks, the problem was already fixed, but I didn't put resolved. But this still helps since I'll probably be dealing with this same problem again since I'm cutting a lot of tilesets.
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   The z-space problem of displaying sprites icogil 28 7,293 03-05-2023, 03:31 AM
Last Post: DerVVulfman
   Problem with drain script form the ATOA ACBS Djigit 2 4,910 07-12-2015, 09:17 PM
Last Post: Djigit
   Event collision problem with FPLE script ThePrinceofMars 2 5,219 11-11-2014, 06:30 PM
Last Post: ThePrinceofMars
  Custom meter problem daylights 13 14,028 08-12-2013, 03:34 AM
Last Post: daylights
   [RUBY] Depack Thread Problem Narzew 1 3,918 07-20-2012, 01:16 PM
Last Post: Narzew
   Advantages & Charlie Fleed CTB problem Yin 7 10,701 12-12-2011, 03:45 PM
Last Post: Yin
   Charlie Fleed's CTB - Problem with dual wielding characters MegaPowerNinja 2 5,252 04-25-2011, 09:51 AM
Last Post: Charlie Fleed
   Slight problem with Omega Quest script. Boot 4 7,712 03-08-2011, 02:53 AM
Last Post: BlackDragon 31
   AMS script problem Thehero 2 5,897 05-18-2010, 07:30 AM
Last Post: Jaberwocky
   Window Visibility Problem computerwizoo7 7 10,052 05-10-2010, 05:53 PM
Last Post: deValdr



Users browsing this thread: