[Release] Debug Console Access Denied

Results 1 to 8 of 8
  1. #1
    JD | Web Developer mrosenov is offline
    MemberRank
    Jun 2012 Join Date
    BulgariaLocation
    555Posts

    [Release] Debug Console Access Denied

    Hello guys have you ever had cheaters in your server?

    -Sending items
    -Level up
    -Gold
    -GM Items
    -And others

    Okay now I will show you how to fix this tricky thing :)

    First open/winscp,bitvise or any sftp program, and go to "gamed" folder and open "ptemplate.conf" at the first line you will see

    Code:
    debug_command_mode = 1
    change it to

    Code:
    #debug_command_mode = 0
    dont forget "#" or your server may crash!
    When you are done save it and upload it to "gamed" folder and start the server!
    Voila now normal players dont have access to commands like level up item sending or whatever :)

    Credits: me and my jd team! :)
    Last edited by mrosenov; 22-05-15 at 02:39 PM.


  2. #2
    Would You Kindly? Bola is offline
    DeveloperRank
    Dec 2011 Join Date
    BrazilLocation
    1,758Posts

    Re: [Release] Debug Console Access Denied

    or set 0, or just put #, don't need do they two at same time

  3. #3
    JD | Web Developer mrosenov is offline
    MemberRank
    Jun 2012 Join Date
    BulgariaLocation
    555Posts

    Re: [Release] Debug Console Access Denied

    Well I tried it, but my server crashed or even cant start... then I put # and worked perfectly :)

  4. #4
    Account Upgraded | Title Enabled! Valkyrie is offline
    MemberRank
    Feb 2012 Join Date
    Brisbane, AUSLocation
    362Posts

    Re: [Release] Debug Console Access Denied

    Setting it to 0 disables the function.

    # silences the line on the script, making it invisible to any software reading it.

  5. #5
    Psy Sins Psytrac is online now
    MemberRank
    Jul 2011 Join Date
    Hammond, INLocation
    2,012Posts

    Re: [Release] Debug Console Access Denied

    there's a line for like
    no_input = 0
    as well. (could be output, I don't remember) set that to 1, and debug no longer works, even if debug_command_mode is active.

  6. #6
    Psy Sins Psytrac is online now
    MemberRank
    Jul 2011 Join Date
    Hammond, INLocation
    2,012Posts

    Re: [Release] Debug Console Access Denied

    double post, but for a good reason

    This is my jd ptemplate.conf general section:
    Code:
    [GENERAL]
    debug_command_mode = 1
    logic_level_limit = 150
    no_output = 1
    allow_login_class_mask = 4611686018427387903
    #exp_bonus = 0
    #sp_bonus = 0
    #money_bonus = 0
    #ÈËÀàսʿ
    allow_login_class_mask1=4611686018427387903
    logic_reborn_level_limit=160
    as you can see "no_output" is set to 1, and even with debug active I cannot send debug commands and make them work. when set to 0 it does, however.

    (this is just a little vm box on my actual PC though, so no one can/does get on it)
    Last edited by Psytrac; 23-07-15 at 01:05 AM.

  7. #7
    JD | Web Developer mrosenov is offline
    MemberRank
    Jun 2012 Join Date
    BulgariaLocation
    555Posts

    Re: [Release] Debug Console Access Denied

    Quote Originally Posted by Psytrac View Post
    double post, but for a good reason

    This is my jd ptemplate.conf general section:
    Code:
    [GENERAL]
    debug_command_mode = 1
    logic_level_limit = 150
    no_output = 1
    allow_login_class_mask = 4611686018427387903
    #exp_bonus = 0
    #sp_bonus = 0
    #money_bonus = 0
    #ÈËÀàսʿ
    allow_login_class_mask1=4611686018427387903
    logic_reborn_level_limit=160
    as you can see "no_output" is set to 1, and even with debug active I cannot send debug commands and make them work. when set to 0 it does, however.

    (this is just a little vm box on my actual PC though, so no one can/does get on it)
    Well, I have exactly the same options, but I still can use the debug console.
    debug_command_mode = 1 if I change 1 to 0 nobody can use it :D

  8. #8
    Psy Sins Psytrac is online now
    MemberRank
    Jul 2011 Join Date
    Hammond, INLocation
    2,012Posts

    Re: [Release] Debug Console Access Denied

    well, no, they still CAN, but not for server-side commands



Advertisement