ConflictionX
ConflictionX is a server unlike any other. With a great community and friendly staff, you don't have to look anywhere else to find a 562-602 server to your liking. Join the revolution today!

-Ryan (And all of the other forum/in-game staff)

(P.S. If your already a member just sign in)


Join the forum, it's quick and easy

ConflictionX
ConflictionX is a server unlike any other. With a great community and friendly staff, you don't have to look anywhere else to find a 562-602 server to your liking. Join the revolution today!

-Ryan (And all of the other forum/in-game staff)

(P.S. If your already a member just sign in)
ConflictionX
Would you like to react to this message? Create an account in a few clicks or log in to continue.

ConflictionX 562 loading 657

+3
Auris
Skill3r
0king o
7 posters

Page 2 of 3 Previous  1, 2, 3  Next

Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  0king o Fri Jul 22, 2011 8:21 pm

Haha idk lol Razz i guess i didnt mean it that way & i got nex in the correct coords but idk if my client is messing up or it the server but its glitching with the skills :/
0king o
0king o
Ultra-Sexy
Ultra-Sexy

Posts : 275
Join date : 2011-06-26
Age : 28
Location : My House

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  Ryan Fri Jul 22, 2011 8:35 pm

this is the first "popular" topic on forums, Very Happy

Ryan
Novice
Novice

Posts : 101
Join date : 2011-06-24
Age : 28
Location : Under your bed, North Carolina

https://conflictionx.forumotion.com

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  0king o Fri Jul 22, 2011 9:49 pm

Woot for me Very Happy
0king o
0king o
Ultra-Sexy
Ultra-Sexy

Posts : 275
Join date : 2011-06-26
Age : 28
Location : My House

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  Ricky1179 Sat Jul 23, 2011 3:13 am

Never even thought of trying the 562-657. If we managed to get this + some content we would quickly overflow with new players.
Also, after beta testing ect, if the source is stable then we will probs ditch the 562-602 all together.

0king, if you upload what you have done to mediafire, send me the link on msn. I'll do some shet over the weekend
I get paid on sunday, so if the dedi aint here, ill buy like a 1gb VPS to host for like a few days, then it will get handed over.

It's alot of work needed done to the source, from my understanding it is pretty much empty?

Ricky1179
Ultra-Noob
Ultra-Noob

Posts : 19
Join date : 2011-06-29
Location : Scotland

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  0king o Sat Jul 23, 2011 4:21 am

welll nothings change really im using the conflictionx source its just that my client is loading 657 cache and not 602 cache yeah i need to get rid of a flaw i have with the server
0king o
0king o
Ultra-Sexy
Ultra-Sexy

Posts : 275
Join date : 2011-06-26
Age : 28
Location : My House

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  Ricky1179 Sat Jul 23, 2011 8:18 am

Add the Ukeys?

Ricky1179
Ultra-Noob
Ultra-Noob

Posts : 19
Join date : 2011-06-29
Location : Scotland

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  Skill3r Sat Jul 23, 2011 3:02 pm

these things sounds cool! Very Happy
Skill3r
Skill3r
Kinda-Noob
Kinda-Noob

Posts : 53
Join date : 2011-07-16
Location : Norway

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  0king o Sat Jul 23, 2011 3:13 pm

Yeah ive added the Ukeys but im trying to get the Hp working thats whats throwing everything off, yeah for now im removing so i dont get so many bugs with the server. yeah ive added the mapdata, so it looks it exactly like current runescape other then that ihavent done a whole lot to the server.
0king o
0king o
Ultra-Sexy
Ultra-Sexy

Posts : 275
Join date : 2011-06-26
Age : 28
Location : My House

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  0king o Sun Jul 24, 2011 11:26 pm

If i can fix the bugs and everything on the server and you can host it ricky but for now im going to keep til i fix the hp after the hp is fixed ill upload and give u the link. im also going to make the client a jar file to make it easy Very Happy
0king o
0king o
Ultra-Sexy
Ultra-Sexy

Posts : 275
Join date : 2011-06-26
Age : 28
Location : My House

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  Skill3r Mon Jul 25, 2011 11:04 am

nice job you do! i can't wait for it Smile
Skill3r
Skill3r
Kinda-Noob
Kinda-Noob

Posts : 53
Join date : 2011-07-16
Location : Norway

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  0king o Mon Jul 25, 2011 12:43 pm

Yeah i cant wait for it either its going to be epic lol but ill let ricky do some changes if he wants cause im only going to get it workin then handin him the source then ill just play Very Happy
0king o
0king o
Ultra-Sexy
Ultra-Sexy

