Offline play

Thoughts on the further development of Haven & Hearth? Feel free to opine!

Re: Offline play

Postby SacreDoom » Thu Mar 03, 2011 8:36 pm

Mopstar wrote:
ravenguard19 wrote:Maybe jorb or loftar will say something?
plz we will not sell any part of source code
or hmm maybe jorb and loftar can make single player version of H&H?
its will be awesome
u can sell single player version just like minecraft and earn a lot of cash


i dont want to live in this world anymore
User avatar
SacreDoom
 
Posts: 2590
Joined: Tue Apr 06, 2010 3:14 pm

Re: Offline play

Postby Butko » Fri Jul 15, 2011 10:26 pm

loftar wrote:
Resource.java, line 472 wrote:
Code: Select all
o = cdec(buf, 7);

It's stored as a pair of signed 16-bit numbers starting at byte 7 in the resources' image layers.

Image Class in Resource class get an array of bytes where 11 or 12 first bytes stores some data about image. Is that data transfered from server or is it stored inside each image?
It's pain in the ass to write out all those offsets for each image. There must be some way to easily get them. Now only solutions are:
-stored on server and transfered to client each time
-stored in each image as additional data and need to be decoded out
-calculated by some miracle math.
That is all what interests me today :) Would speed up some of my work I'm working on past few days.
Butko
 
Posts: 542
Joined: Tue Sep 07, 2010 10:05 am

Re: Offline play

Postby Butko » Sat Jul 16, 2011 11:45 am

Butko wrote:
loftar wrote:
Resource.java, line 472 wrote:
Code: Select all
o = cdec(buf, 7);

It's stored as a pair of signed 16-bit numbers starting at byte 7 in the resources' image layers.

Image Class in Resource class get an array of bytes where 11 or 12 first bytes stores some data about image. Is that data transfered from server or is it stored inside each image?
It's pain in the ass to write out all those offsets for each image. There must be some way to easily get them. Now only solutions are:
-stored on server and transfered to client each time
-stored in each image as additional data and need to be decoded out
-calculated by some miracle math.
That is all what interests me today :) Would speed up some of my work I'm working on past few days.

Nvm just figured out from source of res extractor, modified it and now I can also extract exact locations of each image into meta data :)
Butko
 
Posts: 542
Joined: Tue Sep 07, 2010 10:05 am

Re: Offline play

Postby will1701-a » Sun Jul 17, 2011 8:03 pm

ITT: Butko tries to Java. Butko can't Java. Butko asks devs for source code. Devs say LOLwut. Butko still can't Java.
User avatar
will1701-a
 
Posts: 89
Joined: Mon May 09, 2011 2:09 am

Re: Offline play

Postby Jackard » Sun Jul 17, 2011 9:23 pm

good god why is this still a thread
User avatar
Jackard
 
Posts: 8849
Joined: Sun Jul 12, 2009 6:07 am
Location: fucking curios how do they work

Previous

Return to Critique & Ideas

Who is online

Users browsing this forum: Claude [Bot] and 0 guests