Author Topic: Brick Dis-Ownership?  (Read 1196 times)

I host a DM for which I wrote scripts to handle evreything I would do myself so that it can be dedicated, except for one thing.

When people are in the DM while I am not there, all items are owned by me, and even with include all player's bricks, They still cannot pick them up. Also, when I am not there, people cannot blow up bricks.

These problems occur in every DM, not just mine, so it is not a bug with add-ons I have.

I turned on "Include all player's bricks" as well as the brick ownership timeout thing.

Neither have helped.

If anybody has any suggestions for me about this, please, lemme hear 'em.

Here is (roughly) my Minigame setup:
Code: [Select]
brickDamage= 1;
brickRespawnTime= 10000;
class=miniGameSO;
colorIdx= 0;
EnableBuilding= 0;
EnablePainting= 0;
enableWand= 0;
fallingDamage= 1;
inviteOnly= 0;
numMembers=1;
playerDataBlock= PlayerBobAndRobDM;
PlayersUseOwnBricks= 0;
Points_BreakBrick= 0;
Points_Die= -1;
Points_KillPlayer= 2;
Points_KillSelf= -1;
Points_PlantBrick= 0;
respawnTime= 0;
SelfDamage=1;
StartEquip0= 0;
StartEquip1= 0;
StartEquip2= 0;
StartEquip3= 0;
StartEquip4= 0;
StartEquipSpecial[0]= nametoid(mac10Item);
StartEquipSpecial[1]= nametoid(shotgunItem);
StartEquipSpecial[2]= nametoid(deagleItem);
StartEquipSpecial[3]= nametoid(altRifleItem);
StartEquipSpecial[4]= nametoid(FlakItem);
StartEquipSpecial[5]= nametoid(TimeBombItem);
StartEquipSpecial[6]= nametoid(TimeBombDefuserItem);
StartEquipSpecial[7]= nametoid(hegrenadeItem);
title = "Foo";
useAllPlayersBricks= 1;
useSpawnBricks= 1;
VehicleDamage= 1;
vehicleReSpawnTime= 5000;
weaponDamage= 1;

Note:
   StartEquipSpecial[ x ] is there because I have a special script to handle giving people items when they have more than 5 slots.

Thanks in advance.

The only thing I can think of right now is assigning all bricks to a fake client + brickgroup and adding them to the brickgroup.

The only thing I can think of right now is assigning all bricks to a fake client + brickgroup and adding them to the brickgroup.

Who?


Worth a try, I'll do it when I am less tired and therefore less prone to mistakes.

You could just try and use an add item event instead of having spawned items.

Edit: It would be just splendid if you could send me your dedi minigame script :D
« Last Edit: July 06, 2009, 07:11:03 AM by Melonking906 »

You could possibly parent to minigameCstar fishe and/or getMinigameFromObject to simply return 1 or your dedicated minigame object (respectively).

I think the latter method would also allow vehicles.

You could just try and use an add item event instead of having spawned items.
I still have the problem of people not being able to blow up my bricks while I am away.

You could possibly parent to minigameCstar fishe and/or getMinigameFromObject to simply return 1 or your dedicated minigame object (respectively).

I think the latter method would also allow vehicles.
Hmm, not a half bad idea, trying it now... Thanks M.


Yes, although at first I didn't realize this was going to have anything to do with scripting. Sorry 'bout that.

You could possibly parent to minigameCstar fishe and/or getMinigameFromObject to simply return 1 or your dedicated minigame object (respectively).

I think the latter method would also allow vehicles.

User has gained a ton of imaginary reputation points for this post.

THANKYOU! This worked like a charm, its GREAT now.

The only thing that it did not fix (and I did not know about when I started this thread) is not spawning at spawn points, however that can be fixed.

Thanks a ton M.

Locking.