Coder Social home page Coder Social logo

darkflameuniverse / darkflameserver Goto Github PK

View Code? Open in Web Editor NEW
605.0 605.0 167.0 88.96 MB

The main repository for the Darkflame Universe Server Emulator project.

Home Page: https://www.darkflameuniverse.org/

License: GNU Affero General Public License v3.0

CMake 2.39% Shell 0.02% C++ 97.31% C 0.25% Dockerfile 0.04%
emulator game mmo networking server server-emulator

darkflameserver's People

Contributors

aronwk-aaron avatar codeax2 avatar codeshaunted avatar cooltrain7 avatar darwinanim8or avatar emosewamc avatar hailstorm32 avatar jadebenn avatar jettford avatar jgkawell avatar kkaprolat avatar luxaritas avatar m888r avatar marcono1234 avatar maxdelayer avatar melon095 avatar mickvermeulen avatar na-2n avatar ninjaoflu avatar nordegraf avatar racater avatar red031000 avatar stefanh-at avatar tahuntling avatar thematt2 avatar thenoim avatar thexxturboxx avatar verathian2 avatar wincent01 avatar xiphoseer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

darkflameserver's Issues

Pet Cove pad at back of Lighthouse (Near Imagination brick)

The pad at the back of the lighthouse (the one where the pet needs to stand above you) doesn't work.

When clicking shift the pet is supposed to stand on the pad while the player goes down to stand on the jump pad.

The pet instead decides to ignore the command and jump down with you.

Chat not working

Tested on a Vultr VPS with all ports open and a home server
OS: Ubuntu 20.04
Database: Mysql 8.0.27 and MariaDB 10.7.1 on docker

Problem: Local chat can not be used, any messages without a slash typed in show a loading button and then a red exclamation mark. Level ups do not show in the chat box either. Only slash commands that do work are /info and /credits, all others do nothing but do not show the red exclamation. Tested using gm levels 0, 1, 9. Others who managed to compile report the same issue but not everyone.

Non-interactable vendors in Avant Gardens

Hello!

I am running a server using WSL and MariaDB. I reached the end of avant gardens and noticed none of the vendors there are able to be interacted with. The vendor in sentinel base camp works fine, but for whatever reason these vendors do not. I did previously have the issue of mechs not spawning quick builds, meaning my database was not set up correctly, and have since run the code from #46 on my database to remedy that. Not sure if that is related to this issue.

Any help is much appreciated!

Survival Minigame is still broken

The instructions to fix the survival minigame say to modify a line in res/scripts/ai/minigame/survival/l_zone_survival_client.lua. However, this file does not exist in the game client folder unless you have unpacked the client, so making this change does not actually fix the issue. I assume the game is actually reading something else that still has this bug and ignoring the scripts folder entirely. Any idea what this file might be?

As for the actual breaking bug, I cannot move in the survival minigame. Choosing "Smash myself" in the help menu fixes this, but there is still nothing spawning and no timer visible. For now, if you re-log after being smashed, you will be kicked back to Avant Gardens, so it is not complete hardstuck bug (though it prevents further progression).

Server Crashing WSL Ubuntu

Whenever I run my server with the command sudo ./MasterServer all that happens is this:
[05-12-21 20:29:18] [dServer]: Server is listening on localhost:2000 with encryption: 0 Fatal error -1 Stacktrace: ./MasterServer(+0x1ddcf)[0x55e0275badcf] /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa38c)[0x7f1e174e238c] /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa3f7)[0x7f1e174e23f7] /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa6a9)[0x7f1e174e26a9] /mnt/c/Users/Dimitri/Desktop/DLU/DarkflameServer/build/_deps/mysql-src/lib64/libmysqlcppconn.so.9(+0x73a7b)[0x7f1e176bfa7b] ./MasterServer(+0x2382e)[0x55e0275c082e] ./MasterServer(+0x1701c)[0x55e0275b401c] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f1e1726d0b3] ./MasterServer(+0x18b3e)[0x55e0275b5b3e]

How to approve usernames?

Is there an interface through which usernames can be approved? I was expecting it to be part of the Account Manager but I don't see it there.

Connection From World Server Lost

