[Dev]Unique Spawn Time

Results 1 to 15 of 15
  1. #1
    Member Right is offline
    MemberRank
    Dec 2011 Join Date
    TurkeyLocation
    47Posts

    [Dev]Unique Spawn Time

    hey guys
    I need change Unique Spawn times 3-6 hours to 2-4 or etc.
    I need Tab_refnest table for this but Which id is TG or Isy etc.

    How I can find their IDs?


  2. #2
    Elite Member Tazdingo is offline
    Member +Rank
    Nov 2010 Join Date
    153Posts

    Re: [Dev]Unique Spawn Time

    First search id in _RefObjCommon then compare in RefTactics finally you can find the NestId with the TacticsID

  3. #3
    Grand Master Statiic is offline
    Grand MasterRank
    Nov 2011 Join Date
    BrazilLocation
    611Posts

    Re: [Dev]Unique Spawn Time

    exemple.
    TG Spawn time
    _RefObjCommon
    Code:
    SELECT * FROM _RefObjCommon WHERE Codename128 like 'MOB_CH_TIGERWOMAN'
    u get the id = 1954
    now go to Tab_RefTactics

    Code:
    SELECT * FROM Tab_RefTactics WHERE dwObjID = 1954
    _RefObjCommon ID
    now u get the dwTactics ID = 33

    now Tab_RefNest

    Code:
    SELECT * FROM Tab_RefNest WHERE dwTacticsID = 33
    and u will get tg spawn info (spawn points)

    1st spawn
    Code:
    5656	193	33	23712	532,82	1390,6	938,17	0	1000	600	0	10800	21600	1	0	1	0
    delay time min to spawn = secs like 60 sec = 1 minute ^^ change to 60 for exemple
    Delay time max spawn same based in secs change for 70 for exemple.
    now change the others spawns (spawn points) to 60 and 70
    and tg will apper every 1 minute
    Last edited by Statiic; 19-02-12 at 12:47 AM.

  4. #4
    Sorcerer Supreme 3d2000 is offline
    Member +Rank
    Nov 2011 Join Date
    462Posts

    Re: [Dev]Unique Spawn Time

    Statiic u are the Man :PP

  5. #5
    Member Right is offline
    MemberRank
    Dec 2011 Join Date
    TurkeyLocation
    47Posts

    Re: [Dev]Unique Spawn Time

    Static you are big man =)
    Big thanks to you

    Update Tab_RefNest Set dwDelayTimeMin=7200 , dwDelayTimeMax=14400 WHERE dwTacticsID = (SELECT dwTacticsID FROM Tab_RefTactics
    WHERE dwObjID =
    (SELECT ID FROM _RefObjCommon WHERE Codename128 like 'MOB_OA_URUCHI')) Used like that =)

  6. #6
    Member okkes95 is offline
    MemberRank
    Feb 2012 Join Date
    52Posts

    Re: [Dev]Unique Spawn Time

    For 15 minutes, what has to be red and the other?

  7. #7
    Newbie maxigameDaB is offline
    MemberRank
    Mar 2012 Join Date
    4Posts

    Re: [Dev]Unique Spawn Time

    Quote Originally Posted by Right View Post
    hey guys
    I need change Unique Spawn times 3-6 hours to 2-4 or etc.
    I need Tab_refnest table for this but Which id is TG or Isy etc.

    How I can find their IDs?
    http://forum.ragezone.com/f723/chang...n-time-829194/

  8. #8
    Newbie abdelbaser is offline
    MemberRank
    Feb 2012 Join Date
    18Posts

    Re: [Dev]Unique Spawn Time

    Quote Originally Posted by Statiic View Post
    exemple.
    TG Spawn time
    _RefObjCommon
    Code:
    SELECT * FROM _RefObjCommon WHERE Codename128 like 'MOB_CH_TIGERWOMAN'
    u get the id = 1954
    now go to Tab_RefTactics

    Code:
    SELECT * FROM Tab_RefTactics WHERE dwObjID = 1954
    _RefObjCommon ID
    now u get the dwTactics ID = 33

    now Tab_RefNest

    Code:
    SELECT * FROM Tab_RefNest WHERE dwTacticsID = 33
    and u will get tg spawn info (spawn points)

    1st spawn
    Code:
    5656	193	33	23712	532,82	1390,6	938,17	0	1000	600	0	10800	21600	1	0	1	0
    delay time min to spawn = secs like 60 sec = 1 minute ^^ change to 60 for exemple
    Delay time max spawn same based in secs change for 70 for exemple.
    now change the others spawns (spawn points) to 60 and 70
    and tg will apper every 1 minute
    awsome thanks

  9. #9
    Elite Member BryanSA is offline
    Member +Rank
    Jan 2012 Join Date
    EnglandLocation
    215Posts

    Re: [Dev]Unique Spawn Time

    Niceee :D

  10. #10
    Member kellogz is offline
    MemberRank
    Aug 2011 Join Date
    71Posts

    Re: [Dev]Unique Spawn Time

    Static do you know where the unique has spawned message is controlled and how? Im talking if we want to make a new unique to the game how do we make it so the server than announces this? Or is this something within the gameserver?

  11. #11
    Sorcerer Supreme Caipi is offline
    Member +Rank
    Sep 2011 Join Date
    GermanyLocation
    403Posts

    Re: [Dev]Unique Spawn Time

    Aw totally overlooked this one here ;o

    To give you an overview over the Mobs, spawnplaces etc use..

    PHP Code:
    SELECT 
            ref
    .ID as RefObjCommonID
            
    tac.dwObjID
            
    ref.CodeName128
            
    nest.*, 
            
    hive.*
    FROM _RefObjChar as objchar
            JOIN _RefObjCommon 
    as ref on objchar.ID ref.Link
            JOIN Tab_RefTactics 
    as tac on ref.ID tac.dwObjID
            JOIN Tab_RefNest 
    as nest on tac.dwTacticsID nest.dwTacticsID
            JOIN Tab_RefHive 
    as hive on nest.dwHiveID hive.dwHiveID

    ORDER BY ref
    .ID 

  12. #12
    Grand Master Statiic is offline
    Grand MasterRank
    Nov 2011 Join Date
    BrazilLocation
    611Posts

    Re: [Dev]Unique Spawn Time

    hmm nice i think u can made a query for add basic_chains missings exemple
    get Basic_ChainCode from _RefSkill2 (working 120 skill :) ) and insert into _RefSkill WHERE ID as same FROM _RefSkill2 like this xD
    Last edited by Statiic; 20-03-12 at 03:05 AM.

  13. #13
    Sorcerer Supreme Caipi is offline
    Member +Rank
    Sep 2011 Join Date
    GermanyLocation
    403Posts

    Re: [Dev]Unique Spawn Time

    Quote Originally Posted by Statiic View Post
    hmm nice i think u can made a query for add basic_chains missings exemple
    get Basic_ChainCode from _RefSkill2 (working 120 skill :) ) and insert into _RefSkill WHERE ID as same FROM _RefSkill2 like this xD
    Responded to your message, try it out :)

  14. #14
    Sorcerer Supreme ModGift is offline
    Member +Rank
    Sep 2011 Join Date
    261Posts

    Re: [Dev]Unique Spawn Time

    I'm using this code

    Code:
    --HyperProCoders ModGift
    UPDATE [SRO_VT_SHARD].[dbo].[Tab_RefNest]
       SET 
          dwDelayTimeMin = '600',
          dwDelayTimeMax = '2400'
       WHERE 
          dwDelayTimeMin= '10800'
    GO
    --HyperProCoders ModGift
    Min: 600/60 = 10minute
    Max: 2400/60= 40minute

    applies to all unique

  15. #15
    Member Right is offline
    MemberRank
    Dec 2011 Join Date
    TurkeyLocation
    47Posts

    Re: [Dev]Unique Spawn Time

    thanks for answer to your answered question -_-



Advertisement