Fix for Multiplayer Character Creation Wiki Script - 08/10/17 08:46 PM
So using the wiki script provided by Larian we got a huge, helpful head-start on character creation. Some of us did find that it was not working for multiplayer though. The connecting users were ending up in a scratchpad terrain location on the "SYS_Character_Creation_A" level, with a party of all the dummy and generic origins but no assigned character and definitely no character creation.
In any case, I think I have located the issue. Look for this block of code:
The problem seems to be the NOT DB_AvailableDummy() entries. I believe we should remove the NOT. I got multiplayer to work by changing these calls to the following:
For those who prefer graphical diffs
I think the problem was that they copied code from GLOBAL_CharacterCreation of the Origins campaign to implement ProcAssignDummyToUser(), but they never initialized the DB_AvailableDummy database entries with all the dummies in Origins like they do in our wiki script, so they would not have encountered this.
Either way, if you're having problems with multiplayer character creation give these above changes a shot and see if it helps. Or if you have any other insights, by all means share them here.
In any case, I think I have located the issue. Look for this block of code:
Code
PROC ProcAssignDummyToUser((CHARACTERGUID)_Dummy,(STRING)_UserName) AND NOT DB_AvailableDummy(_Dummy) THEN CharacterMakePlayer(_Dummy, NULL_00000000-0000-0000-0000-000000000000); PROC ProcAssignDummyToUser((CHARACTERGUID)_Dummy,(STRING)_UserName) AND NOT DB_AvailableDummy(_Dummy) AND CharacterAddToCharacterCreation(_Dummy,0,1) THEN DB_AssignedDummyForUser(_UserName,_Dummy);
The problem seems to be the NOT DB_AvailableDummy() entries. I believe we should remove the NOT. I got multiplayer to work by changing these calls to the following:
Code
PROC ProcAssignDummyToUser((CHARACTERGUID)_Dummy,(STRING)_UserName) AND DB_AvailableDummy(_Dummy) THEN CharacterMakePlayer(_Dummy, NULL_00000000-0000-0000-0000-000000000000); PROC ProcAssignDummyToUser((CHARACTERGUID)_Dummy,(STRING)_UserName) AND DB_AvailableDummy(_Dummy) AND CharacterAddToCharacterCreation(_Dummy,0,1) THEN DB_AssignedDummyForUser(_UserName,_Dummy);
For those who prefer graphical diffs
I think the problem was that they copied code from GLOBAL_CharacterCreation of the Origins campaign to implement ProcAssignDummyToUser(), but they never initialized the DB_AvailableDummy database entries with all the dummies in Origins like they do in our wiki script, so they would not have encountered this.
Either way, if you're having problems with multiplayer character creation give these above changes a shot and see if it helps. Or if you have any other insights, by all means share them here.