Custom maps problem

Results 1 to 4 of 4
  1. #1
    Proficient Member Lewis Caddick is offline
    MemberRank
    May 2013 Join Date
    Casa Del LewisLocation
    160Posts

    Custom maps problem

    I have followed the tuts to add custom maps but i keep getting disconnected and it doesnt save my position.

    This is the error

    WO_API: failed with error code 5 SQL Select Failed: Procedure or function WZ_Char_SRV_SetStatus has too many arguments specified.

    Edit: Also yes i realised now that i posted in wrong section, my bad haven't slept in a while.

    Please help.


  2. #2
    Harro Syxn is offline
    MemberRank
    Mar 2013 Join Date
    767Posts

    Re: Custom maps problem

    Just did this, ill post a tutorial later on today on to do this.

  3. #3
    Banned InsightKnight is offline
    BannedRank
    Apr 2013 Join Date
    134Posts

    Re: Custom maps problem

    I would like to know this as well. Thank you Dragon for helpig us out. <3

  4. #4
    Account Upgraded | Title Enabled! Duong Phan is offline
    MemberRank
    Sep 2012 Join Date
    VNLocation
    203Posts

    Re: Custom maps problem

    Check api_SrvCharUpdate.aspx.cs

    sqcmd.Parameters.AddWithValue("@in_CustomerID", CustomerID);
    sqcmd.Parameters.AddWithValue("@in_MapID", web.Param("map"));
    sqcmd.Parameters.AddWithValue("@in_CharID", CharID);
    sqcmd.Parameters.AddWithValue("@in_Alive", web.Param("s1"));
    sqcmd.Parameters.AddWithValue("@in_GamePos", web.Param("s2"));
    sqcmd.Parameters.AddWithValue("@in_GamePos2", web.Param("s2"));
    sqcmd.Parameters.AddWithValue("@in_Health", web.Param("s3"));

    Check store procedure WZ_Char_SRV_SetStatus

    @in_CustomerID int,
    @in_MapID int,
    @in_CharID int,
    @in_Alive int,
    @in_GamePos varchar(256),
    @in_GamePos2 varchar(256),
    @in_GameFlags int,



Advertisement