Officer Reene said:
It works in SP but when I am try it in MP it crashes
I get to the "Staging Room" but when I hit "launch" the game crashes...
This is FYI, in case it helps anyone else that is having the MP crashing issues with the static pack...
I am still having lag issues... so I decided to make a beta type static leaderheads by researching the forums here...
granted I am not an expert coder/modder and I am not positive what I did to fix the MP crash problem:
but I did 2 different things:
1) DDS files - I am not sure but it may be the "alpha" channel in the dds
I tried to open your static leaderhead pics with "dds coverter 2" (trying to get the pixel size frame) and I couldnt do it... I have had problems in the past with opening some DDS files... and I think it could be the format or alpha file...
therefore I created (crude) bmp pics of the leaderheads for testing purposes and using the coverter to make them dds (no alpha channels in any of the new dds files)
so this may be the problem
2) XML Format
I followed Charcoal's tutorial (thx Jak08 too for his help)
http://forums.civfanatics.com/showthread.php?t=148507
where he wrote:
Now open up CIV4ArtDefines_Leaderhead.xml, again scroll to the bottom.
And where is something else to copy and paste into it: <LeaderheadArtInfo>
<Type>ART_DEF_LEADER_YOURLEADER</Type>
<Button>,Art/interface/LeaderHeads/leaderbutton.dds</Button>
<NIF>art/interface/LeaderHeads/Leaderhead.dds</NIF>
<KFM/>
<NoShaderNIF/>
<BackgroundKFM/>
</LeaderheadArtInfo>
(my boldface to point out the differences)
notice the difference with your coding and the his? He doesnt use the last 3 references to those graphic/shader/background files...
I followed that format too
First I did not get the original crash when "Launching" from MP LAN room (this was a sure sign I did something right)
then in the game it work in MP (it also worked in SP but I never had problems with your mod in SP)
So I am not sure... but it may have to do with the two changes (or at least one of the two) help the crashing issue in MP upon startup
NOTE: I played about 6 turns in MP with no crashing or disconnecting but I will keep you posted if I have any other problems...
(and maybe I'll make better pics for leaderheads)
Like I said, Im no expert modder/coder... but I wanted to give you my results in case it helps out anyone else with this crashing issue...
I may be wrong... but as long as my own fix works... Im not gonna sweat the small stuff...
Hope this helps...
PS: I am still using the 1.52 patch.... the new patch may correct this.....