Code Monkey home page Code Monkey logo

goonmod's People

Contributors

gamemechanic1 avatar jameswilko avatar kilandor avatar xemrox 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

Watchers

 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

goonmod's Issues

Hooks:Unregister(id) doesn't work the way you seem to think

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

Weapon customisation doesn't work.

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.

"Infamy lock" appears nonfunctional

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.

Not working with new HoxHud update

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.

Weapon Customization

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.

modifications not working

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?

Lions Roar/LEO/New mods Weapon customization

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.

Attempting to purchase Train Heist causes crash

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.

[U53] Crash on Blackmarket "Extra" tab

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)

Custom Waypoints Problems

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.

Game crashing on Mask screen

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))

No sign of Gage Mod Shop/Train Heist

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?

Crashes or hanging if 'Suicide Cloakers' mutator is enabled [v19]

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

Crime.net Cargo disabled, why?

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.

Visual customization of weapon sight applies to other weapons with same sight

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.

National Guard Response

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

Inconsistent laser color with akimbo weapons

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:
image

In the screenshot above, both players were using the "rainbow laser color".

extended inventory

I have goonmod installed and extended inventory enabled but when i go into my inventory it isn't there

Accuracy counter

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)

issues

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

[Suggestion] Button to delete all bodies on map

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.

Can't use crime.net cargo

the crime.net cargo option doesn't show up for me even though i have crime.net cargo enabled the only other mod i have is hoxhud but i tried unninstalling it and still not working
2015-01-19_00002
2015-01-19_00003

Weapon Customization Crashes?

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)

excessive force not working properly

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

[Waypoints]Place/Rem buttons keep defaulting after restart

A) How to reproduce the bug :

  1. Change the default K,L keys (via Game Option's or options.ini)
  2. Exit the game
  3. Restart
  4. Keys are K,L again

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

crime.net cargo duplicates dlc weapon mods.

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.

Weapon Customization

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.

Can't purchase masks

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

new update

  1. Crashing when SHIFT+TAB while in inventory
  2. Are infamous masks received from trading with other players supposed to show up as normal? Because that's what I got : a normal The Grin

Crash when setting Waypoint near/in the sky

A) How to reproduce the bug :

  1. Aim the sky
  2. Set up a waypoint using the K button
  3. Profit
    (can be a problem if you want to put a waypoint on a sniper spawning spot)

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)

Is there a way to turn the screen flashes back on?

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?

Leo weapons mods

Downloaded the override from here: #50

still unable to purchase any leo weapon mods with gage coins

Gage Coins

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 =)

permanent rainbow flashlight

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.

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.