I successfully compiled the server (native windows) and configured the MySQL database. My user account authenticates correctly, but when I press play, I get a "Connection From World Server Lost" message after a few seconds.

I am getting [timeStr] [dpWorld]: Error(s) occurred during navmesh load. in the console, although I have ensured that navmesh folder is corectly configured

Unable to point MasterServer toward localhost SQL

I am unable to boot the MasterServer binary after compilation.
This is in Win11 WSL.
I am using the latest iteration of Wampserver.

Any attempts to use:

  • localhost
  • localhost:3306
  • 127.0.0.1
  • 127.0.0.1:3306
  • ::1
  • ::1:3306

fail to attach to the database I can observe to be online and working via localhost/phpmyadmin (for the management side, of course).

Attempting to use a public domain name (google.com, just as a test) hang indefinitely and do not generate any log files.

Here is my masterconfig.ini:

MySQL connection info:

mysql_host=localhost
mysql_database=dfu
mysql_username=root
mysql_password=

The public facing IP address. Can be 'localhost' for locally hosted servers

external_ip=localhost

Port number

port=2000

The port number to start world servers on. Will be incremented for each world

world_port_start=3000

Use sudo when launching the auth server.

Required by default if on Linux as auth runs on port 1001

use_sudo_auth=1

Use sudo when launching the chat server

use_sudo_chat=0

Use sudo when launching world servers

use_sudo_world=0

Where to put crashlogs

dump_folder=

How many clients can be connected to the server at once

max_clients=999

0 or 1, should log to console

log_to_console=1

0 or 1, should autostart auth, chat, and char servers

prestart_servers=1

The generated logfile, for any combination of the localhost references above:

[06-12-21 18:40:44] [MasterServer]: Starting Master server...
[06-12-21 18:40:44] [MasterServer]: Version: 1.0
[06-12-21 18:40:44] [MasterServer]: Compiled on: Sun Dec 5 13:18:00 2021
[06-12-21 18:40:44] [MasterServer]: Got an error while connecting to the database: Unable to connect to localhost

Any help in allowing the server to recognize the existence of my databse would be appreciated.

BUG: Shooting gallery minigame sometimes not initializing

Entering the shooting gallery minigame puts the player in a falling animation at the spot they're supposed to be with nothing else happening. The exit button has to be pressed to return to Gnarled Forest.

This is similar to what happens with the Avant Gardens survival with an unmodified client

Edit:
/skip-sg allows you to skip the captain's quest if the hook is all you want, but the underlying issue is still there

Stromling Mech Quick Builds not Spawning

Expected Behavior

Stromling Mechs spawn their quick builds when defeated. Allowing the mission "Fortify the Front" to be completable.

Current Behavior

Stromling Mechs do not spawn their quick builds when defeated. Making the mission incompletable.

Possible Solution

The simplest short term fix would be to use the completemission command, but I do not know the id for "Fortify the Front"

Steps to Reproduce

Kill a mech in Avant Gardens

Your Enviorment

I have compiled and ran the server on Manjaro and WSL (both connecting to the same database but not simultaneously)

Ubuntu can't find Cmake.

I'm doing the Linux adapter on my Windows device. However, when I get to the step where I'm supposed to type <cmake ..>, it gives me an error message
<CMake Error: The source directory "/home/jack" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.>

Avant Gardens survival frozen on start

Upon entering Avant Gardens survival the game never starts. Nothing spawns and the character is frozen in position.

image
image

Here is the console output

[06-12-21 10:47:03] [WorldServer]: Updating team (1), (1), (1)
[06-12-21 10:47:03] [WorldServer]: Updating team member (1152921508901814274)
[06-12-21 10:47:03] [WorldServer]: Updating team (1), (1), (1)
[06-12-21 10:47:03] [WorldServer]: Updating team member (1152921508901814274)
[06-12-21 10:47:03] [WorldServer]: Updating team (1), (1), (1)
[06-12-21 10:47:03] [WorldServer]: Updating team member (1152921508901814274)
[06-12-21 10:47:03] [WorldServer]: Updating team (1), (1), (1)
[06-12-21 10:47:03] [WorldServer]: Updating team member (1152921508901814274)
[06-12-21 10:47:03] [WorldServer]: Updating team (1), (1), (1)
[06-12-21 10:47:03] [WorldServer]: Updating team member (1152921508901814274)
[06-12-21 10:47:03] [WorldServer]: Updating team (1), (1), (1)
[06-12-21 10:47:03] [WorldServer]: Updating team member (1152921508901814274)
[06-12-21 10:47:03] [WorldServer]: Updating team (1), (1), (1)
[06-12-21 10:47:03] [WorldServer]: Updating team member (1152921508901814274)
[06-12-21 10:47:03] [WorldServer]: Updating team (1), (1), (1)
[06-12-21 10:47:03] [WorldServer]: Updating team member (1152921508901814274)
[06-12-21 10:47:03] [GameMessageHandler]: Player UnderAParsec (1152921508901814274) loaded.

