Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 20:32

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

Advertisement



how can i teleport my self to a npc with command?

Discussion on how can i teleport my self to a npc with command? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2011
Posts: 63
Received Thanks: 1
Question how can i teleport my self to a npc with command?

Title says it all xP
how can i teleport my self to a npc with command?
Thanks
EternityViruz is offline  
Old 01/23/2011, 18:23   #2
 
elite*gold: 0
Join Date: Jan 2011
Posts: 50
Received Thanks: 6
Code:
if (Cmd[0] == "/mmtonpc")
                                    {
                                        foreach (Game.NPC N in World.H_NPCs.Values)
                                        {
                                            if (uint.Parse(Cmd[1]) == N.EntityID)
                                                GC.MyChar.Teleport(N.Loc.Map, N.Loc.X, N.Loc.Y);
                                        }
                                        break;
                                    }
so your command is /mmtonpc NPCENTITYID
if you Don't know what's EntityID, let me help you
here's an example from NPCs.txt
Quote:
101736 1507 21 0 1039 481 289
The Red one is entity ID

__________________________________________

Press thanks if it helped :P
§hift is offline  
Old 01/23/2011, 19:18   #3
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by §hift View Post
Code:
if (Cmd[0] == "/mmtonpc")
                                    {
                                        foreach (Game.NPC N in World.H_NPCs.Values)
                                        {
                                            if (uint.Parse(Cmd[1]) == N.EntityID)
                                                GC.MyChar.Teleport(N.Loc.Map, N.Loc.X, N.Loc.Y);
                                        }
                                        break;
                                    }
so your command is /mmtonpc NPCENTITYID
if you Don't know what's EntityID, let me help you
here's an example from NPCs.txt

The Red one is entity ID

__________________________________________

Press thanks if it helped :P
Can't remember how to do this right but you wouldn't want to tele direct onto the NPC so you would want to make the X and Y coords like -1 or +1

GC.MyChar.Teleport(N.Loc.Map, N.Loc.X -1, N.Loc.Y -1);

Well that is in my source lol but going right onto an NPC I think would bug the char and you wouldnt be able to move... (I hope im right lol if not I look like an idiot) haha
.Beatz is offline  
Old 01/23/2011, 19:39   #4
 
elite*gold: 0
Join Date: Jan 2011
Posts: 50
Received Thanks: 6
Quote:
Originally Posted by .Beatz View Post
Can't remember how to do this right but you wouldn't want to tele direct onto the NPC so you would want to make the X and Y coords like -1 or +1

GC.MyChar.Teleport(N.Loc.Map, N.Loc.X -1, N.Loc.Y -1);

Well that is in my source lol but going right onto an NPC I think would bug the char and you wouldnt be able to move... (I hope im right lol if not I look like an idiot) haha
I tested it , it works fine..Character isn't stuck.
§hift is offline  
Old 01/23/2011, 19:44   #5
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Ah okay then was just a thought...but wouldn't it be better to tele like -1 coord away from the NPC anyway... Just a thought
.Beatz is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[RELEASE] PKA Teleport Command
02/10/2010 - CO2 PServer Guides & Releases - 5 Replies
#request close
[tut] speed teleport (not map teleport)
08/11/2009 - 12Sky2 - 2 Replies
you need cheat eng for this find the movement speed address current: C61778 2. change to 99999 3. enable your run skill your done you will go so fast you will teleport make sure you don't click in anything bad shit will happen thank me :mofo: :mofo: :mofo:
Is there any teleport hack/command?
02/01/2009 - Conquer Online 2 - 3 Replies
I was searching a little bit and I found a .exe file that it would teleport you but it did not work. Is there any other teleport hacks or a command that you can use to teleport? If not,is it possible to teleport or no?
command /set gt
08/03/2008 - Kal Online - 29 Replies
Hello last time GMs disabled all commands .... Main command which interesting me is ... /set gt I know that people still using counters on MP/HP but ... how it is possible without command /set gt ????



All times are GMT +1. The time now is 20:33.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.