Wimberton / OriginPalia

A multi-purpose tool for Palia, written in C++. Looking for contributors. Features such as ESP, Teleportation, Auto-fishing, and more.
https://getos.me/
46 stars 16 forks source link

DLLInject Failed #1

Closed Nekomimis closed 4 months ago

Nekomimis commented 4 months ago

I'm no smart IT guy and I tried to search up the error on Google just incase it's on my end, but I still wasn't able to find any answers. I got hit with; bkhOzp2

Currently using CE as an injector.

Wimberton commented 4 months ago

That sounds like an issue with your installation of Cheat Engine. Try using something like ExtremeInjector, GuidedHacking Injector, etc.

I will provide my loader with the next release.

Mishur1 commented 4 months ago

Hey, running in the same error with three different Injectors.

image

Tried Steam and standalone Client - Which Injector do you use? How do you inject the game?

eduardneghina commented 4 months ago

Same errors with CE & ExtremeInjector. Steam and standalone Client

Wimberton commented 4 months ago

Same errors with CE & ExtremeInjector. Steam and standalone Client

Please try using a different injection method. It seems that this is an issue with your injector and the method being used, not the DLL itself. Nevertheless, please try the latest edition.

OS-Void commented 4 months ago

Idk if this is related, as I used a different injector at the time so the error was different. But in my machine it worked fine, but I got Visual Studio, Rider, Cmake, and a bunch of dev tools.

But in my other machine it did not work, even tho it was same cpu, gpu and OS architecture. Not sure if this has to do with windows redistributables, or if the v142 c++ build tools are required, but once i had all the compiling requirements installed the injection would work on its own.

(@Wimberton, this is nniperx btw, that username is just super old lol)

Nekomimis commented 4 months ago

Still no solution. Tried multiple different injectors. Rest went into Injection NULL. Hmm

OS-Void commented 4 months ago

Still no solution. Tried multiple different injectors. Rest went into Injection NULL. Hmm

Like i said above, its not an injector issue, and the DLL works. The methods that the injectors are trying to use may not be available in your computer for example. I haven't done an indepth if that is the cause, what I may end up doing is completely uninstall everything i installed to get it to work on my other machine, and try to find out for you guys what it is.

Nekomimis commented 4 months ago

Still no solution. Tried multiple different injectors. Rest went into Injection NULL. Hmm

Like i said above, its not an injector issue, and the DLL works. The methods that the injectors are trying to use may not be available in your computer for example. I haven't done an indepth if that is the cause, what I may end up doing is completely uninstall everything i installed to get it to work on my other machine, and try to find out for you guys what it is.

My bad. Completely skipped through the replies. Do update us regarding the issue. I'm just lost because Balls' dll worked perfectly fine before.

OS-Void commented 4 months ago

Still no solution. Tried multiple different injectors. Rest went into Injection NULL. Hmm

Like i said above, its not an injector issue, and the DLL works. The methods that the injectors are trying to use may not be available in your computer for example. I haven't done an indepth if that is the cause, what I may end up doing is completely uninstall everything i installed to get it to work on my other machine, and try to find out for you guys what it is.

My bad. Completely skipped through the replies. Do update us regarding the issue. I'm just lost because Balls' dll worked perfectly fine before.

Alright, so. You gotta head to https://visualstudio.microsoft.com/ and download the Community version (its free), once you got that running just install the following 2 components from the individuals tab (Maybe select Windows 10 if that is your OS, I run 11 on my system):

ttt

That should allow this project to work, now if other DLLs were working, perhaps something can be done to include these requirements into the .dll itself, but I'm not that educated to know exactly how it would work.

eduardneghina commented 4 months ago

I Injected sucesfully after installing those 2 toolkits (w11 & MSVC v142 ) and I can see in the top "Origin Palia 0.179.1" but how do I open the menu ?!

// Working perfectly now , thank you @VoidPollo

OS-Void commented 4 months ago

I Injected sucesfully after installing those 2 toolkits (w11 & MSVC v142 ) and I can see in the top "Origin Palia 0.179.1" but how do I open the menu ?!

Insert

OS-Void commented 4 months ago

@Wimberton

In the CMakeLists.txt

I changed:

add_compile_options(/MP)

to

add_compile_options(/MP /MD)

and my second machine can now load the .dll without having to install visual studios and the dependencies, perhaps check out whats available? might benefit the project.

Nekomimis commented 4 months ago

Thanks @VoidPollo , I got it to run now. I'm planning on closing the thread unless you need to continue your research?

So far the only issues (in terms of errors) I have is;

Suggestions: All in all, it's really an amazing menu. I have to give it credit. I wonder if it would be possible to increase the Silent Aim range? Instead of max 30m, it could be slightly further? Mainly because I prefer shooting from a longer range xD. Also being able to save certain coordinates (Not the default ones you get when entering Kilima/Bahari) so that we can just click to TP would be good too. Being able to save ESP Color settings

That's about it.

Edit: Added inputs & suggestions

Wimberton commented 4 months ago

@Wimberton

In the CMakeLists.txt

I changed:

add_compile_options(/MP)

to

add_compile_options(/MP /MD)

and my second machine can now load the .dll without having to install visual studios and the dependencies, perhaps check out whats available? might benefit the project.

Looking into this now. Thanks for the heads up!

Wimberton commented 4 months ago

Thanks @VoidPollo , I got it to run now. I'm planning on closing the thread unless you need to continue your research?

So far the only issues (in terms of errors) I have is;

  • Assertion Failure, the one where you have the same issue with. But for now, I kept spamming, "Ignore" until it disappears.
  • I think being in the, "Selling & Items" menu, makes me experience the, "Game Travel Failure" error. Might just be me tho.

Suggestions: All in all, it's really an amazing menu. I have to give it credit. I wonder if it would be possible to increase the Silent Aim range? Instead of max 30m, it could be slightly further? Mainly because I prefer shooting from a longer range xD. Also being able to save certain coordinates (Not the default ones you get when entering Kilima/Bahari) so that we can just click to TP would be good too. Being able to save ESP Color settings

That's about it.

Edit: Added inputs & suggestions

  1. Silent aim had a valid range between when the animal is in combat stage, or not. It's something I'm looking into more.
  2. Saving and loading coordinates alongside ESP colors, and currently active options is something I'm also working on in the background. It's going to take a bit of rewriting and finishing my config structures to get this going. It's coming.

I'm going to close this issue since I've added multithreaded runtime support for common runtime components. Thanks again VoidPollo for this suggestion.