I might be missing something simple, but I'm still learning a few things: I've never used hashMap before but I do know how to use it. That aside, the problem I am having is, I've tracked down how skins are downloaded and loaded into the buffer (more or less). Now it seems like the key used to retrieve the skins is particularly the skins URL. (http://s3.amazonaws.com/MinecraftSkins/s.png, s = username under this certain circumstance) Now what I've seen is the texture is bound, and that's that. But, what I am having trouble with is reapplying a different skin that has been put into the hashMap onto a character.
I can't do a simple Entity texture redefine, because thats a string and I can't grab it from the buffer like that. All the local textures can be retrieved with "/mob/dragon.png", etc just fine with that.
Like I said, I'm new to java buffers, hashMap, so forgive me if this sounds easy.
Basically, anyone know a quick way to pull the .image from the hashMap and re-apply.
In this scenario, I wrote a function that is called given that certain circumstances are met. But just can't finish it. I'm working on an interesting single player mod. Any help is appreciated, thank you.
- Registered Member
Member for 9 years, 6 months, and 16 days
Last active Sat, Jan, 28 2012 02:42:07
- 0 Followers
- 13 Total Posts
- 0 Thanks
Jan 12, 2012I've been working on a small series of simple mods to make the characters do "actions" that normal people would do. Such as blink, looks like he's holding his breath underwater, look around when moving, facial expressions when hurt, etc.Posted in: Mods Discussion
I haven't done much work yet but I am going to be animating the skins for the mobs as well (for being hurt, dead, etc).
Now I've also put some work into animating skins all together, especially in SMP. I've already designed custom software to handle skins which I will be uploading here in a day or two.
I'm just curious if anyone had any suggestions or if this is common interest in this?
Here's a simple video I posted in another forum for example, of just the blinking:
Sep 11, 2011Posted in: Server Support and AdministrationQuote from MasterDover
To the best of my knowledge: NO.
and for the near future, no, because that would mean that the other people connecting to the server would have to have that mobs info, which there is no way of doing, short of forcing your own minecraft.jar onto them, which is considered illegal due to distribution of minecraft.jar
Oh yes, I understand that. Distributing class files isn't though, or am I wrong?
Sep 10, 2011I just replied to an ancient post about one of my other projects and figured I would divulge the details of the two seperately, as to not create confusion.Posted in: Server Support and Administration
But I'll ask really quickly, has anyone been able to correctly add new Mobs to the multiplayer yet?
I stopped playing a few months ago and am probably about to re-enter the minecraft world, on the verge of 1.8 and my friends reminded me of old Mob project. I had added new mob(s) to the SMP, albeit with a bit of a twist and some choking. But they work.
I browsed a bit on the current stuff and didn't see much on this, can anyone update me if there is?
Sep 10, 2011Posted in: Server Support and AdministrationQuote from Nuin
Please tell me you are still working on this. This would be a VERY significant enhancement to Fullwall's "Citizens" plugin for Bukkit. Check the post above this for a link!
Now I know it's been months, and actually I finished this a few days after posting this. Fully working. Now there is some editing needed on the client side, which ATM is impossible to get around due to the design of the game. But I've finished my program months back to make it usable to all extents of skinning. It was only meant as a server-side version but can be used as a local version as well.
It will still download through to the minecraft server to retrieve skins not "pre-set" by the program.
Like I said, I finished this months ago and actually stopped playing the game about two weeks later, lol.
So if there is still possibly interest in this, let me know. I was working on making the client-side files easily editable with the program and/or adding menus to change server redirection in game.
It's 95% done (for the features I want), but 100% usable (minus a bug or two).
Apr 12, 2011rathfon posted a message on [1.6.2] 95% Completed! Blackmodule's Minecraft Suite - New Screens!Meaning, there wouldnt be much of an install - maybe dropping one class file into their current .jar and then connecting which in turn downloads your .jar's from your server - like as you would see in a minecraft .jar that needs updating.Posted in: Minecraft Mods
Apr 12, 2011rathfon posted a message on [1.6.2] 95% Completed! Blackmodule's Minecraft Suite - New Screens!I'll give you brownie points if you figured out how to have a client just download any new changes you make to the code. I have :smile.gif: Just don't know if I want to release it or my other programs/mods.Posted in: Minecraft Mods
Apr 5, 2011I don't know if it's been talked about, I did a little searching and didn't come up with much. But, and if I'm in the wrong or just sound stupid let me know, I have a way to define skins for everyone on server-side.Posted in: Server Support and Administration
While this isnt much of anything for the normal user, people with NPCs on servers that they are trying to place for a certain purpose (ex: A priest) but have to find a normal user with the priest skin and spawn them with that name. People that would like to have a "priest" or a "doctor" or a "store clerk" in their server, with a defined skin, I have a good way.
I had to write a program for it, so it is server-side at the moment. I am working on a way to define (client-side) a way to define individual skins, have them pull from the normal server, or have them pull from a set on a server elsewhere.
Like I said, if this has been talked about or done before, just let me know and I'll drop it.
If not, I will continue to work on this, as I have it working already on my server as illustrated here http://img830.imageshack.us/i/20110405134944.png
- To post a comment, please login or register a new account.