614 ⭐ Legendary 614 ⭐ ⚔️ PK Spawn/Eco - Long live the legends 2k10

Dragon Halberd special attack NPC/Player

18557ca6c39b284fa7f14d0dbca1b1ae.gif


bfee6458421f36f3ca182a901fe3cf43.gif
 
Spellcaster gloves effect
While wearing these gloves, each magic auto-attack or basic ability has a 5% chance of triggering the gloves' passive effect:

  • Deals 25% more damage (except on bleeds)
  • Binds the target for 3 seconds
  • Lowers the target's Magic, Attack, Strength, and Defence levels by 7 levels (does not stack) fixed
0fef0a47e0d36198ddffc3dfb15e8648.gif
 
Last edited:

[ Spawn Mode ] UPDATE:

When Spawn Mode is Enabled:​

  1. Snapshot Creation: When you enable Spawn Mode for the first time, each player’s current state is saved (skills, inventory, appearance, bank, moneypouch, ground loot and equipment) into a "preSpawnSnapshot" field.
    • This snapshot will be used later to revert the player back to their original state once Spawn Mode is disabled.
  2. Free Spawning: While Spawn Mode is active, players can freely spawn items, change stats, or modify their character. None of these changes will be saved permanently.
    • The game will continue normally, but no permanent progress is made during this period.
    • You don’t need to log players out when enabling Spawn Mode. They remain logged in and continue playing with the ability to spawn items.

When Spawn Mode is Disabled:​

  1. Restoration of Snapshot: Once Spawn Mode is disabled, every player will have their preSpawnSnapshot restored automatically, meaning:
    • Their inventory, skills, appearance, bank, moneypouch, ground loot and equipment will return to how they were before Spawn Mode was turned on.
    • Any changes made during Spawn Mode (such as spawning items or leveling up) will be discarded.




Currently, automatic logout
  1. Live Rollback: The rollback happens immediately without the need to log out the players. Here’s how: IN PROGRESS
    • The moment Spawn Mode is disabled, each player’s state is rolled back to their saved snapshot in memory while they are still in-game. This ensures that players don’t need to log out for the rollback to occur.
    • The restorePreSpawnSnapshot() will run for each player, ensuring their previous state is restored.



 
Spawn Mode:

Disabling Spawn Mode , offline players (loaded files) will get affected by it.

2b5fc2d63c230db2c688c1eafb2eec13.gif


2695970d41921228153f64be17413d5f.gif
 

Users who are viewing this thread (total: 1, members: 0, guests: 1)