Reasons why custom maps crash online
Moderator: Moderators
-
Executer94
- Major

- Posts: 504
- Joined: Fri May 01, 2009 7:45 am
- Location: Chalmuns Cantina
Reasons why custom maps crash online
I created a map with a lot of objects and default sides but custom tur sides.
What are often reasons that custom maps crash online?
What are often reasons that custom maps crash online?
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Reasons why custom maps crash online
Put this line in your lua, if you haven't already.
Code: Select all
SetMemoryPoolSize("SoldierAnimation", 2000)-
Executer94
- Major

- Posts: 504
- Joined: Fri May 01, 2009 7:45 am
- Location: Chalmuns Cantina
Re: Reasons why custom maps crash online
ok I'll do that
It doesn't crash for me just when a player joined his game crashs
It doesn't crash for me just when a player joined his game crashs
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Reasons why custom maps crash online
Yeah, that usually happens when you don't have your SoldierAnimation memory pools filled.
-
Executer94
- Major

- Posts: 504
- Joined: Fri May 01, 2009 7:45 am
- Location: Chalmuns Cantina
Re: Reasons why custom maps crash online
it crashs also with the soldier animation
maybe there's something wrong with my lua:
maybe there's something wrong with my lua:
Hidden/Spoiler:
- jangoisbaddest
- Lieutenant General

- Posts: 661
- Joined: Mon Feb 27, 2006 12:10 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: All Along The Watchtower
Re: Reasons why custom maps crash online
I can't be too sure, but I seem to recall that having a bunch of errors (even Severity: 2 ones) can eventually cause a crash. Eliminating as many of these as you possibly can may make your map more stable. Also, perhaps you can try cutting the number of objects, AI, vehicles, etc. in your map and see if that helps.
Honestly, I don't know enough about multiplayer mechanics to be able to give you a difinitive answer, but I'm learning from experience that you can solve just about any technical problem without coming to this forum as long as you spend enough time experimenting and using the process of elimination. Believe in yourself!
Good luck!
P.S. If you are starting to bash your head against the wall, you can always post your error log for us to review. Whoever looks at it, the error log is your friend.
Honestly, I don't know enough about multiplayer mechanics to be able to give you a difinitive answer, but I'm learning from experience that you can solve just about any technical problem without coming to this forum as long as you spend enough time experimenting and using the process of elimination. Believe in yourself!
Good luck!
P.S. If you are starting to bash your head against the wall, you can always post your error log for us to review. Whoever looks at it, the error log is your friend.
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Reasons why custom maps crash online
I'm thinking it might be too many AI. As a test, try setting it at the default (32) and see if it still crashes for whoever joins.jangoisbaddest wrote:Also, perhaps you can try cutting the number of objects, AI, vehicles, etc. in your map and see if that helps.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Reasons why custom maps crash online
Maps can crash online for lots of reasons -- the best thing to do is go back through your map and eliminate every single error that you are able to.
-
Executer94
- Major

- Posts: 504
- Joined: Fri May 01, 2009 7:45 am
- Location: Chalmuns Cantina
Re: Reasons why custom maps crash online
I'll do that
but at the moment i can't test it
I'll report after testing
thank you !
but at the moment i can't test it
I'll report after testing
thank you !
- Rends
- Sith

- Posts: 1278
- Joined: Fri Oct 15, 2004 6:34 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
- Contact:
Re: Reasons why custom maps crash online
wasn´t the ubermode with locals one reason for online crashs too?
Someone mentioned it in an other thread.
Someone mentioned it in an other thread.
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Reasons why custom maps crash online
Just having uber mode enabled with locals won't cause a crash. If you hit 200 - 240 bots or so with all the units combined, that would most likely cause a problem.Rends wrote:wasn´t the ubermode with locals one reason for online crashs too?
Someone mentioned it in an other thread.
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Reasons why custom maps crash online
A couple of things to try, if it is easy enough try removing the custom turret side. If they are on a separate layer just copy the lyr file for that layer somewhere else safe, remove the turrets or replace them with stock ones. If they are on the base layer then do the same thing but copy the wld file instead. Remeber to remove the reference to the custom turrets from the lua.
Try that and see if it is better, if not then just copy back the lyr or wld file overwriting when asked. Open ZE and make sure the turrets are back in place, save and remunge remembering to put the turret line back in the lua. If they don't show up in game then do a clean and remunge.
If that doesn't make a difference then it may be an object count thing, also do you have any water or effects in the map like smoke or fog?
Other question and BFII is wierd this way sometimes, can they play the map online if they use a brand new profile, no awards?
Try that and see if it is better, if not then just copy back the lyr or wld file overwriting when asked. Open ZE and make sure the turrets are back in place, save and remunge remembering to put the turret line back in the lua. If they don't show up in game then do a clean and remunge.
If that doesn't make a difference then it may be an object count thing, also do you have any water or effects in the map like smoke or fog?
Other question and BFII is wierd this way sometimes, can they play the map online if they use a brand new profile, no awards?
