Results 1 to 3 of 3
  1. #1
    Lunati's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    265
    Reputation
    66
    Thanks
    1,545
    My Mood
    Amused

    Post [Text Tutorial] Adding Custom Loot Bags To Your Server

    This is a tutorial on how to add Loot Bags and how to make them drop.

    You Will Need:
    A private server
    - At least some knowledge of editing the server

    Visual Studio or Other Editing Software
    - Dont use something such as notepad ++

    Sothink SWF Decompiler
    - You can go here to learn how to use it.

    Step 1: Export Image 143 from your client using Sothink.

    Step 2: Create a new Loot Bag sprite, and place it directly next to the white bag sprite.

    Step 3: Save your new Image 143, and import it into your client again using sothink.

    Step 4: Open up your server in Visual Studio, and go to wserver>logic>Loot>LootBehavior.cs

    Step 5: In LootBehavior.cs you will find two pieces of code that look like this:

    Code:
    case 0: bag = 0x0500; break;
    case 1: bag = 0x0503; break;
    case 2: bag = 0x0507; break;
    case 3: bag = 0x0508; break;
    case 4: bag = 0x0509; break;
    With both of them, add this line of code directly under the last one:
    Code:
    case 5: bag = 0x050a; break;
    Step 6: Next, go over to db>data>addition.xml

    Step 7: Scroll all the way down to the bottom of the code. Place this piece of code above </addition> but below </object>

    Code:
    <Object type="0x050a" id="Loot Bag 6">
        <DisplayId>Loot Bag</DisplayId>
        <Class>Container</Class>
        <Container/>
        <CanPutNormalObjects/>
        <CanPutSoulboundObjects/>
        <Loot/>
        <Texture>
          <File>lofiObj4</File>
          <Index>0x95</Index>
        </Texture>
        <Size>80</Size>
        <SlotTypes>0, 0, 0, 0, 0, 0, 0, 0</SlotTypes>
      </Object>
    Step 8: To make items drop in your new bag, find their object data and look for this line:

    Code:
    <BagType>1</BagType>
    Replace the number between the two <BagType> tags with a five. Then it'll drop in your new custom bag.

    Leave a "thanks" if this helped you out

  2. The Following 8 Users Say Thank You to Lunati For This Useful Post:

    abi97 (07-31-2013),[MPGH]Ahl (03-15-2014),CrazyJani (08-01-2013),Filisha (10-11-2017),IAmDM (07-31-2013),Juix (08-02-2013),RaymondW (08-01-2013),sage232 (08-10-2013)

  3. #2
    RaymondW's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Michigan
    Posts
    132
    Reputation
    10
    Thanks
    470
    My Mood
    Cynical
    Looks Good, nice job!

  4. #3
    oryxthemadgod's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    0
    Good work!!!

Similar Threads

  1. [Text Tutorial] How to Make a Custom Map
    By RaymondW in forum Realm of the Mad God Private Servers Tutorials/Source Code
    Replies: 10
    Last Post: 03-27-2014, 11:44 PM
  2. [Tutorial] Adding emblems to on-display text
    By ThrowTheCat in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 5
    Last Post: 10-03-2010, 02:13 AM
  3. [Tutorial]Adding Glitcher to your hack
    By NOOBJr in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 55
    Last Post: 10-02-2010, 10:32 PM
  4. [Tutorial] Adding Pointers in your VB5/6 Trainer
    By mains3rv3r in forum WarRock - International Hacks
    Replies: 17
    Last Post: 06-08-2007, 03:14 PM
  5. Stylish Text Tutorial
    By Bull3t in forum Tutorials
    Replies: 13
    Last Post: 08-15-2006, 10:25 PM