RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[REQUEST] Script Compatability

0 Members and 1 Guest are viewing this topic.

*
A Random Custom Title
Rep:
Level 96
wah
Ok... Well, I attached two scripts here and the problem is I need them to be compatable with each other. When special commands like /name and /b are used, then the encryption of letters doesn't work. Can anyone help me? :P Thanks in advance! I've taken the time to un-SDK-ify the encrypting system.

*
A Random Custom Title
Rep:
Level 96
wah
Bumpity bump.

*
Full Metal Mod - He will pillage your women!
Rep:
Level 93
The RGSS Dude
Since I don't do scripting anymore I'll just say how this is done.

All you should have to do is implement the refresh method of the Al Bhed script with the refresh method of Slipknot's Message System, resulting in Slipnot's Message System including the Al Bhed feature.

Not too hard really. It should take someone who knows what they're doing about 30 minutes max to combine them. About 10 if they REALLY know what they're doing. Testing is a different matter though.
"The wonderful thing about Tiggers
Is Tiggers are wonderful things
Their tops are made out of rubber
Their bottoms are made out of springs

They’re bouncy, trouncy, flouncy, pouncy
Fun, fun, fun, fun, fun!
But the most wonderful thing about Tiggers
Is I’m the only one, I’m the only one."

*
A Random Custom Title
Rep:
Level 96
wah
Testing is easy. I'll try to do this, even though I'm scripting noob. XD Thanks for the help, though.

Since I don't do scripting anymore I'll just say how this is done.

Lol. What about "Well, maybe a little." ? XP Lol.

EDIT: I have no idea what to do. Also, don't take my sentence above this one as a way to force to script again :P Thanks :P :P :P I'll just think ideas while I wait for help or manage to figure it out on my own (yeah right >_>)
« Last Edit: April 06, 2007, 05:51:19 PM by mastermoo420 »

*
A Random Custom Title
Rep:
Level 96
wah
Bump bump bumpity

Oh noes! It's bump number 2!

EDIT: Argh. I guess the names will have to be encrypted, too, since there's no other way to do it, then >_>

EDIT 2: My idea on how to do it is this:

Since Slipknot completely rewrites the Window_Message class, you copy and over-paste the old Window_Message with Slipknots. Then, you have the aliasing.
« Last Edit: April 08, 2007, 12:06:02 AM by mastermoo420 »

*
A Random Custom Title
Rep:
Level 96
wah
BUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUMP
« Last Edit: April 16, 2007, 07:51:07 PM by mastermoo420 »

*
A Random Custom Title
Rep:
Level 96
wah
Necro-mastery Bump. I have no idea what to do >< Well, Tsuno's words are the only things I have. I know what must be done, but I don't know the process of which to do it.

*
Full Metal Mod - He will pillage your women!
Rep:
Level 93
The RGSS Dude
Use the same method the Al Bhed script uses when translating text in the Message Window's refresh method. You want to use it where the refresh (or whatever method he uses) checks for what text to write.

It would probably work best if you added a function to check if the message is in Al Bhed or not... Hmmm. I'm bored. But don't count on me to finish it, chances are I won't. ...past experience...
"The wonderful thing about Tiggers
Is Tiggers are wonderful things
Their tops are made out of rubber
Their bottoms are made out of springs

They’re bouncy, trouncy, flouncy, pouncy
Fun, fun, fun, fun, fun!
But the most wonderful thing about Tiggers
Is I’m the only one, I’m the only one."

*
A Random Custom Title
Rep:
Level 96
wah
Oh, okay. I can kind of tell by your siggy (that you probably won't finish). Anyways, didn't know you were back! And you're the only one helping me with this. T_T I'll read over this post and your other one and try to see if I can try to do it. I guess there can be a check like "unless $game_languages.language_id = nil" and then try that? Idk. I'm taking a shot in the dark. I tried one thing and managed to edit the refresh so there wouldn't be one in the Al-Bhed because it would be done in the one with the Slipknot. All that happened was the same thing -_- Unable to do both. :P Thanks for your help, though.

Edit: The place where it checks is (I think) is "$game_languages.change_to_language"
« Last Edit: April 16, 2007, 10:10:46 PM by mastermoo420 »

*
Full Metal Mod - He will pillage your women!
Rep:
Level 93
The RGSS Dude
To help with testing I'd use a "dummy" script. One the confirms whether the text is in Al Bhed

Code: [Select]
p 'This text is in Al Bhed'

or not

Code: [Select]
p 'This text is not in Al Bhed'

, then showing the text you entered into the message.

If all goes well then input the translation method and test.
« Last Edit: April 16, 2007, 10:34:22 PM by Tsunokiette »
"The wonderful thing about Tiggers
Is Tiggers are wonderful things
Their tops are made out of rubber
Their bottoms are made out of springs

They’re bouncy, trouncy, flouncy, pouncy
Fun, fun, fun, fun, fun!
But the most wonderful thing about Tiggers
Is I’m the only one, I’m the only one."

*
A Random Custom Title
Rep:
Level 96
wah
Wow, you posted right when I finished eating. Anyways, so, I couldn't understand all of that perfectly, but I'm guess this: I should add "p 'AEWHAEWOHBA'" or something like that right after 'def change_to_language' If I do so, then when the translation method thing is turned on (call script '$game_languages.language_id = 1') then the 'AEWHAEWOHBA' comes up in the window and then the translated message comes up. That's what was meant to happen, right?

Sidenote: Gonna be gone from EST 6:30 to whenever watching TV so brb later.