I'm back with yet another problem. I have made serverdirectsavefileload() load bricks on server creation, which apparently there were
problems with before, by creating a brickgroup and assigning the $LoadingBricks_Brickgroup to it. Bricks are loaded, but events are not. I need events to load.
Here is the brickgroup I created:
%bl_id = getNumKeyID();
new simGroup("BrickGroup_NAMEHERE")
{
bl_id = %bl_id;
name = "*******";
client = 0;
};
Here is a dump of serverdirectsavefileload() after bricks are loaded when my mod is disabled (just for reference):
Member Fields:
Tagged Fields:
bl_id = "11902"
client = "4582"
name = "Greek2me"
numPhysVehicles = "2"
potentialTrust15042 = "2"
potentialTrust17536 = "2"
potentialTrust6930 = "2"
potentialTrust7261 = "1"
potentialTrust8002 = "2"
potentialTrust9740 = "2"
potentialTrustCount = "6"
potentialTrustEntry0 = "6930"
potentialTrustEntry1 = "8002"
potentialTrustEntry2 = "7261"
potentialTrustEntry3 = "9740"
potentialTrustEntry4 = "15042"
potentialTrustEntry5 = "17536"
QuotaObject = "5220"
spawnBrick0 = "5354"
spawnBrick1 = "5432"
spawnBrick10 = "6731"
spawnBrick11 = "6775"
spawnBrick12 = "6872"
spawnBrick2 = "5772"
spawnBrick3 = "5945"
spawnBrick4 = "6035"
spawnBrick5 = "6156"
spawnBrick6 = "6329"
spawnBrick7 = "6660"
spawnBrick8 = "6677"
spawnBrick9 = "6710"
spawnBrickCount = "13"
vargroup = "4787"
Methods:
add() - set.add(obj1,...)
addNTName() -
addPotentialTrust() -
addScheduledEvent() -
addSpawnBrick() -
bringToFront() - set.bringToFront(object)
cancelEvents() -
chainBlink() -
chainDeleteAll() -
clear() - set.clear()
ClearAllNTNames() -
clearEvents() -
clearNTObjectName() -
clientDeleteAll() - set.clientDeleteAll()
delete() - obj.delete()
deleteAll() - set.clientDeleteAll()
dump() - obj.dump()
dumpEvents() -
DumpNTNames() -
dumpSpawnPoints() -
getBottom() -
getBrickSpawnPoint() -
getCanvasPosition() -
getClassName() - obj.getClassName()
getClient() -
getCount() - set.getCount()
getGroup() - obj.getGroup()
getId() - obj.getId()
getName() - obj.getName()
getObject() - set.getObject(objIndex)
getType() - obj.getType()
hasUser() -
isMember() - set.isMember(object)
listObjects() - set.listObjects();
ProcessInputEvent() -
pushToBack() - set.pushToBack(object)
remove() - set.remove(obj1,...)
removeNTName() -
removeSpawnBrick() -
save() - obj.save(fileName, <selectedOnly>)
schedule() - object.schedule(time, command, <arg1...argN>);
serializeEvent() -
serializeEventToString() -
SetEventEnabled() -
setName() - obj.setName(newName)
setNTObjectName() -
shift() -
swap() -
ToggleEventEnabled() -
My guess is that I am missing something in the brickgroup that allows events to load.