Unique Scrolls and _Memo Table

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Retired blapanda is offline
    MemberRank
    Oct 2013 Join Date
    LocalhostLocation
    536Posts

    Unique Scrolls and _Memo Table

    I am facing the issues, that I cannot spawn any kind of scroll based unique/monster and as well the _Memo table doesn't work, too.


    I am well experienced due adding stuff, creating custom things, etc.
    but somehow, since the beginning of the clean vSRO 1.188 files, I am freaking not able to spawn the Automob (which is character and item sided activated!) or any kind of fortress unique via scroll.

    Automob:
    The item is at the shop, people can buy it, but upon usage, nothing happens. No "invalid target" msg nor anything else.
    I can spawn the automob manually.
    Same goes for unique scrolls at the fortress clerk.
    I can forge the scrolls, can hold them at the inventory, but same crap here. I can manually spawn Tai Sui and few others of all. Most of the others won't work, no idea why.

    _Memo Table:
    Recording chats isn't working at all.
    No matter how I modify the _Memo_Add procedure, I won't get any kind of progression saved at the _Memo table.

    Manually executed:
    exec _Memo_Add 'TargetPlayer','SenderPlayer','Message','99'

    It will say, successfully executed, but still, I won't see any kind of change at the _Memo table.


    Does anyone know how to fix these both issues?
    Do I must make a trigger for this scroll-monster based crap?

    Is the Memo stuff related to something else than database? E.g. ODBC?


  2. #2
    Retired blapanda is offline
    MemberRank
    Oct 2013 Join Date
    LocalhostLocation
    536Posts

    Re: Unique Scrolls and _Memo Table


  3. #3
    Retired blapanda is offline
    MemberRank
    Oct 2013 Join Date
    LocalhostLocation
    536Posts

    Re: Unique Scrolls and _Memo Table

    #Push ²

  4. #4
    Retired blapanda is offline
    MemberRank
    Oct 2013 Join Date
    LocalhostLocation
    536Posts

    Re: Unique Scrolls and _Memo Table

    #Push ...

  5. #5
    Account Upgraded | Title Enabled! OutOfMemory is offline
    MemberRank
    Aug 2013 Join Date
    272Posts

    Re: Unique Scrolls and _Memo Table

    exec _Memo_Add 'TargetPlayer','SenderPlayer','Message','99'
    Does the SenderPlayer and target player characters is exist?

  6. #6
    Retired blapanda is offline
    MemberRank
    Oct 2013 Join Date
    LocalhostLocation
    536Posts

    Re: Unique Scrolls and _Memo Table

    Quote Originally Posted by OutOfMemory View Post
    Does the SenderPlayer and target player characters is exist?
    It is working, if I add 2 existing characters with test msg and count, but it won't continue to progress and record.

  7. #7
    Account Upgraded | Title Enabled! OutOfMemory is offline
    MemberRank
    Aug 2013 Join Date
    272Posts

    Re: Unique Scrolls and _Memo Table

    Quote Originally Posted by blapanda View Post
    It is working, if I add 2 existing characters with test msg and count, but it won't continue to progress and record.
    who told you that? parameters must have a real character names to record at _Memo

    I also tested it for you and when executed your query didn't record anything, just add a real character names.

  8. #8
    Retired blapanda is offline
    MemberRank
    Oct 2013 Join Date
    LocalhostLocation
    536Posts

    Re: Unique Scrolls and _Memo Table

    Quote Originally Posted by OutOfMemory View Post
    who told you that? parameters must have a real character names to record at _Memo

    I also tested it for you and when executed your query didn't record anything, just add a real character names.
    As already said, there will be an entrance to the table, but that's it.
    Nothing else will happen serversided.

    After using
    Code:
    USE SRO_VT_SHARD
    exec _Memo_Add '[GM]Homie','[GM]Buddha','Test','1'
    this will show up at the _Memo table:

    1 8864 [GM]Buddha Test 2014-05-07 18:41:00 0 1927

    ... any ideas? There won't be any other kind of recordings.
    Last edited by blapanda; 07-05-14 at 07:05 PM.

  9. #9
    In the Emperor name Caosfox is offline
    MemberRank
    Jun 2011 Join Date
    Balcora GateLocation
    1,608Posts

    Re: Unique Scrolls and _Memo Table

    try with normal names, not [GM]´s
    as far i know, only that table is edited/changed

  10. #10
    Retired blapanda is offline
    MemberRank
    Oct 2013 Join Date
    LocalhostLocation
    536Posts

    Re: Unique Scrolls and _Memo Table

    Quote Originally Posted by Caosfox View Post
    try with normal names, not [GM]´s
    as far i know, only that table is edited/changed
    Well, that won't be impossible, since I have few players playing on my server, but their messaging isn't saved either.

  11. #11
    Account Upgraded | Title Enabled! OutOfMemory is offline
    MemberRank
    Aug 2013 Join Date
    272Posts

    Re: Unique Scrolls and _Memo Table

    Quote Originally Posted by blapanda View Post
    Well, that won't be impossible, since I have few players playing on my server, but their messaging isn't saved either.
    Are you using default StoredProcedure [dbo].[_Memo_Add] ?

    Are you using any edited database?
    try to rest StoredProcedure [dbo].[_Memo_Add] to default

  12. #12
    Retired blapanda is offline
    MemberRank
    Oct 2013 Join Date
    LocalhostLocation
    536Posts

    Re: Unique Scrolls and _Memo Table

    Quote Originally Posted by OutOfMemory View Post
    Are you using default StoredProcedure [dbo].[_Memo_Add] ?

    Are you using any edited database?
    try to rest StoredProcedure [dbo].[_Memo_Add] to default
    It is the default one (as far as I can say), since I didn't change anything on the procedure.

    Code:
    USE [SRO_VT_SHARD]GO
    /****** Object:  StoredProcedure [dbo].[_Memo_Add]    Script Date: 07.05.2014 21:38:32 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    ------------------------------------------------ 
    -- # PROCEDURE   _Memo_Add ¼??� 
    ------------------------------------------------ 
    
    
    ALTER   procedure [dbo].[_Memo_Add] 
                    --CE?? ??¶?¹??? 
                     @TargetCharName varchar(64), 
                     @SenderCharName varchar(64), 
                     @message                varchar(300), 
                    --?I�? ??¶?¹??? 
                     @Max_MEMO_COUNT int 
            as       
    
    
            begin transaction 
                    declare  @Target_charid int 
                    set  @Target_charid = (select CharID from _Char where CharName16 =  @TargetCharName) 
                    if (@@error <> 0 or @@rowcount = 0 ) 
                    begin 
                            --��·�¾?�A ¾?¾�~ 
                            rollback transaction 
                            return -1 
                    end 
    
    
                    declare  @memo_count int 
                    select  @memo_count = count(*) from _Memo where CharID =  @Target_charid 
                    /*if(  @memo_count >=  @Max_MEMO_COUNT ) 
                    begin 
                            -- AE??COA? ²E??³�~ 
                            rollback transaction 
                            return -2 
                    end*/ 
    
    
                    --@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
                    --              EUROPE_SYSTEM (??AIE�) 
                    --@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
                    declare  @ReFObjID int 
                    select  @ReFObjID = RefObjID from _Char with (nolock) where CharName16 =  @SenderCharName 
                    if (@@error <> 0 or @@rowcount = 0 ) 
                    begin 
                            rollback transaction 
                            return -4 
                    end 
    
    
                    declare  @RecordDate  smalldatetime 
                    set  @RecordDate = GetDate() 
                    insert _Memo (CharID, FromCharName,Message,Date,Status,RefObjID)  values(  @Target_charid,  @SenderCharName,  @message,  @RecordDate, 0,  @ReFObjID ) 
                    --@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
                    --@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
                    if (@@error <> 0 or @@rowcount = 0 ) 
                    begin 
                            rollback transaction 
                            --E���!! 
                            return -3 
                    end 
                                     
                    commit transaction 
                    return @@identity
    PS the database was a clean one. Not modified with any special thing.
    Last edited by blapanda; 08-05-14 at 02:28 AM.

  13. #13
    Retired blapanda is offline
    MemberRank
    Oct 2013 Join Date
    LocalhostLocation
    536Posts

    Re: Unique Scrolls and _Memo Table

    #Push
    I need to solve this issue.

  14. #14
    Retired blapanda is offline
    MemberRank
    Oct 2013 Join Date
    LocalhostLocation
    536Posts

    Re: Unique Scrolls and _Memo Table

    #Push <.<'

  15. #15
    Retired blapanda is offline
    MemberRank
    Oct 2013 Join Date
    LocalhostLocation
    536Posts

    Re: Unique Scrolls and _Memo Table

    #Push .
    I still cannot use the automob (Protector) and fortress uniques.

    _Memo fixed.
    Last edited by blapanda; 25-05-14 at 10:53 PM.



Page 1 of 2 12 LastLast

Advertisement