GithubHelp home page GithubHelp logo

astropilot / valheimtooler Goto Github PK

View Code? Open in Web Editor NEW
53.0 7.0 12.0 1.06 MB

A fancy cheats tool for the Valheim game

License: MIT License

C# 99.45% Python 0.49% PowerShell 0.06%
valheim cheat reverse-engineering game-hacking dotnet modding valheim-game unity valheim-mod

valheimtooler's Introduction


Valheim Tooler

Download counter Thunderstore download count MIT License

French Version

AboutUsageContributingSpecial mentions and credits

About

ValheimTooler is a free software that allows you to cheat on the Valheim game via a multitude of options offered. This project is purely for educational purposes, I am not responsible for the use you make of it. Be reasonable some features are particularly game breaker.

Here is the list of features offered by this tool:

  • Player
    • God Mode, you don't lose any more life
    • Unlimited stamina for you
    • Unlimited stamina for the other players
    • No stamina for the other players
    • Fly Mode, sweet creative mode 🕊️
    • Ghost Mode, the monsters cannot see you
    • No placement cost
    • Explore all your minimap (Irreversible on the world on which it is activated!)
    • Reset your minimap
    • Teleport a player to another player (works only if the player is visible on the minimap), to minimap marker or coordinates
    • Allow teleporting with restricted items
    • Instantly heals a player
    • Instantly heals all players
    • Activate a Guardian Power for you
    • Activate a Guardian Power for all players
    • Raise/Decrease a skill to any level
    • Tame all nearby creatures
    • Unlimited weight for inventory
    • Fast crafting
    • Remove your tombstones
    • Change the interaction distance
  • Entities & Items
    • Spawn any entity
    • Delete all drops on the ground
    • An Item Giver to add any item you want in your inventory
  • Terrain Shaper
    • Level terrain
    • Lower terrain
    • Raise terrain
    • Reset modifications
    • Smooth terrain
  • Miscellaneous
    • Inflict damage to a player (ignores the no-pvp mode)
    • Kill all entities except players
    • Kill all players
    • Auto-pin on the minimap the deposits
    • Send a event message to all players (the yellow one on the middle of the screen)
    • Send a chat message as any username
    • A ESP for players, monsters, pickables, deposits and drops with radius setting

⚠️ Warning ⚠️: On each feature that allows you to choose a player, the list will only include players who are at a certain distance from you (quite large but not the whole map for all that). This is not a personal choice but a technical limitation of the game. Until I find a way to get around it (if possible) this behavior will remain.

Usage

I made sure that you can install and run this tool easily. Just go here to download the latest version. Take the .zip and extract it to any folder. Then run the ValheimToolerLauncher.exe and click on Install.

If the button is not available it is likely that the program has not found the path to the game, specify it just below and the button should become clickable.

Once the installation is complete, run the game with the launcher open. Once you get to the main menu (AND NOT BEFORE) of the game you can click on Launch and the cheat should appear in game. To show/hide the cheat window you can press Del on your keyboard.

When a cheat update is available, the launcher allows you to update the cheat directly. A button will appear and you just have to click on it to automatically install the latest version!

If you want to uninstall the cheat you just have to press the Uninstall button.

Note: If the installation or uninstallation ever prevents the game from launching, you can always ask Steam to check the integrity of the game files and it will repair the corrupted files.

Here is also a video tutorial explaining its installation and a demonstration of its features:

Tutorial/Demonstration video

Configuration

A configuration file is available to modify some of the tool's parameters, this file is created when the tool is first launched. The file is available:

  • If you use the launcher the file should appear in the same place as the ValheimToolerLauncher.exe
  • If you use the BepInEx version, it should be available in the BepInEx/config folder

The name of the configuration file is valheimtooler_settings.cfg

This file allows you to modify the following parameters:

  • Change the key that displays/hides the tool, defaulting to the Delete key
  • Choose to show the tool when it starts, default is active
  • Choose the display language of the program, auto by default (depending on the game language)
  • Set up keyboard shortcuts for some features

