jameswilko / goonmod Goto Github PK
View Code? Open in Web Editor NEWA gameplay mod suite for Payday 2.
Home Page: http://jameswilko.com/GoonMod/
License: MIT License
A gameplay mod suite for Payday 2.
Home Page: http://jameswilko.com/GoonMod/
License: MIT License
Laser colors aren't set properly on akimbo pistols for other peers using the "Use their colour" option.
Only a single laser beam is affected for other players while both are for the client.
Here's a screenshot demonstrating the issue:
In the screenshot above, both players were using the "rainbow laser color".
Is it possible to put a button in the pause menu to remove all the bodies, because sometimes the Ragdoll mod bugs out and enemies freeze in mid air, especially shields. It would be really helpful, thank you.
hey!
a few commits ago you wrote "Fixed compatibility issue with HoxHud causing permanent rainbow flashlight", but..
when i run hoxhud and goonmod together, there IS permanent rainbow flashlight. doesnt seem fixed at all.
its annoying as hell, i hope you can really fix it soon.
To bad i have not a single clue about this lua stuff, would like to help at this.
Happened in a lobby with two friends. One made a Gage Blade with No Material and it crashed the other person who doesn't use GoonMod.
title.
I installed the mod correctly with no other mods but when i go into my modifications there are none there. (http://imgur.com/fKFsSpD) How do I fix this?
Hi,
I'm using a mix of HoxHUD, PocoHUD and GoonMod. Since the last update, the accuracy counter (tab view) doesn't display correctly and is always at 0%. It occurs only with people who have poco/goon. HoxHUD only users doesn't have this, and yet Goon is the only mod which got updated recently.
(And there's a bug, maybe from incompatibility, that makes the enemy damage counter from HoxHUD renders always 0.0 HP, but I guess that's none of your buisness)
Tried a few times, with and without other mods activate.
Application has crashed: C++ exception
[string "lib/managers/menu/crimenetcontractgui.lua"]:215: attempt to compare number with nil
A quick check in PD2hook.yml shows no script is attempting to run as a PostRequireScript to that lua file, is that supposed to be the case?
Crashes only if purchased from lobby, purchasing from main menu works fine.
Also, if this is the wrong place to be reporting bugs, sorry.
I've put all the files into the mod_overrides folder, and I have enabled weapon customisation in the modifications folder. But when I try to customise a weapon, it says that the files aren't in the mod_overrides folder, and I can't apply materials/colours/patterns to any of my weapons.
The above is something I discovered on equipped mods the option doesn't appear
Hi ! I not can buy some weapon mods & mask with gage goins (imgur.com/a/AHq21#1)
It possible to fix it ? Or this open only achievements ?
Sorry for my bad english =)
Me and a friend both encountered this. I customized my CAR4 with the Speculator Sight, giving all parts the same material, pattern and color. In-game, I had the customized CAR4 and the non-customized Loco, but both with the Speculator Sight, and on the Loco, the sight had the visual customization of the CAR4's sight.
After last update my game is crashing when i click Mask option to change my mask. As i say in my other thread, i just sent my "Preferred Character" masks to a friend. Maybe the problem is related to that?
Thanks bro
Edit: Crashlog here
Application has crashed: C++ exception
[string "lib/managers/menu/blackmarketgui.lua"]:668: attempt to index field '?' (a nil value)
SCRIPT STACK
Callstack:
payday2_win32_release (???) ???
payday2_win32_release (???) ???
Current thread: Main
System information:
Application version : 1.23.3
CPU : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz (4 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 10.0
GPU : AMD Radeon R9 200 Series / aticfx32.dll[8.17.10.1333]
Language : @ID94cca2fdaccfc2cd@
Memory : 8169 MB
OS : 6.1.7601 (Service Pack 1) 0x100-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Realtek Semiconductor Corp. (Alto-falantes (Realtek High Definition Audio))
The title is rather self-explanatory, so no further explanation is really needed.
The following screenshot demonstrates the issue (contained within a red rectangle):
Screen resolution: 1920x1080
This issue is highly related to #34.
There's a bug where sometime a customization will be applied on a part of a newly modded/created weapon, because it's the same mod of another customized weapon. Not really annoying since you can modify it without destroying the other weapon.
on the log
Hello,
Just installed GoonMod and have everything working besides from the Gage mod Shop and the seperate train heist, I just can't find them anywhere. I've made sure all files are there and tried disabling all other mods, but there's still nothing and I get this error in my log:
Could not open file <GoonBase/inventory.ini>! Does it exist?
Is this related to my problems? If so, is this a file that should be generated when I launch or is it missing from the download?
me and a couple of friends are having trouble installing the mod. modifications aren't showing up for some of us. we have no other mods downloaded and we have everything installed properly i think. do you need to extract the files still even though they aren't in a zip file?
A) How to reproduce the bug :
B) I only tested this in the Hotline Miami Map
C) Addons used : Hoxhud (up2date), PocoHud (up2date) and GoonMod(last rev) (correctly configured to not override same functions (e.g lasers, body count etc disable on GM))
D) Last stable version of PD2 available on 10th Nov (no beta enabled)
Thanks for reading
PS: Got the dump right here :
http://www.mediafire.com/download/ak0dtk55kzgi8w8/payday2_win32_release_2117156_crash_2014_11_10T17_9_52C0.mdmp
PS2 : Just checked my goon log, i have this line at EOF :
[Error] [string "lib/managers/hudmanager.lua"]:768: attempt to index field 'unit' (a nil value)
A) How to reproduce the bug :
B) How to solve it
I don't know much about lua scripting but i found in the Options section in mods/custom_waypoints.lua
that K and L are hardcoded : (L40-41)
GoonBase.Options.CustomWaypoints.PlaceWaypoint = "k"
GoonBase.Options.CustomWaypoints.RemoveWaypoint = "l"
Where 10 lines before they werent : (L29-30)
PLACE = GoonBase.Options.CustomWaypoints ~= nil and GoonBase.Options.CustomWaypoints.PlaceWaypoint or "k",
REMOVE = GoonBase.Options.CustomWaypoints ~= nil and GoonBase.Options.CustomWaypoints.RemoveWaypoint or "l"
So i fixed it by putting a comment where it's hardcoded using '--' :
--GoonBase.Options.CustomWaypoints.PlaceWaypoint = "k"
--GoonBase.Options.CustomWaypoints.RemoveWaypoint = "l"
After this tweak you can set "Place" and "Remove" using options.ini or the in-game GM options.
Working after playing a heist and restarting the game
Thank you for reading
Hi, I know this is not really an issue and it was likely disabled for a good reason but I just want to know why. Earlier today before the update (when Goonmod was running on an unsupported Payday 2 version), I sent someone a mask using Crime.net Cargo and it worked fine.
As the name suggests, for some reason it appears the Remove Waypoint Hotkey is linked to the Equipment Placement key. As in, when one is changed the other is as well, and I can't seem to unlink them.
sometimes when i play hoxton breakout heist (ovk)
the mutator only spawms normal cops
cloker and tazers come out like 1 or 2 then they stop spawning
after that it will keep spawning normal cops and stop spawning specail units
Hi James,
When I trade weapons with dlc mods on them to my friends, it seems to duplicate them as a separate non-dlc listing, i.e. getting a Lion's Roar with the Precision barrel creates a separate listing for the Precision Barrel under the barrels category. This new listing does not have the "This is part of the Clover/Dragan/Gage Courier Mod/ Pack!". Trying it with a non-dlc weapon mods does not duplicate the item, like with the standard suppressor.
function Hooks:Unregister( id )
for k, v in pairs(self.registered_hooks) do
if k[id] ~= nil then
k[id] = nil
end
end
end
This function won't remove the hook with that ID, it actually won't do anything unless the id happens to be the same as a key in the table ( with is unlikely as long as you use string keys and number ids )
Test code:
function print_table (tt)
if type(tt) == "table" then
for key, value in pairs (tt) do
if type (value) == "table" then
print(string.format("<%s> => table", tostring (key)));
print_table (value)
else
print(string.format("[%s] => %s", tostring (key), tostring(value)))
end
end
else print(tt) end
end
Hooks = {}
Hooks.registered_hooks = {}
function Hooks:Unregister( id )
for k, v in pairs(self.registered_hooks) do
if k[id] ~= nil then
k[id] = nil
end
end
end
function Hooks:Add( key, id, func )
self.registered_hooks[key] = self.registered_hooks[key] or {}
self.registered_hooks[key][id] = func
end
Hooks:Add("Event1", 1, function() end)
Hooks:Add("Event2", 2, function() end)
print_table(Hooks.registered_hooks)
Hooks:Unregister(1)
print("After removal:")
print_table(Hooks.registered_hooks)
You can try it yourself
goonbase/req/network.lua:40: attempt to index a nil value
This causes a crash when I attempt to rename a profile in Hoxhud, but it works fine without GoonMod loaded.
Any ETA on when it might be coming? Sorry if this is the wrong place to ask this question i couldnt find a steam group or anything for my favorite misc mod.
EDIT: im a blind bat, just saw the contact info.
Hi.
The gage-coins feature is pretty awesome, i really like it but I'm afraid if i use gage-coins to buy mods and masks instead of unlocking them i will be marked as CHEATER or something. Has anyone had a problem with that or am i worrying for no reason?
Thaks bros. :)
Edit: Already found my answer: http://steamcommunity.com/app/218620/discussions/8/626329186905229251/#c626329186924346612
I sent over the "Preferred Character" masks to a friend... any way to buy them back?
Hey, me again. I feel bad submitting so many issues, wish I knew more LUA to submit fixes myself.
But I've found two more issues relating to Custom Waypoints.
The first is that whenever I change the keybindings for placing and removing the waypoints it resets back to the default k and l when I restart my game.
The main reason I want to make that change though is because of my second problem, which is that the waypoint buttons work with the chat up so if I type "look" I'll wind up adding a new waypoint and removing it while typing.
I have goonmod installed and extended inventory enabled but when i go into my inventory it isn't there
Rainbow Flashlight and Laser don't seem to work
Infamous non infamy colors, patterns and materials can't be purchase
Mod shop displays color and patterns from lootbag when not owned
Weapon customization does not work at all with the new Boxing gloves update.
I am not a coder and do not pretend to understand a great deal of lua, but I do go through mod_shop.lua after each update to increase the prices of infamous materials out of personal preference.
For quite a while, I've been unable to purchase duplicates of items that are specifically related to Infamy skills, and I think I discovered why.
The infamy lock function, which I assume is related to Infamy ranks rather than infamous items, is duplicated. The first entry appears between lines 205 through 211, and the second entry appears between lines 256 through 262 with no differences between them.
Game crashes upon selecting "Extra" tab in the Blackmarket weapon modification.
Application has crashed: C++ exception
[string "lib/managers/menu/blackmarketgui.lua"]:668: attempt to index field '?' (a nil value)
I'm getting crashes when I enable the 'Suicide Cloakers' mutator, included with v19 update. Seems to happen just before or when a cloaker explodes. I'm the client when I experience the crashes. The host doesn't crash even though he uses the exact same GoonMod options.ini and PD2Hook.yml as me. The host tells me though, that the game hangs (except the music) for around one second when a cloaker explodes.
Crash.txt:
Application has crashed: access violation
-------------------------------
Callstack:
payday2_win32_release (???) ???
payday2_win32_release (???) ???
payday2_win32_release (???) ???
payday2_win32_release (???) ???
payday2_win32_release (???) ???
payday2_win32_release (???) ???
payday2_win32_release (???) ???
payday2_win32_release (???) ???
payday2_win32_release (???) ???
payday2_win32_release (???) ???
payday2_win32_release (???) ???
-------------------------------
Current thread: Main
Script stack:
Detonate() @goonbase//mutators/mutator_suicide_cloakers.lua:55
v() @goonbase//mutators/mutator_suicide_cloakers.lua:22
Call() @goonbase/req/hooks.lua:56
anim_act_clbk() @goonbase/lua/actionspooc.lua:16
on_anim_act_clbk() lib/units/enemies/cop/copmovement.lua:2368
lib/units/enemies/cop/copbase.lua:376
Options.ini:
[Mutators]
AllBulldozerSpawns=false
AllShieldSpawns=false
SuicidalSpawnRate=false
InsaneSpawnRate=false
RandomizerMode=1
AllLightningSpeed=false
InsaneSpawnRateCops=false
AllTaserSpawns=false
SuicidalSpawnRateCops=false
Instagib=false
AllCloakerSpawns=true
SuicideCloakers=true
[IronsightSensitivity]
Enabled=false
[Updates]
GameVersion=1.23.2
FirstTimeStartup=false
ShownUpdateWindow=false
CheckForUpdates=false
BypassUnsupported=true
[EnabledMods]
CustomWaypoints=true
IronsightSensitivity=false
BlackmarketModShop=false
GameplayMutators=true
GrenadeIndicator=false
TrainHeistPlans=true
ExtendedInventory=true
BodyCountMod=true
[BodyCount]
CurrentMaxCorpses=32
RemoveShields=true
CustomCorpseLimit=true
MaxShieldTime=600
ShieldTime=30
MaxCorpses=1024
[CustomWaypoints]
ShowDistance=true
RemoveWaypoint=l
PlaceWaypoint=k
I've tried my best to get this "Weapon Customization" to work, but when I try it, it shows all parts as "Not-Modifiable". Even though this is a great mod, I wished this would work.
First off, thanks for the awesome mod. My friends and I are having tons of fun using it!
I'm not sure if it's just me, but when I enable this option; the cops that spawn seem to never move. And if they do move, it's only if they spot me, or after a very long delay. The cops also seem to be way less aggressive than they normally are (I enabled this option on Death Wish). Is this intentional?
Thanks
Seems to crash when i try to customize a weapon/preview/launch session while using customized weapon.
Edit: Crash log says: Application has crashed: C++ exception
goonbase/mods/weapon_customization.lua:473: attempt to call method 'set_texture' (a nil value)
Downloaded the override from here: #50
still unable to purchase any leo weapon mods with gage coins
i tried to buy the kawaii mask twice with gage coins but nothing happened and the game just took the gage coins without unlocking the mask
When trying to customise the G36, the main body of the gun stays the default, no matter what parts I select.
After one of the updates, the screen wont flash after you get shot, flashbanged, or dodge a bullet. It seemed nice at first, but its kind of hard to tell when I take heavy damage, is there any way to get the flashes back?
The title says it all, i use hoxhud with this mod and had no problem so far from that.
The latest update has a new IPHLPAPI.dll file and it looks like Goonmod won't work with it.
Not really your issue, but just bringing it up for the poor folks like me that use them both.
Infamous, and other achievements that unlock while in the menu state, don't unlock if mutators are active. Mutators should only disable game-state achievements instead of all of them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.