Unknown packet ID from master: 21

Running Ubuntu WSL
Compiled server for version 171022 and using client 171022
Created keys and accounts, everything works but when trying to log into the game the server says
Unknown packet ID from master: 21

The client says : "connecting to world" and then shortly after says "enter your nickname/password and press "Sign In" to continue"

Avant Gardens (AG) mechs not dropping turrets

If mechs are not dropping turrets, this means that your CDServer.sqlite (see https://github.com/DarkflameUniverse/DarkflameServer#resources, under "Client database"), is not properly set up. Some entities in DLU have scripts attached to them that make them perform certain behaviour, an example of this is the AG mech and it dropping a quick build when it's smashed.

To pinpoint this issue, make sure CDServer.sqlite is in your build/res folder and connect to it using your SQLite browser. Run the following SQL statement:

SELECT * FROM ScriptComponent WHERE id = 1075;

If the output looks like this:

1075|ScriptComponent_1075_script_name__removed|

Your CDServer.sqlite is not properly set up. To fix this issue, keep the SQLite browser open and run all the SQL statements from the files in this folder: /migrations/cdserver. To verify this worked, run this command again:

SELECT * FROM ScriptComponent WHERE id = 1075;

The output should now look like:

1075|scripts\02_server\Enemy\VE\L_VE_MECH.lua|

Your CDServer.sqlite is now setup correctly! Restart DLU and happy exploring!

WSL Bluescreen when connecting to MySQL

In order to run the server under WSL one hast to execute "sudo /etc/init.d/mysql start" before executing "./MasterServer".
Sometimes when the MasterServer attempts to connect to MySQL it causes a BSOD because of memory leaks.

Syntax errors in 0_initial.sql

(On windows) Attempting to run 0_initial.sql through the MySQL command line throws the following error:

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TABLE accounts ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHA' at line 1

Putting the contents of the file through an online MySQL syntax checker throws the same error. I have no experience with MySQL to properly troubleshoot this, but I can only assume it's an issue with the file, rather than on my end, so I'm putting it here.

Flying and turbo-mechs in avant gardens survival

The mechs in avant gardens survival run around with super speed and sometimes get stuck in mid air while running up the hill towards the player.

They also dont drop turrets (in the survival minigame) but I suppose this is the way its supposed to be.

Advant Gardens Survival still not working after fix

So I updated the L_ZONE_SURVIVAL_CLIENT.lua file to fix the survival minigame. However, when I try to go into the minigame, I am stuck in the minigame where I can only rotate my character. I genuinely have no idea what's going on here.

Issues compiling DarkflameServer on OpenBSD

Hello! I am currently trying to compile the server code on OpenBSD, but it complains about a missing alloca.h. Can anyone please help? Thanks.

Log:

[  0%] Building CXX object CMakeFiles/dDatabase.dir/dDatabase/CDClientDatabase.cpp.o
c++: warning: argument unused during compilation: '-static-libgcc' [-Wunused-command-line-argument]
[  1%] Building CXX object CMakeFiles/dDatabase.dir/dDatabase/CDClientManager.cpp.o
c++: warning: argument unused during compilation: '-static-libgcc' [-Wunused-command-line-argument]
In file included from /home/_lego/DarkflameServer/dDatabase/CDClientManager.cpp:1:
In file included from /home/_lego/DarkflameServer/dDatabase/CDClientManager.h:16:
In file included from /home/_lego/DarkflameServer/dDatabase/Tables/CDItemComponentTable.h:5:
In file included from /home/_lego/DarkflameServer/dCommon/dCommonVars.h:6:
In file included from /home/_lego/DarkflameServer/dCommon/../thirdparty/raknet/Source/BitStream.h:26:
/home/_lego/DarkflameServer/thirdparty/raknet/Source/RakMemoryOverride.h:18:10: fatal error: 'alloca.h' file not found
#include <alloca.h>
         ^~~~~~~~~~
1 error generated.
*** Error 1 in . (CMakeFiles/dDatabase.dir/build.make:90 'CMakeFiles/dDatabase.dir/dDatabase/CDClientManager.cpp.o': /usr/bin/c++  -I/home/_...)
*** Error 2 in . (CMakeFiles/Makefile2:372 'CMakeFiles/dDatabase.dir/all': make -s -f CMakeFiles/dDatabase.dir/build.make CMakeFiles/dDataba...)
*** Error 2 in /home/_lego/DarkflameServer/build (Makefile:91 'all': make -s -f CMakeFiles/Makefile2 all)

Issues creating make-Files with CMake on MacOS

After downloading the mysql-connector-c++, creating the build-Folder and Symlinking the .dylib-Files I'm trying to run cmake .. whilst being in the build-Folder and I'm getting this Error:

DarkflameServer/build [main] » cmake ..
-- Variable: PROJECT_VERSION_MAJOR = 1
-- Variable: PROJECT_VERSION_MINOR = 0
-- Variable: PROJECT_VERSION_PATCH = 0
-- Variable: LICENSE = AGPL-3.0
-- Variable: NET_VERSION = 171023
-- Version: 1.0.0
-- Configuring done
CMake Error at CMakeLists.txt:373 (add_library):
  No SOURCES given to target: tinyxml2


CMake Error at CMakeLists.txt:374 (add_library):
  No SOURCES given to target: detour


CMake Error at CMakeLists.txt:375 (add_library):
  No SOURCES given to target: recast


CMake Error at CMakeLists.txt:376 (add_library):
  No SOURCES given to target: libbcrypt


CMake Generate step failed.  Build files cannot be regenerated correctly.

Googling the specific Error Messages didn't really help.

I'm running cmake version 3.22.0
MacOS Version: 12.0.1
CPU: Intel i9

Cmake could not find Zlib

Expected Behaviour
While in the build folder, typing cmake would start generating make files successfully.

Current Behaviour
Cmake encounters an error where it cannot find Zlib (It is installed on the system).

Steps to Reproduce

  1. Run the build script (or follow the same commands in the script / README -- they're both the same).

Your Environnment
Fedora KDE Spin. Zlib and all other required packages are installed from the official repos.

Terminal Output

❯ cmake ..
-- Variable: PROJECT_VERSION_MAJOR = 1
-- Variable: PROJECT_VERSION_MINOR = 0
-- Variable: PROJECT_VERSION_PATCH = 0
-- Variable: LICENSE = AGPL-3.0
-- Variable: NET_VERSION = 171023
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindZLIB.cmake:120 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:40 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/sloofy/Documents/DarkflameServer/build/CMakeFiles/CMakeOutput.log".

CMakeOutput.log

Can't reach nimbus station

when you try to leave avant garden and enter nimbus station, it just says "your game assets don't match the server. Please logout and try again"

No error message in the console

MySQL connection destroyed

Running off WSL Ubuntu. Locally hosted.

It appears something is wrong with my configs for the database. This is odd because the account manager is able to read/write to the database using the database URL. When running the server, spits out the following;
[05-12-21 23:23:08] [Test]: Quitting Destroying MySQL connection!

mysql_host=localhost
mysql_database=luserver
mysql_username=root
mysql_password= some password

above is used in all the config.ini files. it this correct syntax?

"Your game is out of date."

image
Getting this error when trying to log into my admin account

I'm using version 1.10.64, but the server logs say "Received client version: 171022" every time I try to log in

Your game assets don't match the server. Please logout and try again.

First of all, thanks for all your hard work getting this game up and running again.

I have followed all the steps in the readme. After which I had a single issue with the "client out of date" bug (#29) which I resolved by changing the NET_VERSION and recompiling.

However, after I got logged in, created a character, and then clicked the start button I received the following error:
"Your game assets don't match the server. Please logout and try again."

MacOS MasterServer terminating with std::invalid_argument: stoi: no conversion

Getting this issue when running the MasterServer binary from MacOS terminal with sudo /path/to/MasterServerBinary

<myuser>@<my-computer> ~ % sudo /Users/<path/to>/DarkflameServer/build/MasterServer
Password:
Diagnostics not supported on this platform.
libc++abi: terminating with uncaught exception of type std::invalid_argument: stoi: no conversion
zsh: abort      sudo /Users/<path/to>/DarkflameServer/build/MasterServer
<myuser>@<my-computer> ~ % 

Not sure how to open the Unix executable file to be able to debug, and no issues show up in the log file generated each time I run this. Please help!

Binoculars and Story Plaques are not tracked

The blue shimmer treatment is never removed, and the achievements panel does not update when interacting with either. So far I've confirmed this to be the case in both Advent Gardens and Venture Explorer.

Corrupted Sentries in Return to Venture Explorer not working

I just got to Return to Venture Explorer for the first time (so far everything else has been working great!) and the Corrupted Sentries are neither attacking nor attackable. They show a red (not purple!) health bar and walk around passively, but are not interactable in any way, which keeps me from doing the mission to smash 6 of them. The other enemies, both Stromlings and Spiderlings, are working as expected.
I'm running the server on WSL and the game on Windows, in case that might be relevant.

Not sure what is meant by "run the MasterServer binary"

I may just be missing something / may not be well versed in this stuff. But I've made it all the way to the end of the guide, just not sure what you guys meant by "run the MasterServer binary". Should I be running the 'MasterServer.cpp'?

Issues while running on webserver

Information:
Status: I have built DLU and am running it. Ive opened all ports I saw in the config files as tcp and udp.

Server: a VPS running on Linode (Ubuntu 20.04).

First of all i get this error even though those referenced files do exist, just in lowercase.

[05-12-21 16:44:51] [CppScripts]: Attempted to load CppScript for 'scripts\ai\AG\L_AG_SHIP_SHAKE.lua', but returned InvalidScript.

Full log: https://pastebin.com/J7jimWHp (actual logs dont exist because of permission issues even though i set those properly).

when I try to connect to the server using my admin account, the client immediately crashes.

DLU table schema not compatible with MySQL dialect

https://github.com/DarkflameUniverse/DarkflameServer/blob/main/migrations/dlu/0_initial.sql

This file contains the command CREATE OR REPLACE, which is only available on MariaDB, and is not available on many other variants of MySQL servers.

To maximize compatibility and minimize issues, the syntax of this file should be reworked to be compatible with other SQL dialects.

My proposed changes are:

  • Remove OR REPLACE from each line and add DROP TABLE IF EXISTS 'bla'; before each line. DROP TABLE is available and usable in more dialects.
  • The ugc table includes a default value for the filenname. MySQL requires parenthesis around this value for the statement to be valid.

CppScript returned InvalidScript

When attempting to start the server, the script loader tries to load scripts\ai\AG\L_AG_SHIP_SHAKE.lua which causes the server to throw an InvalidScript error. I'm not sure if this is an issue from Unix using / and not \ to denote file paths. All, parts of the path are correctly named. I have attempted this with both build/res/scripts and build/scripts.

raknet fails to compile on arm64: "I can't tell what endian-ness to use for your architecture."

Attempting to build the server on Ubuntu 20.04 arm64 throws an error when trying to compile AutoRPC.cpp, indicating that it doesn't recognize the architecture. Build continues for a bit, but will ultimately fail since the raknet component never finishes compiling. Should be a simple fix in theory but I'm not sure where to make the changes.

ubuntu@instance-20210714-1042:~/git/DarkflameServer/build$ make -j3
[  1%] Built target dChatFilter
[  1%] Built target libbcrypt
[  1%] Building CXX object CMakeFiles/raknet.dir/thirdparty/raknet/Source/AutoRPC.cpp.o
Scanning dependencies of target recast
Scanning dependencies of target dDatabase
[  1%] Building CXX object CMakeFiles/recast.dir/thirdparty/recastnavigation/Recast/Source/Recast.cpp.o
In file included from /home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:14,
                 from /home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/AutoRPC.h:29,
                 from /home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/AutoRPC.cpp:1:
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Types.h:101:3: error: #error "I can't tell what endian-ness to use for your architecture."
  101 | # error "I can't tell what endian-ness to use for your architecture."
      |   ^~~~~
In file included from /home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/AutoRPC.h:29,
                 from /home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/AutoRPC.cpp:1:
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:230:2: warning: #warning Unknown Architecture [-Wcpp]
  230 | #warning Unknown Architecture
      |  ^~~~~~~
[  1%] Building CXX object CMakeFiles/dDatabase.dir/dDatabase/CDClientDatabase.cpp.o
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:772:18: error: ‘NaturalWord’ in namespace ‘GenRPC’ does not name a type
  772 |  typedef GenRPC::NaturalWord NaturalWord;
      |                  ^~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:777:4: error: ‘NaturalWord’ does not name a type
  777 |    NaturalWord func_address_or_vtable_index;
      |    ^~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:778:4: error: ‘NaturalWord’ does not name a type
  778 |    NaturalWord class_offset;
      |    ^~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:780:3: error: ‘NaturalWord’ does not name a type
  780 |   NaturalWord raw_pointer[2];
      |   ^~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h: In copy constructor ‘GenRPC::PMF::PMF(const GenRPC::PMF&)’:
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:786:3: error: class ‘GenRPC::PMF’ does not have any field named ‘func_address_or_vtable_index’
  786 |   func_address_or_vtable_index( pmf.func_address_or_vtable_index ),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:786:37: error: ‘const struct GenRPC::PMF’ has no member named ‘func_address_or_vtable_index’
  786 |   func_address_or_vtable_index( pmf.func_address_or_vtable_index ),
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:787:3: error: class ‘GenRPC::PMF’ does not have any field named ‘class_offset’
  787 |   class_offset( pmf.class_offset )
      |   ^~~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:787:21: error: ‘const struct GenRPC::PMF’ has no member named ‘class_offset’
  787 |   class_offset( pmf.class_offset )
      |                     ^~~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h: In constructor ‘GenRPC::PMF::PMF(int)’:
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:795:3: error: class ‘GenRPC::PMF’ does not have any field named ‘func_address_or_vtable_index’
  795 |   func_address_or_vtable_index( 0 ),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:796:3: error: class ‘GenRPC::PMF’ does not have any field named ‘class_offset’
  796 |   class_offset( 0 )
      |   ^~~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h: In constructor ‘GenRPC::PMF::PMF(void*)’:
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:804:3: error: class ‘GenRPC::PMF’ does not have any field named ‘func_address_or_vtable_index’
  804 |   func_address_or_vtable_index( reinterpret_cast<NaturalWord>( func ) ),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:804:50: error: ‘NaturalWord’ does not name a type
  804 |   func_address_or_vtable_index( reinterpret_cast<NaturalWord>( func ) ),
      |                                                  ^~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:805:3: error: class ‘GenRPC::PMF’ does not have any field named ‘class_offset’
  805 |   class_offset( 0 )
      |   ^~~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h: In constructor ‘GenRPC::PMF::PMF(void*, unsigned int)’:
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:812:18: error: class ‘GenRPC::PMF’ does not have any field named ‘func_address_or_vtable_index’
  812 |   : castUp( 0 ), func_address_or_vtable_index( reinterpret_cast<NaturalWord>( func ) ),
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:812:65: error: ‘NaturalWord’ does not name a type
  812 |   : castUp( 0 ), func_address_or_vtable_index( reinterpret_cast<NaturalWord>( func ) ),
      |                                                                 ^~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:813:3: error: class ‘GenRPC::PMF’ does not have any field named ‘class_offset’
  813 |   class_offset( offset )
      |   ^~~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h: In constructor ‘GenRPC::PMF::PMF(Func, void* (*)(void*))’:
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:823:3: error: class ‘GenRPC::PMF’ does not have any field named ‘func_address_or_vtable_index’
  823 |   func_address_or_vtable_index( ((NaturalWord*)&func)[0] ),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:823:35: error: ‘NaturalWord’ was not declared in this scope
  823 |   func_address_or_vtable_index( ((NaturalWord*)&func)[0] ),
      |                                   ^~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:823:47: error: expected primary-expression before ‘)’ token
  823 |   func_address_or_vtable_index( ((NaturalWord*)&func)[0] ),
      |                                               ^
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:824:3: error: class ‘GenRPC::PMF’ does not have any field named ‘class_offset’
  824 |   class_offset( ((NaturalWord*)&func)[1] )
      |   ^~~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:824:31: error: expected primary-expression before ‘)’ token
  824 |   class_offset( ((NaturalWord*)&func)[1] )
      |                               ^
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h: In member function ‘void* GenRPC::PMF::computeFuncAddr(void*)’:
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:833:10: error: ‘func_address_or_vtable_index’ was not declared in this scope
  833 |   if ( ( func_address_or_vtable_index & 1 ) == 0 )
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:840:28: error: ‘NaturalWord’ was not declared in this scope
  840 |    char* vtable = (char*)*(NaturalWord**)_object;
      |                            ^~~~~~~~~~~
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:840:41: error: expected primary-expression before ‘)’ token
  840 |    char* vtable = (char*)*(NaturalWord**)_object;
      |                                         ^
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:841:50: error: expected primary-expression before ‘)’ token
  841 |    return reinterpret_cast<void*>( *(NaturalWord*)( vtable + func_address_or_vtable_index - 1 ) );
      |                                                  ^
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h: In member function ‘void* GenRPC::PMF::computeThis(void*)’:
/home/ubuntu/git/DarkflameServer/thirdparty/raknet/Source/Gen_RPC8.h:853:35: error: ‘class_offset’ was not declared in this scope
  853 |   return (void*)( (char*)object + class_offset );
      |                                   ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/raknet.dir/build.make:76: CMakeFiles/raknet.dir/thirdparty/raknet/Source/AutoRPC.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:265: CMakeFiles/raknet.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