Contributing

The project is open for contributions! Open an Issue to propose new features or directly make a merge request if you want to implement it yourself. Please respect the conventions defined by editorconfig! It should be automatically taken into account by Visual Studio.

A more complete contributing file will arrive soon...

Special mentions and credits

  • Thanks to the Guided Hacking and Unknown Cheats forums for their tutorials that gave me the basics to design an injectable cheat
  • Many thanks to wh0am15533 for its Unity Runtime DevTools utility from which I got some parts related to resource loading in the assembly and its SharpMonoInjector update
  • Thanks to KillerGoldFisch for his proposal to put this tool as a mod for BepInEx as well as his example code for the implementation of this plugin
  • Thanks to themaoci for his work allowing to redo a part of the functionalities via patching as well as the addition of new functionalities such as: auto-marking on the minimap of deposits, instant crafting and teleportation with forbidden items
  • Thanks to the Gungnir mod for the Terrain Shaper
  • Thanks to BepInEx for the configuration system reused in this code
  • Many thanks to BastienMarais for his precious help during the development phase for his tests and feature ideas!

valheimtooler's People

Contributors

astropilot avatar bastienmarais avatar nnahoy 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

valheimtooler's Issues

Windows claims to detect a trojan

I ran ValheimToolerLauncher.exe and updated to 1.9.1.
Then installed it, launched Valheim and then launched the Tooler.
Overlay is shown in Valheim, but Windows gave me a warning on the file
ValheimTooler_1.9.0\ValheimToolerLauncher.exe
and calls the threat "Trojan:Win32/Bearfoos.A!ml"

It is under quarantaine now.
Anyone else experiencing this?

Ghost mode and invisibility

When in Ghost mode, the user is visible to other players via teleportation or health replenishment selections. For the server administrator, this is critical in maintaining law and order. Is it possible to remove the ability to display the names of players who are near you in Ghost mode? Thanks

gamepass

can this be done on gamepass i tried everything and cant get it to work

[feature-request] /farinteract

Thanks for the mod.

Could you add /farinteract command from SkToolBox?

/farinteract [Distance=50] - Toggles far interactions (building as well)

[feature-request] customize autopin names

Feature requested in Discord support:

  • Be able to customize (or at least be able to choose to remove the suffix [VTXXXXX] that is being added at the end) of the name of the deposit created on the minimap with the auto-pin feature.

If anyone is willing to implement this change, please feel free to open a PR!

Relevant file:

string name = component.GetHoverName() + " [VT" + random_nounce + "]";

Kind regards,
Astropilot

Couldn't find post_install.chk file error

Today they released the new patch 0.212.9 and after this, I am not being able to open the tooler. Tried to reinstall and by reading the crash reports I realized that one of the files is not being created (post_install.chk)

It returns this error: System.IO.FileNotFoundException

note: I'm using the standard version, not the BepInExMod

Player Data not saving when using tooler.

With tooler injected, when I try to quit the game, the game stuck on an infinite black screen, when I force a shutdown of the game and restart, the player data is not saved. Here is player.log

