Results 1 to 9 of 9
  1. #1
    LeoMoyses's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    Brasil, São Paulo
    Posts
    34
    Reputation
    10
    Thanks
    108

    [HELP] Loot Bag value and spawning + Money for friends

    I need a way of either spawning more lootbags on banks or to change their values, I tried something like this from editting the throw bags scripts:

    Code:
        local baggy_arr = {
    	'money', 
    	'gold'
    }
    
    for i, name in ipairs(baggy_arr) do
        tweak_data.money.bag_values[ name ] = 900
    end
    If this is possible, I would like a way to boost the money other players in the mission get.

    Thanks!
    Last edited by LeoMoyses; 08-20-2013 at 10:27 PM.

  2. #2
    rogeruk's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    47
    Reputation
    10
    Thanks
    4
    Does that code not work?

    This should work..

    Code:
    local bag_arr = {
    	'money', 
    	'gold', 
    	'diamonds', 
    	'coke',
    	'meth',
    	'default'
    }
    
    for i, name in ipairs(bag_arr) do
    	tweak_data.money.bag_values[ name ] = 5000
    end
    It is adjusted by a bag_value_multiplier so make sure its high number?
    Last edited by rogeruk; 08-21-2013 at 12:51 PM.

  3. #3
    kilos3894's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by LeoMoyses View Post
    I need a way of either spawning more lootbags on banks or to change their values, I tried something like this from editting the throw bags scripts:

    Code:
        local baggy_arr = {
    	'money', 
    	'gold'
    }
    
    for i, name in ipairs(baggy_arr) do
        tweak_data.money.bag_values[ name ] = 900
    end
    If this is possible, I would like a way to boost the money other players in the mission get.

    Thanks!

    That dont work, i hope soe one can help


    Quote Originally Posted by rogeruk View Post
    Does that code not work?

    This should work..

    Code:
    local bag_arr = {
    	'money', 
    	'gold', 
    	'diamonds', 
    	'coke',
    	'meth',
    	'default'
    }
    
    for i, name in ipairs(bag_arr) do
    	tweak_data.money.bag_values[ name ] = 5000
    end
    It is adjusted by a bag_value_multiplier so make sure its high number?

    dont work

  4. #4
    LegitxJoe Daddy's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    My house duh!
    Posts
    132
    Reputation
    10
    Thanks
    5
    My Mood
    Yeehaw
    Asked my buddy and he thinks maybe if you did something like this...

    local bag_arr = {
    'money',
    'gold',
    'diamonds',
    'coke',
    'meth',
    'default'
    }

    for i, name in ipairs(bag_arr) do
    tweak_data.money.bag_values[ local bag_arr ] = [ 5000 ]
    end

    He used to code programs, but he said this will only work locally since most games save that information on a server base.


    ---------- Post added at 03:38 PM ---------- Previous post was at 03:36 PM ----------

    Also dont set them too high otherwise you may risk raising suspicion I noticed with the ammo mod if you type in something like... 9999999999999999999 its such a massive number they track that harder but setting it to... 999 will give you plenty of ammo especially if you have no reload on.

  5. #5
    FORGETME86's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    11
    Nope does not work i know someone has to have one.... plus the code you gave cancels all my other codes and they stop working when i use it but when i delete it from the script lines everything starts back up lol so IDK

  6. #6
    xiang94's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    0
    I'm interested on this too!

  7. #7
    sam86's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by LeoMoyses View Post
    I need a way of either spawning more lootbags on banks or to change their values, I tried something like this from editting the throw bags scripts:

    Code:
        local baggy_arr = {
    	'money', 
    	'gold'
    }
    
    for i, name in ipairs(baggy_arr) do
        tweak_data.money.bag_values[ name ] = 900
    end
    If this is possible, I would like a way to boost the money other players in the mission get.

    Thanks!
    I tried a few things but couldn't get it working, I did manage to get it to activate the code without error but the value remained unchanged.

    This line seemed to execute without error, but gold value remained unchanged. I tried to edit the multiplier as well, but same result.

    --tweak_data.money_manager.bag_values.gold = 900

  8. #8
    xiang94's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    0
    What about spawning bags? (Cocaine bags, meth bags, cash bags, gold bags, weapon bags, etc)

  9. #9
    ryanmauler1236's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    What's the key?

Similar Threads

  1. [Help Request] Can someone ESP vehicle spawn points for breaking point and post pic?
    By xxchronic2007xx in forum DayZ Help & Requests
    Replies: 3
    Last Post: 05-12-2013, 03:40 PM
  2. [Help Request] help spawning money on taki revolution
    By rifle3 in forum DayZ Help & Requests
    Replies: 0
    Last Post: 03-02-2013, 08:28 AM
  3. What's the best menu for spawning things for friends?
    By boxybox100 in forum DayZ Discussion
    Replies: 0
    Last Post: 01-24-2013, 02:26 PM
  4. [Help Request] Need Help Finding Original Values for Hacks
    By quack196 in forum Crossfire Coding Help & Discussion
    Replies: 0
    Last Post: 11-05-2012, 10:06 PM
  5. [Help]Reading address values and saving them? - VB
    By master131 in forum Visual Basic Programming
    Replies: 17
    Last Post: 09-26-2010, 08:31 AM