GithubHelp home page GithubHelp logo

Comments (19)

KawaiiNahida avatar KawaiiNahida commented on August 30, 2024

麻烦发一下mods/mod.list内容?

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

image

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

在上面,有cdk.so呀

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

就是编译之后加载不了

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

麻烦发一下mods/mod.list内容?

。。

from bdlauncher.

KawaiiNahida avatar KawaiiNahida commented on August 30, 2024

往后放放,把cdk放最后

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

往后放放,把cdk放最后

我去试试

from bdlauncher.

KawaiiNahida avatar KawaiiNahida commented on August 30, 2024

其他插件是最新的吗

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

其他插件是最新的吗

不是那个cdk.so是我用源码自己从新编译的,我想汉化

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

其他插件是最新的吗

换成原来的就好使,自己编译的就不行

from bdlauncher.

KawaiiNahida avatar KawaiiNahida commented on August 30, 2024

mod.list加载顺序不是原来的,如果自己编译的话试试全部编译(执行mod/all.sh)

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

mod.list加载顺序不是原来的,如果自己编译的话试试全部编译(执行mod/all.sh)

他说有一个指令不存在

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

mod.list加载顺序不是原来的,如果自己编译的话试试全部编译(执行mod/all.sh)

等会,我发图你看一下

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

gwy@host-192-168-0-237:/c++_run/bdlauncher/mod$ ls
all.sh base bear cdk chestShop cmdhelp custname DEPRECATED gui killbonus land libleveldb.a map money opti protect tpsinfo tptp transfer vars wtf
gwy@host-192-168-0-237:
/c++_run/bdlauncher/mod$ all.sh
all.sh: command not found
gwy@host-192-168-0-237:~/c++_run/bdlauncher/mod$ ./all.sh
In file included from /usr/include/c++/8/unordered_map:46,
from main.cpp:10:
/usr/include/c++/8/bits/hashtable.h: In instantiation of ‘class std::_Hashtable<InventorySource, std::pair<const InventorySource, std::vector >, std::allocator<std::pair<const InventorySource, std::vector > >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >’:
/usr/include/c++/8/bits/unordered_map.h:105:18: required from ‘class std::unordered_map<InventorySource, std::vector >’
main.cpp:345:17: required from here
/usr/include/c++/8/bits/hashtable.h:195:21: error: static assertion failed: hash function must be invocable with an argument of key type
static_assert(__is_invocable<const _H1&, const _Key&>{},
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function ‘void async_log(const char*, ...)’:
main.cpp:73:10: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
write(1,buf,s);
~~~~~^~~~~~~~~
main.cpp:74:10: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
write(logfd,buf,s);
~~~~~^~~~~~~~~~~~~
main.cpp: In function ‘void onJoin(ServerPlayer*)’:
main.cpp:534:10: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
write(fd,inv.data(),inv.size());
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../base/base.h:9,
from main.cpp:18:
../base/stl.hpp: In constructor ‘FileBuffer::FileBuffer(const char*)’:
../base/stl.hpp:251:14: warning: ignoring return value of ‘ssize_t pread(int, void*, size_t, __off_t)’, declared with attribute warn_unused_result [-Wunused-result]
pread(fd,data,size,0);
~~~~~^~~~~~~~~~~~~~~~
In file included from main.cpp:23:
data.hpp:5: warning: "access" redefined
#define access(ptr,type,off) (((type)(((uintptr_t)ptr)+off)))

In file included from main.cpp:9:
../../include/MC.h:29: note: this is the location of the previous definition
#define access(ptr, type, off) (*((type *)(((uintptr_t)ptr) + off)))

In file included from main.cpp:23:
data.hpp: In function ‘void CHECK_AND_FIX_ALL()’:
data.hpp:410:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<std::pair<std::__cxx11::basic_string, DataLand> >::size_type’ {aka ‘long unsigned int’} [-Wformat=]
printf("[LAND/LCK] %d lands found!\n",lands.size());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
data.hpp:431:12: warning: too many arguments for format [-Wformat-extra-args]
printf("[LAND/LCK] Done land data fix!\n",lands.size());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
data.hpp:407:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system("rm -r data_v2/land_old;mv data_v2/land data_v2/land_old");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function ‘void load()’:
main.cpp:349:13: warning: ignoring return value of ‘int link(const char*, const char*)’, declared with attribute warn_unused_result [-Wunused-result]
link("data/land/land.db", "data/land/land.db.old");
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../base/base.h:9,
from main.cpp:15:
../base/stl.hpp: In constructor ‘FileBuffer::FileBuffer(const char*)’:
../base/stl.hpp:251:14: warning: ignoring return value of ‘ssize_t pread(int, void*, size_t, __off_t)’, declared with attribute warn_unused_result [-Wunused-result]
pread(fd,data,size,0);
~~~~~^~~~~~~~~~~~~~~~
In file included from ../base/base.h:9,
from main.cpp:9:
../base/stl.hpp: In constructor ‘FileBuffer::FileBuffer(const char*)’:
../base/stl.hpp:251:14: warning: ignoring return value of ‘ssize_t pread(int, void*, size_t, __off_t)’, declared with attribute warn_unused_result [-Wunused-result]
pread(fd,data,size,0);
~~~~~^~~~~~~~~~~~~~~~
main.cpp: In function ‘void load()’:
main.cpp:49:13: warning: ignoring return value of ‘int link(const char*, const char*)’, declared with attribute warn_unused_result [-Wunused-result]
link("data/money/money.db","data/money/money.db.old");
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function ‘void load_warps_new()’:
main.cpp:149:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::__cxx11::list<std::__cxx11::basic_string >::size_type’ {aka ‘long unsigned int’} [-Wformat=]
printf("%d warps found\n",warp_list.size());
^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
In file included from ../base/base.h:9,
from main.cpp:14:
../base/stl.hpp: In constructor ‘FileBuffer::FileBuffer(const char*)’:
../base/stl.hpp:251:14: warning: ignoring return value of ‘ssize_t pread(int, void*, size_t, __off_t)’, declared with attribute warn_unused_result [-Wunused-result]
pread(fd,data,size,0);
~~~~~^~~~~~~~~~~~~~~~
main.cpp: In function ‘void load()’:
main.cpp:184:13: warning: ignoring return value of ‘int link(const char*, const char*)’, declared with attribute warn_unused_result [-Wunused-result]
link("data/tp/tp.db","data/tp/tp.db_old");
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function ‘void async_log(const char*, ...)’:
main.cpp:31:10: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
write(1,buf,s);
~~~~~^~~~~~~~~
main.cpp:32:10: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
write(logfd,buf,s);
~~~~~^~~~~~~~~~~~~
In file included from ../base/base.h:9,
from main.cpp:3:
../base/stl.hpp: In constructor ‘FileBuffer::FileBuffer(const char*)’:
../base/stl.hpp:251:14: warning: ignoring return value of ‘ssize_t pread(int, void*, size_t, __off_t)’, declared with attribute warn_unused_result [-Wunused-result]
pread(fd,data,size,0);
~~~~~^~~~~~~~~~~~~~~~
main.cpp: In function ‘void oncmd_runas(argVec&, const CommandOrigin&, CommandOutput&)’:
main.cpp:208:30: warning: narrowing conversion of ‘ptr’ from ‘int’ to ‘std::basic_string_view::size_type’ {aka ‘long unsigned int’} inside { } [-Wnarrowing]
runcmdAs({buf,ptr},sp).isSuccess()?outp.success():outp.error("error");
^
In file included from ../base/base.h:9,
from main.cpp:3:
../base/stl.hpp: In constructor ‘FileBuffer::FileBuffer(const char*)’:
../base/stl.hpp:251:14: warning: ignoring return value of ‘ssize_t pread(int, void*, size_t, __off_t)’, declared with attribute warn_unused_result [-Wunused-result]
pread(fd,data,size,0);
~~~~~^~~~~~~~~~~~~~~~
In file included from ../base/base.h:9,
from main.cpp:5:
../base/stl.hpp: In constructor ‘FileBuffer::FileBuffer(const char*)’:
../base/stl.hpp:251:14: warning: ignoring return value of ‘ssize_t pread(int, void*, size_t, __off_t)’, declared with attribute warn_unused_result [-Wunused-result]
pread(fd,data,size,0);
~~~~~^~~~~~~~~~~~~~~~

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

mod.list加载顺序不是原来的,如果自己编译的话试试全部编译(执行mod/all.sh)

就提示这一大堆,哎

from bdlauncher.

 avatar commented on August 30, 2024

g++ 9 required

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

需要g ++ 9

非常感谢我去试试

from bdlauncher.

China-GWY avatar China-GWY commented on August 30, 2024

需要g ++ 9

不对呀,好像没有g++9

from bdlauncher.

Related Issues (20)

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.