[(Awesome)RELEASE] CoEmuv2.Nano(5095) Source Code

06/19/2009 21:54 Zeroxelli#856
@whitelion

Search in Handlers/Chat.cs for the 'reborn'/'2ndreborn' commands, they explain how it works fairly simply.
06/19/2009 23:20 WHITELIONX#857
case "reborn":
{
if(CSocket.Client.isPM || CSocket.Client.isGM)
{
CSocket.Client.Reborn = 1;
ConquerPacket.ToServer(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "CONGRATULATIONS! " + CSocket.Client.Name + " has just been reborn! Good job!", Struct.ChatType.Center), 0);
}
break;
}
case "2ndreborn":
{
if(CSocket.Client.isPM || CSocket.Client.isGM)
{
CSocket.Client.Reborn = 2;
ConquerPacket.ToServer(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "CONGRATULATIONS! " + CSocket.Client.Name + " has just been second reborn! Good job!", Struct.ChatType.Center), 0);
}
break;

This is what I found so I assume I change it from isgm and ispm to what? CSocket.Client.Name <<<----Would that be it? Or do I need to add code?
06/19/2009 23:31 Kiyono#858
For XP skills I should just put:
Code:
case: 1110
{
CSocket.Client.Cyclone = true;
break;
}
and in 0x3F2 subtype 93 something like the cyclone command and it should work but it doesn't =S so any help?
06/19/2009 23:46 Zeroxelli#859
@whitelion

No, see the 'CSocket.Client.Reborn = 1;' etc? That's all it takes. That's sent in the status and spawncharacter packets and the client handles it.

@kiyono

Once you set that the client is told it's in cyclone, and it is updated to add to the status. You should be updating the status of your client, otherwise you can't see when it activates.

For example:
Code:
CSocket.Client.Cyclone = true;
CSocket.Send(ConquerPacket.Status(CSocket, 2, 8388608, Struct.StatusTypes.StatusEffect));
ConquerPacket.ToLocal(ConquerPacket.SpawnCharacter(CSocket), CSocket.Client.X, CSocket.Client.Y, (int)CSocket.Client.Map, 0, 0);
I don't feel like testing it, so let me know if it works.
06/20/2009 00:03 Kiyono#860
case 93:
Code:
case 93:
                                    {
                                        CSocket.Send(ConquerPacket.Status(CSocket, 2, 8388608, Struct.StatusTypes.StatusEffect));
                                        break;
                                    }
Cyclone
Code:
case 1110:
                        {
                            CSocket.Client.Cyclone = true;
                            CSocket.Send(ConquerPacket.Status(CSocket, 2, 8388608, Struct.StatusTypes.StatusEffect));
                            ConquerPacket.ToLocal(ConquerPacket.SpawnCharacter(CSocket), CSocket.Client.X, CSocket.Client.Y, (int)CSocket.Client.Map, 0, 0);
                            break;
                        }
And doesn't work...
06/20/2009 00:06 Zeroxelli#861
Are you sure you're even making it to those packets then?
06/20/2009 00:08 WHITELIONX#862
Lol you totally lost me yup I see the things you are pointing out but what do I do with them?
06/20/2009 00:17 TheGameCo#863
please Some one help me My prob is :
When i open CoEmu V2 GameServer or login server give error it say:
coEmu V2 GameServer has encountered a problem and needs to close we are sorry for the inconvenience [don't send ] when i press it close Please some one tell me how to fix that
06/20/2009 00:27 Kiyono#864
Quote:
Originally Posted by Zeroxelli View Post
Are you sure you're even making it to those packets then?
I didn't understand that.
06/20/2009 01:11 _tao4229#865
You can send the 3f9 packet to other entities instead of respawning the entity (to update a entities statusflag).
06/20/2009 01:46 yuko#866
@Kiyono
you should try to use breakpoints.
than you'll see that the skill 1110 isn't a packet like 93
but its a skill used like an attac.
in order to activate the skill you'll need to put it under attac. and since there is no statement for a skill used on same char you'll have to make it an if
Code:
public static void Attack(int Target, int MagicID, int AType, int X, int Y, ClientSocket CSocket)
        {
            if (MagicID == 1110)
            {
                    CSocket.Client.Cyclone = true;
                CSocket.Send(ConquerPacket.Status(CSocket, 2, 8388608, Struct.StatusTypes.StatusEffect));
                return;
            }
what consernes the 93 packet it only sends the packet when the exp skill is at the end. i think it is send to reset the xpbar to 0 when the exp skill was not used.
anyway i hope this helps a bit.
remember that what i send you here will only activate the skill. you'll need to increase the attac and so on

have fun


sorry for bad english i'm tired and didn't pay any attention on it
06/20/2009 02:24 YukiXian#867
You guys are still busy adding xp skills ?? =/
06/20/2009 02:37 WHITELIONX#868
Ok so wtf did I do wrong o.0 When I move my char from weaponsmith to barber well the npcs have vanished o.0 It is lagging somehow >.<
06/20/2009 03:57 nTL3fTy#869
Just to point this out: I've been seeing people setting a single flag when sending the client statusflag. This is not correct.

In doing that, you are erasing every other statusflag that client has and sets only that one flag.

For example: you are flashing bluename (statusflag 0x01) and cast cyclone (statusflag 0x800000); both combined would be 0x01 | 0x800000 (| being the bitwise OR operator) equaling 0x800001. You should send 0x800001 to flash bluename and be within cyclone. If you only send 0x800000, you erase the flashing bluename statusflag with the cyclone statusflag.

Example: bluename, poisoned, team leader would be:
Code:
0x01 | 0x02 | 0x40 = [highlight]0x43[/highlight]
Example: stigma, casting bless would be:
Code:
0x200 | 0x40000000 = [highlight]0x40000200[/highlight]
The wording is a little confusing, I know. :rolleyes:
06/20/2009 04:48 ~*|Limbo|*~#870
Hey, i'm a little stuck in the logging in process.

I've made an account successfully, i'm sure i've done it right... But i get this message on the command console:

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

When i login it just says "Logging into account server..." then stops and displays the error "Failed to connect to the game server. Please try again later."

I've tried it a few times and tried to make a new account too, neither worked.

Any help on this would be appreciated, i've tried to fix this problem myself for about an hour now :/

Thanks :)