Updated Item Rain Code
#37
After long tests I am now back with new findings and an update of the code. I have changed, improved or removed several contents from the code:

1st: I found the address with the star error, and removed that part.

2nd: It is no longer necessary to change the code if you want to play Battles. It automatically detects if the Battle mode is active when determining the item and denies the bullet if so.

3rd: Leserattes region slot patcher code to enter MrBeans test region was included, this has been removed. If you still want a custom region for online play, you can optionally use this code. But on Wiimmfi, don't use it in WW/Continental or in a region you are not the owner from or you probably get banned.

4th: You will have seen the X, Y and Z values. I found out which values are responsible for the height and for the distance of the falling items. You can now change these values yourself:

ZZZZZZZZ = floating point of the height, default value: 453B8000 (3000)
XXXXXXXX and YYYYYYYY = floating point of distance, default values: 3F400000 (0.75) and 42A3D70B (near 81.92)

If you want to change them, I advise to change the X and Y values by about the same factor. Example:

XXXXXXXX = 3EC00000 (0.375, half of the default value) and
YYYYYYYY = 42200000 (40, about half of the default value)

I tried some combinations and found the most reasonable with XXXXXXXX = 3EF00000, YYYYYYYY = 42480000 and ZZZZZZZZ = 44BB8000. This leaves enough time to pick up the items and they also don't show up that high.

5th: Most importantly, though, were item limit codes for the Mega and the Golden Mushroom, since those two seemed to disappear pretty quickly. With the new limit codes, they stay around much longer and this means a big increase in fun, especially online. However, after some testing, these new limits are apparently not compatible with the "Disable Item Poof" code. In many races I ran into freezes, which I did not get without this code. So I would recommend not using the "Disable Item Poof" code in conjunction with the new code unless you absolutely want to. If I would have an Idea how to stop the Freezes, I would try to implement it, but I don't have an Idea how to extend the Item Limits even more.

6th: I rearranged the code, so that now all RAM writes of the Exception Vector Area are on top, while all Item limit are at the end of the code. Furthermore I shortened the code, thanks to @CLF78 who already shortened the old Item Rain code so I had a good basis.

That was all for now, with the new update I overwrote the old version, so you can find it in this thread. I already tested the code with some friends and I'm pretty happy. I hope you also have fun with the update!


And @dankyoso, it is definetely due to the Item Rain because much Items are on their Limits resulting that you cannot grab them from Item boxes, but that is on all Item Rain Versions the Problem (maybe not on CTGP). I can try to write a code snippet that could fix that for you, but in generally I recommend to play without boxes because it is more fun.
Reply


Messages In This Thread
Updated Item Rain Code - by Unnamed - 02-21-2020, 12:49 PM
RE: Updated Item Rain Code - by salmon01 - 02-21-2020, 06:24 PM
RE: Updated Item Rain Code - by Unnamed - 02-21-2020, 07:32 PM
RE: Updated Item Rain Code - by FancyWheelies - 02-22-2020, 04:31 PM
RE: Updated Item Rain Code - by Zeraora - 02-23-2020, 06:05 PM
RE: Updated Item Rain Code - by JoshuaMK - 02-23-2020, 06:42 PM
RE: Updated Item Rain Code - by Vega - 02-23-2020, 07:12 PM
RE: Updated Item Rain Code - by JoshuaMK - 02-23-2020, 07:53 PM
RE: Updated Item Rain Code - by Unnamed - 02-24-2020, 11:54 AM
RE: Updated Item Rain Code - by Optllizer - 03-15-2020, 10:12 PM
RE: Updated Item Rain Code - by Unnamed - 03-17-2020, 12:26 PM
RE: Updated Item Rain Code - by JoshuaMK - 03-17-2020, 04:44 PM
RE: Updated Item Rain Code - by Vega - 03-17-2020, 05:53 PM
RE: Updated Item Rain Code - by Optllizer - 03-17-2020, 07:31 PM
RE: Updated Item Rain Code - by Optllizer - 03-17-2020, 08:06 PM
RE: Updated Item Rain Code - by Optllizer - 03-17-2020, 08:24 PM
RE: Updated Item Rain Code - by JoshuaMK - 03-17-2020, 09:10 PM
RE: Updated Item Rain Code - by Li-ter-a-ture - 05-02-2020, 03:03 PM
RE: Updated Item Rain Code - by Optllizer - 05-03-2020, 05:19 PM
RE: Updated Item Rain Code - by Li-ter-a-ture - 05-24-2020, 07:56 AM
RE: Updated Item Rain Code - by Optllizer - 03-17-2020, 09:18 PM
RE: Updated Item Rain Code - by JoshuaMK - 03-17-2020, 09:33 PM
RE: Updated Item Rain Code - by Optllizer - 03-18-2020, 03:07 PM
RE: Updated Item Rain Code - by lidretimlo - 04-09-2020, 06:41 PM
RE: Updated Item Rain Code - by Li-ter-a-ture - 05-01-2020, 03:54 AM
RE: Updated Item Rain Code - by Ro_ - 05-17-2020, 04:04 AM
RE: Updated Item Rain Code - by Unnamed - 10-20-2020, 03:08 PM
RE: Updated Item Rain Code - by Li-ter-a-ture - 12-20-2020, 04:12 PM
RE: Updated Item Rain Code - by Pietro02 - 01-05-2021, 08:33 PM
RE: Updated Item Rain Code - by Zeraora - 01-06-2021, 12:36 PM
RE: Updated Item Rain Code - by Vega - 01-07-2021, 08:03 PM
RE: Updated Item Rain Code - by Hinjeniero - 02-06-2021, 07:30 PM
RE: Updated Item Rain Code - by CLF78 - 02-06-2021, 11:56 PM
RE: Updated Item Rain Code - by Hinjeniero - 02-12-2021, 11:48 PM
RE: Updated Item Rain Code - by dankyoso - 02-26-2021, 10:25 PM
RE: Updated Item Rain Code - by Zeraora - 02-26-2021, 11:17 PM
RE: Updated Item Rain Code - by Unnamed - 09-21-2021, 12:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)