runejs / server

RuneJS is a RuneScape game server written in TypeScript and JavaScript. The goal of the project is to create a comprehensive game engine, while also providing simple and easy to use content development systems and APIs.
GNU General Public License v3.0
238 stars 82 forks source link

[BUG] Able to login, but some NPC and Objects are non-interactable #429

Open Seltraeh opened 2 weeks ago

Seltraeh commented 2 weeks ago

Describe the bug Goblins don't move and cant be attacked. I can pick up coins north of spawn and talk to a few NPCs. Texting in chat will cause my player to desync with a console error for packet mismatch.

Using command "npm run standalone" in the server directory causes the following error:

[2024-08-24T19:48:07.040Z] INFO (9949 on evans-silly-server): Login Server listening @ 0.0.0.0:43591. [1] [2024-08-24T19:48:07.710Z] INFO (9916 on evans-silly-server): Loading server configurations... [1] [2024-08-24T19:48:07.733Z] ERROR (9916 on evans-silly-server): Npc file not found. [1] [2024-08-24T19:48:07.735Z] ERROR (9916 on evans-silly-server): Npc file not found. [1] [2024-08-24T19:48:07.757Z] INFO (9916 on evans-silly-server): Loaded 423 music regions, 601 items, 5 item spawns, 49 npcs, 121 npc spawns, and 9 shops. [1] [2024-08-24T19:48:07.770Z] INFO (9916 on evans-silly-server): Parsing examine data... [1] [2024-08-24T19:48:07.832Z] INFO (9916 on evans-silly-server): Parsing scenery spawns... [1] [2024-08-24T19:48:07.833Z] INFO (9916 on evans-silly-server): 12 scenery spawns found. [1] [2024-08-24T19:48:07.965Z] INFO (9916 on evans-silly-server): Loaded action pipes: button, equipment_change, item_interaction, item_on_item, item_on_npc, item_on_object, item_on_player, item_on_world_item, item_swap, magic_on_npc, move_item, npc_init, npc_interaction, object_interaction, player_command, player_init, player_interaction, prayer, region_change, spawned_item_interaction, widget_interaction. [0] [0] [2024-08-24T19:48:08.083Z] INFO (9950 on evans-silly-server): Update Server listening @ 0.0.0.0:43592. [1] [2024-08-24T19:48:11.803Z] INFO (9916 on evans-silly-server): Game Gateway Server listening @ 0.0.0.0:43594. ^C[1] [2024-08-24T19:51:18.618Z] WARN (9916 on evans-silly-server): SIGINT received. [1] [2024-08-24T19:51:18.619Z] INFO (9916 on evans-silly-server): Kicking all players... [0] [1] [2024-08-24T19:51:18.622Z] INFO (9916 on evans-silly-server): Player data save complete, world is now empty. [1] [2024-08-24T19:51:18.623Z] INFO (9916 on evans-silly-server): Shutting down world... [1] [2024-08-24T19:51:18.623Z] INFO (9916 on evans-silly-server): Game Server shutting down... [0] [2024-08-24T19:51:18.618Z] WARN (9949 on evans-silly-server): SIGINT received. [0] [1] [2024-08-24T19:51:18.619Z] INFO (9949 on evans-silly-server): Login Server shutting down... [0] [0] [2024-08-24T19:51:18.619Z] WARN (9950 on evans-silly-server): SIGINT received. [0] [0] [2024-08-24T19:51:18.619Z] INFO (9950 on evans-silly-server): Update Server shutting down... [1] [nodemon] exiting

The error would suggest that the NPC file is missing, but I have no clue where this file would have been based on my combing through the files.

Is there a config setting I'm missing?

Expected behavior The game plays as '06 did with NPC walking around

charles-m-knox commented 1 week ago

My observation is that this is expected behavior at this time due to the early stages of development this project is in. I did recently implement #431 to allow for random NPC movement but I also get the NPC file missing errors. If anyone else also has the same experience as me, this issue should be closed, since there's a lot of work to be done still :)