Once again.. SDK fucked up another script, but this time, a defualt script Window_Help, so I was wondering if someone can make a alternate one, similar to it but differently coded one.
(The one thats glowed is the one that is messed up)
#==============================================================================
# ** Window_Help
#------------------------------------------------------------------------------
# This window shows skill and item explanations along with actor status.
#==============================================================================
class Window_Help < Window_Base
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
super(0, 0, 640, 64)
self.contents = Bitmap.new(width - 32, height - 32)
end
#--------------------------------------------------------------------------
# * Set Text
# text : text string displayed in window
# align : alignment (0..flush left, 1..center, 2..flush right)
#--------------------------------------------------------------------------
def set_text(text, align = 0)
# If at least one part of text and alignment differ from last time
if text != @text or align != @align
# Redraw text
self.contents.clear
self.contents.font.color = normal_color
self.contents.draw_text(4, 0, self.width - 40, 32, text, align)
@text = text
@align = align
@actor = nil
end
self.visible = true
end
#--------------------------------------------------------------------------
# * Set Actor
# actor : status displaying actor
#--------------------------------------------------------------------------
def set_actor(actor)
if actor != @actor
self.contents.clear
draw_actor_name(actor, 4, 0)
draw_actor_state(actor, 140, 0)
draw_actor_hp(actor, 284, 0)
draw_actor_sp(actor, 460, 0)
@actor = actor
@text = nil
self.visible = true
end
end
#--------------------------------------------------------------------------
# * Set Enemy
# enemy : name and status displaying enemy
#--------------------------------------------------------------------------
def set_enemy(enemy)
text = enemy.name
state_text = make_battler_state_text(enemy, 112, false)
if state_text != ""
text += " " + state_text
end
set_text(text, 1)
end
end
so you need the defult window? cornfused here O.o
Could you please post the error message...?
Quote from: Fallen Star on March 04, 2008, 07:29:41 pm
so you need the defult window? cornfused here O.o
A different one
Quote from: WcW on March 04, 2008, 07:30:03 pm
Could you please post the error message...?
When I go into the battle scene, when I select the skill, this comes up
Script 'Window_Help' line 26: TypeError occurred
cannot convert nil into String
EDIT: Yeah.. just that, when I get into battle and select the skill, that error pops up.
Lol, it's unfixable 'cuz of the SDK, I see. The SDK made the method on that line different, or maybe the one that calls it, so now it doesn't get called with the right string. Just lol at how stupid they are at RMXP.org.
Fucking SDK -_-
Sorry that I can't help you. I have no experience with the SDK, nor do I want any. Sorry.
Is there a way to change it? Like a different method?
I might try I just need to know what sdk version.
No, the SDK works by taking every one of the default methods, raping them, letting Bill Gates rape them, then splitting them into a million little pieces. Without taking a look at the SDK, I can't do it. Juan can, though =)
Alright then. Im using version 2.2
All I could find was sdk 2.3 and I can't get that sdk to crash =p. What scripts are using?
100+ if I'm not wrong. His script editor is similar to mine in CP, the difference is that he has more slots, most of them are less than 100 lines and he didn't make them himself.
Quote from: Blizzard on March 05, 2008, 03:45:15 am
100+ if I'm not wrong. His script editor is similar to mine in CP, the difference is that he has more slots, most of them are less than 100 lines and he didn't make them himself.
100+ scripts..? thats alot. O.O
Yeah, loads of mini stuff by Lag-Seph.
Quote from: Blizzard on March 05, 2008, 09:45:51 am
Yeah, loads of mini stuff by Lag-Seph.
what does those things do then? o.O
Anyway, judging from the error message, the Window_Help doesn't need to be fixed. The method 'set_text' is called wrong somewhere in the battle scene, that's the problem. And it might even be some other script than the SDK itself. I'm not into battle scenes, or I could've probably traced it down... so sorry, I can't help you.
Quote from: nerissya on March 05, 2008, 10:22:23 am
Quote from: Blizzard on March 05, 2008, 09:45:51 am
Yeah, loads of mini stuff by Lag-Seph.
what does those things do then? o.O
Little add-ons from which 50% are useless and 50% can be done with events easier.
LOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOL
Quote from: BlizzHard on March 06, 2008, 10:18:32 am
Quote from: nerissya on March 05, 2008, 10:22:23 am
Quote from: Blizzard on March 05, 2008, 09:45:51 am
Yeah, loads of mini stuff by Lag-Seph.
what does those things do then? o.O
Little add-ons from which 50% are useless and 50% can be done with events easier.
LOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOL
I see... o.O
and 50% probably lag too much :P
Quote from: Nortos on March 06, 2008, 04:46:46 pm
and 50% probably lag too much :P
You're off by 50% there, buddy.
And blizz, I know of at least 3 you didn't make. But that's just being lazy and not re-inventing the wheel :P