This is a fantastic thing to share but there seems to be a problem when starting up the server. It works perfect for the client but for some odd reason when I turn on the server, it crashes.
This is a fantastic thing to share but there seems to be a problem when starting up the server. It works perfect for the client but for some odd reason when I turn on the server, it crashes.
That's because it is client side so you need to put it in your client proxy.
This is a fantastic thing to share but there seems to be a problem when starting up the server. It works perfect for the client but for some odd reason when I turn on the server, it crashes.
Huh, well I put addFileUrl in the ClientProxy class and it worked because I put the addFileUrl method in the Init method straight on before so I think the
Once Developer Capes is in your classpath, you are going to want to add this to your mod when it initialized.
*Note: Does not need to go into a ClientProxy method anymore. Can go anywhere, really.*
is not quite right when running servers but good for Client Side only
Fixed the multiplayer crash. Sorry for that everyone! Go download the latest version from GitHub. I also released a new version of the stand alone mod. We're up to version 2.1.
Hello, good job on this library, but i'm having a few problems. Whenever I load it up it will not show my cape.
Here is my Main Class: http://pastebin.com/7B0QFg2B
Here is my capes.txt a well: http://pastebin.com/dYpZTZkA
Both the cape and .txt are uploaded through Dropbox. Any ideas on what I am doing wrong?
This is using Forge 9.1.11.953 and running with Eclipse IDE.
No errors, and this is after re-obfuscation.
I am 100% sure that I have set-up your library correctly. But, i'm not too sure about the main classes section and the .txt and everything.
Thanks, momnop.
Hello, good job on this library, but i'm having a few problems. Whenever I load it up it will not show my cape.
Here is my Main Class: http://pastebin.com/7B0QFg2B
Here is my capes.txt a well: http://pastebin.com/dYpZTZkA
Both the cape and .txt are uploaded through Dropbox. Any ideas on what I am doing wrong?
This is using Forge 9.1.11.953 and running with Eclipse IDE.
No errors, and this is after re-obfuscation.
I am 100% sure that I have set-up your library correctly. But, i'm not too sure about the main classes section and the .txt and everything.
Thanks, momnop.
Looks like you don't have the correct txt and cape image links. Test them in your browser. They go to a site that wraps the files with a Dropbox wrapper. You need a direct link to the media. Right click the file, in the public folder, and click "Copy Public Link" or go to that site you had before, right click Download->Direct Download and copy the link. Paste it to whatever and trim off everything after the '?dl=1' part. Then use that URL in the txt and code.
So I'm thinking about the 1.7 update for DeveloperCapes. I think I'm going to change the version system to a Major.Minor.Revision.Build like Forge does. On top of that, DeveloperCapes now uses Reflection to access the fields it needs to, so we can package this as a Jar and put it on a Maven repository. Forge changed and now you pretty much have to use Gradle. (Which is a change for the better, IMO.) So in your build.gradle file you'll add DeveloperCapes as a dependency.
On another note, with this upcoming major release, I'm thinking of moving to a JSON based cape config system. An example can be found here. What I want to know is how other people feel about that change and any suggestions you may have.
Ya you didn't change the fields in AbstractClientPlayer to public.
Well, I did that in Eclipse, but once I recompiled it glitched out as I started it up on my non-dev MC, thus I get that error.
Oddly enough it works fine in Dev. I just can't see my cape because of the "PlayerXX" stuff on the Eclipse Dev.
Once I did it on actual MC through Recompiling and Reobf. it worked fine until I loaded up my world on there...
Anyways. I didn't include the class file, as you said. I feel completely fine about you switching over to .JSON
it is a lot more User Friendly in a lot of ways. I hope you are able to get a 1.7 update out sometime, although I can wait.
I don't want to give a timeframe for the 1.7 update but HOPEFULLY within the next week or two. And grab the latest version, we fixed some stuff. See if it helps
Okay ppl, DevCapes 1.7 was released for 1.7 a few days ago. Sorry I haven't updated the forum post til now. We've switched to JSON for our capes file, and there have been major API changes. So see the main post for instructions on how to implement DevCapes now. I'd like to get a Maven repo for those of you who use Gradle, but that will be a bit interesting because we need the deobfuscated version for dev and the obfuscated version to go in the jar. Therefore, no Maven repo yet.
That's because it is client side so you need to put it in your client proxy.
And my mod uses Developer Capes now http://www.minecraftforum.net/topic/1866697-162forge-kingdom-keys-mod-v042-now-with-3-new-armours-and-keyblades/#entry23084096
教えて教えてよその仕組みを。
Only if you're using a version for MC 1.5.2 and below. It shouldn't be a problem now, I think I tested with a server but I can't remember..
is not quite right when running servers but good for Client Side only
This is the error report I get
Please look at the crash report
And my code.
Staff Package (Contains all the DevCapes files)
Main Mod Class (Look at Line 108)
Subscribe to my YouTube Channel
Follow me on Twitter
Yes, it should. Try it!
Maybe I should add the explanation to the documentation?
Cool! Glad it was easy to use! I should add a "In use by" part to the main post.
Here is my Main Class: http://pastebin.com/7B0QFg2B
Here is my capes.txt a well: http://pastebin.com/dYpZTZkA
Both the cape and .txt are uploaded through Dropbox. Any ideas on what I am doing wrong?
This is using Forge 9.1.11.953 and running with Eclipse IDE.
No errors, and this is after re-obfuscation.
I am 100% sure that I have set-up your library correctly. But, i'm not too sure about the main classes section and the .txt and everything.
Thanks, momnop.
Edit: Here is my cape, completely forgot: https://www.dropbox.com/s/w2e4zt7swuzgske/testcape.png
-TBA-
Looks like you don't have the correct txt and cape image links. Test them in your browser. They go to a site that wraps the files with a Dropbox wrapper. You need a direct link to the media. Right click the file, in the public folder, and click "Copy Public Link" or go to that site you had before, right click Download->Direct Download and copy the link. Paste it to whatever and trim off everything after the '?dl=1' part. Then use that URL in the txt and code.
-TBA-
Any ideas on why?
-TBA-
Ya you didn't change the fields in AbstractClientPlayer to public.
On another note, with this upcoming major release, I'm thinking of moving to a JSON based cape config system. An example can be found here. What I want to know is how other people feel about that change and any suggestions you may have.
Well, I did that in Eclipse, but once I recompiled it glitched out as I started it up on my non-dev MC, thus I get that error.
Oddly enough it works fine in Dev. I just can't see my cape because of the "PlayerXX" stuff on the Eclipse Dev.
Once I did it on actual MC through Recompiling and Reobf. it worked fine until I loaded up my world on there...
Anyways. I didn't include the class file, as you said. I feel completely fine about you switching over to .JSON
it is a lot more User Friendly in a lot of ways. I hope you are able to get a 1.7 update out sometime, although I can wait.
-TBA-
Can't wait for everybody testing out the pre-release of GustoCraft and the other Dev's to see their awesome capes in the morning. Once again, Thanks!
-TBA-
Thanks for your support.
-Jadar