build continues for a bit...

make: *** [Makefile:84: all] Error 2

Mixed Cases on Linux

The code attempts to load the maps using all lowercase, however the unpacked files are a mix of Title_Case and lower_case. Currently had to use a python script to recursively rename files from lowercase to uppercase.

Cutscene not loading and stuck on Re-Connect

I got the Server to work and i can connect to it. Once i try to launch with a Charakter however it doesnt load the Cuscene and only the Text in the left bottom appears. When restarting the Client it wont load into Venture Explorer, taking forever to load to 53% and then stopping. I am using MariaDB and the Client from Nexus Launcher, the Server is on a Ubuntu 20.something VPS. Changed the Buildversion in the CMakefile before building the Server. Might be a Clientproblem, but it works just fine in Uchu.

Issues with SQLite database

This is probably me because I have not worked with SQLite in the past but I am stuck on configuring the client database.

I turned the .fdb into a sqlite and placed it in the right folder, but when I try to open the database to read the .sql files into I get a cannot open error.

I am trying .open /home/User/DarkflameServer/build/res/CDServer.sqlite
and receiving Error: cannot open "/home/User/DarkflameServer/build/res/CDServer.sqlite"

"Got an error while connecting to the database: Unable to connect to localhost"

On the step where we run the MasterServer binary, I get this error. I suspect it has something to do with a misconfiguration of the .ini files from an earlier step. I'm new to SQL, could someone provide an example authentication info for mysql_host, mysql_database, mysql_username, and mysql_password for a locally hosted MySQL server?

Also, my MySQL server only opens one port. Should this port be 1001 to match the auth, or something different? Are the ports mentioned in the .ini files supposed to be used by MySQL or is that something different?

no such table: ActivityRewards

Sorry for opening another Issue I got confused last time.

I want to setup the Server on Ubuntu running in WSL. This is the Error message:

image

These are the contents of build/res
image

And as it seems like, the Table ActivityRewards should exist in the DB
image

MySQL Cpp connection .dll error

I thought I built everything correctly, but I seem to be getting an error related to a specific MySQL dll when I go to launch the MasterServer binary.
image
Has anyone seen his error before?

Issue logging in

I'm recognized by the server but my client says "enter nickname/password", then shows me the login again.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.