Jump to content

billwerth2

Members
  • Posts

    35
  • Joined

  • Last visited

Nexus Mods Profile

About billwerth2

billwerth2's Achievements

Apprentice

Apprentice (3/14)

0

Reputation

  1. Sorry no. I've never heard of that mod. Have you tried posting a message on the page for that mod? In this case, you know the mod that has the problem, so that is probably the best way to get some help.
  2. There had been a bug in one mod that caused this. I think it was the Plant Everything, but also think that was fixed over a month ago. You might want to check that if you have that mod that it is updated. BTW, Plant Everything is a replacement mod for Planting Plus. You should remove the Planting Plus mod and install the Plant Everything instead. The Planting Plus mod is the one with this bug you are seeing. Right there in the posts for Planting Plus is this: "Advize rewrote this mod, fixing some of the long standing bugs with it (including the broken hitboxes). This rewritten version is named "Plant Everything" and can be found here: https://www.nexusmods.com/valheim/mods/1042 Highly recommend switching as Planting Plus has a bug which breaks hitboxes randomly, requiring restarting Valheim to fix. This bug prevents you from hitting any creatures or fallen trees."
  3. Most of us just get our BepInEx from having Valheim Plus installed, but yes, you can get it from: https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/ There was an update to BepInEx a few weeks ago, requiring everyone that runs mods to update it. Either get the latest update for Valheim Plus or install from the above link.
  4. I think what you want to use is ILSpy (or something like it) in Visual Studio. Looking at the code using ILSpy, it looks as if the comfort distance is a hard coded value of 10. It applies to all items in that radius that could provide comfort, not just the maypole. This is the line where it is hard coded: private static List<Piece> GetNearbyPieces(Vector3 point) { m_tempPieces.Clear(); Piece.GetAllPiecesInRadius(point, 10f, m_tempPieces); return m_tempPieces; } Seems possible to change that, although it could have all kinds of side affects for other places where it might be called other than from CalculateComfortLevel. So I think you could change the radius of all items that add to the player comfort. If you somehow know how to compare a piece to see if it is a maypole, I suppose you could then code in a wider radius value for just that piece in this function: public static void GetAllPiecesInRadius(Vector3 p, float radius, List<Piece> pieces) { if (ghostLayer == 0) { ghostLayer = LayerMask.NameToLayer("ghost"); } foreach (Piece allPiece in m_allPieces) { if (allPiece.gameObject.layer != ghostLayer && Vector3.Distance(p, allPiece.transform.position) < radius) { pieces.Add(allPiece); } } }
  5. I think this is the command to bring up the console. A recent update changed this to require that you start the game with: -console Look up this update to see how this has changed. So a change to the game, nothing to do with a mod.
  6. You have to add a launch option now to get to the console: -console https://valheim.fandom.com/wiki/Console_Commands
  7. BTW, since it looks like you are just adding some code, not modifying the code, you could probably just use a postfix method on the above function. Your method would add the iron drop in addition to the normal drop. BTW, much better help for this stuff can be found in this discord: https://discord.com/channels/807356896637354004/807360834892202015 As far as I know, that is the link. It works for me.
  8. That's a great idea! As an alternative I was thinking of setting a lock file to get around this issue. I did get a suggestion from someone else to just use SyncThing. https://syncthing.net/ I didn't test it, but it seems like a much simpler approach for non git familiar users. I thought of the lock file too. Didn't know exactly how to make it work though. I took a quick look at SyncThing. Looks interesting. Never heard of it. While you are playing, the files would be constantly updating. Would be interesting to see how it would handle that situation and hopefully it wouldn't hit your network too hard.
  9. I recommend you ask on the modding discord: https://discord.gg/SKWtmUkJ Also there is this video that can give you an idea of what you might need to do to make this mod:
  10. One small way you could improve this is add a file to those stored in the repo that contains the username of the person who last started the server. Also the time it was started. You can get that from: echo %username% echo time /T echo date /T You could then echo out the contents of the file with the user and time and prompt to continue or not. If the time was recent, the user would know it could be running and contact that person. If they see their name, they no they can continue and play without contacting anyone. Now if the IP of the server was added and echo'd also, that would help people know where they need to connect to for joining the server. I think the intent is that the param.txt is unique on each persons PC, but the batch file is the same for everyone. So the IP of when the server is run could go in the param.txt file too. Too bad Valheim doesn't just include a non-dedicated server option. This is all a bit more than I'd ask any of my friends to do.
  11. So by mods, I think you mean Valheim Plus mod. There are lots of other mods. There are in general two types of mods, client and server. Valheim Plus runs on both the client and server. It can be set on the server to use the server config file and copy that to the client. So most likely, you never edited the config file for Valheim Plus. You need to enable first the entire mod in the config file, and then every feature you want to use that is in there. There are a lot. If you did this, you would remember it.
  12. Yes, you can call private methods, what you need is to make a reverse patch, which creates your own method that is public that calls the private method (at least that is my simple explanation). There is documentation on how it works here: https://harmony.pardeike.net/articles/reverse-patching.html To alter a function, you need a transpiler. How to do this is in the above documentation too. I've yet to make one. So for I've just created prefix methods and the reverse patch. BTW, since it looks like you are just adding some code, not modifying the code, you could probably just use a postfix method on the above function. Your method would add the iron drop in addition to the normal drop. BTW, much better help for this stuff can be found in this discord: https://discord.com/channels/807356896637354004/807360834892202015
  13. Some people are great at reading through all the code in a game and figuring out how stuff is done. They then just duplicate that code in their own mod and modify it slightly to their needs. I'm pretty good at taking someone who already has that code they modified and modifying it more to do something slightly different. Not great at creating that first mod though. There are some mods out there already that take a building, store its design and place it in a new location. One of my favorite villages to come across is the one with the draugers in it. It is like a village of the dead. Even copying how the game generates one of those would make a nice mod that generates them in more locations. I've played a number of maps (worlds), but have only seen one of those type of villages at most. The game could use a few more, as they give you stuff before you would normally be going into the swamp. An added challenge. Other like that would be a nice addition to the game. This forum doesn't seem like the best place to find a programmer. I suggest you try this discord: https://discord.gg/SKWtmUkJ
  14. It is not your mods. That is just the game being in Early Access and not finished yet. I assume at some point you will be able to upgrade the bench and your troll armor another level (I love the troll armor, so can't wait).
  15. OK, normally you see this sort of post in the steam forums, not here. BTW, these forums aren't used much, probably because there are discord channels that are better read than this forum. So assuming you are serious, just try a 2nd world (different seed). The game is highly random. What you are describing is possible, but not the norm. You are just as likely to not find even one copper node in your first black forest and no crypts at all in your first swamp. You were just lucky. If you want to get an idea of normal, click the Random and then the Go! button here several times: http://valheim-map.world/
×
×
  • Create New...