ender-woods-world-server's Introduction
ender-woods-world-server's People
ender-woods-world-server's Issues
NPCs don't know who attacked them
NPCs need to know who attacked them. This is a prerequisite for netural mobs.
TODO: Perform data validation before updating the database /storage
currently no checks are done on data being pushed to storage in nakama db. Because of this one wrong move can just wipe a players inventory or quest log.
This is something that we will probably address after the demo.
Seg fault log
AUTH SERVER:
[AUTH] [main] [05:12:06] [INFO] Session Token Addition Successful Sending Inventory Data to World server for Session Token{10}: 1677820780
[AUTH] [main] [05:12:34] [INFO] Game Server: 2124115831 Disconnected
[AUTH] [main] [05:19:26] [INFO] Authentication request received: shaka
[AUTH] [main] [05:19:28] [INFO] Hashing took: 2087ms
[AUTH] [main] [05:19:28] [INFO] Username and Password found in database for: shaka
ERROR: _send_rpc: Method failed.
At: core/io/multiplayer_api.cpp:488.
[AUTH] [main] [05:19:28] [INFO] Distribute token: Username: shaka | Token: bbed99fc4d70ede0591c733b5f872feedb63389718492dd818799ad8632023da1637039968| GameServer: GameServer1
[AUTH] [main] [05:19:28] [INFO] Adding Auth token: Username: shaka | Auth Token{10}: bbed99fc4d
[AUTH] [main] [05:19:28] [INFO] Authentication result sent to gateway | Result: True | Username shaka
WORLD SERVER:
[WRLD] [main] [04:54:44] [INFO] res://Scenes/Main/Server.tscn: User 2146379786 connected
[WRLD] [main] [04:54:44] [INFO] Players: Prepared player 2146379786
[WRLD] [main] [04:54:44] [INFO] Username: shaka added
[WRLD] [main] [04:56:23] [INFO] Item Dropped | Item ID: 2 | Tagged By: 2146379786
[WRLD] [main] [05:00:57] [INFO] res://Scenes/Main/Server.tscn: User 2146379786 disconnected
[WRLD] [main] [05:00:57] [WARN] Players: Attempt to get a non-existing player 2146379786
[WRLD] [main] [05:00:57] [WARN] Players: Attempt to get a non-existing player 2146379786
[WRLD] [main] [05:01:03] [INFO] res://Scenes/Main/Server.tscn: User 181311516 connected
[WRLD] [main] [05:01:03] [INFO] Players: Prepared player 181311516
[WRLD] [main] [05:01:03] [INFO] Username: shaka added
[WRLD] [main] [05:01:20] [INFO] res://Scenes/Main/Server.tscn: User 181311516 disconnected
[WRLD] [main] [05:01:20] [WARN] Players: Attempt to get a non-existing player 181311516
[WRLD] [main] [05:01:20] [WARN] Players: Attempt to get a non-existing player 181311516
[WRLD] [main] [05:05:01] [INFO] res://Scenes/Main/Server.tscn: User 299654626 connected
[WRLD] [main] [05:05:01] [INFO] Players: Prepared player 299654626
[WRLD] [main] [05:05:01] [INFO] Username: shaka added
[WRLD] [main] [05:05:05] [INFO] Player: Player 299654626 is attempting to move item 25 to 20
[WRLD] [main] [05:05:06] [INFO] Player: Player 299654626 is attempting to move item 20 to 21
[WRLD] [main] [05:05:07] [INFO] Player: Player 299654626 is attempting to move item 21 to 25
[WRLD] [main] [05:05:07] [INFO] Player: Player 299654626 is attempting to move item 26 to 27
[WRLD] [main] [05:05:08] [INFO] Player: Player 299654626 is attempting to move item 28 to 33
[WRLD] [main] [05:05:09] [INFO] Player: Player 299654626 is attempting to move item 29 to 34
[WRLD] [main] [05:05:14] [INFO] Player: Player 299654626 is attempting to move item 1 to 19
[WRLD] [main] [05:05:14] [INFO] Player: Player 299654626 is attempting to move item 19 to 1
[WRLD] [main] [05:05:14] [WARN] Packet to player 299654626 sent too late, will be delayed by one frame: {op_code:1}
[WRLD] [main] [05:05:15] [INFO] Player: Player 299654626 is attempting to move item 1 to 19
[WRLD] [main] [05:05:16] [INFO] Item Dropped | Item ID: 26 | Tagged By: 299654626
[WRLD] [main] [05:05:32] [INFO] res://Scenes/Main/Server.tscn: User 299654626 disconnected
[WRLD] [main] [05:06:00] [INFO] res://Scenes/Main/Server.tscn: User 523527148 connected
[WRLD] [main] [05:06:00] [INFO] Players: Prepared player 523527148
[WRLD] [main] [05:06:00] [INFO] Username: shaka added
[WRLD] [main] [05:06:08] [INFO] res://Scenes/Main/Server.tscn: User 523527148 disconnected
[WRLD] [main] [05:07:13] [INFO] res://Scenes/Main/Server.tscn: User 477031905 connected
[WRLD] [main] [05:07:13] [INFO] res://Scenes/Main/Server.tscn: User 477031905 disconnected
[WRLD] [main] [05:07:24] [INFO] res://Scenes/Main/Server.tscn: User 1764283295 connected
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
ERROR: _process_get_node: Condition "!F" is true. Returned: __null
At: core/io/multiplayer_api.cpp:269.
ERROR: _process_packet: Condition "node == __null" is true.
At: core/io/multiplayer_api.cpp:208.
[WRLD] [main] [05:07:33] [INFO] res://Scenes/Main/Server.tscn: User 1764283295 disconnected
[WRLD] [main] [05:07:50] [INFO] res://Scenes/Main/Server.tscn: User 965498317 connected
[WRLD] [main] [05:07:50] [INFO] Players: Prepared player 965498317
[WRLD] [main] [05:07:50] [INFO] Username: shaka added
[WRLD] [main] [05:08:00] [INFO] Player: Player 965498317 is attempting to move item 19 to 1
[WRLD] [main] [05:08:10] [INFO] res://Scenes/Main/Server.tscn: User 965498317 disconnected
[WRLD] [main] [05:08:10] [WARN] Players: Attempt to get a non-existing player 965498317
[WRLD] [main] [05:08:10] [WARN] Players: Attempt to get a non-existing player 965498317
[WRLD] [main] [05:12:06] [INFO] res://Scenes/Main/Server.tscn: User 1677820780 connected
[WRLD] [main] [05:12:06] [INFO] Players: Prepared player 1677820780
[WRLD] [main] [05:12:29] [INFO] res://Scenes/Main/Server.tscn: User 1677820780 disconnected
Segmentation fault
serialize_packet_into_bundle
Attach player ID to a mining node when it gets hit by a player.
Add unit testing framework
I use GUT, its generally easy to write new testcases and we can make it run automatically on pull requests.
Minotaur sometimes bugs out in one spot going back and forth
I think the reason is that it tries to reach its destination, but its velocity causes it to overshoot the target constantly. We should cap the velocity near the wander target.
old sql data still there
TODO - moveable camera
Add movable camera on world server, maybe with zoom as well to help testing. Will be removed for launch.
I will do this.
AskForSessionToken error
I think this is an old function I need to remove as its not needed anymore. Ill remove during a housekeeping branch ill make soon to tidy things up.
Items are not removed from the world server when they are picked up.
ill fix this
Peek.2021-11-09.12-26.mp4
world crash on start up
sometimes the world crashes on start up. Also had a time where having two clients open froze the godot world project completely and had to kill process to get unstuck.
crash.world.mp4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.