RuneStorm
http://www.runestorm.com/forums/

BW swapping bug
http://www.runestorm.com/forums/viewtopic.php?f=95&t=77891
Page 1 of 1

Author:  alo94 [ Thu Aug 15, 2013 9:41 am ]
Post subject:  BW swapping bug

Hi, I started playing this fantasic mod not so far. I've the BW V2.5 and SK Bonus pack V10.
When I try to create (in the swapping menu) a new weapon swap and save it with a name (for having some swaps ready), all swaps are blank :angry-banghead: :angry-banghead:
I don't now how I can save some swaps without changing the same every time!!!!!!! :'(
PLEASE HELP ME
thanks in advance for the help

Author:  Azarael [ Thu Aug 15, 2013 9:57 am ]
Post subject:  Re: BW swapping bug

Edit: Misunderstood your post at first.

Your config lines in BallisticV25.ini look something like this, right?

[BallisticV25.BallisticTab_Swappings]
SwapPresets[0]=(PresetName="rsgs",Swaps)
SwapPresets[1]=(PresetName="rsgrs",Swaps)
SwapPresets[2]=(PresetName="adws",Swaps)

Author:  alo94 [ Fri Aug 16, 2013 9:12 am ]
Post subject:  Re: BW swapping bug

Yes they look like You have posted.
I'll show you the menu to which I refer if you need it;I'll send it by email or skype because I can't upload it in the post, it's too big... sorry

Author:  Azarael [ Fri Aug 16, 2013 3:08 pm ]
Post subject:  Re: BW swapping bug

This appears to be caused by having too many arrays. The struct workaround is used to make a 2D array, but then it's used again to make a 3D array and this appears to be too much for the config system to handle. An obvious workaround would be either to parse a string of the saved weapons for each swap instead of using an array, or per-object config could be used.

I'll fix this for Fix and Pro, but it will never work as-is in stock BW.

Edit: Converting the array to a single string works, but unfortunately if the total length of the config line for a preset is too long, the preset cannot be saved. It looks like per-object config is the only way to make Swap presets work.

Author:  alo94 [ Fri Aug 16, 2013 4:56 pm ]
Post subject:  Re: BW swapping bug

sorry I don't understand at all what you said (I'm not understand al all programming...). If i'm not wrog it is caused because it "uses too much memory"?

Author:  Azarael [ Fri Aug 16, 2013 4:57 pm ]
Post subject:  Re: BW swapping bug

Ah, sorry.

Yes, too much space is used. I can still fix it, though. Working on it now.

Author:  alo94 [ Sat Aug 17, 2013 4:58 am ]
Post subject:  Re: BW swapping bug

Thanks for all and for Your time

Author:  Azarael [ Fri Aug 30, 2013 4:28 pm ]
Post subject:  Re: BW swapping bug

Got around to this after handling some other stuff. Fixed it now.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/