Flan's Mod: Legacy

Flan's Mod: Legacy

2M Downloads

Gun Boxes

jamioflan opened this issue · 25 comments

commented

Gun box client-server communication needs to be set up. Some packet classes have been made but need filling in.
Before doing this, I recommend we compress the gunbox blocks into a single Block and TileEntity setup to save on IDs.

commented

hmmm I don't think thats necessary. There is a small chance that we need a separate TileEntity for each type of gunbox, but I really don't think thats necessary.

here is what I propose.

1 gunbox block. We use metadata to decide what type. And we display a separate gui depending on the metadata. No TE required at all I think...

commented

I agree. Everything is achievable it metadata!

On Sep 24, 2012, at 7:46 AM, Abrar Syed [email protected] wrote:

hmmm I don't think thats necessary. There is a small chance that we need a separate TileEntity for each type of gunbox, but I really don't think thats necessary.

here is what I propose.

1 gunbox block. We use metadata to decide what type. And we display a separate gui depending on the metadata. No TE required at all I think...


Reply to this email directly or view it on GitHub.

commented

I can help with metadata and tile entities, that's where I excel. Just tell me what to do.

commented

I am a self-proclaimed master of Blocks :) The SecretRoomsMod wasn't a fluke :P

im not to great at gui's though...

commented

I suck at GUI or graphics in general. Did you make secret rooms mod?

On Sep 24, 2012, at 1:04 PM, Abrar Syed [email protected] wrote:

I am a self-proclaimed master of Blocks :) The SecretRoomsMod wasn't a fluke :P

im not to great at gui's though...


Reply to this email directly or view it on GitHub.

commented

Me too! But you can do it! I want to see how you do it also.

On Sep 24, 2012, at 11:30 AM, Aidan [email protected] wrote:

I can help with metadata and tile entities, that's where I excel. Just tell me what to do.


Reply to this email directly or view it on GitHub.

commented

lol aidan.. and I felt bad cuz you did all the work over the summer :P

lol ok.. so here is the story of my life XP

I like programming. I programmed Flansmod.. for the past two weeks, because atm, I have nothing else to program. Also because that when I start something, I don't feel complete till ive finished it to a certain point. Anyways.. Ive mostly finished what I was working on with Flans mod.. and am too lazy to start the annoying next part. So expect me to disappear from this project for a few weeks, while my mind wastes away playing my steadily growing collection of unplayed games. XP

LOL, im not doing it to make you guys feel bad XD I was actually trying to resolve all the errors I caused with my work. compile errors atleast. anyways, its all yours now :P

commented

Main reason I want to do the gun boxes is because AbrarSyed is doing too much work, and it's getting on my nerves. It's almost as if he intentionally does all the work so me, Daniel, and cebarks feel bad :)

Just kidding, but I'd love to pitch in.

-aidancbrady

commented

You are the total opposite of me. I have trouble finishing a things. But I've gotten better with programming.

On Sep 24, 2012, at 3:05 PM, Abrar Syed [email protected] wrote:

lol aidan.. and I felt bad cuz you did all the work over the summer :P

lol ok.. so here is the story of my life XP

I like programming. I programmed Flansmod.. for the past two weeks, because atm, I have nothing else to program. Also because that when I start something, I don't feel complete till ive finished it to a certain point. Anyways.. Ive mostly finished what I was working on with Flans mod.. and am too lazy to start the annoying next part. So expect me to disappear from this project for a few weeks, while my mind wastes away playing my steadily growing collection of unplayed games. XP

LOL, im not doing it to make you guys feel bad :( I was actually trying to resolve all the errors I caused with my work. compile errors atleast. anyways, its all yours now :P


Reply to this email directly or view it on GitHub.

commented

Oh god, I didn't mean it that way. You're awesome Abrar, I was just fooling around because you've been such a great help here with updating. I look up to you, and I'll let you handle me :)

-aidancbrady

commented

Guys, we can't do metadata because that only gives 16 types of Gun Box and if people change their packs around, the IDs will change.
We need a TileEntity which stores the shortName of the GunBoxType

commented

Damn he's right!

On Sep 25, 2012, at 2:45 AM, jamioflan [email protected] wrote:

Guys, we can't do metadata because that only gives 16 types of Gun Box and if people change their packs around, the IDs will change.
We need a TileEntity which stores the shortName of the GunBoxType


Reply to this email directly or view it on GitHub.

commented

ahhh good point. i thought we only had to deal with 3, the country ones. TE it is.

commented

Can someone explain tile entities to me?

On Sep 25, 2012, at 7:46 AM, Abrar Syed [email protected] wrote:

ahhh good point. i thought we only had to deal with 3, the country ones. TE it is.


Reply to this email directly or view it on GitHub.

commented

I can... on skype... they are really simple.

commented

But the current GunBoxes do not use metadata and I have working the guis for each one. I still don't understand the need of the TE.

commented

well.. how else are you gonna differrentiate between the types of gunboxes? unless we have a one-box-for-all method... and all gunboxes reload everyone.. and everything...

commented

Add it to a hash map based on its block Id......
On 27/09/2012 12:34 AM, "Abrar Syed" [email protected] wrote:

well.. how else are you gonna differrentiate between the types of
gunboxes? unless we have a one-box-for-all method... and all gunboxes
reload everyone.. and everything...


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-8891862.

commented

but then we waste lots of blocksIDs. when it would be a little easier, in my opinion, to just use a single BlockID for ALL potential types of gunboxes. And frankly... saves RAM as well...

commented

He's right :/

On Sep 26, 2012, at 1:15 PM, Abrar Syed [email protected] wrote:

but then we waste lots of blocksIDs. when it would be a little easier, in my opinion, to just use a single BlockID for ALL potential types of gunboxes. And frankly... saves RAM as well...


Reply to this email directly or view it on GitHub.

commented

What about use 16 gun boxes per blockid that would save ids ;)
On 27/09/2012 5:15 AM, "Abrar Syed" [email protected] wrote:

but then we waste lots of blocksIDs. when it would be a little easier, in
my opinion, to just use a single BlockID for ALL potential types of
gunboxes. And frankly... saves RAM as well...


Reply to this email directly or view it on GitHub.

commented

By using a TileEntity.

commented

or we could just do 1 BlockID. for an infinite number of boxes. and a TileEntity :)

commented

How is one id for unlimited blocks possible???
On 27/09/2012 1:16 PM, "Abrar Syed" [email protected] wrote:

or we could just do 1 BlockID. for an infinite number of boxes. and a
TileEntity :)


Reply to this email directly or view it on GitHub.

commented

done it and finished