[Nudity :O] my chars are nude

Results 1 to 7 of 7
  1. #1
    Extreme Coder - Delphi bounty-hunter is offline
    MemberRank
    Sep 2007 Join Date
    GunZone MansionLocation
    1,725Posts

    [Nudity :O] my chars are nude

    When i make new character my chars are nude, how can i fix that, and how can i change what equip you get when your making a character


  2. #2
    Proficient Member icey360 is offline
    MemberRank
    Sep 2007 Join Date
    UnknownLocation
    159Posts

    Re: [Nudity :O] my chars are nude

    You could fix this by :
    Adding what you want them to have to Databases>GunzDB>Programmability>Stored Procedures

    And then you have to look for spInsertChar:
    And look for the line
    /* Melee */
    by click Ctrl+F

    Then including the /*Melee*/ Paste this into your Query:
    Code:
    /* Melee */
      SET @MeleeItemID = 
        CASE @Costume
        WHEN 0 THEN 1
        WHEN 1 THEN 2
        WHEN 2 THEN 1
        WHEN 3 THEN 2
        WHEN 4 THEN 2
        WHEN 5 THEN 1
        END
    
      INSERT INTO CharacterItem (CID, ItemID) Values (@CharIdent, @MeleeItemID)
      IF 0 <> @@ERROR BEGIN
    	ROLLBACK TRAN
    	RETURN (-1)
      END
    
      SET @MeleeCIID = @@IDENTITY
    
      /* Primary */
      SET @PrimaryItemID = 
        CASE @Costume
        WHEN 0 THEN 5001
        WHEN 1 THEN 5002
        WHEN 2 THEN 4005
        WHEN 3 THEN 4001
        WHEN 4 THEN 4002
        WHEN 5 THEN 4006
        END
    
      INSERT INTO CharacterItem (CID, ItemID) Values (@CharIdent, @PrimaryItemID)
      IF 0 <> @@ERROR BEGIN
    	ROLLBACK TRAN
    	RETURN (-1)
      END
    
      SET @PrimaryCIID = @@IDENTITY
    
      /* Secondary */
    IF @Costume = 0 OR @Costume = 2 BEGIN
      SET @SecondaryItemID =
        CASE @Costume
        WHEN 0 THEN 4001
        WHEN 1 THEN 0
        WHEN 2 THEN 5001
        WHEN 3 THEN 4006
        WHEN 4 THEN 0
        WHEN 5 THEN 4006
        END
    
      IF @SecondaryItemID <> 0 BEGIN
        INSERT INTO CharacterItem (CID, ItemID) Values (@CharIdent, @SecondaryItemID)
        IF 0 <> @@ERROR BEGIN
    	ROLLBACK TRAN
    	RETURN (-1)
        END
    
        SET @SecondaryCIID = @@IDENTITY
      END
    END
      SET @Custom1ItemID = 
        CASE @Costume
        WHEN 0 THEN 30301
        WHEN 1 THEN 30301
        WHEN 2 THEN 30401
        WHEN 3 THEN 30401
        WHEN 4 THEN 30401
        WHEN 5 THEN 30101
        END
    
      /* Custom1 */
      INSERT INTO CharacterItem (CID, ItemID) Values (@CharIdent, @Custom1ItemID)
      IF 0 <> @@ERROR BEGIN
    	ROLLBACK TRAN
    	RETURN (-1)
      END
    
      SET @Custom1CIID = @@IDENTITY
    
      /* Custom2 */
    IF @Costume = 4 OR @Costume = 5
    BEGIN
      SET @Custom2ItemID =
        CASE @Costume
        WHEN 0 THEN 0
        WHEN 1 THEN 0
        WHEN 2 THEN 0
        WHEN 3 THEN 0
        WHEN 4 THEN 30001
        WHEN 5 THEN 30001
        END
    
      IF @Custom2ItemID <> 0
      BEGIN
        INSERT INTO CharacterItem (CID, ItemID) Values (@CharIdent, @Custom2ItemID)
        IF 0 <> @@ERROR BEGIN
    	ROLLBACK TRAN
    	RETURN (-1)
        END
    
        SET @Custom2CIID = @@IDENTITY
      END
    END
    
    
    IF @Sex = 0		/* 남자일 경우 */
    BEGIN
    
      /* Chest */
      SET @ChestItemID =
        CASE @Costume
        WHEN 0 THEN 21001
        WHEN 1 THEN 21001
        WHEN 2 THEN 21001
        WHEN 3 THEN 21001
        WHEN 4 THEN 21001
        WHEN 5 THEN 21001
        END
    
    
      INSERT INTO CharacterItem (CID, ItemID) Values (@CharIdent, @ChestItemID)
      IF 0 <> @@ERROR BEGIN
    	ROLLBACK TRAN
    	RETURN (-1)
      END
    
      SET @ChestCIID = @@IDENTITY
    
      /* Legs */
      SET @LegsItemID =
        CASE @Costume
        WHEN 0 THEN 23001
        WHEN 1 THEN 23001
        WHEN 2 THEN 23001
        WHEN 3 THEN 23001
        WHEN 4 THEN 23001
        WHEN 5 THEN 23001
        END
    
    
      INSERT INTO CharacterItem (CID, ItemID) Values (@CharIdent, @LegsItemID)
      IF 0 <> @@ERROR BEGIN 
    	ROLLBACK TRAN
    	RETURN (-1)
      END
    
      SET @LegsCIID = @@IDENTITY
    
    END
    ELSE
    BEGIN			/* 여자일 경우 */
    
      /* Chest */
      SET @ChestItemID =
        CASE @Costume
        WHEN 0 THEN 21501
        WHEN 1 THEN 21501
        WHEN 2 THEN 21501
        WHEN 3 THEN 21501
        WHEN 4 THEN 21501
        WHEN 5 THEN 21501
        END
    
    
      INSERT INTO CharacterItem (CID, ItemID) Values (@CharIdent, @ChestItemID)
      IF 0 <> @@ERROR BEGIN
    	ROLLBACK TRAN
    	RETURN (-1)
      END
      SET @ChestCIID = @@IDENTITY
    
      /* Legs */
      SET @LegsItemID =
        CASE @Costume
        WHEN 0 THEN 23501
        WHEN 1 THEN 23501
        WHEN 2 THEN 23501
        WHEN 3 THEN 23501
        WHEN 4 THEN 23501
        WHEN 5 THEN 23501
        END
    
    
      INSERT INTO CharacterItem (CID, ItemID) Values (@CharIdent, @LegsItemID)
      IF 0 <> @@ERROR BEGIN
    	ROLLBACK TRAN
    	RETURN (-1)
      END
      SET @LegsCIID = @@IDENTITY
    
    END  
    
    UPDATE Character
    SET chest_slot = @ChestCIID, legs_slot = @LegsCIID, melee_slot = @MeleeCIID,
        primary_slot = @PrimaryCIID, secondary_slot = @SecondaryCIID, custom1_slot = @Custom1CIID,
        custom2_slot = @Custom2CIID,
        chest_itemid = @ChestItemID, legs_itemid = @LegsItemID, melee_itemid = @MeleeItemID,
        primary_itemid = @PrimaryItemID, secondary_itemid = @SecondaryItemID, custom1_itemid = @Custom1ItemID,
        custom2_itemid = @Custom2ItemID
    WHERE CID=@CharIdent
    IF 0 = @@ROWCOUNT BEGIN
    	ROLLBACK TRAN
    	RETURN (-1)
    END
    COMMIT TRAN
    Hope it helps

  3. #3
    Apprentice cooly is offline
    MemberRank
    Dec 2007 Join Date
    18Posts

    Re: [Nudity :O] my chars are nude

    Quote Originally Posted by bounty-hunter View Post
    When i make new character my chars are nude, how can i fix that, and how can i change what equip you get when your making a character
    lol i want know how u did that for my PornZ Server

  4. #4
    Extreme Coder - Delphi bounty-hunter is offline
    MemberRank
    Sep 2007 Join Date
    GunZone MansionLocation
    1,725Posts

    Re: [Nudity :O] my chars are nude

    i added ijji items, and my chars became nude

  5. #5
    Proficient Member icey360 is offline
    MemberRank
    Sep 2007 Join Date
    UnknownLocation
    159Posts

    Re: [Nudity :O] my chars are nude

    Have you followed on what i told you?

  6. #6
    Extreme Coder - Delphi bounty-hunter is offline
    MemberRank
    Sep 2007 Join Date
    GunZone MansionLocation
    1,725Posts

    Re: [Nudity :O] my chars are nude

    Well add me on msn :D

  7. #7

    Re: [Nudity :O] my chars are nude

    Don't replace your current zitem with ijji's, it will corrupt lots of stuff.



Advertisement