Giter Site home page Giter Site logo

commonlibf4's People

Contributors

blipvert avatar hxef avatar qudix avatar ryan-rsm-mckenzie 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

Watchers

 avatar  avatar  avatar  avatar  avatar

commonlibf4's Issues

Build fails when using vs-2022-vcpkg

When I try to build with the vs-2022-vcpkg preset, the build fails with the following error repeating multiple times

D:\Projects\fallout4\CommonLibF4\CommonLibF4\include\F4SE/Logger.h(35,2): error C7595: 'fmt::v8::basic_format_string<char,std::string_view &>::basic_format_string': call to immediate function is not a constant expression (compiling source file D:\Projects\fallout4\CommonLibF4\CommonLibF4\src\F4SE\API.cpp) [D:\Projects\fallout4\CommonLibF4\build\CommonLibF4\CommonLibF4.vcxproj]
D:\Projects\fallout4\CommonLibF4\CommonLibF4\include\F4SE/Logger.h(35,2): message : failure was caused by a read of a variable outside its lifetime (compiling source file D:\Projects\fallout4\CommonLibF4\CommonLibF4\src\F4SE\API.cpp) [D:\Projects\fallout4\CommonLibF4\build\CommonLibF4\CommonLibF4.vcxproj]
D:\Projects\fallout4\CommonLibF4\CommonLibF4\include\F4SE/Logger.h(35,2): error C7595: 'fmt::v8::basic_format_string<char,const char *>::basic_format_string': call to immediate function is not a constant expression (compiling source file D:\Projects\fallout4\CommonLibF4\CommonLibF4\src\F4SE\Interfaces.cpp) [D:\Projects\fallout4\CommonLibF4\build\CommonLibF4\CommonLibF4.vcxproj]
D:\Projects\fallout4\CommonLibF4\CommonLibF4\include\F4SE/Logger.h(35,2): message : see usage of 'a_fmt' (compiling source file D:\Projects\fallout4\CommonLibF4\CommonLibF4\src\F4SE\API.cpp) [D:\Projects\fallout4\CommonLibF4\build\CommonLibF4\CommonLibF4.vcxproj]
D:\Projects\fallout4\CommonLibF4\CommonLibF4\include\F4SE/Logger.h(35,2): message : failure was caused by a read of a variable outside its lifetime (compiling source file D:\Projects\fallout4\CommonLibF4\CommonLibF4\src\F4SE\Interfaces.cpp) [D:\Projects\fallout4\CommonLibF4\build\CommonLibF4\CommonLibF4.vcxproj]
D:\Projects\fallout4\CommonLibF4\CommonLibF4\src\F4SE\API.cpp(112): message : see reference to function template instantiation 'F4SE::log::warn<F4SE::stl::zstring &>::warn<F4SE::GetPluginInfo::<lambda_1>::()::FMT_COMPILE_STRING>(T &&,F4SE::stl::zstring &,std::source_location)' being compiled [D:\Projects\fallout4\CommonLibF4\build\CommonLibF4\CommonLibF4.vcxproj]

Full command line output

Where to start?

I'm a little familiar with C++, but getting into F4SE/CommonLib modding seems like wizardry to me. There's pretty much zero tutorials or documentation for any of this (i did find this, but it's been inactive for 7 months and is meant for the Skyrim version).

  • Is the readme up to date? It mentions and old preview of an old version of Visual Studio. Took me a while to figure out i'm apparently supposed to have VS2019 installed while using VS2022 for opening and building the project.
  • Is it expected to get familiar with F4SE before moving on to CommonLib?
  • Is it expected to work with Skyrim's version first? That one does seem to have tutorials.
  • Is it expected to just learn how to use this just by reading the code (and be an experienced modder and C++ programmer / reverse engineer who already knows Bethesda's engine well)?
  • I see the example project has F4SEPlugin_Load, is this the function that F4SE calls?
  • Am I supposed to create my own plugin by forking this full repo, changing the example project and building its dll?
  • What do events like onUpdate look like? Are there simple mods whose code I can read to learn how to do things?
  • @shad0wshayd3 and @powerof3 seem to be actively working on CommonLib, what are they doing? Which fork is currently the most usable?
  • Is there a Discord server where this is all being discussed?

Error 126 in F4SE Log when loading Example Project dll

Hi, I am 100% sure that I have done something wrong here but I have no clue what do anymore. I managed to build the Example Project into a DLL file in release x64 but F4SE refuses to load it. I don't have much experience with CMake and c++ package managers. I just kept following instructions until I got the project to build really. Address Lib installed at Data/F4SE/Plugins/

F4SE Log

CMake Pretty sure I did something wrong here too.

Extremely sorry for bothering you with a stupid question and thanks for your time!

[Question] Head world position

I'm writing UI plugin and trying to display UI widget near to actor's head position.
I've tried to use TESObjectREFR::Get3D() and TESObjectREFR::GetFaceNodeSkinned. Both returns NiAVObject that points to "feets" of actor's model when actor is staying, but points to the center (approximately) of model when actor is lying down.

Do you have any idea how to obtain actor's head world position?

calloc returning junk data?

Is calloc supposed to call malloc? -> link

When I try to allocate memory using calloc, it returns memory blocks with random data, which is not ideal since there are other functions like this one which make use of calloc.

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.