Jump to content

Needs an update for February forced wipe

Pending 1.2.0

SlayersRust
SlayersRust

Posted

Error while compiling DoubleJump: 'Effect' does not contain a definition for 'reusableInstace' | Line: 179, Pos: 32

Wild Shadow

Posted

fixed  by replacing this

        {

            if (player == null) return;



            var effectInstance = Effect.reusableInstace;

            effectInstance.Init(Effect.Type.Generic, player, 0, Vector3.up, Vector3.zero);

            effectInstance.pooledstringid = StringPool.Get(effect);

            NetWrite netWrite = Net.sv.StartWrite();

            netWrite.PacketID(Message.Type.Effect);

            effectInstance.WriteToStream(netWrite);

            netWrite.Send(new SendInfo(player.net.connection));

            effectInstance.Clear();

        }


by 

 

	{
		if (player == null || !player.IsConnected) return;

		Effect.server.Run(effect, player.transform.position, Vector3.up, player.net.connection);
	}

awaiting the official updated version of @Raul-Sorin Sorban

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
156k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.