Coding

 Reply to this postStart new topic

Ryosuke839's Missile Compile Problem

WHHAT
post Apr 27 2014, 12:42 PM
Post #1


The New Guy!

Posts: 7
Joined: 24-June 12



Because of new version of cleo4 now can use ryosuke839's missile, and I want to modify the press key.
First I remove some opcodes because it will cause this problem
And then I modified the press key and compile it, enter the game to test it, but it crash.
So I check the problem and I find the compiled by Sanny Builder ignore unknown mode's file(missil.cs) is bigger than ryosuke's orginal file(missile.cs)
Does the ignore unknown mode cause the problem?And how to fix it?

This post has been edited by WHHAT: Apr 27 2014, 12:43 PM
Go to the top of the page
 
+Quote Post
Deji
post Apr 27 2014, 01:53 PM
Post #2


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



The missile script includes many low-level tricks including assembler. You'd need the source code in order to compile it correctly. Furthermore, recompiling decompiled scripts is almost always a bad idea, unless you plan to use what you see to attempt a re-write for your own purposes.

However, the missile script smartly uses 00E1, which means the button is based on your menu control settings. So if you want to change the key, you can just change it in the controls menu. It improves and adds-on to features which are assigned to specific keys, meaning it'd be completely pointless changing the keys in the script, as you'd also have to basically change the keys in the .exe otherwise you're just separating the features which are meant to be activated at the same time. Again, just change the controls in the menu. The script doesn't need editing.

The source code for it is included in the download anyway, so why you would choose to open up the compiled script, I have no idea... confused.gif


--------------------
Go to the top of the page
 
+Quote Post
WHHAT
post Apr 29 2014, 09:51 AM
Post #3


The New Guy!

Posts: 7
Joined: 24-June 12



QUOTE (Deji @ Apr 27 2014, 09:53 PM) *
The missile script includes many low-level tricks including assembler. You'd need the source code in order to compile it correctly. Furthermore, recompiling decompiled scripts is almost always a bad idea, unless you plan to use what you see to attempt a re-write for your own purposes.

However, the missile script smartly uses 00E1, which means the button is based on your menu control settings. So if you want to change the key, you can just change it in the controls menu. It improves and adds-on to features which are assigned to specific keys, meaning it'd be completely pointless changing the keys in the script, as you'd also have to basically change the keys in the .exe otherwise you're just separating the features which are meant to be activated at the same time. Again, just change the controls in the menu. The script doesn't need editing.

The source code for it is included in the download anyway, so why you would choose to open up the compiled script, I have no idea... confused.gif

I just have a little skill on editing cleo.. So I don't know it is very troublesome to rewrite a new script confused.gif
Go to the top of the page
 
+Quote Post
Reply to this postStart new topic

3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members: