• 0

    posted a message on Possibility to make another Player AI?
    Quote from LordSaad
    the point is, i got most of this working. Why do you still want your own complicated visible way when you can use my simple perfect fix? Unless you are working in a snapshot, then i understand. :|


    Yeah i made the world when i was in 1.7. You can check the debug mode images i posted earlier, hence it is why i have to have such a complicated redstone system. I like what you have done so far though. 1.8 is beyond the scope of what 1.7 had to offer, and I am trying to work on this with outdated tools.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    As far as the pathfinding/movement goes, manually moving the mob would take quite a bit of work. Simple teleportation won't work out in the event the mob teleports into a wall. You'd have to /testforblock(s) for a ledge in the direction you want to go, moving the entity one block at a time.

    Of course, this is with the thought of the entity being placed in a regular survival world. In which case, I personally would just use the normal mob movement and let the entity roam freely. The biggest issue involved with this is: mobs won't move if there's no player within 32 blocks of them. This can be overridden by having a specific mob ride another.


    Thats why i thought of putting the command block on Eddison. I think it can instantly provide the range he detects blocks and destroys them upon radius enter, and have wireless redstone do the rest in destroying the block. Only problem with that is how to connect redstone to the command block in the first place so yeah it kind of becomes invalidated that way.

    Another issue is loaded chunks. You could use the /defaultworldspawn command at the entities location, but all of the necessary command blocks would then be unloaded in the entity moves too far away. That, and the command is currently bugged out in which the loaded chunks won't actually move until you exit the world and re-enter. I'm sure you could use some extremely fancy chunk-loading methods to at least keep the mechanisms loaded, but that won't matter until the bug is fixed


    In Eddisons world that i originally made, i made such a device to counter this. Thanks to the information i found a couple months ago, the maker of the "iron foundry" (Iron golemn farm that produces 1700 iron per hour) disclosed that panda-something found out that chunks are loaded up when an entity moves through a portal. This also includes item entity's. I had set up a timer and command block that would spawn falling sand, and dispense into the nether portal reloading the chunk indefinitely.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    I think i may have actually came across the way to have Eddison destroy blocks.

    I have seen on multiple occasions that an entity can ride another entity, like a skeleton on a skeleton horse. Minecarts are also considered entity's and so are minecarts with command blocks. (see where this is going?)

    We can summon Eddison to have a minecart with a command block on his head so that we can directly access his actions, which could include testforblocks and destroying said blocks. May look silly though =P
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    http://www.minecraftforum.net/topic/1614797-command-block-specific-targets/

    This forum post by another user is experiencing the same problems however it seemed to be more player based, yet valid. The scoreboard system which i proposed earlier could assign an experience level, better yet, change the experience level to have the mob target. However it does not appear to be implemented into the game, so unfortunately can not be used.

    http://minecraft.gamepedia.com/Command_Block
    &
    http://minecraft.gamepedia.com/Item_%28entity%29

    These 2 links continue on the basis of an entity to target. It may be possible when the entity Eddison is in the radius of a block say iron or coal, has a command to break the block. The block will drop its corresponding entity to which Eddison could instead target and store it as if it were his own inventory. To me it seems simple, but may not be what we are going after. Could be a last resort if all else fails.

    Now i am just thinking but there may be some other possibilities. It could be possible that we could switch what eddison sees when he is near a mineral block. Instead of seeing ores, he "thinks" that its actually a player. This way he targets the block and moves towards it. As for mining it, he could simply set off a small explosion to destroy the block in front of him to grab its item but it may not help in our sake. I think there may be a way to do that with the command blocks.

    This is just some resources i found tonight. Hope they might be of use. It is also not a whole lot because we are beginning to venture to where no command users have gone before.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    Thats excellent to hear lord! Guess 1.8 is a worthy jump considering its another AI Overhaul and the fact i could not make eddison teleport away from me.

    The next big thing is for Eddison to target something new. For starters an iron ore block.

    Within the game of 1.7, i have seen certain mob attack patterns. For example, the wither targets all entities, but prefers the player entities over the NPCs. This means that somewhere within the game there is a way to change the thing that the mob targets. I think ill spend some time tonight looking for a way to do that. If i find anything ill post it here so everyone can see.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    Saad, i can email the world to you instead. You will just have to unpack it with winrar.

    AS for the project, ill have to operate on weekends. My sleep and working schedules are not in the greatest of conditions so i can not continue work on the project, especially including the fact that i am also going to wait for 1.8 to come out.

    If anyone else wants the world to continue working on this project, just shoot me a message hear with your email and ill send the world to you. Keep in mind you are going to need WinRAR. This is a file converter that is able to pack up files and send them places. It can also be changed as in the file type. MY world has been changed from RAR to ZIP, F.Y.I.

    Sorry for any inconvience.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    Yeah i realize a lot of people might be looking into this.

    I do not think i will be able to continue work for a couple of weeks due to school and other games (Recently got addicted to a steam game called rust) so yeah ill open a link to the world for others who would wish to continue the project. I will still check back on the forums in case anyone needs concept guidance or any other kind of help that i could look at in 1.7.4.

    Last thing is how would i even do the link? =P
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    i figured. As much as i would love to move to snapshots i do not even know where to begin with snapshots.

    Also i find it better to work with the stuff that's set in stone because you do not know if the @e feature will stick around. It may just be an idea that was thrown in. Even if i was to get the new snapshot, i would go straight to my long term survival world and try out the new features (Water trampolines anyone?).

    Regardless, the next step is going to be a big one and i needed a weekend to do it.

    Eddison is going to try to target an iron ore block.

    Now how he is going to do this i think if i can deal with the binary system of scoreboards i proposed earlier i might be able to have Eddison target the block which i can then add on any additional blocks. So from this i would need to understand Eddisons following commands. If i can do that, i can swap out what he is looking for and instead target a mineral when in a specific range. It is a big step but it is necessary.

    Tomorrow i will begin work on this feature of Eddison.

    PLEASE READ:

    If anyone wish's to continue the project in 1.8, be my guest. The attributes and features of Eddison have been posted in this forum and are up for grabs. Any additional assistance such as concepts or ideas as to where to proceed with Eddisons code, please ask. I may not be in 1.8 but I can assure you that I can assist with the codes understanding.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    Alright time time i did this report.

    So far i have been highly unsuccessful both in buffer range and damage. Strangely i am able to edit Eddisons pickaxe damage, but it is still somehow able to knock off a half heart each time. Even more of an odd, the code for his attribute modifiers for his pickaxe can not be "properly inputted" otherwise my game will crash. I do not have an image of these (Or so i believe) but the code seemed to only partially work with Eddisons summon when the brackets are misplaced.

    Even worse the @e command does not work which i think i might know why. Are you guys playing in a snapshot or are you using 1.7.4? Because if there was an @e command, it would show in the command blocks along with the @a, @p, and @r. This means the entity Eddison still can not be teleported away from so he does not have the ability to damage me.

    At this rate i will have to turn Eddison into a slime. The small thing does not move very fast but i did have some success in making him jump faster. He is still of course very slow, but i can change that with a follow range and a maximum speed increase. Heck i put him on 1000000000000000000000000000000000000000000000000000000000000000000000000, and i did not crash. Something will be done about how often he jumps, because then i can make him as fast as a skeleton. He may as well be unfortunately a slime and not a skeleton. If anyone is able to successfully show me here with images of Eddison ability to not kill the player, teleport about 3 blocks away from the player at all times when he is within that radius, i will revert back to Skeleton mob. Otherwise it will have to be a slime.

    The worst part about this test session was when i made the world Eddison was on crash to the point where the world disappeared from the selection of single player. I was somehow able to recreate my world again when i performed new world with the EXACT SAME CONSTRAINTS as first began it. So that included Exact name, exact gamemode, and exact world layout. Strangely though when i was nosing the files before i got my world back, Eddisons world did not delete, it was still there in the files, only reactivated by the new world. This could be something someone could look into because i get tired of having my long lasting survival world to have cheats turned on, and this might provide the loophole. (Look if your asking why i am doing this, its because i have played this world ever since 1.8 beta. It has come a long way too, and Ive pretty much done the impossible like building an experience farm that makes met level 30 in 5 minutes. Docms design of an enderfarm if anyone wants to know. So if i have done something impossible, it makes no difference if i can switch back and forth between creative and survival. It just gets tiring to open it to LAN first.)

    Project work will continue sometime later this week. If anyone is able to work around my problems and show me will be able to help IMMENSELY. I am sorry that this weekends work has been unsuccessful in leading the project further on its current path
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    well we are using a skeleton so...it can shoot arrows already?
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    Take a look for yourself.



    See anything wrong with it?
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    Quote from Skylinerw


    /tp @e[type=Skeleton,name=Eddison,c=1] @p


    The point of the parameters is to specify exactly which players/entities to affect and get exact results. The @e has to be used to target an entity specifically, as @a, @p, and @r only affect players. The entity selected has to match all parameters before it is affected.


    So this is the command i should put into a completely separate block in order for Eddison to teleport to me? Because it does not appear to be working
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    Jesus, i try spawning a slime with the current constraints and it crashs my browser. >.<

    and i just got a little setback... ill explain it in the report.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    alright ill try this before submitting the report, but i want to make sure i am reading this right.


    So you want me to have another command block teleport Eddison away? Also anyone thats doing @e should bear in mind that it means ALL ENTITIES (thats what it said when i last checked the wiki.) so there should be some sort of testfor for Eddison specifically as the ultimate test will have Eddison mine while there are still monsters around.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Possibility to make another Player AI?
    Quote from Skylinerw

    You will need to paste the exact command you're using. Both examples do work on a vanilla platform; if you're using any mods or Bukkit, you'll run into trouble using these features.


    The command for my Eddison so far is...

    /summon Skeleton -27 237 42 {Attributes:[{Name:generic.followRange,Base:100},{Name:generic.attackDamage,Base:0},Equipment:[{id:278},{},{},{},{id:298,tag:{display:{color:3361970}}}],CustomName:Eddison,PersistanceRequired:1,CustomNameVisible:1,Leashed:1,Leash:{UUIDLeast: ~ok just ignore this since im working on the leash part right now~,UUIDMOST ~ok just ignore this since im working on the leash part right now~}}
    Posted in: Redstone Discussion and Mechanisms
  • To post a comment, please .