if (client.Entity.MapID == 1038 && Game.Features.GuildWar.Handle.Running)
{
client.Entity.Teleport(6001, 035, 076);
goto Jump;
}
if (client.Entity.PKPoints >= 100)
{
client.Entity.Teleport(6000, 035, 076);
}
if (ReviveHere)
client.Entity.Teleport(client.Entity.MapID, client.Entity.X, client.Entity.Y);
else
{
foreach (ushort[] Point in Database.DataHolder.RevivePoints)
{
if (Point[0] == client.Entity.MapID)
{
client.Entity.Teleport(Point[1], Point[2], Point[3]);
UpdateprevXY(client);
return;
}
}
client.Entity.Teleport(1002, 430, 380);
}
Jump:
client.Screen.FullWipe();
client.Screen.Reload(null);
}
}
Attack type?????????
Quote:
#region Revive
if (Attacker.Owner.Screen.TryGetValue(TargetUID, out Attacked))
{
if (Attacked.Buffers.Contains(Enums.SkillIDs.SoulShac kle))
{ Attacker.Owner.Send(new Message("You can't revive that player while it is at soul shackle effect!", System.Drawing.Color.Red, Message.TopLeft)); return; }
i think i can explain it a little bit,
right after the death hit you are gonna be clearing all player Status Effects cept for the ones that shouldent be removed .
and you are gonna have to add the NoMovement effect its = 32,
in 2 or maybe 3 seconds the client responds with a general data subtype which is 145,
and right there you'll be adding the Dead effect its = 1024,
and the Dead Mesh for the client ,
and thats it
its gonna look like this thought
public void Kill()
{
this.ClearAllEffects();
this.AddEffect(Enum.Effect.NoMovement, 0);
}
case 145:
Client.AddEffect(Enum.Effect.Dead, 0);
Spawns.SpawnThis(Packets.Status(Client.UID, Enum.Update.Mesh, Client.DeadMesh), Client);
break;
and thats it that should spawn the revive buttons and allow you to use both of the buttons the only thing left is to handle the revive points
ohh and one more thing to be able to use the revive here button you must use the right map status and send it to the player and you must be blessed no offense but i had some times that i was so sleepy that i forgot to use a prying stone and ended up wondering wth is wrong with the revive here case lol
[RELEAS] REVIVEHERE for 5165 09/26/2010 - CO2 PServer Guides & Releases - 15 Replies COMPLETE ???
NOT REALLY but if its missing something we have some very good coders out there that i hope the well take a look at it and fix it if its missing something but so far it works fine
5165
in Robot.cs search for
public void Revive()
below it add this void
[Release]ReviveHere Code For 5165 09/21/2010 - CO2 PServer Guides & Releases - 12 Replies This is my first post on ElitePvpers
i don't know if any one released it before I made it my self i'm a c# noob btw so Go easy on me guys
first open PacketHandling\Revive
then replace everything with this
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
[Question] ReviveHere? 08/22/2010 - CO2 Private Server - 26 Replies alright so this is just a question and if you want it can turn into you helping me (if you know)...so I just wanted to know does anyone know the correct case for revive here? I have searched through my source and found a case number 5454 containing something that might be related to revive here but I tested it and does not seem to work...why? cuz its probably not the CORRECT case...
case 5454:
{
if...
/revive 12/30/2008 - CO2 Private Server - 11 Replies //