12/30/2022 01:40:50: Shuting down
NullReferenceException: Object reference not set to an instance of an object
at Skills.Save (ZPackage pkg) [0x00036] in <35c0f7aa1999477788815a7bf78200d7>:0
at Player.Save (ZPackage pkg) [0x0036b] in <35c0f7aa1999477788815a7bf78200d7>:0
at PlayerProfile.SavePlayerData (Player player) [0x00006] in <35c0f7aa1999477788815a7bf78200d7>:0
at Game.SavePlayerProfile (System.Boolean setLogoutPoint) [0x00017] in <35c0f7aa1999477788815a7bf78200d7>:0
at Game.Shutdown () [0x0001a] in <35c0f7aa1999477788815a7bf78200d7>:0
at Game.Logout () [0x00009] in <35c0f7aa1999477788815a7bf78200d7>:0
at Menu.Logout () [0x0001b] in <35c0f7aa1999477788815a7bf78200d7>:0
at Menu.OnLogoutYes () [0x0002c] in <35c0f7aa1999477788815a7bf78200d7>:0
at UnityEngine.Events.InvokableCall.Invoke () [0x00010] in :0
at UnityEngine.Events.UnityEvent.Invoke () [0x00022] in :0
at UnityEngine.UI.Button.Press () [0x0001c] in <67859b8eac9e4f3b99606821e32b26c6>:0
at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00009] in <67859b8eac9e4f3b99606821e32b26c6>:0
at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00007] in <67859b8eac9e4f3b99606821e32b26c6>:0
at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) [0x0006c] in <67859b8eac9e4f3b99606821e32b26c6>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction1)
UnityEngine.EventSystems.StandaloneInputModule:ReleaseMouse(PointerEventData, GameObject)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent()
UnityEngine.EventSystems.StandaloneInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()

12/30/2022 01:40:50: FOund selected Button_yes

Failed to Inject

Status: Failed to inject: mono_object_get_class() returned NULL

This is happening while using the launcher, not the BepinEx version, after I've verified integrity of Valheim files and installed then launched while in the main menu.

Any ideas how I can fix this? Sorry if I just haven't read some directions here, just seems easier to post an issue since I can't find anything on it in the write-up. Thank you in advance.

[feature-request] filter teleport Targets

