Changing Start Location

Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    root@tera:~$ sudo init 0 Terabit is offline
    MemberRank
    Jun 2011 Join Date
    rootLocation
    265Posts

    Re: Changing Start Location

    ServerID : Demonsetup.ini

  2. #17
    Account Upgraded | Title Enabled! RonaldinhoR9 is offline
    MemberRank
    Jan 2009 Join Date
    390Posts

    Re: Changing Start Location

    hmm in what part of demonsetup?

  3. #18
    root@tera:~$ sudo init 0 Terabit is offline
    MemberRank
    Jun 2011 Join Date
    rootLocation
    265Posts

    Re: Changing Start Location

    I already give the clue please try by yourself

  4. #19
    Apprentice lluozai is offline
    MemberRank
    Dec 2012 Join Date
    13Posts

    Re: Changing Start Location

    INSERT INTO CharInfoEx (UID, ServerID) VALUES (@UID, 134217730) <--- can make a Ex for me see?

  5. #20
    Cypher WireShark is offline
    MemberRank
    Jun 2009 Join Date
    Planet Earth xDLocation
    950Posts

    Re: Changing Start Location

    Quote Originally Posted by lluozai View Post
    INSERT INTO CharInfoEx (UID, ServerID) VALUES (@UID, 134217730) <--- can make a Ex for me see?
    for example you have a value of ServerID = 123456 then

    change the script for your config
    INSERT INTO CharInfoEx (UID, ServerID) VALUES (@UID, 123456) -- this is it

    +rep or likes if help
    Last edited by WireShark; 04-06-16 at 10:45 AM. Reason: addin something

  6. #21
    Apprentice lluozai is offline
    MemberRank
    Dec 2012 Join Date
    13Posts

    Re: Changing Start Location

    Quote Originally Posted by WireShark View Post
    for example you have a value of ServerID = 123456 then

    change the script for your config
    INSERT INTO CharInfoEx (UID, ServerID) VALUES (@UID, 123456) -- this is it
    thanks you WireShark

  7. #22
    Apprentice sdprust is offline
    MemberRank
    May 2012 Join Date
    20Posts

    Re: Changing Start Location

    kickass newbie,
    old thread, but only noticed now that he has ressurrected.
    If anyone still interested on doing this, with some knowledge about SQL it is pretty easy:
    Just use a trigger to automate the process of changing the user's position once it is filled for the first time with a valid value.
    ( There is already a sql instruction to do that in the above posts, just implement it on a trigger ).
    Ps: This should be done on MS-SQL Server... no changes in server/cliente files are needed.

  8. #23
    Apprentice sdprust is offline
    MemberRank
    May 2012 Join Date
    20Posts

    Re: Changing Start Location

    Quote Originally Posted by sdprust View Post
    kickass newbie,
    old thread, but only noticed now that he has ressurrected.
    If anyone still interested on doing this, with some knowledge about SQL it is pretty easy:
    Just use a trigger to automate the process of changing the user's position once it is filled for the first time with a valid value.
    ( There is already a sql instruction to do that in the above posts, just implement it on a trigger ).
    Ps: This should be done on MS-SQL Server... no changes in server/cliente files are needed.
    Well, I had to do it last week and it is actually easier than what I proposed, cause there is already a stored procedure that you just have to modify. If anyone still interested:
    Modify the InsertChar (or something like that) Stored Procedure, adding the ServerID (Zone) in the following line, like already stated by some people here:
    INSERT INTO CharInfoEx (UID, ServerID) VALUES (@UID, 134217730)

    Now, to set a different spawn location for Human and Akkan, set a condition for the Character Nation before adding it to the database (INSERT command), where Nation 0 is Human and Nation 1 is Akkan:
    IF Nation = 0
    BEGIN
    PointX = <The X Coordinate for Humans goes here>
    PointY = ...
    PointZ = ...
    END
    ELSE
    BEGIN
    PointX = <The X Coordinate for Akkan goes here>
    PointY = ...
    PointZ = ...
    END



Page 2 of 2 FirstFirst 12

Advertisement