Blockland Forums > Modification Help

Blocking Item Spawning

Pages: << < (2/6) > >>

otto-san:


--- Quote from: Iban on April 09, 2011, 09:18:45 PM ---No, I just made it up off the top of my head and it worked.

--- End quote ---
you're a wizard.

anyways, wow that would be a useful function to know about in the future.

Giovan:


--- Quote from: Iban on April 09, 2011, 09:12:00 PM ---I did not write whatever the forget that is supposed to be. People need to stop adding stuff to CityRPG and leaking it all over the place, I get mis-credited with god awful code.

Source: GameMode_CityRPG/server.cs

--- Code: ---// Banned Events
unRegisterOutputEvent("fxDTSBrick", "RadiusImpulse");
unRegisterOutputEvent("fxDTSBrick", "SetItem");
unRegisterOutputEvent("fxDTSBrick", "SetItemDirection");
unRegisterOutputEvent("fxDTSBrick", "SetItemPosition");
unRegisterOutputEvent("fxDTSBrick", "SetVehicle");
unRegisterOutputEvent("fxDTSBrick", "SpawnExplosion");
unRegisterOutputEvent("fxDTSBrick", "SpawnItem");
unRegisterOutputEvent("fxDTSBrick", "SpawnProjectile");

unRegisterOutputEvent("Player", "AddHealth");
unRegisterOutputEvent("Player", "AddVelocity");
unRegisterOutputEvent("Player", "BurnPlayer");
unRegisterOutputEvent("Player", "ChangeDatablock");
unRegisterOutputEvent("Player", "ClearBurn");
unRegisterOutputEvent("Player", "ClearTools");
unRegisterOutputEvent("Player", "Dismount");
unRegisterOutputEvent("Player", "InstantRespawn");
unRegisterOutputEvent("Player", "Kill");
unRegisterOutputEvent("Player", "SetHealth");
unRegisterOutputEvent("Player", "SetPlayerScale");
unRegisterOutputEvent("Player", "SetVelocity");
unRegisterOutputEvent("Player", "SpawnExplosion");
unRegisterOutputEvent("Player", "SpawnProjectile");

unRegisterOutputEvent("GameConnection", "IncScore");
unRegisterOutputEvent("GameConnection", "ChatMessage");

unRegisterOutputEvent("MiniGame", "BottomPrintAll");
unRegisterOutputEvent("MiniGame", "CenterPrintAll");
unRegisterOutputEvent("MiniGame", "ChatMsgAll");
unRegisterOutputEvent("MiniGame", "Reset");
unRegisterOutputEvent("MiniGame", "RespawnAll");

--- End code ---

--- End quote ---

But even with that, people can just spawn an item without events.

It's a giant, gaping hole.



--- Quote from: Iban on April 09, 2011, 09:18:45 PM ---No, I just made it up off the top of my head and it worked.

--- End quote ---
I wouldn't doubt it. I bet badspot put it in the day you thought of using it. And silently updated everyone.

Giovan:


--- Quote from: Iban on April 09, 2011, 09:12:00 PM ---I did not write whatever the forget that is supposed to be. People need to stop adding stuff to CityRPG and leaking it all over the place, I get mis-credited with god awful code.

--- End quote ---

I'm quite sorry, I didn't mean to imply that you wrote that.

Iban:

Suggestion: Stop being a stuffty host and disable add-ons that are"giant, gaping holes."

The only add-ons I have enabled with my version of CityRPG are: CityRPG, and a bunch of brick packs. Everything is perfectly balanced with the gamemode itself, including weapons.

Giovan:


--- Quote from: Iban on April 09, 2011, 11:31:55 PM ---Suggestion: Stop being a stuffty host and disable add-ons that are"giant, gaping holes."

The only add-ons I have enabled with my version of CityRPG are: CityRPG, and a bunch of brick packs. Everything is perfectly balanced with the gamemode itself, including weapons.

--- End quote ---

I'd think my set-up is the same.

Can I have some coding help instead of hosting help now, please?

Pages: << < (2/6) > >>

Go to full version