Register for your free account! | Forgot your password?

You last visited: Today at 21:22

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

Advertisement



/goto NPC

Discussion on /goto NPC within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Vortex.'s Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 275
Received Thanks: 22
/goto NPC

Has anyone ever forgot where they added an NPC?
Or if its still in your database?
I have, and I'm wondering is it possible to create a command to goto an npc?
Vortex. is offline  
Old 06/14/2009, 14:55   #2
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
LOTF:
Quote:
if (Splitter[0] == "/goto")
{
SingleNPC npc = (SingleNPC)NPCs.AllNPCs[Splitter[1]];
MyChar.Teleport((ushort)npc.Map, (ushort)npc.X, (ushort)npc.Y);
}

CoEmu v2:

Quote:
case "goto":
{
if (CSocket.Client.isPM || CSocket.Client.isGM)
{
Struct.NPC npc = (Struct.NPC)Nano.Npcs[int.Parse(Command[1])];
Handler.Teleport(npc.Map,npc.X,npc.Y,0,CSocket);

}
}
I dont have neither source but that should work.

Oh, edit:
Usage:
/goto NpcID
_Emme_ is offline  
Old 06/14/2009, 17:32   #3
 
Vortex.'s Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 275
Received Thanks: 22
LOL, I made it already
Vortex. is offline  
Reply


Similar Threads Similar Threads
[Request]/goto Command for 5165
02/11/2010 - CO2 Private Server - 4 Replies
I know this is a noobie request but some simple things aren't easy to make.
goto
04/18/2009 - GW Bots - 4 Replies
Frage ! Gibt es in autoit nen befehl wie 'goto;'?
Hello Please Goto My Hamachi Server Please!!!
04/13/2009 - Runescape - 0 Replies
Hello This is my first post and its my hamachi server umm ya there are errors and stuff because while i was editing stuff got mixed up but other wise it rocks!!!! Its a Hamachi server so you have to have hamachi downloaded(for the people that didnt know). ok so here it is. Oh and there is a hamachi download link. Hamachi download networkname:runeexcape.no-ip.biz network password:feb141997tyfallat server ip:5.201.218.185 silabclient:Silab Client of download my Client Here(It Sucks But...
Hello Please Goto My Hamachi Server Please!!!
04/13/2009 - Say Hello - 0 Replies
Hello This is my first post and its my hamachi server umm ya there are errors and stuff because while i was editing stuff got mixed up but other wise it rocks!!!! ok so here it is. Oh and there is a hamachi download link. Hamachi download networkname:runeexcape.no-ip.biz network password:feb141997tyfallat server ip:5.201.218.185 silabclient:Silab Client of download my Client Here(It Sucks But Pretty Cool) My Server will be on at sertain times so try every hour or so:) ( If Its Not...
[REQUEST]@goto & @recall commands
03/15/2009 - CO2 Private Server - 2 Replies
Hello folks, can someone post here a code to @goto & @recall commands? They aren't in my source. Thanks!



All times are GMT +1. The time now is 21:23.


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.