i need some help on the fly skill,i am wondering how to make the character come down to earth after using fly skill, i mean after the time expires.Does any one has any idea on that?
Remove the status effect for fly... and send the screen an update packet for that character using their new status effect pool.
if you mean handling the timeout... well you need some sort of effects thread to deal with all of the status effects that expire (buff skills mostly). When they expire, remove them, update stateff and send to clients nearby.
when the counter reaches zero the client will keep flying ,that is my problem,i am using an version of coemu ; i also found that after an monster die character it will keep attack it
I also tried elite coemu video guide u made but ,after i get the source and i open it in Visual studio 2010 i get errors
then you're not handling the end of the effect properly in the source. I seem to remember the client actually sends a general data requesting to stop flying actually... make sure you handle that properly.
Thing with monsters... just during their attack code check if target is dead and if so clear their target and return.
found it is in client socket.cs
if (Client.Flying)
if (DateTime.Now > Client.FlyActivated.AddSeconds(Client.FlyTime))
EndFly();
now where to put the code to end the skill?
public void EndFly()
{
Client.FlyTime = 0;
Client.Flying = false;
ConquerPacket.ToLocal(ConquerPacket.Status(this, 2, 0, Struct.StatusTypes.StatusEffect), Client.X, Client.Y, (int)Client.Map, 0, 0);
}
found this a bit down from that code
Lack of Understanding 04/30/2011 - Dekaron - 6 Replies Over time it has been clearly stated that the goal in this section is to get rid of "leechers" which is seen by the removal of all 1-click hacks. Now, for someone who is new to the whole hacking scheme, what can you do? There are tutorials that help newbies get started up which will allow players to create things by themselves.
My concern about this is where do you start when you have no programming experience? Using a tutorial is the question that I imagine, but I have felt that tutorials...
[PSU] p-machinery: understanding and using 10/29/2006 - General Gaming Discussion - 0 Replies Remember the PETE (robot) in your hostal? It's the PM allow you to used the
warehouse, synthesis, and you can even raise it to be stronger, so that you
can team up with it.
#- Warehouse
- This function allow you to move and manage the inventory items. And you
will be able to take them out anytime.
#- Raise PM
- Under P-Machinary menu, select "Present an item" and select the item
Help understanding some ASM 01/18/2006 - General Coding - 0 Replies I've collected the next batch of stupid questions i hope someone could help me shed some light on.
Basicly im trying to enterpret some very helloworld'ish basic code written in c++ code(vs2005, console app).
http://www.geocities.com/iamasciiart/hellow.JPG
Truth be told, im fiddling with some codeinjection, evaluating different approaches, but i figure i'd get a little better at reading asm first.
The idea of this statement "cout<<"address :"<<IAmMethodOne<<endl;" was to print the...