RuneScape 2 Development > Server and Client Development Showoff

RS-Reborn - Latest Update: We're doin' it live

Pages: <<< (269/516) >>>

S7ven:

[quote author=sinisoul link=topic=472982.msg3704773#msg3704773 date=1312954057

Add me on Skype (hadynfitzgerald), I am open to talking to people what I am doing;

Here is a code snippet to actually PROVE I know what I am doing.


--- Code: ---package org.forge.content.world.region;

import org.forge.geom.Point3D;

/**
 * RuneForge | 317
 * RegionNode.java
 * @version 1.0.0
 * @author SiniSoul (SiniSoul@live.com)
 */
public abstract class RegionEntity {
   
    /**
     * The point at which this node is located.
     */
    protected final Point3D point;
   
    /**
     *
     * @return
     */
    public abstract int getRelativeX();
   
    /**
     *
     * @return
     */
    public abstract int getRelativeY();
   
    /**
     *
     * @return
     */
    public Point3D getPoint() {
        return point;
    }
   
    /**
     *
     * @return
     */
    @Override
    public int hashCode() {
        return ((point.getX() & 0x7FFF) << 16) |
               ((point.getY() & 0x7FFF) << 2)  |
                (point.getZ() & 0x3);
    }
   
    /**
     *
     * @param obj
     * @return
     */
    @Override
    public boolean equals(Object obj) {
        if(obj == null || (obj.getClass() != getClass()))
            return false;
        /* Compare the hash codes */
        if(obj.hashCode() != hashCode())
            return false;
        return true;
    }
   
    /**
     *
     * @param point
     */
    public RegionEntity(Point3D point) {
        this.point = point;
    }
}


--- End code ---

Ignore the fact is says 317, I need to fix that.
[/quote]

Oh i don't doubt your abilities, in fact I have trust in the entire Rs-Reborn team, it's just that I didn't understand that update at all :p

tbh i read it and i thought it had to do with loading.. (ie where the player is centered at, what regions need to be loaded next, etc). Was I right?

sini:


--- Quote from: S7ven on August 10, 2011, 12:29:59 AM ---[quote author=sinisoul link=topic=472982.msg3704773#msg3704773 date=1312954057

Add me on Skype (hadynfitzgerald), I am open to talking to people what I am doing;

Here is a code snippet to actually PROVE I know what I am doing.


--- Code: ---package org.forge.content.world.region;

import org.forge.geom.Point3D;

/**
 * RuneForge | 317
 * RegionNode.java
 * @version 1.0.0
 * @author SiniSoul (SiniSoul@live.com)
 */
public abstract class RegionEntity {
   
    /**
     * The point at which this node is located.
     */
    protected final Point3D point;
   
    /**
     *
     * @return
     */
    public abstract int getRelativeX();
   
    /**
     *
     * @return
     */
    public abstract int getRelativeY();
   
    /**
     *
     * @return
     */
    public Point3D getPoint() {
        return point;
    }
   
    /**
     *
     * @return
     */
    @Override
    public int hashCode() {
        return ((point.getX() & 0x7FFF) << 16) |
               ((point.getY() & 0x7FFF) << 2)  |
                (point.getZ() & 0x3);
    }
   
    /**
     *
     * @param obj
     * @return
     */
    @Override
    public boolean equals(Object obj) {
        if(obj == null || (obj.getClass() != getClass()))
            return false;
        /* Compare the hash codes */
        if(obj.hashCode() != hashCode())
            return false;
        return true;
    }
   
    /**
     *
     * @param point
     */
    public RegionEntity(Point3D point) {
        this.point = point;
    }
}


--- End code ---

Ignore the fact is says 317, I need to fix that.

--- End quote ---

Oh i don't doubt your abilities, in fact I have trust in the entire Rs-Reborn team, it's just that I didn't understand that update at all :p

tbh i read it and i thought it had to do with loading.. (ie where the player is centered at, what regions need to be loaded next, etc). Was I right?
[/quote]

Well when I finish it, it will involve:

-NPC Clipping
-Events on coordinates (Cut Scenes on Coordinates)
-Private Pest Control Games and such

Its very important that I finish this.
And yes, you were correct.

mr extremez:


--- Quote from: sinisoul on August 09, 2011, 11:05:25 PM ---
--- Quote from: mr extremez on August 09, 2011, 11:03:27 PM ---
--- Quote from: n10si t on August 09, 2011, 10:44:15 PM ---
--- Quote from: sinisoul on August 09, 2011, 10:25:38 PM ---I went out to dinner and a movie so I didn't do anything today.

--- End quote ---

by yourself?

--- End quote ---
I Lol'd at that.

--- End quote ---

Anyway, I am back to work but I might go out tomorrow also. I will let you know if I get anything substantial done.

--- End quote ---
Sounds good.

S7ven:

Cool sinosoul ^__^

Modesse dawn has finished the appeal system! forums imminent



sini:


--- Quote from: S7ven on August 10, 2011, 03:00:06 AM ---Cool sinosoul ^__^

Modesse dawn has finished the appeal system! forums imminent



--- End quote ---

She was talking about them, I don't know where they are on the site or else I would be all over it believe me. She told Brian to stay off for now.

Pages: <<< (269/516) >>>

Go to full version