News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Crashed when trying to load a savegame  (Read 2582 times)

0 Members and 1 Guest are viewing this topic.

Offline RBS ID

  • Jr. Member
  • **
  • Posts: 67
  • Gender: Male
  • I don't know.
    • View Profile
    • This is website title.
Crashed when trying to load a savegame
« on: May 13, 2022, 08:26:22 AM »
Hello, can someone help me?

I'm making a mod for Bully AE, everything is fine in gameplay, but when trying to load a savegame, the game crashed. How to prevent that? Is it because of my mod is too big? Creating too many threads? Or what?

Offline Razc01na

  • Lord Slayer
  • Full Member
  • ***
  • Posts: 156
  • Gender: Male
  • Doom is life
    • View Profile
Re: Crashed when trying to load a savegame
« Reply #1 on: May 13, 2022, 04:45:53 PM »
If you remove the mod does it work?

Offline RBS ID

  • Jr. Member
  • **
  • Posts: 67
  • Gender: Male
  • I don't know.
    • View Profile
    • This is website title.
Re: Crashed when trying to load a savegame
« Reply #2 on: May 14, 2022, 06:56:37 AM »
Of course it'll work normally. It only happen when I try using my mod.

Offline Razc01na

  • Lord Slayer
  • Full Member
  • ***
  • Posts: 156
  • Gender: Male
  • Doom is life
    • View Profile
Re: Crashed when trying to load a savegame
« Reply #3 on: May 14, 2022, 11:11:38 AM »
What mod are you making?

The game sometimes is just a bitch about modding. I remember back in the day I installed a mod to restore the firecracker store and the game went all weird in some missions.

Just a shot in the dark but are you mixing multiple mods together? This can make the situation worse. If you are try to isolate what mod causes that and try to see if it still does with that one alone.

I am no expert in this but... maybe it will help

Offline RBS ID

  • Jr. Member
  • **
  • Posts: 67
  • Gender: Male
  • I don't know.
    • View Profile
    • This is website title.
Re: Crashed when trying to load a savegame
« Reply #4 on: May 16, 2022, 08:17:18 PM »
I'm making Selector Mod for AE version. You can check my YouTube, RBS ID.

I'm storing all resources like ped model ids, clothes model name, etc & even functions too in the game's script variable called shared (declared in util.lur), is that good or even worse? Should I not put the functions too in that variable?
« Last Edit: May 16, 2022, 08:21:37 PM by RanggaBS »

Offline Altamurenza

  • Full Member
  • ***
  • Posts: 118
  • Gender: Male
  • I love cheat, unique, realistic, & expansion mod.
    • View Profile
Re: Crashed when trying to load a savegame
« Reply #5 on: May 16, 2022, 11:35:13 PM »
I used shared variable on my newest mods, like:
- Chalkboard - UI Framework (CUIF)
- Selector Mod 7.0
- Advanced Trainer
- Detachable Weapon
(and many more)

But.. no such a thing happen to me because of shared variable.
I even combined Selector Mod, Detachable Weapon, and several mods that use shared variable as well, but they seem pretty fine.

You said that you use util.lur as a part of your mod for declaring shared variables there. It's somewhat feels unnecessary for me, what is your purpose on that? Because you can also do that in the same dome as your template script and leave the util.lur alone to be another mod template. It's just my opinion, not guaranteed to fix your problem.

Offline RBS ID

  • Jr. Member
  • **
  • Posts: 67
  • Gender: Male
  • I don't know.
    • View Profile
    • This is website title.
Re: Crashed when trying to load a savegame
« Reply #6 on: May 17, 2022, 07:23:23 AM »
No, I mean that  'shared'  variable is declared in util.lur by default. I'm not really modify that file.

Offline RBS ID

  • Jr. Member
  • **
  • Posts: 67
  • Gender: Male
  • I don't know.
    • View Profile
    • This is website title.
Re: Crashed when trying to load a savegame
« Reply #7 on: May 19, 2022, 07:48:46 AM »
YOO, I Finally solve the problem.

After hours sitting in front of monitor, trying to figure out what's the problem is, turns out the problem is in animation group. I'm too much load the animation group.

AAaarggh.

Offline Altamurenza

  • Full Member
  • ***
  • Posts: 118
  • Gender: Male
  • I love cheat, unique, realistic, & expansion mod.
    • View Profile
Re: Crashed when trying to load a savegame
« Reply #8 on: May 19, 2022, 09:20:55 AM »
How could the game start if you loaded too many animation groups in the first place?

Offline RBS ID

  • Jr. Member
  • **
  • Posts: 67
  • Gender: Male
  • I don't know.
    • View Profile
    • This is website title.
Re: Crashed when trying to load a savegame
« Reply #9 on: May 19, 2022, 08:02:45 PM »
I don't know, XD.

Maybe the anim group that I load is almost close to the maximum of anim group load limit on AE.
« Last Edit: May 20, 2022, 03:53:25 AM by RanggaBS »