Custom Commands partially not working #30


  • Defect
  • Accepted
Open
Assigned to _ForgeUser7181231
  • _ForgeUser8861338 created this issue Oct 13, 2013

    What steps will reproduce the problem?
    1. add effect commands in custom commands under humans
    2. proceed with dying
    3.

    What is the expected output?
    effects to be applied to player on turning back human

    What version of AfterLife are you using?
    v1.5

    Do you have an error log of what happened? Please post on http://pastebin.com and post a link here:
    No error log, according to the console the commands are executed and given to the player

    Post a list of all installed Bukkit plugins.

    Please provide any additional information below.
    The effects that are supposed to be added don't show up in the game

  • _ForgeUser8861338 added the tags New Defect Oct 13, 2013
  • _ForgeUser7181231 removed a tag New Oct 14, 2013
  • _ForgeUser7181231 posted a comment Oct 14, 2013

    Please upload your config.yml to pastebin and send me a link. :)

  • _ForgeUser7181231 added a tag Waiting Oct 14, 2013
  • _ForgeUser8861338 posted a comment Oct 14, 2013
  • _ForgeUser8861338 removed a tag Waiting Oct 14, 2013
  • _ForgeUser8861338 added a tag Replied Oct 14, 2013
  • _ForgeUser8861338 posted a comment Oct 14, 2013

    Although temporarily, I installed a new plugin to delay the commands from executing and that seems to work, but I'd rather not have it since it has this weird delay.

  • _ForgeUser8861338 posted a comment Oct 14, 2013

    Also I had one of my players point out to me that when you enter a bypassed region, you'll still stay as a ghost. Is there a way to get around this? As in they'll be human in that area. But their timer will still keep going and if their timer is still going when they leave the region, they're back to being a ghost but if it's over, they stay human.

    Would you like me to file a separate ticket for this?

  • _ForgeUser8861338 posted a comment Oct 14, 2013

    And is there a way to keep players showing up on the tab list even if they're dead?

  • _ForgeUser7181231 posted a comment Oct 17, 2013

    @aceyxx: Go

    Please file a separate ticket for separate issues.

  • _ForgeUser7181231 posted a comment Oct 17, 2013

    @aceyxx: Go

    As of right now, there isn't a way to do this.

  • _ForgeUser7181231 posted a comment Oct 17, 2013

    Do the commands you're trying to execute work correctly if you manually execute them in the console?

    If you add a simple "say %username% is now a human!" to the commands, does that work?

    Also, I see you have the customCommands disabled for Human -> Ghosts.

  • _ForgeUser7181231 removed a tag Replied Oct 17, 2013
  • _ForgeUser7181231 added a tag Waiting Oct 17, 2013
  • _ForgeUser7181231 posted a comment Oct 17, 2013

    Ok, I think I figured out the problem.

    The way your currently have things set up is that the player will get the effects when going from ghost to human. So the player will get the effects when they are turning back in to a human.

    So I copied the commands and put them in the correct section, and found that I was getting the effects while I was in the respawn screen. Then when I clicked respawn, I no longer have the effects. (This is probably why the delay plugin you were trying worked.)

    I think the problem is that the commands execute right when the player dies, but the effects disappear when players respawn.

    Does this make sense?

  • _ForgeUser7181231 removed a tag Waiting Oct 17, 2013
  • _ForgeUser7181231 added a tag Replied Oct 17, 2013
  • _ForgeUser8861338 posted a comment Oct 18, 2013

    Yep makes sense, so is there gonna be a fix for it that's not gonna make me rely on another plugin for the rest of my days xD

  • _ForgeUser7181231 removed a tag Replied Oct 18, 2013
  • _ForgeUser7181231 posted a comment Oct 18, 2013

    Option to execute commands on respawn instead of right away will be added. For now use your command delay plugin. :)

  • _ForgeUser7181231 added a tag Accepted Oct 18, 2013
  • _ForgeUser8861338 posted a comment Oct 20, 2013

    Thanks. ETA?

    Not to seem pushy but I think in conjunction with AfterLife, that command delay plugin is eating a lot of memory xD

  • _ForgeUser7181231 posted a comment Oct 21, 2013

    @aceyxx: Go

    I'm quite busy with school and other private projects, but I'll try and work on it this weekend. (If not, earlier this week.)

    I understand you want this finished quickly but this isn't a super high priority for me as it isn't a critical bug and there is a current fix for it. (Thanks for understanding. xD )

    Also, AfterLife is one of my plugins that I haven't really looked at for a while, so I want to release an update soon addressing all the new features and bug fixes. :)

  • _ForgeUser8861338 posted a comment Oct 24, 2013

    Thanks nxt :)

    Appreciate that effort you put in and the ETA :)

    Believe me, I'd rather know where it is on your priority list and hoping every other day if it's updated yet.

    For the time being I have a work around, it'll do for now ^_^


To post a comment, please login or register a new account.