[4 Hints] Adding new maps

Page 2 of 5 FirstFirst 12345 LastLast
Results 16 to 30 of 66
  1. #16
    Account Upgraded | Title Enabled! Nah001 is offline
    MemberRank
    Apr 2007 Join Date
    242Posts

    Re: [4 Hints] Adding new maps

    Quote Originally Posted by TryToMakeServer View Post
    Hint: '-' codes shouldnt be added into the ref start table
    _RefInstance_World_Region
    im talking about this table
    90 worldid region with many regionid's
    added them as 90 22219 ...
    this map working
    same with others worldid's

    or it does not need to be added to this table at all? for start load maps in gameserver

  2. #17
    Proficient Member Kemo is offline
    MemberRank
    Oct 2011 Join Date
    NoWhereLocation
    187Posts

    Re: [4 Hints] Adding new maps

    i do all this steps and all done except _RefInstance_World_Start_Pos i don't know how to add the codes and how i can get them.

  3. #18
    Account Upgraded | Title Enabled! Nah001 is offline
    MemberRank
    Apr 2007 Join Date
    242Posts

    Re: [4 Hints] Adding new maps

    Teleported to this fkn jupiter dungeon Hall Of worship but client crashed after loading screen
    guess i added wrong start pos ..or too much of them lol

  4. #19
    Enthusiast mariustopor is offline
    MemberRank
    Sep 2011 Join Date
    33Posts

    Re: [4 Hints] Adding new maps

    as far as i can see...we are missing the linkedregions1 to 10 in the refregion table...because they cant be found in media pk:)...and i think thats why li sent us to look in a stored procedure...or you are talking about more procedures?:)
    more hints please!!!

  5. #20
    Developer sladlejrhfpq is offline
    MemberRank
    Oct 2011 Join Date
    671Posts

    Re: [4 Hints] Adding new maps

    Quote Originally Posted by mariustopor View Post
    as far as i can see...we are missing the linkedregions1 to 10 in the refregion table...because they cant be found in media pk:)...and i think thats why li sent us to look in a stored procedure...or you are talking about more procedures?:)
    more hints please!!!
    USE SRO_VT_SHARD_INIT
    exec _LinkRefRegions

  6. #21
    Enthusiast mariustopor is offline
    MemberRank
    Sep 2011 Join Date
    33Posts

    Re: [4 Hints] Adding new maps

    i mean the linked regions for jupiter:)...
    Btw i need world id's from jupiter....are they...86,87,88,89,90,91(notsure),93,94'?
    Posted via Mobile Device

  7. #22
    Account Upgraded | Title Enabled! MGProjects is offline
    MemberRank
    Oct 2011 Join Date
    BrazilLocation
    400Posts

    Re: [4 Hints] Adding new maps

    Quote Originally Posted by saxz View Post
    hmmm this problem i get when i open gameserver

    also i clicked on execte for _LinkRefRegions and back to open it again to see the effect
    but didnt found the jupiter ^^
    i did something wrong?
    i have same problem..someone can say me how fix it?

  8. #23
    Account Upgraded | Title Enabled! TryToMakeServer is offline
    MemberRank
    Dec 2008 Join Date
    257Posts

    Re: [4 Hints] Adding new maps

    Last Hint#:
    Ksro full updated media.pk2 = _RefRegion.txt
    exec _LinkRefRegions
    But modify it, before you execute it xD

  9. #24
    Enthusiast mariustopor is offline
    MemberRank
    Sep 2011 Join Date
    33Posts

    Re: [4 Hints] Adding new maps

    ty li...i love you:x...ill try tommorrow and see if i can succed:d....already added all the regions from that txt...the last thing to do is to modify the procedure:)..i think i looked before there..but didnt notice what should i modify...anyway dont tell...i want tomorrow to succed:d:)...btw...in refinstancegameworld...or smthing like that..we should add something:d?
    Posted via Mobile Device

  10. #25
    Account Upgraded | Title Enabled! Nah001 is offline
    MemberRank
    Apr 2007 Join Date
    242Posts

    Re: [4 Hints] Adding new maps

    Quote Originally Posted by TryToMakeServer View Post
    Last Hint#:
    Ksro full updated media.pk2 = _RefRegion.txt
    exec _LinkRefRegions
    But modify it, before you execute it xD
    Can you answer about this table plz _RefInstance_World_Region ?
    if i'm not add world and regionid to there gameserver not loading those maps

    it does not need to be added there?

    adding txt to mssql is easy... like with program txttosql

  11. #26
    Account Upgraded | Title Enabled! TryToMakeServer is offline
    MemberRank
    Dec 2008 Join Date
    257Posts

    Re: [4 Hints] Adding new maps

    if i'm not add world and regionid to there gameserver not loading those maps

    it does not need to be added there?
    yep, look at the error :D

  12. #27
    Account Upgraded | Title Enabled! saxz is offline
    MemberRank
    Jul 2010 Join Date
    1,293Posts

    Re: [4 Hints] Adding new maps

    nth work -.-
    keep get same error lol

  13. #28
    Account Upgraded | Title Enabled! dezner is offline
    MemberRank
    Aug 2006 Join Date
    BrasilLocation
    241Posts

    Re: [4 Hints] Adding new maps

    Code:
    2011-11-07	19:48:59	[SR_GameServer]	CGObj::EnterWorld Failed!!! at ResolveCellAndHeight() GAMEWORLDID[90,1], Pos(253.000,-204.000,1519.000)
    2011-11-07	19:48:59	[SR_GameServer]	CGame::EnterWorld() => CGObj::EnterWorld() Failed!!!	Parafuso	[JID:2, CharID:2][rid: 0x5bca(x:202, y:91)][worldid : 90, pos: 253.000, -204.000, 1519.000]
    2011-11-07	19:49:28	[SR_GameServer]	CGObj::EnterWorld Failed!!! at ResolveCellAndHeight() GAMEWORLDID[90,1], Pos(253.000,-204.000,1519.000)
    2011-11-07	19:49:28	[SR_GameServer]	CGame::EnterWorld() => CGObj::EnterWorld() Failed!!!	Suellen	[JID:45, CharID:37][rid: 0x5bca(x:202, y:91)][worldid : 90, pos: 253.000, -204.000, 1519.000]

  14. #29
    Account Upgraded | Title Enabled! Nah001 is offline
    MemberRank
    Apr 2007 Join Date
    242Posts

    Re: [4 Hints] Adding new maps

    Quote Originally Posted by TryToMakeServer View Post
    Last Hint#:
    Ksro full updated media.pk2 = _RefRegion.txt
    exec _LinkRefRegions
    But modify it, before you execute it xD
    need modify stored procedure ? it's autofilling JUPITER LinkRegions without modify
    maybe this wrong, but i checked it filling right


    someone have any idea what need modify in it lol ?

    i tried adding Jupiter and effect same, map not loading if i'm not add manual
    WorldID and RegionID to _RefInstance_World_Region table
    PHP Code:
    ALTER PROCEDURE [dbo].[_LinkRefRegions]
    AS

    --- 
    Blow Query is Each Area and FORT matching ---
    declare @
    China         int    
    declare @West_China    int
    declare @Oasis_Kingdom    int
    declare @Eu        int
    declare @Am        int
    declare @Ca        int



    select 
    @China        AssocServer from _RefRegionBindAssocServer where AreaName 'CHINA'
    select @West_China    AssocServer from _RefRegionBindAssocServer where AreaName 'West_China'
    select @Oasis_Kingdom     AssocServer from _RefRegionBindAssocServer where AreaName 'Oasis_Kingdom'
    select @Eu        AssocServer from _RefRegionBindAssocServer where AreaName 'Eu'
    select @Am        AssocServer from _RefRegionBindAssocServer where AreaName 'Am'
    select @Ca        AssocServer from _RefRegionBindAssocServer where AreaName 'Ca'


    update _RefRegionBindAssocServer set AssocServer = @China         where AreaName 'FORT_JA_AREA'
    update _RefRegionBindAssocServer set AssocServer = @China         where AreaName 'FORT_BJ_AREA'
    update _RefRegionBindAssocServer set AssocServer = @West_China         where AreaName 'FORT_DW_AREA'
    update _RefRegionBindAssocServer set AssocServer = @West_China         where AreaName 'FORT_HM_AREA'
    update _RefRegionBindAssocServer set AssocServer = @Oasis_Kingdom     where AreaName 'FORT_HT_AREA'
    update _RefRegionBindAssocServer set AssocServer = @Eu             where AreaName 'FORT_CT_AREA'
    update _RefRegionBindAssocServer set AssocServer = @Am             where AreaName 'FORT_ER_AREA'
    update _RefRegionBindAssocServer set AssocServer = @Ca            where AreaName 'FORT_SK_AREA'

    begin TRANSACTION
    begin    
        
    declare @LinkNum        int
        
    declare @this_region    int
        
    declare @region_x        int
        
    declare @region_z        int
        
    declare @wRegionID    smallint
        
    declare @wTempRID    smallint
        
    declare @col_link        varchar(256)
        declare @
    query            varchar(256)
        declare @
    db_id_to_link    smallint
        
        
    -- clear all existing region link
        set 
    @LinkNum 1
        
    while (@LinkNum <= 10)
        
    begin
            set 
    @query 'update _RefRegion set LinkedRegion_' cast(@LinkNum as varchar(10)) + ' = 0'
            
    execute (@query)
            
            
    set @LinkNum = @LinkNum 1
        end
        
    -- loop all region
        
    declare region_cursor CURSOR FOR
        
    select     wRegionID
        from    _RefRegion
        OPEN region_cursor
        FETCH NEXT FROM region_cursor INTO 
    @wRegionID
        
    WHILE @@FETCH_STATUS 0
        begin        
            
    if (@@error and @wRegionID <> 0)
            
    begin
                
    -- ´øÀüÀº ½ºÅµ!
                if (@
    wRegionID 0)
                
    begin
                    set 
    @LinkNum 8
                    
    while (@LinkNum >= 0)
                    
    begin
                        set 
    @region_z = (@wRegionID 0xff00) / 256
                        set 
    @region_x = (@wRegionID 0x0ff)
                        
    set @wTempRID 0;
                                        
                        if (@
    LinkNum 0)
                        
    begin
                            set 
    @region_x = @region_x 1
                            set 
    @col_link 'LinkedRegion_1'
                        
    end
                        
    else if (@LinkNum 1)
                        
    begin
                            set 
    @region_x = @region_x 1
                            set 
    @region_z = @region_z 1
                            set 
    @col_link 'LinkedRegion_2'
                        
    end
                        
    else if (@LinkNum 2)
                        
    begin
                            set 
    @region_z = @region_z 1
                            set 
    @col_link 'LinkedRegion_3'
                        
    end
                        
    else if (@LinkNum 3)
                        
    begin
                            set 
    @region_x = @region_x 1
                            set 
    @region_z = @region_z 1
                            set 
    @col_link 'LinkedRegion_4'
                        
    end
                        
    else if (@LinkNum 4)
                        
    begin
                            set 
    @region_x = @region_x 1
                            set 
    @col_link 'LinkedRegion_5'
                        
    end
                        
    else if (@LinkNum 5)
                        
    begin
                            set 
    @region_x = @region_x 1
                            set 
    @region_z = @region_z 1
                            set 
    @col_link 'LinkedRegion_6'
                        
    end
                        
    else if (@LinkNum 6)
                        
    begin
                            set 
    @region_z = @region_z 1
                            set 
    @col_link 'LinkedRegion_7'
                        
    end
                        
    else if (@LinkNum 7)
                        
    begin
                            set 
    @region_x = @region_x 1
                            set 
    @region_z = @region_z 1
                            set 
    @col_link 'LinkedRegion_8'
                        
    end
        
                        set 
    @wTempRID = (@region_z 0x00ff) * 256
                        set 
    @wTempRID = @wTempRID + (@region_x 0x00ff)
        
                        
    select @db_id_to_link wRegionID
                        from _RefRegion
                        where wRegionID 
    = @wTempRID
        
                        
    if (@@ROWCOUNT <> 0)
                        
    begin
                            set 
    @query 'update _RefRegion set  ' + @col_link ' = ' cast(@db_id_to_link as varchar(10)) + ' where wRegionID = ' cast(@wRegionID as varchar(10))
                        
    end
                        
    else    -- Á¸ÀçÇÏÁö ¾Ê´Â region link ´Â 0À¸·Î Ã¤¿î´Ù
                        begin
                            set 
    @query 'update _RefRegion set  ' + @col_link ' = 0 where wRegionID = ' cast(@wRegionID as varchar(10))
                        
    end
        
                        execute
    (@query)
                    
    set @LinkNum = @LinkNum 1
                    end
                end
            end
        FETCH NEXT FROM region_cursor INTO 
    @wRegionID
        end
        
        CLOSE region_cursor
        DEALLOCATE region_cursor
        COMMIT TRANSACTION
    end 
    Attached Thumbnails Attached Thumbnails refregions.jpg  

  15. #30
    Enthusiast mariustopor is offline
    MemberRank
    Sep 2011 Join Date
    33Posts

    Re: [4 Hints] Adding new maps

    if you could find the region links for all the jupiter flours it would be great!!



Page 2 of 5 FirstFirst 12345 LastLast

Advertisement