right now the teleport targets list can be excessively long. allowing filters (either by typed info, so we can use characters to distinguish location types #$+ etc, or icon so we can find only Homes/Fires/etc) would help make the feature more usable.

[FEATURE] Automatic recording of important positions on the map

Hi!

I have a new idea that might be fun!

An option to automatically save on the map (with dots) the interesting positions for the player.
For example, I pass near a copper ore and automatically it adds a marker on the map with "copper".
We can also imagine the same principle with the marking of dungeons.

Do you think this is feasible in your roadmap?

Thumnail item bug ?

Discussed in #20

Originally posted by Robert-Elias159 December 30, 2022
bug
Is there anyway to make the icon become smaller ?

Add Terrain Modification

I've used this "Ground" class from Gungnir mod:
LINK
to add another window "Terrain Shaper":

            GUILayout.Label("Terrain Editing");

            GUILayout.Label("Radius: " + radius.ToString("F1"));
            radius = GUILayout.HorizontalSlider(radius, 1f, 50f);

            GUILayout.Label("Depth: " + depth.ToString("F2"));
            depth = GUILayout.HorizontalSlider(depth, 1f, 10f);

            GUILayout.Label("Strength: " + strength.ToString("F2"));
            strength = GUILayout.HorizontalSlider(strength, 0.001f, 0.1f);

            if (GUILayout.Button("Flatten"))
            {
                Ground.Level(Player.m_localPlayer.transform.position, radius);
            }

            if (GUILayout.Button("Lower"))
            {
                Ground.Lower(Player.m_localPlayer.transform.position, radius, depth, strength);
            }

            if (GUILayout.Button("Rise"))
            {
                Ground.Raise(Player.m_localPlayer.transform.position, radius, depth, strength);
            }

            if (GUILayout.Button("Reset"))
            {
                Ground.Reset(Player.m_localPlayer.transform.position, radius);
            }

you might want to add it + wind settings, nice feature and makes the tool complete :D

Maintenance mode

Hello,

Not playing the game for more than a year, I unfortunately don't have the motivation and time to continue to actively develop ValheimTooler. Nevertheless this tool is still used a lot, so I plan to switch to maintenance mode, that is to say I won't add new features but I will continue to keep the tool working as it is now as Valheim is updated.
If people want to contribute to add new features, you are welcome and I encourage you to make a pull request!

Kind regards,
Astropilot

[feature-request] do not consume materials

just thought this was a handy feature - you can eat food, place resin/wood/coal/ore without consuming anything in your inventory. so, fill up torches/fires/smelters/kilns without needing a mess of materials.

obviously you can use No Placement Cost with Spawn Item to get the same effect, but it's a little more cumbersome.

Updated the tooler with features using patching.

here is a link for the forked version: https://github.com/themaoci/ValheimTooler

  • allow teleporting with restricted items (as patch)
  • autopin usefull staff on map (as patch)
  • do not kill player on the edge of the map (as patch)
  • godmode (unable to kill you) (as patch)
  • infinity stamina (as patch)
  • fast crafting (as patch)
  • sprint speedhack (kinda useless cuz it needs more patches) (as patch)
  • zero cap all the time (infinity weight limit) (as patch)
  • detecting anticheat (some easy way from loaded assemblies)
  • disable features that are detected (mostly player ones the rest do not trigger the anticheat) - if anticheat is present
  • enable/disable esp boxes

some speedup for esp's not doing calculations 2+ times if not needed

Mistlands update, Fails to generate config file.

Fails to generate config, in the mistlands update.
Version Tested: v1.6.0
Console Output:

[Info : Unity Log] 12/17/2022 22:49:59: [ValheimTooler - ConfigManager] Failed to find config_vt.path file. Fallback to default configuration.

Unity Error

This error pops up each time I start the game.

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ValheimTooler.UI.SpriteManager.TextureFromSprite (UnityEngine.Sprite sprite) (at <2f2ae1bfaad2402898dbfd0c43df3bd7>:0)
ValheimTooler.Core.ItemGiver.Start () (at <2f2ae1bfaad2402898dbfd0c43df3bd7>:0)
ValheimTooler.EntryPoint.Start () (at <2f2ae1bfaad2402898dbfd0c43df3bd7>:0)

As a follow up the error doesn't seem to prevent me from executing any commands. Everything seems to trigger when pressed or spawned. This error only pops up when the game first starts and BepInEx first loads all plugins.

ValheimTooler as BepInEx Mod?

Hi @Astropilot,

first of all: Thanks for this awesome tool!

I was wondering why this isn't a Mod?

I tried loading the unmodified "ValheimTooler.dll" assembly using a BepInEx mod and it worked like a charm. No need to inject the dll. This would make it much more accessable and does not scare people away by requering them to give elevated privileges to a software the may not trust.

Here is my loader mod: https://github.com/KillerGoldFisch/ValheimToolerLoaderMod

Cheers!

cursor issue : stuck always on

Hello,
since the last update (15 december 2022) my cursor is "stuck on" while the mode is on.
And there no bug when the mod is off, so i really think the mod is the reason why the cursor is stuck on, without inventory open, it's cause asynchronisation betewwen camera displacement and cursor displacement.

Like i'm not fluent in english i will add a description in french :
Le problème est que le curseur est tout le temps visible même quand l'inventaire n'est pas ouvert, ce qui cause une asynchronisation entre la caméra et le déplacement du curseur. ce qui d'une part est visuellement perturbant et d'autre part envoi le curseur à l’extérieur du jeu.

Thank you

Heart and Home Update

Hi! Are you updating this for Heart and Home? Its definitely a useful tool in creative gameplay but the list of items that can be spawned were not updated. Thank you!

[FEATURE] Reset map

Hi @Astropilot,

After testing many of the features offered by ValheimTooler V1.0 I think I have found a new idea to implement😉.

Currently, the tool proposes to explore the whole map but it's impossible to go back and a miss click is so quickly arrived 😅...

I think it would be complicated to restore the "legal" exploration but at least reset it to avoid a case of no return and not spoil a character on this world permanently.

Adding a "reset map exploration" button could be relevant what do you think ?

Mistlands Update..

Hi,

I know this is too much to ask haha! But are you going to update this for the mistlands patch?

Thanks!

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.