[RPG/MECH] sRPG v0.6 Preview - completely customizable RPG and Combat system [1185]

Discussion in 'Inactive/Unsupported Plugins' started by zaph34r, May 30, 2011.

  1. Offline

    zaph34r

    sRPG
    (yet )a(nother) very fully featured RPG plugin​

    This plugin is now moved to devbukkit, i will leave this thread as is, and may also update it, but for now the devbukkit page contains the most recent information. Discussion may continue here or on devbukkit, i will check both.


    Version: v0.6 Preview

    Note: Only use the current version on a live server if you can handle bugs. While the most severe are probably dealt with, there are still lots of smaller ones. Content also is not yet in a finished and complete state. Configuration files and database tables may still change, so you may have to drop those for a new version, losing some data.

    Short Summary:
    This plugin seeks to combine a rich suite of RPG-like mechanics (xp, skills, active abilities, ...) with a complete rebalance of the combat system (changed monster hp, damage, weapon damage, new mechanics,...) and on top of that make the whole package completely configurable for server admins (and when i say completely, i mean it)

    DOWNLOAD v0.6 Preview


    Requirements: SQLite or MySQL

    Additional downloads:
    Changelog:


    Version 0.6 Preview
    • initial release of the job system rewrite
    • basically everything changed, refer to the devbukkit page for more information

    Version 0.5 alpha 3
    • giant and ghast added to advanced config, have correct hp now
    • arrow damage fixed
    • ability to override tool damage for use with some other plugin added to advanced config
    • creepers deal damage according to config (value set in config is maximum damage)
    • plugin disables itself if it cannot establish initial database connection
    • groundwork for future additions
    Version 0.5 alpha 2

    • integrated quickfixes by MG127
    • added customizable block xp groups, you are now not limited to "common, uncommon, rare" but can create any number of groups
    • added database update routine for future changes in the database structure
    • major changes in the advanced configuration as part of planned additions, delete yours and let the plugin recreate it, or adjust by hand (defaults are on github for reference)
    • slimes and wolves use correct hp/damage/xp values now depending on size (slimes) and taming status (wolves)
    Version 0.5 alpha 1

    • Initial alpha release
    And finally, some thanks to


    nossr50, for the inspiration to do this, and the source to mcMMO that really helped me getting started, not to mention that his plugin is great
    sk89q, whose source of WorldGuard also was very enlightening, if sometimes slightly over my head
    various other plugin authors that made their stuff available, really a boon for beginners when you can look at how other people did some things
     
    GardenGnomer likes this.
  2. Offline

    HeadlessWarrior

    Быстрее!!!!!!!!!!!

    (Fasteeeeeeer!!!!!!!!)

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

    zaph34r

    can you tell me what you did to get that error, so i can reproduce it?
     
  4. Offline

    NightShade115

    I love the way the mod sounds and all, and I feel kinda stupid for asking this. . .but. . .

    how exactly do I see what class i am, determine exp, and do abilities and stuff?

    x.x
     
  5. Offline

    zaph34r

    that question is not stupid at all, seeing as at the moment there's hardly any documentation for the new features :D

    but you can find most of what you asked on the devbukkit preview page.
    the most important are "/srpg info" to watch your current class progress and "/srpg change to [somejob]" to change your job (you can list all available ones with "/srpg jobs"), as well as rightclick with the correct tool to prepare abilities and then leftclick to activate them (provided you have any). Which may be a bit of trial and error since for now there is no list of which abilities can be used with which tools :)

    I will make a complete list of all abilities and skills and what they do later today if i can find the time, as well as try to eliminate HeadlessWarrior's weird bug which i managed to reproduce, but not consistently, so it's got me a bit stumped on what actually causes it.

    A overview of all jobs in the preview can now be found here:
    http://dev.bukkit.org/server-mods/srpg/pages/preview/jobs/
    A writeup of skills and abilities going into more detail will follow later today or tomorrow.

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

    Raycrash

    Code:
    2:57:25 [INFO] [sRPG] loading world data
    2:57:26 [INFO] [sRPG] loaded 40 Skills
    2:57:26 [INFO] [sRPG] loaded 26 Abilities
    2:57:26 [INFO] [sRPG] Job Sniper tried to load active concen
     available
    2:57:26 [INFO] [sRPG] loaded 6 Jobs
    2:57:26 [INFO] [sRPG] Successfully loaded config
    2:57:26 [INFO] [sRPG] Connection success
    2:57:26 [INFO] [sRPG][I][B] sRPG v0.5alpha4 [/B][/I]has been enabled.
    Can't change jobs aswell.
    and srpg jobs only gives me the "standart commands"

    On /srpg status
    "Error in localization file, contact your admin about message 'xp'"

    Do I need some permission system enabled or something ? (testing just locally without many plugins enabled :D)


    Getting this on hitting a pig
    Show Spoiler
    13:00:12 [SCHWERWIEGEND] Could not pass event ENTITY_DAMAGE to sRPG
    java.lang.NullPointerException
    at com.behindthemirrors.minecraft.sRPG.dataStructures.ProfileNPC.getStat
    (ProfileNPC.java:106)
    at com.behindthemirrors.minecraft.sRPG.dataStructures.ProfileNPC.getStat
    (ProfileNPC.java:85)
    at com.behindthemirrors.minecraft.sRPG.CombatInstance.resolve(CombatInst
    ance.java:87)
    at com.behindthemirrors.minecraft.sRPG.listeners.DamageEventListener.onE
    ntityDamage(DamageEventListener.java:138)
    at org.bukkit.plugin.java.JavaPluginLoader$61.execute(JavaPluginLoader.j
    ava:670)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:710)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:915)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :500)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    13:00:12 [SCHWERWIEGEND] Could not pass event ENTITY_DAMAGE to sRPG
    java.lang.NullPointerException
    at com.behindthemirrors.minecraft.sRPG.dataStructures.ProfileNPC.getStat
    (ProfileNPC.java:106)
    at com.behindthemirrors.minecraft.sRPG.dataStructures.ProfileNPC.getStat
    (ProfileNPC.java:85)
    at com.behindthemirrors.minecraft.sRPG.CombatInstance.resolve(CombatInst
    ance.java:87)
    at com.behindthemirrors.minecraft.sRPG.listeners.DamageEventListener.onE
    ntityDamage(DamageEventListener.java:138)
    at org.bukkit.plugin.java.JavaPluginLoader$61.execute(JavaPluginLoader.j
    ava:670)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:710)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:915)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :500)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    13:00:12 [SCHWERWIEGEND] Could not pass event ENTITY_DAMAGE to sRPG
    java.lang.NullPointerException
    at com.behindthemirrors.minecraft.sRPG.dataStructures.ProfileNPC.getStat
    (ProfileNPC.java:106)
    at com.behindthemirrors.minecraft.sRPG.dataStructures.ProfileNPC.getStat
    (ProfileNPC.java:85)
    at com.behindthemirrors.minecraft.sRPG.CombatInstance.resolve(CombatInst
    ance.java:87)
    at com.behindthemirrors.minecraft.sRPG.listeners.DamageEventListener.onE
    ntityDamage(DamageEventListener.java:138)
    at org.bukkit.plugin.java.JavaPluginLoader$61.execute(JavaPluginLoader.j
    ava:670)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:710)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:915)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :500)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    13:00:12 [SCHWERWIEGEND] Could not pass event ENTITY_DAMAGE to sRPG
    java.lang.NullPointerException
    at com.behindthemirrors.minecraft.sRPG.dataStructures.ProfileNPC.getStat
    (ProfileNPC.java:106)
    at com.behindthemirrors.minecraft.sRPG.dataStructures.ProfileNPC.getStat
    (ProfileNPC.java:85)
    at com.behindthemirrors.minecraft.sRPG.CombatInstance.resolve(CombatInst
    ance.java:87)
    at com.behindthemirrors.minecraft.sRPG.listeners.DamageEventListener.onE
    ntityDamage(DamageEventListener.java:138)
    at org.bukkit.plugin.java.JavaPluginLoader$61.execute(JavaPluginLoader.j
    ava:670)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:710)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:915)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :500)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)



    When trying to eat raw porkchop
    Show Spoiler
    13:07:59 [SCHWERWIEGEND] Could not pass event PLAYER_INTERACT to sRPG
    java.lang.NullPointerException
    at com.behindthemirrors.minecraft.sRPG.listeners.PlayerEventListener.onP
    layerInteract(PlayerEventListener.java:90)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j
    ava:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:259)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :500)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >
     
  7. Offline

    shell64

    Is it possible to add the ability to add new classe of mob and choose the skin, the amount of life point, and the giving domage, what they drop ect... to make some zone of mob for the leveling like in a basic rpg game.

    by using spout ofcourse.

    Thanks
     
  8. Offline

    zaph34r

    @Raycrash
    could you try redownloading the .jar (i updated the "default commands" entry in the plugins.yml, forgot that before, "srpg status" for example isnt a valid command anymore, only "srpg stats") and see if it still doesn't work? I also would like to see the startup log part where it creates the default config files after you delete your complete /plugins/srpg folder.
    I also could not reproduce the error while eating pork :confused: any additional information ?

    Additionally, the download link is updated with a hotfix that should address the problem HeadlessWarrior and Raycrash had while hitting stuff.

    @shell64
    you can already customize the mobs and change their hp and damage, as well as their drops via traits/skills. Spawning different mobtypes in different zones is not possible (yet). Changing the monster skin is also not yet implemented, although if spout(craft) does support that already (to have multiple different skins for the same kind of monster) i will definitely use that.
     
  9. Offline

    Raycrash

    Code:
    14:04:21 [INFO] [sRPG] Created basic configuration
    14:04:21 [INFO] [sRPG] Created advanced configuration
    14:04:21 [INFO] [sRPG] loading world data
    14:04:21 [INFO] [sRPG] Created 'default' difficulty settings
    14:04:21 [INFO] [sRPG] Created 'default' mob settings
    14:04:21 [INFO] [sRPG] Created 'original' difficulty settings
    14:04:21 [INFO] [sRPG] Created 'original' mob settings
    14:04:21 [INFO] [sRPG] Error loading locale 'EN', initializing from EN
    14:04:21 [INFO] [sRPG] Created 'EN' locale settings
    14:04:21 [INFO] [sRPG] Created class configuration
    14:04:21 [INFO] [sRPG] Created skill definitions
    14:04:21 [INFO] [sRPG] Created ability definitions
    14:04:21 [INFO] [sRPG] Created job definitions
    14:04:21 [INFO] [sRPG] loaded 40 Skills
    14:04:21 [INFO] [sRPG] loaded 26 Abilities
    14:04:21 [INFO] [sRPG] loaded 6 Jobs
    14:04:21 [INFO] [sRPG] Successfully loaded config
    14:04:21 [INFO] [sRPG] Connection success
    14:04:21 [INFO] [sRPG] sRPG v0.5alpha4 has been enabled.
     
  10. Offline

    Kiste

    Maybe you could add a manabar using "Spout".
     
  11. Offline

    zaph34r

    @Raycrash
    from the looks of it, it should work fine, i'm not quite sure why you get the errors, or why the commands don't work properly. I'll test it on another computer with a fresh server some time soon, maybe that will shed some light on it.

    @Kiste
    I'll do that once i see a need for mana ;) for now i'm quite content with the charge system and the charge "bar"
     
  12. Offline

    Raycrash

    No it is working now, I used the new preview build.
    But you wanted me to post it so I did :D

    Btw it still says that it is version 5 ;)
     
  13. Offline

    zaph34r

    yeah i will update the displayed version for 0.6 proper :)

    Everything working like it should so far?
     
  14. Offline

    Raycrash

    Well I don't know how to use skills.
    Also is there a xp command ?
     
  15. Offline

    zaph34r

    skills are passive, so they are used automatically. Theres a bit more information in the overview page i linked a few posts up.
    From the server console you can give a player xp via "srpg xp [playername] [amount]", works also with negative amounts to revert errors.
     
  16. Offline

    Raycrash

    Code:
    20:05:14 [WARNUNG] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'srpg
    ' in plugin sRPG v0.5alpha4
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    3)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    53)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    49)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
            at com.behindthemirrors.minecraft.sRPG.listeners.CommandListener.onComma
    nd(CommandListener.java:296)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
            ... 7 more
    >
    Ok I actually meant active abilitys like backstab ?
     
  17. Offline

    zaph34r

    Active abilities are kind of like mcmmo, rightclick to prepare, leftclick when prepared to activate.
    Only thing to keep in mind is that not all abilities work with all tools. Backstab for example should work with swords, axes, pickaxes and hoes. you also need to attack from behind, or it will just do normal damage. So equip some sword, get behind your target, rightclick to prepare, leftclick to attack/activate, do lots of damage.
     
  18. Offline

    zaph34r

  19. Offline

    LennonLenford

    You said completely, but would I be able to configure this so for example:

    You are now Level 5 in mining so you can now mine gold.
    You are now Level 10 in smithing so you can now craft an iron sword.

    I don't want any skills, I just want to add levels to the current vanilla version of the game.
     
  20. Offline

    zaph34r

    @LennonLenford
    Restrictions like these are under consideration, but not yet possible. But if you don't want skills or active abilities, but only some level-based restrictions, i think this plugin will be a bit overkill to be honest.

    On another note, due to RL matters as well as the current pace of additions to vanilla MC, the project is not really on a hiatus, but a full release will be put on hold and the plugin will stay in testing a while longer.
     
  21. Offline

    RugRats

    When is the next update
     
  22. Offline

    LennonLenford

    This wouldn't be overkill in my opinion. This not only stays faithful to vanilla minecraft as much as possible, but it implements jobs naturally. People, in a RP server for example, would have to purchase goods from people due to the fact they can't make it themselves(don't want to train the skill).
     
  23. Offline

    zaph34r

    What i meant was that using srpg for only that kind of restrictions would be overkill :) The idea itself is not, which is why it will be implemented later on in some form.
     
  24. Offline

    Raycrash

    Hey there you still alive ?
     
  25. Offline

    Meteo

    Ikr, i posted something on requests if anyone could update your plugin
     

Share This Page