Posts : 275
Join date : 2011-06-26
Age : 28
Location : My House

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  Skill3r Mon Jul 25, 2011 1:22 pm

x D
Skill3r
Skill3r
Kinda-Noob
Kinda-Noob

Posts : 53
Join date : 2011-07-16
Location : Norway

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  Ricky1179 Mon Jul 25, 2011 2:30 pm

ActionSender.java and search for:
Code:

sendPlayerOption("Follow", 2, false);
and add this some where below it
Code:

sendConfig(5000, player.getHp());
Now Go into Player.java and replace
Code:

   public int getHp() {
      return skills.getLevel(Skills.HITPOINTS);
   }


   public int getMaxHp() {
      return skills.getLevelForXp(Skills.HITPOINTS);
   }
with
Code:

   public int getHp() {
      return skills.getLevel(Skills.HITPOINTS)*10;
   }


   public int getMaxHp() {
      return skills.getLevelForXp(Skills.HITPOINTS)*10;
   }
This isn't complete tho.

Ricky1179
Ultra-Noob
Ultra-Noob

Posts : 19
Join date : 2011-06-29
Location : Scotland

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  0king o Mon Jul 25, 2011 3:49 pm

Yeah those idiots! on runelocus Lmao ive done that! i just need it to update now like when someone attack you! you lose hp
0king o
0king o
Ultra-Sexy
Ultra-Sexy

Posts : 275
Join date : 2011-06-26
Age : 28
Location : My House

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  0king o Tue Jul 26, 2011 4:38 am

Server is ready now Very Happy just add different things now, still gotta fix nex u dc sometimes during fights and gotta get corrst hitsplats still
0king o
0king o
Ultra-Sexy
Ultra-Sexy

Posts : 275
Join date : 2011-06-26
Age : 28
Location : My House

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  Ricky1179 Tue Jul 26, 2011 7:01 am

Real Hitsplats are on RuneLocus also.

replace your Hits.java with this:

Code:
package com.rs2hd.model;

/**
 * Handles player hits.
 * @author Graham
 *
 */
public class Hits {
   
   public static enum HitType {
      NOTHING         (-1),
      CRIT         (0),
      NORMAL_DAMAGE      (1),
      POISON_DAMAGE      (2),
      DISEASE_DAMAGE      (3),
      PICK_DAMAGE      (4),
      CRIT_OTHER      (5),
      NORMAL_DAMAGE_OTHER   (6),
      POISON_DAMAGE_OTHER   (7),
      DISEASE_DAMAGE_OTHER   (8),
      PICK_DAMAGE_OTHER   (9);
      
      private final int type;
      
      private HitType(int type) {
         this.type = type;
      }
      
      public int getType() {
         return this.type;
      }
   }
   
   public static enum IconType {
      NOTHING      (-1),
      NO_HIT      (0),
      MELEE      (1),
      RANGE      (2),
      MAGE      (3),
      DEFENCE      (4),
      DEFLECT      (5);
      
      private final int itype;
      
      private IconType(int type) {
         this.itype = type;
      }
      
      public int getIcon() {
         return this.itype;
      }
   }
   
   public static class Hit {
      
      private HitType type;
      private IconType icon;
      private int damage;
      
      public Hit(int damage, HitType type, IconType icon) {
         this.type = type;
         this.damage = damage;
         this.icon = icon;
      }
      
      public HitType getType() {
         return type;
      }
      
      public IconType getIType() {
         return icon;
      }
      
      public int getDamage() {
         return damage;
      }
   }
   
   public Hits() {
      hit1 = null;
      hit2 = null;
   }
   
   private Hit hit1;
   private Hit hit2;
   
   public void setHit1(Hit hit) {
      try {
      this.hit1 = hit;
      } catch(Exception e) {
      }
   }

   public void setHit2(Hit hit) {
      try {
      this.hit2 = hit;
      } catch(Exception e) {
      }
   }
   
   public int getHitDamage1() {
      try {
      if(hit1 == null) {
         return 0;
      }
      return hit1.damage;
      } catch(Exception e) {
      return 0;
      }
   }
   
   public int getHitDamage2() {
      try {
      if(hit2 == null) {
         return 0;
      }
      return hit2.damage;
      } catch(Exception e) {
      return 0;
      }
   }
   
   public int getHitType1() {
      try {
      if(hit1 == null) {
         return HitType.NOTHING.getType();
      }
      return hit1.type.getType();
      } catch(Exception e) {
      return 0;
      }
   }
   
