Questions & Answers

Page 12 of 15 FirstFirst ... 2456789101112131415 LastLast
Results 276 to 300 of 355
  1. #276
    Apprentice TNT_Xplosiv is offline
    MemberRank
    Jul 2006 Join Date
    HellLocation
    13Posts

    Re: Questions & Answers

    I may be an idiot, but I can't seem to get the black lobby fix to work.

    before
    Code:
    USE [GunzDB]
    GO
    /****** Object:  StoredProcedure [dbo].[spInsertChar]    Script Date: 02/26/2007 19:16:45 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[spInsertChar]
        @nAID INT,
        @nCharIndex INT,
        @szName nvarchar(32),
        @nSex INT,
        @nHair INT,
        @nFace INT,
        @nCostume INT
    AS
    BEGIN
        SET NOCOUNT ON;
        
        DECLARE @cnt INT
        SELECT @cnt=COUNT(*)
        FROM Character
        WHERE AID = @nAID
        
        DECLARE @cid INT
        SELECT @cid=COUNT(*)
        FROM Character
    
        INSERT INTO Character
        VALUES(@nAID,@szName,@cnt,50,@nSex,@nCostume,@nFace,@nHair,NULL,0,100000,0,0,0,0,0,0,0,0,0,0,0,0,@cnt,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
    END
    after
    Code:
    setANSI_NULLSON
    setQUOTED_IDENTIFIERON
    GO
    ALTERPROCEDURE [dbo].[spInsertChar]
    @nAID INT,
    @nCharIndex INT,
    @szName nvarchar(32),
    @nSex INT,
    @nHair INT,
    @nFace INT,
    @nCostume INT
    AS
    BEGIN
    SETNOCOUNTON;
     DECLARE @cnt INT
    SELECT @cnt=COUNT(*)
    FROMCharacter
    WHERE AID = @nAID DECLARE @cid INT
    SELECT @cid=COUNT(*)
    FROMCharacter
     INSERTINTOCharacter
    VALUES(@nAID,@szName,@cnt,50,@nSex,@nCostume,@nFace,@nHair,NULL,0,100,0,0,0,0,0,0,0,0,0,0,0,0,@cnt,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,null,null)
    END
    and I get this error after hitting Execute/!
    Quote Originally Posted by Error
    Msg 2812, Level 16, State 62, Line 1
    Could not find stored procedure 'setANSI_NULLSON'.
    Msg 102, Level 15, State 1, Line 1
    Incorrect syntax near '.'.
    Msg 102, Level 15, State 1, Line 11
    Incorrect syntax near 'SETNOCOUNTON'.
    Msg 102, Level 15, State 1, Line 14
    Incorrect syntax near 'FROMCharacter'.
    Msg 102, Level 15, State 1, Line 17
    Incorrect syntax near 'FROMCharacter'.
    Am I doing something wrong or is it just being gay?

    I'm running MSSQL 2005 SP2, and I copy pasta'd Maxtrax's fix right over mine.

  2. #277
    Account Upgraded | Title Enabled! RepublicOfAstra is offline
    MemberRank
    Dec 2006 Join Date
    1,122Posts

    Re: Questions & Answers

    Code:
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    GO
    -- =============================================
    -- Author:		<RepublicOfAstra>
    -- Description:	<spInsertChar Procedure>
    -- =============================================
    ALTER PROCEDURE [dbo].[spInsertChar]
    (
    @AID tinyint,
    @Charnum tinyint,
    @Name varchar(50),
    @Sex tinyint,
    @Hair tinyint,
    @Face tinyint,
    @Costume tinyint
    )	
    AS
    
    
    
    INSERT INTO Character(AID, CharNum, Name, [Level], Sex, Hair, Face, Costume, XP, BP, HP, AP, FR, CR, ER, WR, KillCount, DeathCount, PlayTime, CIID, FriendCID, CLID)
    
    VALUES (@AID, @CharNum, @Name,99 ,@Sex, @Hair, @Face, @costume, 999999,9999999999999999,
    0,100,1,1,1,1, NULL, NULL, NULL, NULL, NULL, 0);
    Here's my spInsertChar. Just need to tweak the BP, XP, etc.

  3. #278
    Apprentice TNT_Xplosiv is offline
    MemberRank
    Jul 2006 Join Date
    HellLocation
    13Posts

    Re: Questions & Answers

    Quote Originally Posted by RepublicOfAstra View Post
    Code:
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    GO
    -- =============================================
    -- Author:        <RepublicOfAstra>
    -- Description:    <spInsertChar Procedure>
    -- =============================================
    ALTER PROCEDURE [dbo].[spInsertChar]
    (
    @AID tinyint,
    @Charnum tinyint,
    @Name varchar(50),
    @Sex tinyint,
    @Hair tinyint,
    @Face tinyint,
    @Costume tinyint
    )    
    AS
    
    
    
    INSERT INTO Character(AID, CharNum, Name, [Level], Sex, Hair, Face, Costume, XP, BP, HP, AP, FR, CR, ER, WR, KillCount, DeathCount, PlayTime, CIID, FriendCID, CLID)
    
    VALUES (@AID, @CharNum, @Name,99 ,@Sex, @Hair, @Face, @costume, 999999,9999999999999999,
    0,100,1,1,1,1, NULL, NULL, NULL, NULL, NULL, 0);
    Here's my spInsertChar. Just need to tweak the BP, XP, etc.
    Alright, it works, but I have to take out CIID and FriendCID (and their respective Values). It gives me errors on those. Anything I need to add to a different file?

  4. #279
    Account Upgraded | Title Enabled! RepublicOfAstra is offline
    MemberRank
    Dec 2006 Join Date
    1,122Posts

    Re: Questions & Answers

    Quote Originally Posted by TNT_Xplosiv View Post
    Alright, it works, but I have to take out CIID and FriendCID (and their respective Values). It gives me errors on those. Anything I need to add to a different file?
    Honestly, I'm not sure. My DB is a lot different from the ones posted at Ragezone, since my team made our DB long before anyone else did. But I think you just need to use my spInsertChar and it should be good. I guess the values that were giving you errors were just for columns I have that the others don't.

  5. #280
    Apprentice TNT_Xplosiv is offline
    MemberRank
    Jul 2006 Join Date
    HellLocation
    13Posts

    Re: Questions & Answers

    Quote Originally Posted by RepublicOfAstra View Post
    Honestly, I'm not sure. My DB is a lot different from the ones posted at Ragezone, since my team made our DB long before anyone else did. But I think you just need to use my spInsertChar and it should be good. I guess the values that were giving you errors were just for columns I have that the others don't.
    Well, the problem with that is, I get nomsg (E-1) whenever I try to create a new character with the 2 sequences and values taken out. I'm not a pro at SQL but I'm pretty sure that shouldn't be happening.

  6. #281
    Account Upgraded | Title Enabled! RepublicOfAstra is offline
    MemberRank
    Dec 2006 Join Date
    1,122Posts

    Re: Questions & Answers

    I thought you said that it works once you remove those 2?

    Well, if it's still fucking up on you, just remove the stuff or replace the stuff in the proc I posted with the names of the columns in your Character table, or add the stuff in the proc into your Character table.

  7. #282
    Apprentice TNT_Xplosiv is offline
    MemberRank
    Jul 2006 Join Date
    HellLocation
    13Posts

    Re: Questions & Answers

    Quote Originally Posted by RepublicOfAstra View Post
    I thought you said that it works once you remove those 2?

    Well, if it's still fucking up on you, just remove the stuff or replace the stuff in the proc I posted with the names of the columns in your Character table, or add the stuff in the proc into your Character table.
    I'll try that tomorrow and hope it works.

  8. #283
    Enthusiast bugmenot0 is offline
    MemberRank
    Jun 2006 Join Date
    johnLocation
    26Posts

    Re: Questions & Answers

    i got 3 problems i hope u all help me

    1:
    i cant access server idk why
    2:
    i have creat acc in SQL Server Management Studio Express
    and its dont work
    3:
    reg page i got problem with that ican creat web but i got many warnings
    and i dont know where i must type in SQL Server Management Studio Express
    e_mail

  9. #284
    Account Upgraded | Title Enabled! noffa is offline
    MemberRank
    Jun 2006 Join Date
    Behind youLocation
    212Posts

    Re: Questions & Answers

    can sum1 post the files to fix the corrupted files of the default.mrs plz?

  10. #285
    Proficient Member NIRVANAdylan is offline
    MemberRank
    Feb 2007 Join Date
    179Posts

    Re: Questions & Answers

    I got a problem with maps.

    One time i could play all my custom maps, But now for some reason they don't appear in the Map drop-down list it just shows the ordinary maps.

    Anyone help?

  11. #286
    Enthusiast cosme is offline
    MemberRank
    Mar 2006 Join Date
    ChileLocation
    26Posts

    Re: Questions & Answers

    Quote Originally Posted by NIRVANAdylan View Post
    I got a problem with maps.

    One time i could play all my custom maps, But now for some reason they don't appear in the Map drop-down list it just shows the ordinary maps.

    Anyone help?
    insert in the \system\channelrule.xml in the client and the server :SniperHea

  12. #287
    Enthusiast swiftplayer is offline
    MemberRank
    Mar 2007 Join Date
    32Posts

    Re: Questions & Answers

    what do u mean by wamp icon? i dun see anything..

  13. #288
    Apprentice TNT_Xplosiv is offline
    MemberRank
    Jul 2006 Join Date
    HellLocation
    13Posts

    Re: Questions & Answers

    Alright, thanks to some help from a few friends, I got nomsg E-1 off. Now, I still get a black lobby. Any clue why my lobby is STILL black?

    Edit:
    Quote Originally Posted by spInsertChar
    USE [GunzDB]
    GO
    /****** Object: StoredProcedure [dbo].[spInsertChar] Script Date: 03/08/2007 15:27:17 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[spInsertChar]
    @nAID INT,
    @nCharIndex INT,
    @szName nvarchar(32),
    @nSex INT,
    @nHair INT,
    @nFace INT,
    @nCostume INT
    AS
    BEGIN
    SET NOCOUNT ON;

    DECLARE @cnt INT
    SELECT @cnt=COUNT(*)
    FROM Character
    WHERE AID = @nAID

    DECLARE @cid INT
    SELECT @cid=COUNT(*)
    FROM Character

    INSERT INTO Character
    VALUES(@nAID,@szName,@cnt,1,@nSex,@nCostume,@nFace,@nHair,NULL,0,1000000,0,0,0,0,0,0,0,0,0,0,0,0,@cnt,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,NULL,NULL)
    END
    Quote Originally Posted by dbo.Character
    USE [GunzDB]
    GO
    /****** Object: Table [dbo].[Character] Script Date: 03/08/2007 15:29:19 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[Character](
    [AID] [int] NULL,
    [Name] [varchar](50) NULL,
    [CharIndex] [int] NULL,
    [Level] [int] NULL,
    [Sex] [int] NULL,
    [Costume] [int] NULL,
    [Face] [int] NULL,
    [Hair] [int] NULL,
    [ClanName] [varchar](50) NULL,
    [XP] [int] NULL,
    [BP] [money] NULL,
    [head_itemid] [int] NULL,
    [chest_itemid] [int] NULL,
    [hands_itemid] [int] NULL,
    [legs_itemid] [int] NULL,
    [feet_itemid] [int] NULL,
    [fingerl_itemid] [int] NULL,
    [fingerr_itemid] [int] NULL,
    [melee_itemid] [int] NULL,
    [primary_itemid] [int] NULL,
    [secondary_itemid] [int] NULL,
    [custom1_itemid] [int] NULL,
    [custom2_itemid] [int] NULL,
    [CharNum] [int] NULL,
    [CID] [int] IDENTITY(1,1) NOT NULL,
    [HP] [int] NULL,
    [AP] [int] NULL,
    [FR] [int] NULL,
    [CR] [int] NULL,
    [ER] [int] NULL,
    [WR] [int] NULL,
    [KillCount] [int] NULL,
    [DeathCount] [int] NULL,
    [PlayTime] [int] NULL,
    [CLID] [int] NULL,
    [ClanGrade] [int] NULL,
    [ClanContPoint] [int] NULL,
    [head_slot] [int] NULL,
    [chest_slot] [int] NULL,
    [hands_slot] [int] NULL,
    [legs_slot] [int] NULL,
    [feet_slot] [int] NULL,
    [fingerl_slot] [int] NULL,
    [fingerr_slot] [int] NULL,
    [melee_slot] [int] NULL,
    [primary_slot] [int] NULL,
    [secondary_slot] [int] NULL,
    [custom1_slot] [int] NULL,
    [custom2_slot] [int] NULL,
    [QuestItemInfo] [varchar](8000) NULL
    ) ON [PRIMARY]

    GO
    SET ANSI_PADDING OFF

  14. #289
    Enthusiast swiftplayer is offline
    MemberRank
    Mar 2007 Join Date
    32Posts

    Re: Questions & Answers

    where can i download the gunz client? the other tut = download dead

  15. #290
    Enthusiast swiftplayer is offline
    MemberRank
    Mar 2007 Join Date
    32Posts

    Re: Questions & Answers

    k nvm anything above i got it all set... but the the wamp server.. where the link to where i go to let ppl see the registration page.... www.??? i got it online..but where do i see the registration =[

  16. #291
    Proficient Member hlcm is offline
    MemberRank
    Jan 2007 Join Date
    153Posts

    Re: Questions & Answers

    [QUOTE].1.5 How to change login background?
    A.
    <Change background; Credits to: Irwirkk for the whole tutorial>
    1

  17. #292
    Account Upgraded | Title Enabled! Carbine is offline
    MemberRank
    Feb 2006 Join Date
    SingaporeLocation
    1,345Posts

    Re: Questions & Answers

    got problem wif quest mode, i got gobin doll, and when i go equip i get client crashed, when i go shop brownse the quest item, my client crashes again

  18. #293

    Re: Questions & Answers

    I got many errors for WAMP.

  19. #294
    Account Upgraded | Title Enabled! RepublicOfAstra is offline
    MemberRank
    Dec 2006 Join Date
    1,122Posts

    Re: Questions & Answers

    Moved to the Gunz section since this isn't really a release more than a guide or FAQ.

  20. #295
    Member arnelis is offline
    MemberRank
    Mar 2007 Join Date
    My houseLocation
    99Posts

    Re: Questions & Answers

    look the png files in my default are corrupted their all zeros and i used ur guide too but i think i got it wrong could u please show it in little more detail sorry im just not to good with comps:(Like put files i have to make in interface and stuff

  21. #296
    Enthusiast antonf is offline
    MemberRank
    Apr 2006 Join Date
    estoniaLocation
    30Posts

    Re: Questions & Answers

    Registrtion doesn`t work for me i delete in php.ini line mssql but this doesnt`t help
    this error Fatal error: Call to undefined function: mssql_connect() in c:\apache\www\gunzon\index.php on line 47

  22. #297
    Apprentice Dimon-z is offline
    MemberRank
    Mar 2007 Join Date
    24Posts

    Re: Questions & Answers

    Open you php.ini file
    and delete ; in ;extension=php_mssql.dll
    Sorry with my English :(

  23. #298
    Enthusiast antonf is offline
    MemberRank
    Apr 2006 Join Date
    estoniaLocation
    30Posts

    Re: Questions & Answers

    Problem done! for others noobs (but am not noob !!!!! )
    delete this ; in windows/php.ini and in php/php.ini !!!!!!!!!!!!
    1st i delete only in windows/php.ini

  24. #299
    Member arnelis is offline
    MemberRank
    Mar 2007 Join Date
    My houseLocation
    99Posts

    Re: Questions & Answers

    Ok i know that i should read sticky about default.mrs i do that i unpack my default.mrs change color of loading bar.Than pack and mouse is gone.Than i put back my orginal.Unpack it edit image again do the thing and for last thing i type in ren default defualt.zip and it changes that file into default.zip but its not a zip file.And I open it rename it to default again and pack it and same thing happens mouse is gone.Oh and all png files are 0

  25. #300

    Re: Questions & Answers

    My WAMP can't connect to SQL Server.



Advertisement