Well tell us this, what code are you using for it?
Well, the code i'm using it for is so that when a certain NPC (the KunFuBoy) ends the conversation, it triggers the effect (which I have down so far):
Code:
if (Control == 2)
{
GC.AddSend(Packets.NPCSay("It seems that you have mastered this skill. Good. My sister, Kungfu Girl, has stolen my Jade Glyph and has hidden it on the roof behind me. Can you go and fetch it for me?"));
GC.AddSend(Packets.NPCLink("No problem!", 3));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.MyChar.MyClient.AddSend(Packets.String(GC.MyChar.MyClient.MyChar.EntityID, 10, "angelwing"));
GC.MyChar.Experience = 100;
GC.LocalMessage(2000, "You've received an EXP reward.");
//hidden from Elitepvpers for now.
}
Code:
if (Control == 3)
{
// /effect clewarbignor
GC.AddSend(Packets.NPCSay("Press CTRL and left click with your mouse to jump to the roof and find KungfuGirl."));
GC.AddSend(Packets.NPCFinish());
}
and the base code I'm trying to use to set the coords is by editing this code:
I told you previously, this was brought in, in later editions of the client so they probably have a much simpler way of doing it (by sending effects with cordinates).
At the moment using that client the only way i can think of doing it (Since you cant send effect packets to cordinates directly) would be to spawn an invisible monster and to cast the effect on them. But this would most likely crash the client since you cannot spawn something without a mesh and thus an appearence.
...why did you make two threads for two simliar questions?
They're not Pete. One is finding out an effect name and another one is how to make an effect at a coord (which I think is important for people to be able to search for).
They're not Pete. One is finding out an effect name and another one is how to make an effect at a coord (which I think is important for people to be able to search for).
create a new "npc type thingy" like a non playable anything or movable.. make its coords that and make its visible part the effect...
create a new "npc type thingy" like a non playable anything or movable.. make its coords that and make its visible part the effect...
that's for if you want to make something like a flower...
I'm talking about actually setting off on effect as a result of an action. I don't want to have the arrow be there 24/7 if you know what i mean.
So far I've been looking at the packets but I haven't came up with much of anything...
public static COPacket Effect(ushort X, ushort Y, byte Type, string str) // Note1
{
byte[] Packet = new byte[8 + 11 + str.Length];
COPacket P = new COPacket(Packet);
P.WriteInt16((ushort)(Packet.Length - 8));
P.WriteInt16((ushort)0x3f7);
P.WriteInt16(X);
P.WriteInt16(Y);
P.WriteByte(Type); // Type 10 = effect
P.WriteByte(1);
P.WriteByte((byte)str.Length);
P.WriteString(str);
return P;
}
doesn't work at all. rofl. Without uint UID, there is no target and the effect cannot be seen... but with UID, the target is set to you along with your coords. Help? =\
[Question] Get coordinates by left mouseclick 06/19/2009 - Kal Online - 17 Replies Hey epvpers,
Im alten kalhackit gabs doch ne funktion, wo man STRG+Linksklick gemacht hat und dann wurde man zu der location "geportet".
Weiß nicht ob das so ist aber sicherlich war das nur mit Movepackets sprich mit Superspeed da.
Easy, eigentlich....Doch wie bekam das kalhackit die coords von dem linksklick raus?
Meine Theorie wäre ja, dadurch das man linksklickt bewegt man sich ja. So. Der weiße Kreis der am Ende auf dich wartet sind deine Zielcoordinaten.
Der Client (oder Server?!)...
[Question]Saving Coordinates. 01/18/2009 - CO2 Programming - 2 Replies My memory based archer bot is close to done,
it can jump to a certain coordinate and scatter which are the most important things right now.
Anyway, I'm trying to see what would be the best way to save specific coordinates to a file and then ofcourse read them.
(See it as setting a path to follow)
It also has to allow other users to manipulate them to their likings, wich can be shared etc.. etc..
Now for my question, how should i approach this? Or better yet what would be my best bet and...
[Question]VB6 - Coordinates 11/28/2008 - CO2 Programming - 12 Replies So I got a question,
Im reading process memory for coordinates and i want to let it jump to another set of coordinates
where would i start with making a jump?
Is this possible to do without simulating clicks and having to have screen on top?