[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. I'm finding with this plugin that even with no skill (NOVICE) I'm getting an average of 70% on double drops occurring. Also every time I right click with a tool it shows the charges, which aren't in use so that is quite annoying.

    I figure those are quick fixes, but they really do hinder the fun on my server. Unless maybe it's just my server being weird...

    And to the post below, yes I am the same. Though thats for private convo.
     
  3. Offline

    Zalastri

    Is your name from a Graal Online server called Valikorlia?
     
  4. Offline

    blkdragon13666

    having an error problem that doesnt let me right click


    21:10:21 [INFO] ***** [/127.0.0.1:49862] logged in with entity id 143 a
    t (-200.388265744195, 64.0, 108.57048849229766)
    21:10:24 [SEVERE] Could not pass event PLAYER_INTERACT to sRPG
    java.lang.NullPointerException
    at com.behindthemirrors.minecraft.sRPG.MessageParser.chargeDisplay(Messa
    geParser.java:20)
    at com.behindthemirrors.minecraft.sRPG.PlayerEventListener.onPlayerInter
    act(PlayerEventListener.java:34)
    at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.ja
    va:299)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:310)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:162)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:209)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:556)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >

    my bad sry for error spam forgot to redo dbname and etc after reformating my comp and putting it back on

    nvm that didnt fix it still have right click error >.>

    btw problem is only with tools placing blocks, torches, etc still works

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

    phoenixstar

    i configured the config.yml properly... but am getting this error

    [sRPG] Connection to MySQL failed. Check status of MySQL server
    2011-06-08 06:28:50 [INFO] [sRPG] SQLException: Communications link failure

    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    2011-06-08 06:28:50 [INFO] [sRPG] SQLState: 08S01
    2011-06-08 06:28:50 [INFO] [sRPG] VendorError: 0
    2011-06-08 06:28:50 [SEVERE] Error occurred while enabling sRPG v0.5alpha1 (Is it up to date?): null
    java.lang.NullPointerException
    at com.behindthemirrors.minecraft.sRPG.Database.Write(Database.java:102)
    at com.behindthemirrors.minecraft.sRPG.Database.createStructure(Database.java:43)
    at com.behindthemirrors.minecraft.sRPG.SRPG.onEnable(SRPG.java:82)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  6. Offline

    crckdns

    is your mysql server running on same machine as the MC server?
    have you been already using mysql successfully with another plugins and same mysql settings?
     
  7. Offline

    phoenixstar

    yes to all the above :) i use iconomy... as well as a few others i cant remember at the moment... all have the same settings

    these are both right out of my cfg files for iconomy and for srpg... i notice iconomy has a name, as well as hostname... maybe im gettin an issue here? also... i dont use a password... maybe thats part of the problem?? idk im new to mysql lol

    Settings:
    Name: 'minecraft'
    Table: 'iConomy'
    MySQL:
    Username: 'root'
    Password: ''
    Hostname: 'localhost'
    Port: 3306

    mySQL:
    enabled: true
    server: MySql
    port: 3306
    dbName: minecraft
    dbUser: root
    dbPass:
    table_prefix: srpg_


    ****EDIT: i tried putting doube " for the password and it works for the moment. it was having an issue with the dbpass field i think... i left it blank

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

    krinsdeath

    @phoenixstar: In the second file, "server" should be the host name of your MySQL DB. localhost, some hosted resource URL, etc, not "MySQL." Should fix it.

    In your case, "server: localhost" should work.

    Also, are you saying that your SQL user has no password and has root access? I recommend fixing that. :X
     
    crckdns likes this.
  9. Offline

    Shigan

    Hey, I'm Shigan, I'm from the KingdomsMC Admin team. I was the one who posted earlier about that problem and I have another question. Should the damage only work towards monsters or Players as well?

    I was testing the swords against players, not monsters.
     
  10. Offline

    phoenixstar

    Ya it works now thanks! :) i havent found a way to change the password an easy way otherwise i would lol... Any suggestions?
     
  11. Offline

    crckdns

    yeah, talk to your admin ;) what system is that? I mean, linux? what distri? or some windows box?
    you should _never_ ever run anything under root and without a password.. you are opening holes to the whole world^^ (even if root access from outside shouldn't work anyways with proper settings^^)

    As far as I can remember, zaph34r made and tried the damage modifications on monsters, at least I can't recall standing there for damage-tests as dummy XD ..or else he had help from another friend in the "team"

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

    krinsdeath

    All of the information that crckdns queried is pertinent, but assuming you have root access (which it appears that you do), enter the following SQL statement:

    SET PASSWORD FOR 'root'@'localhost' = PASSWORD('password');

    Then just update your configurations in minecraft to reflect the new password. the YML parser has trouble with unique characters, so try not to use anything that's UTF-8 or UNICODE specified. Standard ANSI characters should be fine, though. (!@#$%, etc)
     
  13. Offline

    TheKingdomsMC

    Ahh, thank you. Heres hoping there is a mod somewhere for that, as I do not like my players being able to kill unarmored players with two hits.

    Thank you for the response, I'll test with mobs.
     
  14. Offline

    Chohsan

    @zaph34r


    I'm glad you got to at least look over my suggestions, I tend to have quite a few too many ideas. I currently lack the know how to enable them myself.

    @TheKingdomsMC


    I think it would be a good idea to have this mod tweak the damage for player to player combat separately. Most RPGs I've played typically have different systems/modifiers for PvP damage and PvM. What say you?
     
  15. Offline

    TheKingdomsMC

    I agree, I have found a mod that does what I wish, but it seems to conflict with this mod. Seeing as that mod has much more customization and more obvious effects, I shall be using it until this mod implements some system for pvp damage modifiers.

    The mod I am speaking of is ModDamage
    (http://forums.bukkit.org/threads/me...e-in-minecraft-per-world-per-group-818.18043/)

    It allows me to edit all of the damage that is sent through the server. Works for pvp and pve. Even works for eve.
     
  16. Offline

    Rurikar22

    On our server we just use item dyes and bind the spells/abilities to Left and Right click of item dyes giving all sorts of spells.
     
  17. Offline

    inaniloquent

    [​IMG]
    get this error after saving the .jar to my plugins folder and reloading server.. what's up?
     
  18. Offline

    krinsdeath

    Do you have any other mods that utilize MySQL? That error occurs when the MySQL connection can't be established. In your case, you appear to not have the MySQL Connector installed.

    http://www.mysql.com/downloads/connector/j/
     
  19. Offline

    MG127

    cb 820-860
    Code:
    2011-06-11 14:28:31 [SEVERE] Could not pass event PLAYER_JOIN to sRPG
    java.lang.NullPointerException
        at com.behindthemirrors.minecraft.sRPG.Database.GetInt(Database.java:137)
        at com.behindthemirrors.minecraft.sRPG.PlayerDataManager.add(PlayerDataManager.java:24)
        at com.behindthemirrors.minecraft.sRPG.PlayerEventListener.onPlayerJoin(PlayerEventListener.java:16)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  20. Offline

    thepackett

    This looks epic o.o
    do the skills you gain at each level add up or do they replace each other?
    i noticed in the config for swordfighting that at apprentice you get 0.1 chance to parry where at master there is none listed
     
  21. Offline

    krinsdeath

    @MG127
    From a brief glance at the source code, I see nothing wrong, but this plugin was written for 818. zaph34r is moving at the moment so it's unlikely he'll be able to fix it, and with my limited perspective it's hard for me to guess what the problem is (as much as I'd love to).

    @thepackett
    The skill effects are cumulative.
     
  22. Offline

    Zalastax

    I'm new to MySQL and don't want to mess things up. I'm running the server with some friends and we host it together by sharing in Dropbox. First I need to know what I need to do with MySQL. Download the Community server and install that, right? What after? The MySQL server need to run all time when we use the server?

    Also the nether bug, is it just that the features of the Plugin doesn't work there?
     
  23. Offline

    Sleaker

    Sounds like you need to learn a bit about MySQL. You wont be able to use this plugin unless the server stays online on one computer, or you host a dedicated MySQL server that everyone has access to, it's just the nature of server software.
     
  24. Offline

    Zalastax

    Okay, right now we share the server and I thought that might be possible with MySQL too. We can make hard links to the proper directories so that the server don't know the difference.
     
  25. Offline

    Sleaker

    That's the issue, SQL isn't files. it's a client/server system of storing data. You need the software on 1 machine. the 'server' I'm referring to isn't passing your directory around. that's just the software you guys use to run the server. a 'server' is a physical box that is usually dedicated.
     
  26. Offline

    Zalastax

    But the server will save files and those files can be shared. It is always possible run programs on different computers if you share all files (sometimes parts of the registry too). It shouldn't be impossible to share the things that makes the MySQL Server Client work.
     
  27. Offline

    Sleaker

    ... Just lookup information on SQL, if you don't know anything about it or how to set it up there is nothing we can do to help you out with this. Yes you can share the configs for connecting to a dedi sql server, but if you have a dedi SQL server then why don't you have a dedi Minecraft server? If you can't setup a dedi SQL server, then you *can't* use this plugin by just dumping the server folder and running it on a different computer.
     
  28. Offline

    krinsdeath

    @Zalastax
    Sleaker is both right and wrong. It's likely that you could each install a separate copy of SQL (assuming you're hosting from your home computers), with identical user privileges and passwords for the connections, and maintain the server from "localhost." To "pass the server" between each other, you'd have to write a script to backup the SQL database when minecraft exits, and another script to enter the current DB values into the database when the server starts.

    This is a challenging request, but not impossible. You could also manually backup the DB through something like phpMyAdmin, and then pass the backup file between each other without a script (and manually enter the queries).

    However, if you want a shared offsite MySQL dedicated server, you'll need a host that doesn't change its IP (which may or may not cost money).

    Easiest way to help is to get a descriptive picture of your [entire] setup, how you WANT to do things, and go from there.
     
  29. Offline

    Sleaker

    @krinsdeath - I mostly said it is not possible because he seems to have little/no idea of how SQL even works and felt scripting would just complicate things :p not to mention mucking with backing up/importing the db files every single time they want to re-upload the server.
     
  30. Offline

    Zalastax

    I don't know exactly how it works but I assumed that when I turn my computer of or the server all things will be saved to some file on my computer that could be shared. I thought that the Plugin could refer to the SQL via localhost.
    If it is possible to share the MySQL server but scripting is needed I could handle that. I am a hobby programmer and I wrote some nasty code in batch and hta.

    If you would like to help me I would need to know what folders that need to be shared and what parameters need to be changed in settings to make it work.
     
  31. Offline

    krinsdeath

    @Zalastax
    MySQL is not a "program" that can be run normally. It's a server that utilizes a library of commands that input/output data. It requires a host process (known as a daemon). I can't really help you with "what directories need sharing" and "parameters that need changed" without knowing specifics of your setup, including OS/version, and how you intend to share the server.

    As an example, are you zipping the entire server directory and then using dropbox as a sort of cloud sync device, which you and your friends take turns using? What do you actually mean by "share"?

    As far as a batch file, I think you could write a backup script but you'd need 2 (one for Input and another for Output), and you couldn't call them from inside bukkit (to ensure they're executed in the proper order) unless you wrote a plugin in Java. Furthermore, if your friends have different OSes (32 bit, 64 bit, Linux or Mac) the scripts called would have to change based on install directories and executable permissions (Linux scripts would be .csh or .sh, 32/64 bit installations will have different directory trees, and Mac has complicated runtimes and uses .command files)

    More information is needed before detailed help can really be given. It might be more effective to message me than using this thread, as well.
     

Share This Page