Skip to content

Game stopping after gametime has passed. #88

@Mohagames205

Description

@Mohagames205

TP'ing to a random place with weird error when Death match has to start. error:

[15:26:39] [Asynchronous Worker #0 thread/CRITICAL]: ErrorException: "unlink(C:\Users\Mohamed\Desktop\cakebeta\worlds\hh\db\000005.ldb): Resource temporarily unavailable" (EXCEPTION) in "plugins/HungerGames.phar/src/hungergames/tasks/AsyncMapBackup" at line 80
[15:26:39] [Asynchronous Worker #0 thread/DEBUG]: #0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string unlink(C:\Users\Mohamed\Desktop\cakebeta\worlds\hh\db\000005.ldb): Resource temporarily unavailable, string phar://C:/Users/Mohamed/Desktop/cakebeta/plugins/HungerGames.phar/src/hungergames/tasks/AsyncMapBackup.php, integer 80, array Array())
[15:26:39] [Asynchronous Worker #0 thread/DEBUG]: #1 plugins/HungerGames.phar/src/hungergames/tasks/AsyncMapBackup(80): unlink(string C:\Users\Mohamed\Desktop\cakebeta\worlds\hh\db\000005.ldb)
[15:26:39] [Asynchronous Worker #0 thread/DEBUG]: #2 plugins/HungerGames.phar/src/hungergames/tasks/AsyncMapBackup(43): hungergames\tasks\AsyncMapBackup->delete(string C:\Users\Mohamed\Desktop\cakebeta\worlds/hh)
[15:26:39] [Asynchronous Worker #0 thread/DEBUG]: #3 src/pocketmine/scheduler/AsyncTask(75): hungergames\tasks\AsyncMapBackup->onRun()
[15:26:39] [Asynchronous Worker #0 thread/DEBUG]: #4 (): pocketmine\scheduler\AsyncTask->run()
[15:26:39] [Server thread/CRITICAL]: Could not execute asynchronous task AsyncMapBackup: Task crashed

Build Version

  • 18.2

PocketMine API Version

3.7.1

Steps to reproduce

  • Just play a game and don't kill anyone, after the 300 seconds will pass you will teleport to a random location.

Arena Config

---
sign_line_1: '&6-=&e[&fS&cG&e]&6=-'
sign_line_2: '&f{on}&f/&a{max}'
sign_line_3: '&aGame: &f{game}'
sign_line_4: '&eStatus: {status}'
is_sky_wars: "no"
clear_inventory_on_join: true
min_players: 2
max_players: 24
game_seconds: 300.000000
waiting_seconds: 60.000000
game_level: hh
refill_chest_after_seconds: 150.000000
chest_items:
- 272 0 1
- 298 0 1
- 299 0 1
- 300 0 1
- 301 0 1
lobby_pos:
  level: test
  x: 175.078700
  "y": 42.000000
  z: 200.987900
death_match_pos:
  x: 140.000000
  "y": 4.000000
  z: 150.000000
  level: world
slots:
  1:
    x: 2517.395500
    "y": 72.000000
    z: 1671.645100
  2:
    x: 2516.676500
    "y": 72.000000
    z: 1676.462600
  3:
    x: 2516.310300
    "y": 72.000000
    z: 1666.399500
  4:
    x: 2513.543200
    "y": 72.000000
    z: 1662.490600
  5:
    x: 2510.700000
    "y": 72.000000
    z: 1658.506800
  6:
    x: 2506.689200
    "y": 72.000000
    z: 1655.300000
  7:
    x: 2502.700000
    "y": 72.000000
    z: 1652.700000
  8:
    x: 2497.449200
    "y": 72.000000
    z: 1651.328000
  9:
    x: 2492.309300
    "y": 72.000000
    z: 1652.680800
  10:
    x: 2488.677700
    "y": 72.000000
    z: 1655.443100
  11:
    x: 2484.406000
    "y": 72.000000
    z: 1658.625100
  12:
    x: 2481.388200
    "y": 72.000000
    z: 1662.449200
  13:
    x: 2478.371100
    "y": 72.000000
    z: 1666.359700
  14:
    x: 2477.615200
    "y": 72.000000
    z: 1671.367700
  15:
    x: 2478.371800
    "y": 72.000000
    z: 1676.407300
  16:
    x: 2481.532500
    "y": 72.000000
    z: 1680.700000
  17:
    x: 2484.300000
    "y": 72.000000
    z: 1684.380100
  18:
    x: 2488.700000
    "y": 72.000000
    z: 1687.300000
  19:
    x: 2492.626200
    "y": 72.000000
    z: 1690.456300
  20:
    x: 2497.334200
    "y": 72.000000
    z: 1691.327900
  21:
    x: 2502.497600
    "y": 72.000000
    z: 1690.300000
  22:
    x: 2506.534200
    "y": 72.000000
    z: 1687.462500
  23:
    x: 2510.515400
    "y": 72.000000
    z: 1684.460600
  24:
    x: 2513.498500
    "y": 72.000000
    z: 1680.413300
sign_list:
  178:43:200:test: ""
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions