Skip to content

bug: Any Warp Item After The First Can Cause a Client Crash #2749

@MrValenza

Description

@MrValenza

Description

If you make a second item specifically for a warp and the cooldown is greater than 0, when you double-click the item to warp it will crash the client and not warp you.

Also, any warp item beyond the second item will also have the same issue.

Steps to Reproduce

Make two warp items.
Make one with any cooldown amount (greater than 0.)
Make the other with the same cooldown amount (greater than 0.)
Make a Common Event for each one, warping you to any place.
Link both items to their own respective Common Event.
Use each one.
The second one you created should crash your client unless the Cooldown for the item is set to 0 and nothing higher than 0. Any other warp items beyond the first will cause the same issue. This means that even the 3rd, 4th and 19th item that Warps will give you the same issue.

Version with bug

Unknown

Last version that worked well

Unknown

Affected platforms

Windows 11, Windows 10

Is this bug platform-specific?

  • Yes this is platform-specific issue

Did you find any workaround?

As long as the Cooldown for any Warp Item is 0, you should not have any issues. The underlying issue though, is that you won't be able to add cooldowns to any warp items.

Relevant log output

In Server-side Errors Log***
--------------------------------------------------------------------------------
2025-09-19 15:08:07.423 [Error] Client Packet Error! [Packet: UseItemPacket | User: dox2 | Player: Ranger | IP ]

--------------------------------------------------------------------------------
2025-09-19 15:08:07.425 [Error] {"DataKeys":0,"MessageLength":53,"StackTraceLength":1113,"InnerException":false,"Source":"Intersect Server","TargetSite":"UpdateCooldown","TargetSiteDeclaringType":"Intersect.Server.Entities.Player","Type":"System.NullReferenceException"}

--------------------------------------------------------------------------------
2025-09-19 15:08:07.426 [Error] Client Packet Error! [Packet: UseItemPacket | User: dox2 | Player: Ranger | IP ]
2025-09-19 15:08:07.426 [Error] NullReferenceException: Object reference not set to an instance of an object.
    Stack:    at Intersect.Server.Entities.Player.UpdateCooldown(ItemBase item) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server\Entities\Player.cs:line 6722
   at Intersect.Server.Entities.Player.UseItem(Int32 slot, Entity target) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server\Entities\Player.cs:line 3058
   at Intersect.Server.Networking.PacketHandler.HandlePacket(Client client, UseItemPacket packet) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server\Networking\PacketHandler.cs:line 1699
   at Intersect.Network.PacketHandlerRegistry.<>c__DisplayClass38_1`2.<CreateWeaklyTypedDelegateForMethodInfo>b__1(IPacketSender packetSender, IPacket packet) in D:\a\Intersect-Engine\Intersect-Engine\Intersect (Core)\Network\PacketHandlerRegistry.cs:line 102
   at Intersect.Server.Networking.PacketHandler.ProcessPacket(IPacket packet, Client client) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server\Networking\PacketHandler.cs:line 457
   at Intersect.Server.Networking.Client.HandlePackets() in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server\Networking\Client.cs:line 373




In Server Log**

2025-09-19 14:58:56.123 [Error] Client Packet Error! [Packet: UseItemPacket | User: dox2 | Player: Ranger | IP ]
2025-09-19 14:58:56.123 [Error] NullReferenceException: Object reference not set to an instance of an object.
    Stack:    at Intersect.Server.Entities.Player.UpdateCooldown(ItemBase item) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server\Entities\Player.cs:line 6722
   at Intersect.Server.Entities.Player.UseItem(Int32 slot, Entity target) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server\Entities\Player.cs:line 3058
   at Intersect.Server.Networking.PacketHandler.HandlePacket(Client client, UseItemPacket packet) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server\Networking\PacketHandler.cs:line 1699
   at Intersect.Network.PacketHandlerRegistry.<>c__DisplayClass38_1`2.<CreateWeaklyTypedDelegateForMethodInfo>b__1(IPacketSender packetSender, IPacket packet) in D:\a\Intersect-Engine\Intersect-Engine\Intersect (Core)\Network\PacketHandlerRegistry.cs:line 102
   at Intersect.Server.Networking.PacketHandler.ProcessPacket(IPacket packet, Client client) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server\Networking\PacketHandler.cs:line 457
   at Intersect.Server.Networking.Client.HandlePackets() in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server\Networking\Client.cs:line 373

Duplicate Bug Check

  • This bug report is not a duplicate to the best of my knowledge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds verificationPending confirmation that the bug exists by another user.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions