worldforge / cyphesis Goto Github PK
View Code? Open in Web Editor NEWThe main server for the Worldforge MMORPG system.
Home Page: http://www.worldforge.org/index.php/components/cyphesis/
License: GNU General Public License v2.0
The main server for the Worldforge MMORPG system.
Home Page: http://www.worldforge.org/index.php/components/cyphesis/
License: GNU General Public License v2.0
Hi,
I started the conan install and worked my way through upgrading conanfile.py to conan 2.0 for the installation requirements. I've shared my work in hopes that it helps others.
Just FYI, this is the 1st time I have ever heard of conan and I have never worked with it, before [WorldForge].
Here's where I am stuck:
]# conan install .. --build missing
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=12
os=Linux
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=12
os=Linux
======== Computing dependency graph ========
Graph root
conanfile.txt: /home/cyphesis/git/WorldForge/cyphesis/conanfile.txt
Requirements
atlas/0.7.0@worldforge/testing#c43171da543e3998d9768320474cda71 - Cache
boost/1.81.0#8dcd9d9df9e0d320714b83cceddbe120 - Cache
bullet3/2.89#fb848ece2a6d6730043cd60d708e070c - Cache
bzip2/1.0.8#411fc05e80d47a89045edc1ee6f23c1d - Cache
cpython/3.10.0#6a5396cadb44e81a53b11e7e87907506 - Cache
expat/2.4.1#05776613161c5afcf6d8dff34614a46d - Cache
gdbm/1.19#c420bc00f3cc629aef665fdc3100f926 - Cache
libbacktrace/cci.20210118#ec1aa63bbc10145c6a299e68e711670c - Cache
libcap/2.66#0ac291aa98856fc46038c7e1a2a13a6d - Cache
libffi/3.2.1#33b3eff20f1be5d569235ae100266729 - Cache
libgcrypt/1.8.4#2c2d11d0bcdb363d0e1334debdff14fd - Cache
libgpg-error/1.36#d93d9ab320672a75e2158e06e6373605 - Cache
libuuid/1.0.3#40422af1b64fd820b5e1966e358e352e - Cache
libxcrypt/4.4.25#663ef6741769a6759bf8549ed4d447f6 - Cache
libxdg-basedir/1.2.3@worldforge/stable#32bd830bc6daeb63db9ccfa1d71cf6d5 - Cache
mercator/0.4.0@worldforge/testing#cf5292c840b0c1c1396450d65e9abd0e - Cache
mpdecimal/2.5.0#bcb80280122e1e66300b59ef21dae7e4 - Cache
openssl/1.1.1l#030c1f2e04df820ef309a0ad79f254b3 - Cache
readline/8.1.2#ae31d1d71b027b0fe35903eb6c2e8333 - Cache
sigc++/2.10.0@worldforge/stable#3ef7f9b6552896664effb355fbeb72cb - Cache
sqlite3/3.40.1#42e44d48d880b6520ae0fea7dc51b3da - Cache
termcap/1.3.1#1986f84bf21dd07ea774b027a3201fcb - Cache
varconf/1.0.3@worldforge/testing#b3de47602c359d3c8190650690429ae6 - Cache
wfmath/1.0.3@worldforge/testing#0e5adb8f8def2872dbbcb82f62dc58d5 - Cache
zlib/1.2.13#13c96f538b52e1600c40b88994de240f - Cache
Build requirements
autoconf/2.71#f4e2bd681d49b4b80761aa587bde94d5 - Cache
automake/1.16.5#891f585a736bce951cc0e7109aa5ffee - Cache
b2/4.9.3#5445210661950ce568cfd76158d9e117 - Cache
bison/3.7.6#274a83ebb4b254bd73ade2a8894f19db - Cache
flex/2.6.4#e35bc44b3fcbcd661e0af0dc5b5b1ad4 - Cache
gnu-config/cci.20210814#df744500fb411937e3b45e30e9dc356c - Cache
libtool/2.4.7#d55a3c2435c19e830fa77aa5c6c19350 - Cache
m4/1.4.19#c1c4b1ee919e34630bb9b50046253d3c - Cache
ERROR: Version conflict: cpython/3.10.0->sqlite3/3.36.0, None->sqlite3/3.40.1.
I would sincerely appreciate any help. Thank you very much.
/etc/cyphesis/cyphesis.vconf
to use ruleset="mason"
and autoimport="/usr/share/worldforge/worlds/mason/moraf/world.xml"
Important stdout/stderr which is not in the trace:
2022-07-15T01:22:12 ERROR Rule database table contains no rules.
2022-07-15T01:22:12 INFO Looking for extra python scripts in "/var/lib/cyphesis/.local/share/cyphesis/cyphesis.d".
2022-07-15T01:22:12 INFO Restoring world from database...
2022-07-15T01:22:12 INFO Starting restoring world from storage.
2022-07-15T01:22:12 ERROR Could not restore entity with id 7 of type thing, most likely caused by this type missing.
2022-07-15T01:22:12 ERROR Could not restore entity with id 8 of type land, most likely caused by this type missing.
cyphesis: /home/build/worldforge/cyphesis/src/cyphesis/src/server/StorageManager.cpp:186: void StorageManager::restorePropertiesRecursively(LocatedEntity&): Assertion `ent.getType() != nullptr' failed.
Trace: gdb.txt
Something that says "Fatal: Entities present were created by a ruleset which is not the one running. Clear and try again." instead of segfaulting.
Steps to reproduce:
$ cypasswd -r blah
2022-07-20T01:40:51 INFO Reading settings from /var/lib/cyphesis/.cyphesis.vconf
2022-07-20T01:40:51 ERROR Varconf Warning: short argument "-r" given on command-line expects a value but none was given.
2022-07-20T01:40:51 ERROR Varconf Warning: short argument "-r" given on command-line expects a value but none was given.
2022-07-20T01:40:51 WARNING Invalid option -- :admin
terminate called after throwing an instance of 'sqlite3pp::database_error'
what(): database is locked
Aborted (core dumped)
It works correctly when cyphesis is shut down but I expected to be able to manipulate accounts while cyphesis is running.
$ cypasswd -r blah
2022-07-20T01:42:22 INFO Reading settings from /var/lib/cyphesis/.cyphesis.vconf
2022-07-20T01:42:22 ERROR Varconf Warning: short argument "-r" given on command-line expects a value but none was given.
2022-07-20T01:42:22 ERROR Varconf Warning: short argument "-r" given on command-line expects a value but none was given.
2022-07-20T01:42:22 WARNING Invalid option -- :admin
Changing blah to a admin account
Account changed.
OS: Arch Linux
Cyphesis version: 0.6.2.r2217.ga4155ee02-1
Expected behavior:
It does not segfault and instead report a proper error.
When I browse to the server folder, https://github.com/worldforge/cyphesis/tree/master/server, I see the following error:
This isn't the case for 2 commits ago.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.