[INACTIVE][MECH] GoKart v0.2.4 - puts an engine into your minecart [1.2.4-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by MrChick, Apr 3, 2011.

  1. Offline

    MrChick

    GoKart - turns your minecart into a go-kart:
    Version: v0.2.4

    This very basic plugin puts an engine into your minecart so you won't need boosters anymore.
    Now supporting Permissions!

    I'm quite busy right now so any updates (still not sure if there will be any) could actually take a while. Haven't had the time to test with a RB > 677 but it has been reported to be working up to the current RB 766.

    Updated for 1.2.4 R0.1, don't know how long it'll last, no functions added, just adapted to the api changes. Can't put the source on github atm, throw me a line and i'll upload the source as zip if needed.

    Usage:
    Of course it only works if you're in a minecart
    • /gokart or /gk - starts the engine and off you go
    • /stopkart or /sk - stops the engine and halts the minecart instantly

    Features:
    • accelerates your minecart and keeps it going
    • yes, that was all it does.

    Download:
    Most recent version: GoKart.jar
    All versions at my site

    Source:
    GoKart @ github

    Installation:
    Put the GoKart.jar into your plugins directory.
    The following Permissions nodes are available:
    • gokart.use - allows the player to use GoKart

    ToDo:
    • configuration and translation support
    • let the cart run over mobs and players instead of crashing into them
    • rightclick-control for start and stop (thx to @vildaberper )
    • announce the commands to the player when he enters a minecart (thx to @Rhuen )
    • enable the gokart to work as a locomotive for other carts (for easier transport etc) (also thx to @Rhuen )

    Changelog:
    Complete changelog can be found in the CHANGELOG file at GitHub

    Version 0.2.4, Date: 2012-03-25
    Tested with: 1.2.4 R0.1
    - worked for almost a full year without even touching it
    - sadly it stopped working
    - now it's working again. BOOYAH!
    -
    - Sadly I can't put the source up on GitHub atm... if you want it just let me know and I'll up an source zip


    Version 0.2.3, Date: 2011-04-08
    Tested with: 670
    • added the stuff to keep the gokart list clean and shiny, pushed to RB670

    Version 0.2.2, Date: 2011-04-05
    Tested with: 617
    • fixed Permissions support (commands weren't working with missing Permissions)

    Version 0.2 and 0.2.1, Date: 2011-04-05
    Tested with: 617 and 640
    • fixed the error that occured when crashing into boats. works like a charm now
     
    AS1LV3RN1NJA likes this.
  2. Offline

    MrChick

    I'm sorry but I still don't fully understand :/
    You're using another plugin that puts a minecart in your position when you pass it?
     
  3. Offline

    blacknedvertigo

    ...When i pass the speed boster the engine go off... and i need the speed boster
     
  4. Offline

    Rhuen

    Ok, it works...but one big mistake i see.
    Place a boat to near at the ground and push them to the water, you become a lot of errors...i mean this position:
    [​IMG]
    This scenario happend a lot...and when i push that boat it comes:

    Code:
    2011-04-05 00:32:38 [SEVERE] Could not pass event VEHICLE_COLLISION_ENTITY to Bullit
    java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftBoat cannot be cast to org.bukkit.entity.Minecart
        at de.mrchick.bukkit.gokart.GoKart.isGoKart(GoKart.java:34)
        at de.mrchick.bukkit.gokart.GoKartVehicleListener.onVehicleEntityCollision(GoKartVehicleListener.java:30)
        at org.bukkit.plugin.java.JavaPluginLoader$48.execute(JavaPluginLoader.java:461)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.EntityBoat.h(EntityBoat.java:39)
        at net.minecraft.server.EntityLiving.r(EntityLiving.java:680)
        at net.minecraft.server.EntityHuman.r(EntityHuman.java:163)
        at net.minecraft.server.EntityPlayer.r(EntityPlayer.java:199)
        at net.minecraft.server.EntityLiving.f_(EntityLiving.java:231)
        at net.minecraft.server.EntityHuman.f_(EntityHuman.java:84)
        at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:156)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:230)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    This comes 3 or 4 times again.

    @
    blacknedvertigo


    for what did you need the speedboster when you have the engine from gokart?! hm.
     
  5. Offline

    MrChick

    Ah now I get it. Yeah that's pretty much how it's intended to be. But what do you need the booster for when you have GoKart?

    Oh man this is starting to get rediculous... thanks Rhuen. I'll fix that in a minute (I hope)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  6. Offline

    blacknedvertigo

    Yeah, but its not a speed boster... i can explain :S
    Eg: I have a place with 1 cart, and i go in this cart so this place have now 0 carts... when i pass in a "speed boster"(place) 1 cart go to Place to have more 1 cart...
     
  7. Offline

    Rhuen

    no problem :D for that i testing your plugin in all varriations that i think...so you have (i think?) a clean code and no further error for coming updates.

    @blacknedvertigo
    which plugin did you use for the speedboost?! i will check it myself that i understand too what you mean.
     
  8. Offline

    blacknedvertigo

    i dont use plugins for speedboster...
    Its not a speed boster its more a "reload cart"

    Text yourselft with speed boster put engine on and the motor go down

    I use this speed boster types



    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  9. Offline

    MrChick

    @Rhuen v0.2.1 is up... I couldn't actually reproduce the error, but I think I fixed it.
    @blacknedvertigo I don't understand what exactly you are doing there. Could you please explain exactly what you're doing?
     
  10. Offline

    Rhuen

    I check the new version and the theory from blacknedvertigo i think i know what he mean.
     
  11. Offline

    MrChick

    @Rhuen you do? I watched the video and all I could see was a plain old booster, nothing else.
     
  12. Offline

    Rhuen

    I think so i test it one moment :) and your plugin is working..no errors...all good nice work :)...so one moment.

    So @blacknedvertigo
    you cannot use the "normal boost"....when the booster try the minecart in that you seat to boost it is a colision and your engine stop and you "drive" in the other way...you dont need the "normal boost" with the gokart plugin.

    Here it is, the szenario:

    [​IMG]
    When you seat in this minecart in the front with "working engine" it comes a collision with the cart on the right...then stop the engine automatically. So fact is, you dont need the booster with the gokart plugin, has no function...the gokart plugin is the same how the boost...only that you can stop herself in the gokart plugin and no stop alone then the "normal boost"

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  13. Offline

    MrChick

    @Rhuen so I switched the most recent GoKart.jar to my server as well. I think it was you who asked about this updater plugin thingy, wasn't it? Can't find the post right now :confused:
     
  14. Offline

    Rhuen

  15. Offline

    MrChick

    Will do. thanks.
     
  16. Offline

    Vietadow

    I just ran out of gas unexpectingly it said there was an accident and then the engine turned off is this normal?
     
  17. Offline

    MrChick

    Uhm... did you crash into something? Pig? Cow? Sheep? Another player? Another minecart or a boat or something? Then yes, atm that's normal.
     
  18. Offline

    Vietadow

    o i found the problem a miencart ghosted under the track from a previous crash i dug it out and now its fine
     
  19. Offline

    MrChick

    ah ok :)
     
  20. Offline

    blacknedvertigo

  21. Offline

    Rhuen

    227mb ? lol :D mhhh ok i start the download without megaupload account :0

    edit:
    the download need ~30-40minutes then i say anything ;).
     
  22. Offline

    blacknedvertigo

    sorry but fraps save in 2gb and 70 because my 1980x....
    and i put in windows movie maker and its nao 272 mb ... do you want to i put in youtube?:S ... it takes a 5h +/-
     
  23. Offline

    Rhuen

    Its ok :D i download it...10 minutes remaining.

    Ok...is this a online server? or local?
    That is normal, when the cart drive and the rails end, he "drive" 1 or 2 blocks more and it is on a other rail.
    And the engine stop while collision you need 1 block "air" between a rail circuit.
    Rail Block Rail
    Rail Block Rail
    Rail Block Rail

    but then the boost is not working.

    Btw give me your ingame name, then i set you on the whitelist on my server and i show you what you do...when you like.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  24. Offline

    MrChick

    Rhuen: would the video help me understand what he wants? Cause I still don't get it. What do you need boosters for with gokart?
     
  25. Offline

    Rhuen

    I think it helps nothing :D i see the problem but it is not a gokart problem, i think.
    And i dont see any "ground's" to use this boost then the gokart plugin.

    blacknedvertigo when you have online server, pn ip then i can connect and i see it myself? !
     
  26. Offline

    MrChick

    so plain old "i want to use boosters even though i don't need them. so your plugin is broken"?
     
  27. Offline

    Rhuen

    So here facts:
    [​IMG]
    When you drive the left part...no crash...the engine is working...when you drive the right part and engine is on...it comes collision and engine goes off...that is normal at minecraft that this a collision....this "bug?"! make the normal boost possible...but you dont need a "boost road" with GoKart Plugin.
     
  28. Offline

    blacknedvertigo

    For enter in my server is necessary tunngle for now...
     
  29. Offline

    Rhuen

    Look at my picture...that is your problem :)!

    Or did you mean anything else?! @blacknedvertigo

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  30. Offline

    MrChick

    @blacknedvertigo Finally the video finished and I watched it. I'd suggest you'll take a look at the minecart dispenser of minecartmania so you won't have to use such an exotic setup. I'm sorry but I won't change my plugin just so you could use some strange dispenser system.
     
  31. Offline

    blacknedvertigo

    loool ok tks by all... :D
     

Share This Page