I am trying to use Ccoa's UMS to display messages over the heads of my party members. I am using Blizzards ABS caterpillar script. However, whenever I try to put a message over my partners head I get an error saying: "
Script 'UMS' line 1286: NoMethodError occurred. undefined method `actors' for nil:NilClass"
I have also tried disabling Blizz's script and using another, but that did not work
The two scripts should be compatible with each other. Of course it is, but that error seems to be strange... :O.o: I can try and emulate it, though I'll need to do a few here and theres.
You might have the script order wrong. Yes, the script order actually matters. Here's a link to the correct placement of various scripts: http://forum.chaos-project.com/index.php?topic=23.0
That's the only solution I can think of at the moment...
I have them both between Scene_Debug and Main. Blizzards ABS is above the UMS and if i out it the other way around, it doesnt let me play the game. The error is
"Script 'UMS' line 1601: ArgumentError occurred. wrong number of arguments(1 for 0)"
From Ccoa's manual:
QuoteCaterpillar Actor Centering
You can now center the message over a train actor in a caterpillar script. This is set up to work with my caterpillar script. For fukuyama's, please see the FAQ.
Her UMS doesn't support Blizz's caterpillar system.
For a fix, you can just make events that are on the same space as the caterpillar actors and have the message appear over those events.
What if there is more than one place they can be while the messages are coming up?
$game_variables[XXX] =
BlizzABS.player.actors[1].x
$game_variables[YYY] =
BlizzABS.player.actors[1].y
That'll store their Map X and Y in variables.
Remember to change XXX and YYY to the right numbers and the '1' is the 2nd actor in the party.
(Arrays start with 0)
I'm sorry but I'm really bad with scripting... Do i replace the XXX and they YYY with the coordinates? and if so i get an error saying
"NoMethodError occurred while running script. undefined method `player' for BlizzABS:Module"
XXX and YYY are the variable numbers that you want to use.
This scriptlet gets the caterpillar's current map X and Y.
You would use a Set Event Location to make an event where the caterpillar is at
I get an error saying
"NoMethodError occurred while running script. undefined method `player' for BlizzABS:Module"
:'(
How are you doing that script call...?
$game_variables[1] =
BlizzABS.player.actors[1].x
$game_variables[1] =
BlizzABS.player.actors[1].y
You shouldn't have the same variables for $game_variables... it'll just make it whatever the map y is...
Hm... do you have at least 2 members in your party?
If you do... I don't see why or how you're getting this error...
I changed the variables to different numbers and I have 2 people in my party, but I still get the same error :'(
Are there any other ABS that would be easier to use Ccoa's UMS with??
Hm... gimme a screenshot of the event with that scriptlet...
Blizz-ABS really is the best abs out there for functionality with parties...
(http://i426.photobucket.com/albums/pp344/porkupine100/rmxp.jpg)
Yo, put images in spoilers, it's a new rule...Um...Rule number 9. ~Love, Starrodkirby86
http://forum.chaos-project.com/index.php?topic=23.0 (http://forum.chaos-project.com/index.php?topic=23.0)
Do you have them in the right order?
If you do... then I dunno what's wrong with it then... =/
Oh wait!!!
What version of the UMS are you using?
I am using v1.7.1
Ah yeah... there was a bug with the newest version of that last time I checked (which was 3 days ago)
I know for sure that 1.6.3 will work fine with Blizz-ABS
I tried to post it here but then it messed up the board for me... so... yeah...
Lemme upload it
http://www.sendspace.com/file/o79zen (http://www.sendspace.com/file/o79zen)
I still get the error... i'm using v1.0.0.2 of blizz's abs if that makes a difference
1.0.0.2 is a... very... very... old version...
If you upgrade to 1.99, the problems should all be fixed...
Hmmm.. I upgraded to 1.99 but now I get an error saying "stack level to deep" when I try to start the game :(
Okay... do you have the UMS before Blizz-ABS now???
I switched it, but I'm still getting the "stack level too deep error"
Make sure everything is configured correctly, and hopefully you put Part 1 in the Part 1 script, Part 2 in the Part 2 script, and Part 3 in the Part 3 Script. Never ever merge all three scripts together, it's pure suicide. Now you probably need to configure quite a bit, 1.0 to 1.99 is a BIG upgrade...
Can you post all the custom scripts that you are using in the order as they appear in the editor?
Ccoa's UMS
Blizz-ABS part 1
Blizz-ABS part 2
Blizz-ABS part 3
thats it...
Quote from: Starrodkirby86 on September 01, 2008, 11:04:04 pm
Now you probably need to configure quite a bit, 1.0 to 1.99 is a BIG upgrade...
Yeah, make sure it's configured...
If it is and you still get the error, then... I think you'll have to wait for Blizz =/
Do you have blizzs abs script inserted twice? If so thats why you get that error.
AH-HAH! I did the second part twice (forgot to push copy for the third one :^_^': )
And the script part works too Aqua. Thanks everybody! I love you all :D
Whew! That's a relief! The hard battle is finally over. Pork, now that the problem is solved, put a [RESOLVED] Tag before Blizzard's ABS script and Ccoa's UMS (Edit the topic post). Now let's party! :dance:
Lol well I'm glad this is all taken care of :)
If you have any more problems, I'll be glad to help.
And I think the UMS v1.71 works fine with Blizz-ABS v1.99. Blizz-ABS is compatible with the UMS since v1.96.
I can hardly believe that somebody still had such an old version of it. O.o;
I took like a year break from RMXP, that's why I had the old version :^_^':
Quote from: porkupine on September 02, 2008, 10:46:17 pm
I took like a year break from RMXP, that's why I had the old version :^_^':
Not to throw everything off course-line and all, but you should put that 1.0 version in a museum! :V: (Sarcasm XD)
Seriously though, you got to be pretty faithful/awesome to have 1.0...Lots of people upgraded or checked out the ABS in its later version numbers. Oh well, kudos, even though you took a year break, kudos nevertheless. XD
I got the messages to work, but now when I kill an enemy that is set to toggle a switch when it is dead, my game totally freezes. No errors or anything. Aqua told me to insert a scriplet to rename the enemy so it doesn't get respawned again.
$game_map.rename_event(5,
'Monster')
The event is named "Ghost \e[1]" and its event ID is 005
But I get an error saying "Script 'Blizz-ABS part 3' line 4520:NoMethodError occurred. undefined method `battler_id' for #<Game_Event:0x3ba7898>"
Hm... I just thought of this
Have the rename code and then the switch after it...?
Or maybe turn off the destruction animation for that monster ID...
I put it above the switch and it still is the same error. I cant figure out how to disable the destruction animation though....
Blizz-ABS Part 1
def self.destruct(id)
return 0
end
~line 350-360 or so depending on what you've configured
You'rr doing it totally wrong. When you have a bug, you don't do a workaround, you fix it. What does your switch activate? An auto-start event possibly?
It was setting off an touch event, but i switched it to autorun. I got an error in interpreter 1 where it says
"#if not autorun
if event.trigger < 3"
I changed the 3 to a 4 and it works. Don't know what that is supposed to do.. but it works now :D
thanks for the help!
Change that 4 back to a 3 and make the event parallel process...
If you keep that a 4... all auto-run events will become parallel process which you DON'T want!
Hmm... that worked for the ghost but the event that goes on after that is giving me the interpreter error again
Something must be wrong with your scripts then. What is the error message anyway?
Script 'Interpreter 1' line 85: NoMethodError occurred.
undefined method `<' for nil:NilClass
There are obviously some events that don't have a trigger. O_O Have you asked ccoa about this already? Maybe she knows something. I don't remember my script messing with the event trigger.
It might be Ccoa's script because I am disabling and then enabling the comic style text...
but I'm pretty sure I did that in more than one event and it didn't give me an error or anything...
EDIT: I took the part out about Ccoa's message codes and I still get the same error... :???:
You should get a clean copy of Blizz-ABS then. This might fix the problem.
I was screwing around with the event and I set it up to self switch to an invisible event and then turn off the switches. It worked for some reason... thanks for all the help :D