Missing a procedure

Results 1 to 15 of 15
  1. #1
    Apprentice Anonymous1 is offline
    MemberRank
    Dec 2015 Join Date
    11Posts

    Missing a procedure

    Could anyone help me to make "usp_LinkScroll_SetDestMap" procedure? Im missing it...


  2. #2
    Apprentice ChocolatThunder is offline
    MemberRank
    Dec 2018 Join Date
    19Posts

    Re: Missing a procedure

    Quote Originally Posted by Anonymous1 View Post
    Could anyone help me to make "usp_LinkScroll_SetDestMap" procedure? Im missing it...
    What is this procedure for?

  3. #3
    Account Upgraded | Title Enabled! Evildarkang is offline
    MemberRank
    Sep 2012 Join Date
    Northfield, BirLocation
    417Posts

    Re: Missing a procedure

    I think the procedure is to update the sLoginZone but CANNOT be certain ;o

  4. #4
    Account Upgraded | Title Enabled! aqua512 is offline
    MemberRank
    Nov 2012 Join Date
    574Posts

    Re: Missing a procedure

    USE [World00_Character]
    GO
    /****** Object: StoredProcedure [dbo].[usp_LinkScroll_SetDestMap] Script Date: 11/30/2018 7:53:07 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    /****** 개체: 저장 프로시저 dbo.usp_LinkScroll_SetDestMap 스크립트 날짜: 2007-03-13 오후 6:25:10 ******/
    CREATE PROCEDURE [dbo].[usp_LinkScroll_SetDestMap]
    /*
    Set fame
    2004.9 By CJC
    input:
    see SQL
    output:
    @nRet 1 = OK
    0 = Error
    */
    @nCharNo int, @sloginZone varchar(16),
    @nRet tinyint OUTPUT
    AS
    SET NOCOUNT ON
    SET @nRet = 0
    UPDATE tCharacter SET sLoginZone = @sloginZone WHERE nCharNo = @nCharNo
    IF @@ERROR = 0 AND @@ROWCOUNT = 1
    SET @nRet = 0
    -- end
    RETURN

  5. #5
    Member hannesa is offline
    MemberRank
    Apr 2013 Join Date
    87Posts

    Re: Missing a procedure

    yeah u could add it like that unless its not exactly right.
    The question is, what is the purpose of this procedure as it always sets an empty sLoginZone.

    The exact call from char service is in every situation i tested:
    Code:
    declare @p3 int
    set @p3=NULL
    exec usp_LinkScroll_SetDestMap 1,N'',@p3 output
    select @p3
    while
    input 1 is nCharNo as int
    input N'' might be sLoginZone as varchar(16) but alltime empty
    output is nRet as int

    i dont think it makes sence to set sLoginZone empty on every single teleport or
    at a charserver defined time.

    Could be a bug on a function in charserver to maybe prevent lost of
    scrolls by connectionlost during a port or something.

    Problem is, charserver does not know about ur current sLoginZone, it just know about ur last.
    (when calling p_Char_SaveLocation)

    This also could be a reason for Friendlist location bug.

    If you want to set the exact location u can use this:
    usp_LinkScroll_SetDestMap

    check lines 1 and 34
    Last edited by hannesa; 04-01-19 at 04:37 PM. Reason: "usp_LinkScroll_SetDestMap" script updated

  6. #6
    Apprentice Anonymous1 is offline
    MemberRank
    Dec 2015 Join Date
    11Posts

    Re: Missing a procedure

    My problem is that I cant use pfind or psummon in different zones, I thought the problem was this procedure but my pfind/summon still dont working...

    Thanks you for your replies <3

  7. #7
    Account Upgraded | Title Enabled! Evildarkang is offline
    MemberRank
    Sep 2012 Join Date
    Northfield, BirLocation
    417Posts

    Re: Missing a procedure

    How odd do you have permissions to access pfind/psummon? as i've tested it out and it seems to work fine for me :)

  8. #8
    Apprentice Anonymous1 is offline
    MemberRank
    Dec 2015 Join Date
    11Posts

    Re: Missing a procedure

    Yes I can use them in the same zone (RouN to Rou, both in Zone0) for example, but If I want use from RouN (Zone0) to Eld (Zone1) the command dont work...

  9. #9
    Account Upgraded | Title Enabled! Evildarkang is offline
    MemberRank
    Sep 2012 Join Date
    Northfield, BirLocation
    417Posts

    Re: Missing a procedure

    it works over here - i checked i'll check again when i've completed a setup for myself :) i have checked it takes a little longer is what i've noticed though

  10. #10
    Apprentice Anonymous1 is offline
    MemberRank
    Dec 2015 Join Date
    11Posts

    Re: Missing a procedure

    Maybe is because Im using win Sv 2012? Its ok with 2012 or I need 2008?

  11. #11
    Account Upgraded | Title Enabled! Evildarkang is offline
    MemberRank
    Sep 2012 Join Date
    Northfield, BirLocation
    417Posts

    Re: Missing a procedure

    i don't think the OS makes much difference to be fair.

  12. #12
    Member Erblin is offline
    MemberRank
    Jun 2012 Join Date
    NetherlandsLocation
    62Posts

    Re: Missing a procedure

    Quote Originally Posted by Anonymous1 View Post
    Yes I can use them in the same zone (RouN to Rou, both in Zone0) for example, but If I want use from RouN (Zone0) to Eld (Zone1) the command dont work...
    In the past, changing some 127.0.0.1's to the actual dedi's IP in the ServerConfig.txt solved that issue for me. I don't know if it was related but I suppose it's worth a shot.

    I am not home right now but I will look at the ServerConfig.txt when I get home.

  13. #13
    Account Upgraded | Title Enabled! Evildarkang is offline
    MemberRank
    Sep 2012 Join Date
    Northfield, BirLocation
    417Posts

    Re: Missing a procedure

    Quote Originally Posted by Erblin View Post
    In the past, changing some 127.0.0.1's to the actual dedi's IP in the ServerConfig.txt solved that issue for me. I don't know if it was related but I suppose it's worth a shot.

    I am not home right now but I will look at the ServerConfig.txt when I get home.
    Yeah i remember that issue it was changing the OPTool one to the dedicated WAN IP and blocking external connections to it :/

  14. #14
    Member Erblin is offline
    MemberRank
    Jun 2012 Join Date
    NetherlandsLocation
    62Posts

    Re: Missing a procedure

    Quote Originally Posted by Evildarkang View Post
    Yeah i remember that issue it was changing the OPTool one to the dedicated WAN IP and blocking external connections to it :/
    The OPTool ports should not affect it.

  15. #15
    Account Upgraded | Title Enabled! Evildarkang is offline
    MemberRank
    Sep 2012 Join Date
    Northfield, BirLocation
    417Posts

    Re: Missing a procedure

    Quote Originally Posted by Erblin View Post
    The OPTool ports should not affect it.
    Hmm odd it works for me mind you my servers are all dedicated i did try it on windows 10 with a no go



Advertisement