   public int getHitType2() {
      try {
      if(hit2 == null) {
         return HitType.NOTHING.getType();
      }
      return hit2.type.getType();
      } catch(Exception e) {
      return 0;
      }
   }
   
   public int getIconType1() {
      try {
      if(hit1 == null) {
         return IconType.NOTHING.getIcon();
      }
      return hit1.icon.getIcon();
      } catch(Exception e) {
      return 0;
      }
   }
   
   public int getIconType2() {
      try {
      if(hit2 == null) {
         return IconType.NOTHING.getIcon();
      }
      return hit2.icon.getIcon();
      } catch(Exception e) {
      return 0;
      }
   }
   
   public void clear() {
      try {
      hit1 = null;
      hit2 = null;
      } catch(Exception e) {
      }
   }
}

and in PlayerUpdate.java replace this:

Code:
   private static void appendHit2Update(Player p, StaticPacketBuilder updateBlock) {
      try {
      updateBlock.addSmart(p.getHits().getHitDamage2());
      updateBlock.addByte((byte)p.getHits().getHitType2());
      } catch(Exception e) {
      }   
   }

   private static void appendHitUpdate(Player p, StaticPacketBuilder updateBlock) {
      try {
      updateBlock.addSmart(p.getHits().getHitDamage1()); //var byte
      updateBlock.addByteA(p.getHits().getHitType1());
      int Amthp = p.getSkills().getLevel(3);
      if (Amthp > p.getSkills().getLevelForXp(3))
         Amthp = p.getSkills().getLevelForXp(3);
      int hpRatio = Amthp * 255 / p.getSkills().getLevelForXp(3);
      updateBlock.addByteC(hpRatio);
      } catch(Exception e) {
      }   
   }

with this:

Code:
   private static void appendHit2Update(Player p, StaticPacketBuilder updateBlock) {
      try {
      updateBlock.addSmart(p.getHits().getHitDamage2());
      updateBlock.addByte((byte)p.getHits().getHitType2());
      updateBlock.addByte((byte)p.getHits().getIconType2());
      } catch(Exception e) {
      }   
   }

   private static void appendHitUpdate(Player p, StaticPacketBuilder updateBlock) {
      try {
      updateBlock.addSmart(p.getHits().getHitDamage1()); //var byte
      updateBlock.addByteA(p.getHits().getHitType1());
      int Amthp = p.getSkills().getLevel(3);
      if (Amthp > p.getSkills().getLevelForXp(3))
         Amthp = p.getSkills().getLevelForXp(3);
      int hpRatio = Amthp * 255 / p.getSkills().getLevelForXp(3);
      updateBlock.addByteC(hpRatio);
      updateBlock.addByte((byte) p.getHits().getIconType1());
      } catch(Exception e) {
      }   
   }

do the same in NPCUpdate.java

replace your hit void in Player.java with this:

Code:
   public void hit(int damage) {
      try {
         if(damage > getSkills().getLevel(3)) {
            damage = getSkills().getLevel(3);
         }
         if(getSkills().getLevel(3) <= 0) {
            damage = 0;
         }
         if(damage == 0) {
            hit(damage, Hits.HitType.NOTHING, Hits.IconType.NO_HIT);
         } else {
            hit(damage, Hits.HitType.NORMAL_DAMAGE, Hits.IconType.NOTHING);
         }
         getActionSender().sendConfig(5000, getSkills().getHitPoints());
      } catch(Exception e) {
      }
   }
   
   public void meleeHit(int damage) {
      try {
         if(damage > getSkills().getLevel(3)) {
            damage = getSkills().getLevel(3);
         }
         if(getSkills().getLevel(3) <= 0) {
            damage = 0;
         }
         if(damage == 0) {
            hit(damage, Hits.HitType.NOTHING, Hits.IconType.NO_HIT);
         } else {
            hit(damage, Hits.HitType.NORMAL_DAMAGE, Hits.IconType.MELEE);
         }
         getActionSender().sendConfig(5000, getSkills().getHitPoints());
      } catch(Exception e) {
      }
   }
   
   public void rangeHit(int damage) {
      try {
         if(damage > getSkills().getLevel(3)) {
            damage = getSkills().getLevel(3);
         }
         if(getSkills().getLevel(3) <= 0) {
            damage = 0;
         }
         if(damage == 0) {
            hit(damage, Hits.HitType.NOTHING, Hits.IconType.NO_HIT);
         } else {
            hit(damage, Hits.HitType.NORMAL_DAMAGE, Hits.IconType.RANGE);
         }
         getActionSender().sendConfig(5000, getSkills().getHitPoints());
      } catch(Exception e) {
      }
   }
   
   public void mageHit(int damage) {
      try {
         if(damage > getSkills().getLevel(3)) {
            damage = getSkills().getLevel(3);
         }
         if(getSkills().getHitPoints() <= 0) {
            damage = 0;
         }
         if(damage == 0) {
            hit(damage, Hits.HitType.NOTHING, Hits.IconType.NO_HIT);
         } else {
            hit(damage, Hits.HitType.NORMAL_DAMAGE, Hits.IconType.MAGE);
         }
         getActionSender().sendConfig(5000, getSkills().getHitPoints());
      } catch(Exception e) {
      }
   }
   
   public void hit(int damage, Hits.HitType type, Hits.IconType icon) {
      try {
      if(damage > getSkills().getLevel(3)) {
         damage = getSkills().getLevel(3);
      }
      if(!updateFlags.isHitUpdateRequired()) {
         getHits().setHit1(new Hit(damage, type, icon));
         updateFlags.setHitUpdateRequired(true);
      } else {
         if(!updateFlags.isHit2UpdateRequired()) {
            getHits().setHit2(new Hit(damage, type, icon));
            updateFlags.setHit2UpdateRequired(true);
         } else {
            queuedHits.add(new Hit(damage, type, icon));
         }
      }
      skills.hit(damage);
      if(skills.getLevel(Skills.HITPOINTS) <= 0) {
         if(!this.isDead()) {
            World.getInstance().registerEvent(new DeathEvent(this));
         }
         this.setDead(true);
      }
      getActionSender().sendConfig(5000, getSkills().getHitPoints());
      } catch(Exception e) {
      }
   }

