Weapon Slots

Results 1 to 13 of 13
  1. #1
    Weapon Slots St34lth4ng3l is offline
    MemberRank
    Apr 2013 Join Date
    __FILE__Location
    899Posts

    Weapon Slots

    So in Slot.cs there's an Error:
    Code:
    namespace GameServer.Virtual_Objects.User.Inventory{
        enum Slots
        {
            Hands = 0,
            HandGun,
            Weapon1,
            Equipment,
            Weapon2,
            Px,
            Weapon2,
            Retail
        }
    }
    is double declared...i took it until now as comment, doeas anyone know what should stand there? i tried weapon3 but the slot is stilll disabled ingame


  2. #2
    Proficient Member alexkonusa is offline
    MemberRank
    Jul 2012 Join Date
    180Posts

    Re: Weapon Slots

    I had the same error, these slots are open when you buy an item in game.... I just set it as Weapon3 and it let me compile the source

  3. #3
    Weapon Slots St34lth4ng3l is offline
    MemberRank
    Apr 2013 Join Date
    __FILE__Location
    899Posts

    Re: Weapon Slots

    i did it but the slot was disabled

  4. #4
    Proficient Member alexkonusa is offline
    MemberRank
    Jul 2012 Join Date
    180Posts

    Re: Weapon Slots

    Quote Originally Posted by St34lth4ng3l View Post
    i did it but the slot was disabled
    I have no clue then man. Guess we have to think a way around it :)

  5. #5
    Valued Member aaltoal is offline
    MemberRank
    Dec 2007 Join Date
    125Posts

    Re: Weapon Slots

    Just removed second weapon2 and built it, everything works fine now

  6. #6
    Weapon Slots St34lth4ng3l is offline
    MemberRank
    Apr 2013 Join Date
    __FILE__Location
    899Posts

    Re: Weapon Slots

    i know but i wanna know for what this slot is

  7. #7
    Weapon Slots St34lth4ng3l is offline
    MemberRank
    Apr 2013 Join Date
    __FILE__Location
    899Posts

    Re: Weapon Slots

    From a WarRock Forum:
    Nein, der 7. Slot war ursprünglich für die Kostüme gedacht,aber da das ja jetzt vollkommen anders geregelt ist, ist der 7. Slot frei.

    Google Translator:
    No, the 7th Slot was originally intended for the costumes, but since this is now controlled entirely different, is the 7th Slot free.

  8. #8
    Account Upgraded | Title Enabled! CodeSkilLs is offline
    MemberRank
    Dec 2010 Join Date
    On the InternetLocation
    248Posts

    Re: Weapon Slots

    It`s the 5th slot for Retail Weapon.

    So try to change this:
    Code:
    namespace GameServer.Virtual_Objects.User.Inventory{
        enum Slots
        {
            Hands = 0,
            HandGun,
            Weapon1,
            Equipment,
            Weapon2,
            Px,
            Weapon2,
            Retail
        }
    }
    To this:
    Code:
    namespace GameServer.Virtual_Objects.User.Inventory{
        enum Slots
        {
            Hands = 0,
            HandGun,
            Weapon1,
            Equipment,
            Weapon2,
            Px,
            Weapon3,
            Retail
        }
    }
    And yeah, It will be locked because you have to buy that slot/or buy a Retail weapon which will open that slot until you own that weapon ;)

  9. #9
    Valued Member aaltoal is offline
    MemberRank
    Dec 2007 Join Date
    125Posts

    Re: Weapon Slots

    Quote Originally Posted by CodeSkilLs View Post
    It`s the 5th slot for Retail Weapon.

    So try to change this:
    Code:
    namespace GameServer.Virtual_Objects.User.Inventory{
        enum Slots
        {
            Hands = 0,
            HandGun,
            Weapon1,
            Equipment,
            Weapon2,
            Px,
            Weapon2,
            Retail
        }
    }
    To this:
    Code:
    namespace GameServer.Virtual_Objects.User.Inventory{
        enum Slots
        {
            Hands = 0,
            HandGun,
            Weapon1,
            Equipment,
            Weapon2,
            Px,
            Weapon3,
            Retail
        }
    }
    And yeah, It will be locked because you have to buy that slot/or buy a Retail weapon which will open that slot until you own that weapon ;)
    Tested it?

  10. #10
    Account Upgraded | Title Enabled! CodeSkilLs is offline
    MemberRank
    Dec 2010 Join Date
    On the InternetLocation
    248Posts

    Re: Weapon Slots

    I`ve changed a lot of things in my source, so I wont tell you if it will works for you,but it works for me.., that`s why I told "Try to"..

  11. #11
    Proficient Member Sax93 is offline
    MemberRank
    Jul 2013 Join Date
    157Posts

    Re: Weapon Slots

    Quote Originally Posted by CodeSkilLs View Post
    I`ve changed a lot of things in my source, so I wont tell you if it will works for you,but it works for me.., that`s why I told "Try to"..
    Yes it work the modify :)
    0 error. NICE JOB!

  12. #12
    Enthusiast teamlnwzaza is offline
    MemberRank
    Jun 2013 Join Date
    ThailandLocation
    41Posts

    Re: Weapon Slots

    Error =="

  13. #13
    Proficient Member Sax93 is offline
    MemberRank
    Jul 2013 Join Date
    157Posts

    Re: Weapon Slots

    namespace GameServer.Virtual_Objects.User.Inventory
    {
    internal enum Slots
    {
    Hands,
    HandGun,
    Weapon1,
    Equipment,
    Weapon2,
    Px,
    Retail,
    }
    }



Advertisement