Teleport available only for traders/thiefs/hunters?

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Member Derpson is offline
    MemberRank
    Apr 2012 Join Date
    72Posts

    Teleport available only for traders/thiefs/hunters?

    Hello, so I'm struggling to make custom teleport available only for players who are in job suits. Well as you can understand I want to make it same as Job Temple.
    _RefTeleLink or _RefTeleport tables doesn't have any data about the required char state or so on. All the information is in _RefGame_World_Config table.

    1 156 GROUP_TEMPLE_DEFAULT ENTER_LIMIT_CONDITION_JOB_CLOTHES_PUT_ON ON STRING
    This is the line which describes if the player must have job suit on or not. Well it's pretty simple, but the question is how to aplly same kind of config for custom made areas like arabia, jupiter and so on? The area should be an instance? Or this config is also hardcoded into gameserver? Thanks in advance.


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

    Re: Teleport available only for traders/thiefs/hunters?

    not harcoded, can be done in db only, but a bit more advanced

  3. #3
    Member Derpson is offline
    MemberRank
    Apr 2012 Join Date
    72Posts

    Re: Teleport available only for traders/thiefs/hunters?

    I see. So as far as understand, custom area must be an instance?

  4. #4
    Proficient Member Royalblade is offline
    MemberRank
    Jan 2013 Join Date
    167Posts

    Re: Teleport available only for traders/thiefs/hunters?

    Nope, doesn't have to be an instance. Just needs to be to allow jobbers only, basically still a normal region ^^.

    Google this: Converting the DW Cave into a Job Restricted Cave

  5. #5
    Member Derpson is offline
    MemberRank
    Apr 2012 Join Date
    72Posts

    Re: Teleport available only for traders/thiefs/hunters?

    Quote Originally Posted by Royalblade View Post
    Nope, doesn't have to be an instance. Just needs to be to allow jobbers only, basically still a normal region ^^.

    Google this: Converting the DW Cave into a Job Restricted Cave

    Heh, thanks. I've tried exactly same way for arabia, but it didn't worked. Well I guess I have to try one more time

  6. #6
    Member Derpson is offline
    MemberRank
    Apr 2012 Join Date
    72Posts

    Re: Teleport available only for traders/thiefs/hunters?

    Damn, still can't get it working. This is what I have:

    1 892 GROUP_JOB_ARENA GAME_WORLD_NORMALIZE_TYPE GAME_WORLD_NORMALIZE_TYPE_A STRING
    1 893 GROUP_JOB_ARENA ENTER_LIMIT_CONDITION_JOB_CLOTHES_PUT_ON ON STRING
    1 899 GROUP_JOB_ARENA FAILED_ENTER_WORLD_TO_SPECIAL_TARGET_GAMEWORLD_MERCHANT_HUNTER INS_DEFAULT STRING
    1 900 GROUP_JOB_ARENA FAILED_ENTER_WORLD_TO_SPECIAL_TARGET_REGION_MERCHANT_HUNTER 23687 INT32
    1 901 GROUP_JOB_ARENA FAILED_ENTER_WORLD_TO_SPECIAL_TARGET_POSX_MERCHANT_HUNTER 1242 FLOAT32
    1 902 GROUP_JOB_ARENA FAILED_ENTER_WORLD_TO_SPECIAL_TARGET_POSY_MERCHANT_HUNTER 245 FLOAT32
    1 903 GROUP_JOB_ARENA FAILED_ENTER_WORLD_TO_SPECIAL_TARGET_POSZ_MERCHANT_HUNTER 507 FLOAT32
    1 904 GROUP_JOB_ARENA FAILED_ENTER_WORLD_TO_SPECIAL_TARGET_SWITCH ON STRING
    POSX, Y, Z is position of _RefTeleport gate, and as far as understand those are the only lines to describe which teleport I want to edit.
    Oh and, I'm editing only _RefGame_World_Config table. Or there is more tables for this?

  7. #7
    Proficient Member Royalblade is offline
    MemberRank
    Jan 2013 Join Date
    167Posts

    Re: Teleport available only for traders/thiefs/hunters?

    I think you misunderstood what mark and me meant.

    Your not restricting the teleporter... your restricting the AREA itself. If you try to teleport and the targetregion can only be used while in job... the teleporter becomes a "jobonly" teleporter right? At least thats how you perceive it, but try looking at it from a different angle. Your changing the place itself, not the porter.

  8. #8
    Member Derpson is offline
    MemberRank
    Apr 2012 Join Date
    72Posts

    Re: Teleport available only for traders/thiefs/hunters?

    Yeah I kinda understood your idea, but what I can't understand is how to declare to which area I'm apllying these configuration options in _RefGame_World_Config table , thats the problem. So then I thought that those options aplies to the teleporterporter only, but seems that I was wrong.

    Checked Job Temple lines, there is only config for teleport position. Damn, I think that I can't see something >___<

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

    Re: Teleport available only for traders/thiefs/hunters?

    if you want only job restriction, than the gameworld config should be enough with that normalize type A, but make sure you have "cut" it and created a different gameworld for it

  10. #10
    Member Derpson is offline
    MemberRank
    Apr 2012 Join Date
    72Posts

    Re: Teleport available only for traders/thiefs/hunters?

    Well everything seems to be clear for me, except that 'cut' part. I mean there is no column for region ID or for region name and so on.

    FAILED_ENTER_WORLD_TO_SPECIAL_TARGET_POSX_MERCHANT_HUNTER
    FAILED_ENTER_WORLD_TO_SPECIAL_TARGET_POSY_MERCHANT_HUNTER
    FAILED_ENTER_WORLD_TO_SPECIAL_TARGET_POSX_MERCHANT_HUNTER
    For example those three lines for Job Temple have only the teleporter coordinates. Different coords for thiefs and traders.

    EDIT: Never mind, just had to think a little and I managed to finish it up, pretty easy stuff actually Anyways thanks everybody for the help!
    Last edited by Derpson; 24-07-13 at 03:32 PM.

  11. #11
    Xeulin™ Showtek is offline
    MemberRank
    Nov 2011 Join Date
    UKLocation
    264Posts

    Re: Teleport available only for traders/thiefs/hunters?

    Quote Originally Posted by Derpson View Post
    EDIT: Never mind, just had to think a little and I managed to finish it up, pretty easy stuff actually Anyways thanks everybody for the help!
    Wondering, how did you do that :) I'm trying to add job suit restriction on jg cave b1, but failed :/

  12. #12
    Proficient Member Nemo07Back is offline
    MemberRank
    Apr 2013 Join Date
    157Posts

    Re: Teleport available only for traders/thiefs/hunters?

    easy to do Just Check the ID of the World to teleport with JOB clothes..
    Last edited by Nemo07Back; 21-08-13 at 09:16 AM.

  13. #13
    Xeulin™ Showtek is offline
    MemberRank
    Nov 2011 Join Date
    UKLocation
    264Posts

    Re: Teleport available only for traders/thiefs/hunters?

    Quote Originally Posted by Nemo07Back View Post
    easy to do Just Check the ID of the World to teleport with JOB clothes..
    Please explain it more clearly :)

  14. #14
    Proficient Member Royalblade is offline
    MemberRank
    Jan 2013 Join Date
    167Posts

    Re: Teleport available only for traders/thiefs/hunters?

    Try reading the first posts by mark n me above. that should help plenty

  15. #15
    Apprentice luckyreko is offline
    MemberRank
    Apr 2013 Join Date
    21Posts

    Re: Teleport available only for traders/thiefs/hunters?

    if any one did it on Strya clash please explain it to us :) and give us the lines Please <3



Page 1 of 2 12 LastLast

Advertisement