save, compile, finished

Ricky1179
Ultra-Noob
Ultra-Noob

Posts : 19
Join date : 2011-06-29
Location : Scotland

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  0king o Tue Jul 26, 2011 12:03 pm

Yeah i got some errors while doing this tut but ill try to get it working asap.
0king o
0king o
Ultra-Sexy
Ultra-Sexy

Posts : 275
Join date : 2011-06-26
Age : 28
Location : My House

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  Ricky1179 Thu Aug 04, 2011 2:22 pm

562 Loading 659 is what we are onto now.

Ricky1179
Ultra-Noob
Ultra-Noob

Posts : 19
Join date : 2011-06-29
Location : Scotland

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Guess whose back from vacation!its kingsbest friend!

Post  Auris Thu Aug 04, 2011 3:06 pm

Smile
Auris
Auris
Novice
Novice

Posts : 129
Join date : 2011-07-13
Age : 28
Location : Illinois

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  0king o Thu Aug 04, 2011 5:28 pm

Auris!!!!!!!Very Happy
0king o
0king o
Ultra-Sexy
Ultra-Sexy

Posts : 275
Join date : 2011-06-26
Age : 28
Location : My House

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty uggggghhhhhh......

Post  joshua Thu Aug 18, 2011 6:09 am

where is the link? i spent half an hour trying to find it....and nothing yet!
joshua
joshua
Novice
Novice

Posts : 144
Join date : 2011-07-07
Age : 27
Location : somewhere

http://josuerios.webs.com

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  0king o Thu Aug 18, 2011 2:03 pm

There is no link currently right now, i might be wrong but idk, ricky might of got his working or not. im getting my project to go bigger so it going to take awhile before my version of conflictionx works out but dont worry ill get it working soon, ill post pics or vids of my projects.
0king o
0king o
Ultra-Sexy
Ultra-Sexy

Posts : 275
Join date : 2011-06-26
Age : 28
Location : My House

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  joshua Thu Aug 18, 2011 6:09 pm

ok thanks
joshua
joshua
Novice
Novice

Posts : 144
Join date : 2011-07-07
Age : 27
Location : somewhere

http://josuerios.webs.com

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  0king o Thu Aug 18, 2011 9:08 pm

Np
0king o
0king o
Ultra-Sexy
Ultra-Sexy

Posts : 275
Join date : 2011-06-26
Age : 28
Location : My House

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty ok?

Post  joshua Fri Aug 19, 2011 1:50 am

lol
joshua
joshua
Novice
Novice

Posts : 144
Join date : 2011-07-07
Age : 27
Location : somewhere

http://josuerios.webs.com

Back to top Go down

ConflictionX 562 loading 657 - Page 2 Empty Re: ConflictionX 562 loading 657

Post  Sponsored content


Sponsored content


Back to top Go down

Page 2 of 3 Previous  1, 2, 3  Next

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum