Register for your free account! | Forgot your password?

You last visited: Today at 14:32

  • Please register to post and access all features, it's quick, easy and FREE!


Add Mosnter's Jump

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2013
Posts: 3
Received Thanks: 0
Add Mosnter's Jump

go to Screen.cs


and Search for

PHP Code:
#region Companions 

then add this under that code

PHP Code:
#region Monster :D

                                // ushort xx = (ushort)Kernel.Random.Next(monster.MonsterInfo.BoundX - 5, monster.MonsterInfo.BoundX + 5);
                                //  ushort yy = (ushort)Kernel.Random.Next(monster.MonsterInfo.BoundY - 5, monster.MonsterInfo.BoundY + 5);
                                
ushort xx = (ushort)Kernel.Random.Next(monster.10monster.10);
                                
ushort yy = (ushort)Kernel.Random.Next(monster.10monster.10);

                                if (
monster.Name.Contains("Pheasant"))
                                {
                                    if (
monster.MonsterInfo.Type != 1)
                                    {
                                        if (
monster.MonsterInfo.InSight == 0)
                                        {
                                            if (
monster.!= xx || monster.!= yy)
                                            {
                                                
monster.xx;
                                                
monster.yy;
                                                
TwoMovements jump = new TwoMovements();
                                                
jump.xx;
                                                
jump.yy;
                                                
jump.EntityCount 1;
                                                
jump.FirstEntity monster.UID;
                                                
jump.MovementType TwoMovements.Jump;
                                                
client.SendScreen(jumptrue);
                                            }
                                            if (
client.Entity.ContainsFlag(Network.GamePackets.Update.Flags.FlashingName))
                                                
monster.MonsterInfo.InSight client.Entity.UID;
                                        }
                                        else
                                        {

                                            if (
monster.MonsterInfo.InSight == client.Entity.UID)
                                            {
                                                if (!
client.Entity.Dead)
                                                {
                                                    if (
Time32.Now >= monster.MonsterInfo.LastMove.AddMilliseconds(monster.MonsterInfo.AttackSpeed))
                                                    {
                                                        
short dist Kernel.GetDistance(monster.Xmonster.Yclient.Entity.Xclient.Entity.Y);

                                                        if (
distance <= monster.MonsterInfo.AttackRange)
                                                        {
                                                            
monster.MonsterInfo.LastMove Time32.Now;
                                                            new 
Game.Attacking.Handle(nullmonsterclient.Entity);
                                                            if (
monster.MonsterInfo.Type != 2)
                                                                
client.Send(new Network.GamePackets.Message("Welcome In Our Game  #13 ."client.Entity.Namemonster.MonsterInfo.NameSystem.Drawing.Color.WhiteMessage.Talk));
                                                            
client.Send(new Network.GamePackets.Message("Welcome In Our Game #13 ."client.Entity.Namemonster.NameSystem.Drawing.Color.WhiteMessage.Talk));
                                                        }
                                                        else
                                                        {
                                                            if (
distance <= monster.MonsterInfo.ViewRange)
                                                            {
                                                                
TwoMovements jump = new TwoMovements();
                                                                
jump.client.Entity.X;
                                                                
jump.client.Entity.Y;
                                                                
monster.client.Entity.X;
                                                                
monster.client.Entity.Y;
                                                                
jump.EntityCount 1;
                                                                
jump.FirstEntity monster.UID;
                                                                
jump.MovementType Network.GamePackets.TwoMovements.Jump;
                                                                
client.SendScreen(jumptrue);
                                                            }
                                                        }
                                                    }
                                                }
                                                else
                                                {

                                                }
                                            }

                                            else
                                            {
                                                if (
monster.MonsterInfo.InSight == client.Entity.UID)
                                                {
                                                    
monster.MonsterInfo.InSight 0;
                                                }
                                            }
                                        }

                                        foreach (
IMapObject obj2 in client.Screen.Objects)
                                        {
                                            if (
obj2 == null)
                                                continue;
                                            if (
obj2.MapObjType == MapObjectType.Monster)
                                            {
                                                
Entity monster2 client.Map.Entities[obj2.UID];
                                                if (
monster2 == null)
                                                    continue;
                                                if (
monster2.Dead)
                                                    continue;
                                                if (
Time32.Now >= monster.MonsterInfo.LastMove.AddMilliseconds(monster.MonsterInfo.AttackSpeed))
                                                {
                                                    if (
monster2.MonsterInfo.Type == && !monster2.Companion)
                                                    {
                                                        
short dist Kernel.GetDistance(monster.Xmonster.Ymonster2.Xmonster2.Y);

                                                        if (
distance <= monster.MonsterInfo.AttackRange)
                                                        {
                                                            
monster.MonsterInfo.LastMove Time32.Now;
                                                            new 
Game.Attacking.Handle(nullmonstermonster2);
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                                
#endregion 



topofall40 is offline  
Old 02/13/2014, 20:07   #2
 
elite*gold: 12
Join Date: Jul 2011
Posts: 7,082
Received Thanks: 3,396
Well, a few things. First, moved to the correct section. Second, what source is this for? I'm guessing the Trinity sources. Third, this is completely incorrect. You wouldn't use this packet to make monsters jump. There's a special general action for that.


Spirited is offline  
Old 02/13/2014, 20:21   #3
 
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 270
Not to mention it only works for pheasants.
Aceking is offline  
Thanks
3 Users
Old 02/13/2014, 20:37   #4
 
elite*gold: 0
Join Date: Jul 2008
Posts: 864
Received Thanks: 226
(Oh my own crappy codes )
xD why u use monster name when u already using monster type


abdoumatrix is offline  
Old 02/15/2014, 00:50   #5
 
elite*gold: 0
Join Date: Jun 2010
Posts: 2,200
Received Thanks: 851
Thanks buddy!

I really needed this.

Mwah<3
_DreadNought_ is offline  
Thanks
1 User
Old 02/15/2014, 07:31   #6
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,625
Received Thanks: 839
Best code ever released, thank you. It will fix my messy2010 v48893 source by ahmed
Super Aids is offline  
Thanks
2 Users
Old 02/15/2014, 08:01   #7
 
elite*gold: 12
Join Date: Jul 2011
Posts: 7,082
Received Thanks: 3,396
Quote:
Originally Posted by Super Aids View Post
Best code ever released, thank you. It will fix my messy2010 v48893 source by ahmed
man pls sorus 2014 ???
Spirited is offline  
Thanks
1 User
Old 02/15/2014, 13:43   #8
 
elite*gold: 0
Join Date: Feb 2008
Posts: 317
Received Thanks: 114
holy **** thanks dude. Now I can make the pheasants take over the world on CrystalSeven, I owe you alot, contact me through I am willing to donate 500 euro for this.

Keep up the good work
drakejoe67 is offline  
Old 02/15/2014, 14:21   #9
 
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 270
You guys are terrible lol
Aceking is offline  
Thanks
7 Users
Old 02/15/2014, 20:15   #10
 
elite*gold: 0
Join Date: May 2012
Posts: 87
Received Thanks: 4
Revenge Of The Nerds
CriticallyDev is offline  
Old 02/16/2014, 00:20   #11
 
elite*gold: 0
Join Date: Jul 2006
Posts: 1,933
Received Thanks: 664
And I ate a carrot today yay!
KraHen is offline  
Thanks
3 Users
Old 02/17/2014, 01:07   #12
 
elite*gold: 0
Join Date: Jul 2011
Posts: 366
Received Thanks: 196
Lmao! Killed me laughing you guys.
Execution! is offline  
Old 02/17/2014, 02:08   #13
 
elite*gold: 0
Join Date: Feb 2007
Posts: 240
Received Thanks: 22
Quote:
Originally Posted by Spirited Fang View Post
man pls sorus 2014 ???
You suppose to clean not to join.. just sayin..
agathom is offline  
Old 02/17/2014, 07:07   #14
 
elite*gold: 12
Join Date: Jul 2011
Posts: 7,082
Received Thanks: 3,396
Quote:
Originally Posted by agathom View Post
You suppose to clean not to join.. just sayin..
Well, alright then. I was going to just leave the thread... but since you insist that I take action, I suppose I'll have to close the thread for spam and damaging content. I can't really clean a thread beyond saving. I mean, the thread owner has absolutely no idea what this code does and just released it for the sake of taking credit, the method of doing this is completely wrong (monsters should not jump using these packets and using these horrible checks), and this has absolutely no value on this board. The developers here do not allow the spread of the leaked Trinity source and its horrible modified versions from the foreign forums (that have been found to contain keyloggers). So with all of that being said, the best and only action is to close the thread.


Spirited is offline  
Closed Thread



« Randomize and weak law of large numbers | [Release] CoCartographer. Map Viewing Software »

Similar Threads
Request Backyard mosnter Shiny hack
11/26/2011 - Facebook - 0 Replies
do you ever cheat in the backyard of the shiny hack monster please kua Dark Cube sana Gumawa kau Tnx
question about mosnter editor
02/06/2008 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 2 Replies
anyone know a monster editor for 2moons pserver ? im playing on chinese server but i cant finda a monster editor for this server :S



All times are GMT +1. The time now is 14:32.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.