Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 52
  1. #16
    Rampant_uterus's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Posts
    644
    Reputation
    7
    Thanks
    136
    does this work for anyone right now? Selecting jobs never worked for me until I added it to the TOP of the script.lua

    maybe i'll try that. Besides the DRUM mags, what other parts are "not" normal? so I can make some fun stuff?

  2. #17
    Gray's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Sweden
    Posts
    13,557
    Reputation
    2516
    Thanks
    10,618
    Quote Originally Posted by FenixFire View Post
    This would go in my scripts.lua or are we talking about opening up some files here?
    .lua

    Quote Originally Posted by Rampant_uterus View Post
    does this work for anyone right now? Selecting jobs never worked for me until I added it to the TOP of the script.lua

    maybe i'll try that. Besides the DRUM mags, what other parts are "not" normal? so I can make some fun stuff?
    It works, and I don't know what's special besides that one.

  3. #18
    Rampant_uterus's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Posts
    644
    Reputation
    7
    Thanks
    136
    FFS hasn't worked for me, where/when do you execute it? what screen?

  4. #19
    Il Diacono's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    For me it worked but it only updates the avaiable mods without adding C-mags,stock,vertical grips and stuff,do I have to restart from scratch...

  5. #20
    Gray's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Sweden
    Posts
    13,557
    Reputation
    2516
    Thanks
    10,618
    Quote Originally Posted by Rampant_uterus View Post
    FFS hasn't worked for me, where/when do you execute it? what screen?
    I did it in the customization menu.

    Quote Originally Posted by Il Diacono View Post
    For me it worked but it only updates the avaiable mods without adding C-mags,stock,vertical grips and stuff,do I have to restart from scratch...
    Still works for me and I don't quite know what you mean in the other sentence.

  6. #21
    Euphemistic's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    Jungle
    Posts
    6,811
    Reputation
    1315
    Thanks
    1,330
    My Mood
    Twisted
    I hope to try this soon.


    Btw, what's your Steam antipathy?

  7. #22
    Gray's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Sweden
    Posts
    13,557
    Reputation
    2516
    Thanks
    10,618
    Quote Originally Posted by Brinley View Post
    I hope to try this soon.


    Btw, what's your Steam antipathy?
    Search for Sgt. Negative

  8. #23
    Il Diacono's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    With .dll from 9th august I open script.lua paste something like

    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_fg_combo1 = 30
    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_fg_combo2 = 30
    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_fg_combo3 = 30
    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_fg_combo4 = 30
    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_g_standard = 30
    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_m_akm = 30
    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_m_drum = 30

    Run the game from Steam legit version updated to 10.0.0 as I removed the bogus patch by deleting random stuff then let Steam repair/download the files again without update,press INS it gives me basic or vanilla mods but drum mags,stocks and vertical grips aren't popping under the modification menu

  9. #24
    Gray's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Sweden
    Posts
    13,557
    Reputation
    2516
    Thanks
    10,618
    Quote Originally Posted by Il Diacono View Post
    With .dll from 9th august I open script.lua paste something like

    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_fg_combo1 = 30
    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_fg_combo2 = 30
    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_fg_combo3 = 30
    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_fg_combo4 = 30
    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_g_standard = 30
    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_m_akm = 30
    Global.blackmarket_manager.inventory.normal.weapon _mods.wpn_upg_ak_m_drum = 30

    Run the game from Steam legit version updated to 10.0.0 as I removed the bogus patch by deleting random stuff then let Steam repair/download the files again without update,press INS it gives me basic or vanilla mods but drum mags,stocks and vertical grips aren't popping under the modification menu
    That's a weird looking code you've got there.
    It's nowhere near right.

    Google Payday2 Lua.

  10. #25
    Il Diacono's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Antipathy View Post


    That's a weird looking code you've got there.
    It's nowhere near right.

    Google Payday2 Lua.
    Sorry I don't get it,on your first post that was taked from another forum it says that there is a global page in which is stored your saved data,but on my Steam folder there is only a .sav file and if I want to mess with it I must use the HEX editor.

    For LUA if I paste that stuff it only adds quantities of weapons modification but new mods aren't popping on,what kind of game version are you using and what script or stuff have you modified?

  11. #26
    Rampant_uterus's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Posts
    644
    Reputation
    7
    Thanks
    136
    wondering the same, just wtf do you need to do to get this to work? U see the code I tried on quoted on Page 1.

  12. #27
    briari's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0
    hello i am so sorry,do not tell me what script to use to be able to open a fashion for all weapons, and what kind of script you want to use to open a fashion for one weapon sorry for my anglish )

  13. #28
    Gray's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Sweden
    Posts
    13,557
    Reputation
    2516
    Thanks
    10,618
    Quote Originally Posted by Il Diacono View Post
    Sorry I don't get it,on your first post that was taked from another forum it says that there is a global page in which is stored your saved data,but on my Steam folder there is only a .sav file and if I want to mess with it I must use the HEX editor.

    For LUA if I paste that stuff it only adds quantities of weapons modification but new mods aren't popping on,what kind of game version are you using and what script or stuff have you modified?
    I'm not entirely sure what you are asking quite frankly.
    I have the latest, fully update - legit version of the game.

    I used the script supplied where you'd find it if you google.

    Quote Originally Posted by briari View Post
    hello i am so sorry,do not tell me what script to use to be able to open a fashion for all weapons, and what kind of script you want to use to open a fashion for one weapon sorry for my anglish )
    If you could try and rephrase that I will try to help you. I don't understand.

  14. #29
    dougbenham's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Posts
    134
    Reputation
    119
    Thanks
    1,083
    My Mood
    Pensive
    Code:
    --Let say you know that your current mag is a "wpn_fps_upg_m4_m_pmag" then you can do this
    for k,v in pairs( Global.blackmarket_manager.crafted_items.primaries[1].blueprint ) do 
      if v == "wpn_fps_upg_m4_m_pmag" then
        v = "wpn_fps_upg_m4_m_drum"
      end
    end
    This code will never work (with any version of DLL) because it is just wrong.
    Your variable v is local. Any changes to it will not affect anything. Instead you need to do something like this:
    Code:
    --Let say you know that your current mag is a "wpn_fps_upg_m4_m_pmag" then you can do this
    for k,v in pairs( Global.blackmarket_manager.crafted_items.primaries[1].blueprint ) do 
      if v == "wpn_fps_upg_m4_m_pmag" then
        Global.blackmarket_manager.crafted_items.primaries[1].blueprint[k] = "wpn_fps_upg_m4_m_drum"
      end
    end
    I access the target array with the key k and set it that way. You should change this in your original post.

  15. #30
    Gray's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Sweden
    Posts
    13,557
    Reputation
    2516
    Thanks
    10,618
    Quote Originally Posted by dougbenham View Post
    Code:
    --Let say you know that your current mag is a "wpn_fps_upg_m4_m_pmag" then you can do this
    for k,v in pairs( Global.blackmarket_manager.crafted_items.primaries[1].blueprint ) do 
      if v == "wpn_fps_upg_m4_m_pmag" then
        v = "wpn_fps_upg_m4_m_drum"
      end
    end
    This code will never work (with any version of DLL) because it is just wrong.
    Your variable v is local. Any changes to it will not affect anything. Instead you need to do something like this:
    Code:
    --Let say you know that your current mag is a "wpn_fps_upg_m4_m_pmag" then you can do this
    for k,v in pairs( Global.blackmarket_manager.crafted_items.primaries[1].blueprint ) do 
      if v == "wpn_fps_upg_m4_m_pmag" then
        Global.blackmarket_manager.crafted_items.primaries[1].blueprint[k] = "wpn_fps_upg_m4_m_drum"
      end
    end
    I access the target array with the key k and set it that way. You should change this in your original post.
    I am aware of the code, and I told people to Google.
    I can't alter any post if it's gone more than 24 hours.

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. My old Weapons Guide tutorial/Help for V3 pt.
    By DawgiiStylz in forum CrossFire Discussions
    Replies: 21
    Last Post: 10-19-2010, 05:30 PM
  2. [Guide]How To save and buy some weapons
    By krishna in forum CrossFire Hacks & Cheats
    Replies: 72
    Last Post: 12-27-2009, 03:25 AM
  3. All Weapons Guide!!
    By thekingbx173 in forum Combat Arms Discussions
    Replies: 10
    Last Post: 11-02-2009, 01:00 AM
  4. [Guide] NX Weapons
    By Sharpe in forum Combat Arms Hacks & Cheats
    Replies: 0
    Last Post: 07-11-2009, 02:20 PM

Tags for this Thread