Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Otávio Rapôso

1
Hello. I found a bug. After the scene in castle's underground you can talk with Arshes' mom again and start the castle's gaarden scene again.
2
Oh, ok. It would be awesome if it worked in general.
3
Quote from: KK20 on April 29, 2015, 01:27:30 am
Wow, I was just messing around and totally didn't think this would work.
Spoiler: ShowHide

Put this code at the top of your scripts:

class A
end
class B < A
end
class C < A
end
class B < C
end

If you run the game, clearly you will get an error message indicating superclass mismatch for B.
Now insert the following script below before the one above. Keep the two scripts separately, like so:


begin
 for i in 1..1 # Yeah, just ignore this for now :P
   code = $RGSS_SCRIPTS[i][3]
   classes = code.scan(/class (.+?) < (.+?)/)
   superclassCheck = {}
   classes.each{|child, parent|
     if superclassCheck[child].nil?
       superclassCheck[child] = parent
     elsif superclassCheck[child] != parent
       p "Superclass mismatch! #{child} < #{parent}"
       $RGSS_SCRIPTS[i][3].gsub!(/class #{child} < #{parent}/, "Object.send(:remove_const, :#{child})\r\n" + "class #{child} < #{parent}")
     end
   }
   p $RGSS_SCRIPTS[i][3]
 end
end

And if you run the game this time, it won't throw the error.



I did what you said and I added the Superclass fix above everything else.
Spoiler: ShowHide

Then I commented every Object.send thing.
Spoiler: ShowHide

And I still get an error.


EDIT: I actually thought that the problem was in the "for i in 1..1" thing, so I replaced it by "for i in 1..119" (119 is the number of scripts I'm using) and I still get an error.
4
RMXP Script Database / Re: [XP] XP Ace Tilemap
April 28, 2015, 07:04:05 pm
I just found that some glitches were caused by the Smooth Scrolling script. But now, without the script, there are new problems, like monster's events (I'm using BlizzABS) that become invisible. There is also a problem involving a time gap between entering a new map and centering the map on the screen. I'll be sending you the project that I'm using to test RMXP Ace with big resolutions (1366x768 in fullscreen, more precisely). It's actually a modification on Echoes of Time. Try to test the game with both the Smooth Scrolling script and without it. Try to use also Drago Custom Resolution script (it's already commented in the script editor). You can use my saved game if you want (just go back some maps). Here is the link to the files: http://www.mediafire.com/download/6iaus7gdhvg7dui/Echoes_of_Time.rar

EDIT: I forgot to change the SCREEN_RESOLUTION constant on the demo.
5
RMXP Script Database / Re: [XP] XP Ace Tilemap
April 28, 2015, 06:13:33 pm
KK20, Drago Custom Resolution II has a lot less graphical glitches than your Tilemap script, but it's slower and it lacks the feature of centering the map on the screen. Could you adapt it (our your script) to make this PROS work togheter?
6
I'm trying to use RMXP Ace and I'm getting a lot of problems with the "superclass mismatch" thing (that came with Ruby 1.9.x). Blizzard made a topic elsewhere about this issue, but he didn't gave a solution that could be useful in this case. What should I do?