Javadocs

Forum for alternative clients, mods & discussions on the same.

Javadocs

Postby nixilus » Fri Apr 08, 2016 1:43 am

Hi guys. Is there a javadocs for a client's source?
And also, where can I find the names of objects that are being used in game (like a gfx/terobjs/plants/carrot) ?
nixilus
 
Posts: 9
Joined: Fri Apr 08, 2016 1:21 am

Re: Javadocs

Postby Ysh » Fri Apr 08, 2016 1:49 am

You think the man who names member variables as this:
Code: Select all
public Coord rc, sc;
public Coord3f sczu;
public double a;

You think this man cares for some mortal documentation? This is seeming unlikely for me.
Kaios wrote:Spice Girls are integral to understanding Ysh's thought process when communicating, duly noted.

I have become victory of very nice Jordan Coles Contest! Enjoy my winning submit here if it pleasures you.
User avatar
Ysh
 
Posts: 5953
Joined: Sun Jan 31, 2010 4:43 am
Location: Chatting some friends on forum

Re: Javadocs

Postby nixilus » Fri Apr 08, 2016 2:02 am

Ysh wrote:You think the man who names member variables as this:
Code: Select all
public Coord rc, sc;
public Coord3f sczu;
public double a;

You think this man cares for some mortal documentation? This is seeming unlikely for me.


lol, seems like Im hoping too much.
But what's about a resource names? I've tried to find some in hafen-res.jar, but I haven't found anything that I need.
nixilus
 
Posts: 9
Joined: Fri Apr 08, 2016 1:21 am

Re: Javadocs

Postby Ysh » Fri Apr 08, 2016 2:25 am

nixilus wrote:
Ysh wrote:You think the man who names member variables as this:
Code: Select all
public Coord rc, sc;
public Coord3f sczu;
public double a;

You think this man cares for some mortal documentation? This is seeming unlikely for me.


lol, seems like Im hoping too much.
But what's about a resource names? I've tried to find some in hafen-res.jar, but I haven't found anything that I need.

You can maybe have some look at this utility: viewtopic.php?f=5&t=5853
I'm not sure if it can do this, because I have not taken a try myself. Probably not if you have already done a look in the jar and it was not good. Usually I am just using some functions like:
Code: Select all
for(Gob gob : m_gui.map.glob.oc) {
    Resource res = gob.getres();
    if (res != null) {
        System.out.println(gob.id + ": " + res.name + " @ " + gob.rc);
    }
}

Or similar depending on what names I am going to have. This is no good if you cannot have a see of the item in the game already, though.
Kaios wrote:Spice Girls are integral to understanding Ysh's thought process when communicating, duly noted.

I have become victory of very nice Jordan Coles Contest! Enjoy my winning submit here if it pleasures you.
User avatar
Ysh
 
Posts: 5953
Joined: Sun Jan 31, 2010 4:43 am
Location: Chatting some friends on forum

Re: Javadocs

Postby Comodo » Fri Apr 08, 2016 4:59 pm

you can find object names in %HOMEPATH%\.haven in Windows.
User avatar
Comodo
 
Posts: 494
Joined: Mon Apr 01, 2013 4:23 pm

Re: Javadocs

Postby shubla » Fri Apr 08, 2016 5:25 pm

nixilus wrote:Is there a javadocs for a client's source?

Good joke
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13041
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland


Return to The Wizards' Tower

Who is online

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