Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 13:53

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

Advertisement



[Question] ReviveHere?

Discussion on [Question] ReviveHere? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
[Question] ReviveHere?

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...

Code:
case 5454:
                                        {
                                            if (GC.MyChar.BlessingLasts > 0 && !GC.MyChar.Alive && DateTime.Now > GC.MyChar.DeathHit.AddSeconds(20))
                                            {
                                                GC.MyChar.Ghost = false;
                                                GC.MyChar.BlueName = false;
                                                GC.MyChar.CurHP = (ushort)GC.MyChar.MaxHP;
                                                GC.MyChar.Alive = true;
                                                GC.MyChar.StatEff.Remove(ConquerSx.Game.StatusEffectEn.Dead);
                                                GC.MyChar.StatEff.Remove(ConquerSx.Game.StatusEffectEn.BlueName);
                                                GC.MyChar.Body = GC.MyChar.Body;
                                                GC.MyChar.Hair = GC.MyChar.Hair;
                                                GC.MyChar.Equips.Send(GC, false);

                                                    foreach (ushort[] Point in Database.RevPoints)
                                                    if (Point[0] == GC.MyChar.Loc.Map)
                                                    {
                                                        GC.MyChar.Teleport(Point[1], Point[2], Point[3]);
                                                    }
                                            }
                                            break;
                                        }
killersub is offline  
Old 08/17/2010, 19:11   #2
 
elite*gold: 0
Join Date: Feb 2009
Posts: 262
Received Thanks: 161
is easy.....
but is case 94:, no case 5454:
teroareboss1 is offline  
Old 08/17/2010, 19:43   #3
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by teroareboss1 View Post
is easy.....
but is case 94:, no case 5454:
if it's easy den Y dont u giv me an example of urs huh?...
killersub is offline  
Old 08/17/2010, 21:46   #4
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
Killersub loose the attitude. Your not gonna get given candy(free).
_DreadNought_ is offline  
Old 08/17/2010, 22:33   #5
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by Eliminationn View Post
Killersub loose the attitude. Your not gonna get given candy(free).
ever heard of playing around?...plus I was asking for help by telling him if he can show me an example dats all...don't take it seriously LOL...
killersub is offline  
Thanks
1 User
Old 08/17/2010, 23:06   #6
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by killersub View Post
ever heard of playing around?...plus I was asking for help by telling him if he can show me an example dats all...don't take it seriously LOL...
I believe they were just giving you the case ID as that is what you asked for... That I assume is what they meant by "easy".
.Beatz is offline  
Old 08/18/2010, 05:12   #7
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
94 is normal revive. Revive here is a general data put it inside Revive
-Shunsui- is offline  
Thanks
1 User
Old 08/18/2010, 07:10   #8
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by -Shunsui- View Post
94 is normal revive. Revive here is a general data put it inside Revive
alrite so I searched my whole packetHandler and thus far I have found the case 94 well here's mine and tell me if its correct or if its wrong(please tell me how to improve it by giving me examples etc...)

Code:
case 94:
                                        {
                                            byte RevType = Data[8];
                                            if (RevType == 8)
                                                PacketHandling.Revive.Handle(GC, Data);
                                            else
                                                PacketHandling.ReviveHere.Handle(Data, GC);
                                            break;
                                        }
killersub is offline  
Old 08/18/2010, 08:55   #9
 
elite*gold: 0
Join Date: Feb 2009
Posts: 262
Received Thanks: 161
Quote:
Originally Posted by killersub View Post
alrite so I searched my whole packetHandler and thus far I have found the case 94 well here's mine and tell me if its correct or if its wrong(please tell me how to improve it by giving me examples etc...)

Code:
case 94:
                                        {
                                            byte RevType = Data[8];
                                            if ( RevType == 8)
                                                PacketHandling.Revive.Handle(GC, Data);
                                            else
                                                PacketHandling.ReviveHere.Handle(Data, GC);
                                            break;
                                        }

Code:
case 94:
                                        {
                                            byte RevType = Data[8];
                                            if ( RevType == [COLOR="Red"]1[/COLOR])
                                                PacketHandling.Revive.Handle(GC, Data);
                                            else
                                                PacketHandling.ReviveHere.Handle(Data, GC);
                                            break;
                                        }
teroareboss1 is offline  
Thanks
2 Users
Old 08/18/2010, 13:18   #10
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
If it helps
Code:
static void Revive(GeneralData generalData, Client.GameState client)
        {
            if (Time32.Now >= client.Entity.DeathStamp.AddSeconds(20))
            {
                bool ReviveHere = generalData.dwParam == 1;
                client.Entity.TransformationID = 0;
                client.Entity.RemoveFlag(Update.Flags.Dead | Update.Flags.Ghost);
                client.Entity.Hitpoints = client.Entity.MaxHitpoints;
                if (ReviveHere)
                {
                    client.Send(new MapStatus() { ID = client.Entity.MapID, Status = 0 });
                }
                else if (client.Entity.PKPoints >= 100)
                {
                    client.Entity.Teleport(6000, 035, 076);
                }
                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);
                }
            }
        }
_DreadNought_ is offline  
Thanks
1 User
Old 08/18/2010, 16:55   #11
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by teroareboss1 View Post
Code:
case 94:
                                        {
                                            byte RevType = Data[8];
                                            if ( RevType == [COLOR="Red"]1[/COLOR])
                                                PacketHandling.Revive.Handle(GC, Data);
                                            else
                                                PacketHandling.ReviveHere.Handle(Data, GC);
                                            break;
                                        }
thank u very much and I apologize for being so rude yesterday .

Quote:
Originally Posted by Eliminationn View Post
If it helps
Code:
static void Revive(GeneralData generalData, Client.GameState client)
        {
            if (Time32.Now >= client.Entity.DeathStamp.AddSeconds(20))
            {
                bool ReviveHere = generalData.dwParam == 1;
                client.Entity.TransformationID = 0;
                client.Entity.RemoveFlag(Update.Flags.Dead | Update.Flags.Ghost);
                client.Entity.Hitpoints = client.Entity.MaxHitpoints;
                if (ReviveHere)
                {
                    client.Send(new MapStatus() { ID = client.Entity.MapID, Status = 0 });
                }
                else if (client.Entity.PKPoints >= 100)
                {
                    client.Entity.Teleport(6000, 035, 076);
                }
                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);
                }
            }
        }
thanks for dat, but kinda a noob question...where do u want me to put dis exactly ?
killersub is offline  
Old 08/18/2010, 17:22   #12
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
is from immunes I guess.
U have to convert it
Fish* is offline  
Old 08/18/2010, 17:39   #13
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
I dont use immune's source. It's from impulses and with my edited version of it
_DreadNought_ is offline  
Old 08/18/2010, 22:41   #14
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
It will still not work. Even so, this is half way done. You gotta make something else, just so you can actually use the button. Some sources out there already have it.

It's a packet sent after/when dying.
-impulse- is offline  
Old 08/18/2010, 23:15   #15
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
I know. Not hard as far as I know.
_DreadNought_ is offline  
Reply


Similar Threads Similar Threads
[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]How do i bypass Xtrap for any private server?[QUESTION]
10/12/2009 - Cabal Online - 3 Replies
Exactly what the title says. I keep on getting an xTrap error when i try and load ANY private server that uses XTrap and it's driving me absolutely insane. I cant figure out why it's showing me the error. If anyone has any bypasser for Helix / PaRaDoX or any other server u know that has xTrap can u either PM me the bypass or post it here pls......this is driving me nuts Bump.



All times are GMT +1. The time now is 13:55.


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.