Users browsing this thread: 1 Guest(s)
It is the apocalypse after all.

#12
Posts: 2,549
Threads: 98
Thanks Received: 147
Thanks Given: 159
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
(07-20-2021, 08:19 PM)fw4210 Wrote:
(07-20-2021, 07:49 PM)C-Dude Wrote: Okay, I think I know why the money dump didn't work.  That event code is designed for things like buying Rust Rid.  If the player doesn't have enough funds, it sets a bit that the event script can check for and branch with, and the funds are not deducted.

The pause could be related to the money removal failure or it could just be the game trying to remove all of those items.  It is a very LONG event loop.  Try shortening the loop by changing the first value to B0 10 and see if the pause is shortened.  It won't remove all the items anymore, but if the pause is shortened that indicates that this event takes too long to execute and a different approach should be used.

*EDIT* it got rid of the pause issue, but Cid now floats off into the ether, it didn't remove any money, and of course didn't dump my inventory.

Check/compare the hex again, something got messed up - I suspect the B0 64 to B0 10 change was not done correctly. Cid's ID is $10 on the map, so it seems to be now reading to do some action for him. Probably you got 10 10, instead of B0 10? Anyways, that was more just a test to see if the pause is lessened, which it will be, but will only deduct 16 of each item from the inventory, which would be enough for equipment but not for regular items I'd imagine... I mean you'd probably want to have 64 to clear it all, despite the lag.

I'll just state the obvious that the more challenging assembly route to make use of an unused event command to do this would be more practical, especially considering how gold is deducted by event code as there's no way to ensure removing the exact amount/all of GP the player has. BUT, this remains a valid option!


We are born, live, die and then do the same thing over again.
Quote  
[-] The following 1 user says Thank You to Gi Nattak for this post:
  • C-Dude (07-20-2021)



Messages In This Thread
It is the apocalypse after all. - by fw4210 - 07-19-2021, 06:56 PM
RE: It is the apocalypse after all. - by madsiur - 07-19-2021, 07:09 PM
RE: It is the apocalypse after all. - by C-Dude - 07-19-2021, 07:44 PM
RE: It is the apocalypse after all. - by madsiur - 07-19-2021, 07:49 PM
RE: It is the apocalypse after all. - by C-Dude - 07-19-2021, 07:54 PM
RE: It is the apocalypse after all. - by madsiur - 07-19-2021, 07:55 PM
RE: It is the apocalypse after all. - by fw4210 - 07-20-2021, 01:43 PM
RE: It is the apocalypse after all. - by C-Dude - 07-20-2021, 03:16 PM
RE: It is the apocalypse after all. - by fw4210 - 07-20-2021, 07:24 PM
RE: It is the apocalypse after all. - by C-Dude - 07-20-2021, 07:49 PM
RE: It is the apocalypse after all. - by fw4210 - 07-20-2021, 08:19 PM
RE: It is the apocalypse after all. - by Gi Nattak - 07-20-2021, 09:55 PM
RE: It is the apocalypse after all. - by C-Dude - 07-20-2021, 10:07 PM
RE: It is the apocalypse after all. - by fw4210 - 07-20-2021, 11:13 PM
RE: It is the apocalypse after all. - by C-Dude - 07-20-2021, 11:16 PM
RE: It is the apocalypse after all. - by fw4210 - 07-21-2021, 12:04 AM
RE: It is the apocalypse after all. - by fw4210 - 07-21-2021, 12:29 AM
RE: It is the apocalypse after all. - by fw4210 - 07-21-2021, 02:12 AM
RE: It is the apocalypse after all. - by fw4210 - 07-21-2021, 03:39 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite