QUESTION

Posts

Pages: 1
Not sure if I'm allowed to ask about this since I don't see any rules.
Does anybody know where I can download or find a patch/hack for RPG Maker XP that makes the Call Script window/box bigger?
LouisCyphre
can't make a bad game if you don't finish any games
4523
Don't use a hack.

Use Notepad and then copy+paste your code into the Call Script box.
Craze
why would i heal when i could equip a morningstar
15170
This is correct. If you DO NOT USE A SPACE or PRESS ENTER then a line will be read as a complete line, even if it gets parsed.

So, if you copy-and-paste in

$game_variables[254] = [[$game_actor[22].atk / 10, 5].max, 1].min

and it becomes

$game_variables[254] = [[$game_actor[22].atk / 10,
5].max, 1].min

it's still the same, unscathed line of code.
Moved to help and requests.

Miles's problem extends beyond Chaos's solution. Because Ruby interprets line breaks for parsing code, any statement that's truncated and put on a line below the first could cause a syntax error.

The solution: Put a \ at the end of any statement that breaks to a new line before it completes. This will instruct Ruby to continue reading the next line as part of the original statement.

Edit: While your example is correct, Craze, the only reason Ruby knows to continue reading the next line is because there is an operator at the end of the first line (the comma tells Ruby that there is more information in the statement). If you're in a position where such an operator does not apply, use the \ at the end of the line to instruct Ruby to keep reading the next line.
LouisCyphre
can't make a bad game if you don't finish any games
4523
post=121409
Moved to help and requests.

Miles's problem extends beyond Chaos's solution. Because Ruby interprets line breaks for parsing code, any statement that's truncated and put on a line below the first could cause a syntax error.


Didn' t Craze just give a solution for that?
I just edited with why his solution isn't necessarily foolproof. Maybe it does work all the time, I'm not exactly sure, but it's really difficult to see an error in your code if you didn't realize that you might have hit space or enter at one point =)
Try a resource editor and finding the CallScript dialog in the RMXP executable. There should be a setting for the size of the window somewhere in there
post=121420
Try a resource editor and finding the CallScript dialog in the RMXP executable. There should be a setting for the size of the window somewhere in there

Does anyone know of any good resource editors for Windows XP? I want something simple and that won't be too hard for me, and that can completely edit .exe files.
It's not gonna work because I think XP uses a checksum and editing the exe will obviously alter the checksum and make the exe useless/corrupt. I'm not 100% on this though.
Actually, to note...I've tried both the copy+paste from notepad, and the \ method, but either doesn't solve anything.
What I'm trying to input:
$game_party.actorsX@target_window.indexX.str += 45

I just want to know if there's a proper working way to do the copy+paste notepad or \ method before resorting to something more drastic.
X=brackets
I tried some resource editors but one didn't like RMXP, one couldn't find the dialog resources, and the last said the resources/executable were compressed and the resources were unavailable. Unfortunate :(

Anyways, to help with this issue, put a new line after the opening bracket like this:

$game_party.actors[
target_window.indexX.str += 45
]

(Code tags will let you show brackets. Quote my post to see how I did it in this one)
Nevermind, I think my friend found a solution for me. But i'll try this if the other doesn't work.
Pages: 1