Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in ROM Hacking. |
Acmlm's Board - I3 Archive - ROM Hacking - LASTRESULT Overflow :\ | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
Liquid_Thunder Micro-Goomba Since: 11-23-05 Last post: 6645 days Last view: 6645 days |
| ||
I've made a script, for night&day in Ruby
When i try to compile it, it gives me "Overflow". If I remove LASTRESULT, the Overflow go to hell. What do i have to do? P.S. Sorry for my bad english, i'm italian. (edited by Liquid_Thunder on 07-15-06 12:09 PM) (edited by Liquid_Thunder on 07-15-06 12:12 PM) |
|||
HyperHacker Star Mario Finally being paid to code in VB! If only I still enjoyed that. <_< Wii #7182 6487 4198 1828 Since: 11-18-05 From: Canada, w00t! My computer's specs, if anyone gives a damn. STOP TRUNCATING THIS >8^( Last post: 6432 days Last view: 6432 days |
| ||
Why does 0x00002 go to 0x00003 which just goes back to 0x00002? | |||
Liquid_Thunder Micro-Goomba Since: 11-23-05 Last post: 6645 days Last view: 6645 days |
| ||
Because i have to repeat the script for night & day | |||
Kyoufu Kawa Intends to keep Rom Hacking in one piece until the end Since: 11-18-05 From: Catgirl Central Station Last post: 6432 days Last view: 6432 days |
| ||
Better question: why do you have #orgs at such addresses? Even if LASTRESULT didn't overflow, Giorno would overwrite Notte! | |||
KeiiChi Kun Leever Learn some manners. Password changed to gibberish and IP banned. Since: 01-01-06 From: Sushi Bar Last post: 6445 days Last view: 6445 days |
| ||
Originally posted by Liquid_Thunder When you sort this messy code out do you mind if I use it? It looks pretty useful. |
|||
Darkdata 980 Since: 02-25-06 From: Newfoundland Last post: 6432 days Last view: 6432 days |
| ||
A day night script like that would not work.
The script is only going to go DNDNDNDNDNDND really really fast in a loop. Day=D Night=N You need to make some sort of event that would do it. Or have it change day to night as you go through your adventure. A day and night script could be usefull for some areas of the game. However making it day and night for all the game and having to rewrite a lot of npc speech to respond to it would be a pain. I hoped I helped a little. -Darkdata Edit: My 300th post (edited by Darkdata on 07-16-06 02:32 PM) |
|||
Liquid_Thunder Micro-Goomba Since: 11-23-05 Last post: 6645 days Last view: 6645 days |
| ||
I'm going to edit the value of pause Like 30 minutes. This is only a proof :O (edited by Liquid_Thunder on 07-17-06 07:09 AM) |
|||
Darkdata 980 Since: 02-25-06 From: Newfoundland Last post: 6432 days Last view: 6432 days |
| ||
I thought pause would pause your character too =/
Why not use the groundon weather script as a base? If you can find it. (edited by Darkdata on 07-17-06 01:21 PM) |
|||
Liquid_Thunder Micro-Goomba Since: 11-23-05 Last post: 6645 days Last view: 6645 days |
| ||
Ok i will try it . Today i put the script in the "Level Script", but the script don't work :\ Why? | |||
HyperHacker Star Mario Finally being paid to code in VB! If only I still enjoyed that. <_< Wii #7182 6487 4198 1828 Since: 11-18-05 From: Canada, w00t! My computer's specs, if anyone gives a damn. STOP TRUNCATING THIS >8^( Last post: 6432 days Last view: 6432 days |
| ||
I doubt the game is multithreaded. It'd just wait for your script to complete, and the script is an endless loop. | |||
Liquid_Thunder Micro-Goomba Since: 11-23-05 Last post: 6645 days Last view: 6645 days |
| ||
Holy shit..Do you have any suggestions? :\ | |||
Sukasa Birdo Not quite as active as before. Xkeeper supporter Xk > ||bass I IP Banned myself! Twice! Since: 11-17-05 From: Somewhere over there Last post: 6433 days Last view: 6432 days |
| ||
Yeah... find a RAM address, and create a counter that counts up by one every frame. When it reaches X amount, increment a second counter. when this second counter = Y amount, switch between night or day, or any step between the two. otherwise, just return from the loop and that should work.
oh, and X + Y are to be replaced by whatever pause amount you want. |
|||
Liquid_Thunder Micro-Goomba Since: 11-23-05 Last post: 6645 days Last view: 6645 days |
| ||
Lol, i'm not an advance hacker :°°°DDD. I don't know how to do this . | |||
Yoronosuku Toss Tortoise Since: 11-17-05 From: Massachusetts is my new home.. Last post: 6432 days Last view: 6432 days |
| ||
While your non-functional code is evident of the fact that you probably dont really know what you're doing, it at least elps that you TRY to gain an understanding and figure out how to do things. If you give up just because something "sounds too hard", you won't ever learn. If you stay doing only "easy" things you'll never get any better. | |||
Hapi-San Kabu Since: 11-17-05 From: London, UK Last post: 6446 days Last view: 6432 days |
| ||
Instead of creating a new counter in free RAM to do this, wouldn't it be possible to check using the in-game timer (ie. how long you've been playing)? Dividing the hour by six and checking if it's even or odd depending on day or night or something..? As an idea of an alternate way. | |||
Liquid_Thunder Micro-Goomba Since: 11-23-05 Last post: 6645 days Last view: 6645 days |
| ||
I didn't give up..Just i don't know how to do that O_o' | |||
amnesiahacker Red Goomba Since: 12-21-05 Last post: 6639 days Last view: 6639 days |
| ||
did you look in my thread suggesting a method? im currently refining it and putting it into a proper code for rubikon. | |||
Gywall Coney Since: 11-20-05 From: England! Last post: 6434 days Last view: 6432 days |
| ||
goto 0x0003 <- Is that supposed to be 0x00003?
If so, both are wrong. And the first goto 0x0002.. Same thing? |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - ROM Hacking - LASTRESULT Overflow :\ | | |