Register for your free account! | Forgot your password?

You last visited: Today at 00:52

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

Advertisement



[RELEAS] REVIVEHERE for 5165

Discussion on [RELEAS] REVIVEHERE for 5165 within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Closed Thread
 
Old   #1
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 991
Received Thanks: 1,107
[RELEAS] REVIVEHERE for 5165

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

Code:
public void Revive()
below it add this void
Code:
public void Revivehere()
        {
            if (!Alive)
            {
                Ghost = false;
                BlueName = false;
                CurHP = (ushort)MaxHP;
                Alive = true;
                StatEff.Remove(NewestCOServer.Game.StatusEffectEn.Dead);
                StatEff.Remove(NewestCOServer.Game.StatusEffectEn.BlueName);
                PKPoints = PKPoints;
                Body = Body;
                Hair = Hair;

                if (Loc.Map == 1038 && Features.GuildWars.War)
                    Teleport(6001, 32, 72);
                else
                {
                    if (PKPoints >= 100)
                        Teleport(6000, 32, 72);
                    else
                    {
                        foreach (ushort[] Point in Database.RevPoints)
                            if (Point[0] == Loc.Map)
                            {
                                Teleport(Point[1], Point[2], Point[3]);
                                break;
                            }
                    }
                }
            }
        }
Packets.cs search for
Code:
public static COPacket Breeding(uint UID)
below it add this
Code:
public static COPacket ReviveHere(uint UID)
        {
            return GeneralData(UID, 0, 0, 0, 144);
        }
to PacketHandler.cs search for

Code:
case 94:
change the whole case with this
Code:
case 94:
                                        {
                                         if (Data[8] == 1)
                                           {
                                             PacketHandling.ReviveHere.Handle(Data, GC);
                                           }
                                         else
                                            PacketHandling.Revive.Handle(GC, Data);
                                            break;
                                        }
we still in Packethandler.cs
search for

Code:
case 94:
above it add this and many thanks for teroareboss1
Code:
case 145:
                                        {
                                            if (GC.MyChar.Loc.Map != 1090 && GC.MyChar.Loc.Map != 1038 && GC.MyChar.Loc.Map != 1351 && GC.MyChar.Loc.Map != 1352 && GC.MyChar.Loc.Map != 1353 && GC.MyChar.Loc.Map != 1354 && GC.MyChar.Loc.Map != 1350)
                                            {
                                                GC.AddSend(Packets.MapStatus(GC.MyChar.Loc.Map, 65535));
                                            }
                                            break;
                                        }
to the revive.cs
under the class revive add this

Code:
class ReviveHere
    {
        public static void Handle(byte[] Data, Main.GameClient GC)//, byte[] Data)
        {
            if (!GC.MyChar.Alive)
            {
                if (DateTime.Now > GC.MyChar.DeathHit.AddSeconds(20))
                {
                    GC.MyChar.secondeimunity = 0;
                    GC.MyChar.InvencibleTime = DateTime.Now;
                    GC.MyChar.Ghost = false;
                    GC.MyChar.BlueName = false;
                    GC.MyChar.CurHP = (ushort)GC.MyChar.MaxHP;
                    GC.MyChar.Alive = true;
                    GC.MyChar.StatEff.Remove(NewestCOServer.Game.StatusEffectEn.Dead);
                    GC.MyChar.StatEff.Remove(NewestCOServer.Game.StatusEffectEn.BlueName);
                    GC.MyChar.Body = GC.MyChar.Body;
                    GC.MyChar.Hair = GC.MyChar.Hair;
                    GC.MyChar.Equips.Send(GC, false);
                    
                    if (GC.MyChar.Loc.Map == 1038)
                        GC.MyChar.Teleport(6001, 32, 72);
                    else if (GC.MyChar.Loc.Map == 1707)
                        GC.MyChar.Teleport(1002, 429, 378);
                    else
                    {
                        if (GC.MyChar.PKPoints >= 100 && GC.MyChar.Loc.Map != 6000 && GC.MyChar.Loc.Map != 6001 && GC.MyChar.Loc.Map != 1090 && GC.MyChar.Loc.Map != 5000 && GC.MyChar.Loc.Map != 1707 && GC.MyChar.Loc.Map != 1005 && GC.MyChar.Loc.Map != 1038 && GC.MyChar.Loc.Map != 5000)
                            GC.MyChar.Teleport(6000, 32, 72);
                        GC.AddSend(Packets.MapStatus(GC.MyChar.Loc.Map, 0));
                    }
                }
            }
        }
    }
}
to the thanks button
Code:
if this post helped than im glad to be at serves  
if not oh well im doing my best here or at least i learned something 
Note . if i had anything wrong with this code please correct me cus im not sure how good it is an it works fine for me  
WHY im posting it cus i think it may help some of ya an i just had a though about posting it so i did i hope that  i did the right thing :P
MANY THANKS to teroareboss1 AGAIN
{ Angelius } is offline  
Thanks
1 User
Old 09/25/2010, 12:11   #2
 
elite*gold: 0
Join Date: Dec 2009
Posts: 87
Received Thanks: 2
i get Mis
alaa410 is offline  
Old 09/25/2010, 14:35   #3
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Once again a credit that should go to me and not to teroareboss1.

You can ask him, and he'll agree that I was the one who added that to 'his' source.
-impulse- is offline  
Thanks
2 Users
Old 09/25/2010, 15:49   #4
 
Sp!!ke's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
yes:> is true I ask you to help with revive here , steed walk , confiscator , trade parthener:> !! thanks :P
Sp!!ke is offline  
Old 09/25/2010, 16:13   #5
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 773
Received Thanks: 441
.... you guys should search a little more before posting things....

the revive here is map status... and the tkx is for impulse.....
12tails is offline  
Old 09/25/2010, 17:53   #6
 
elite*gold: 0
Join Date: Sep 2010
Posts: 90
Received Thanks: 26
Don't work.
peterpiper99 is offline  
Old 09/25/2010, 18:40   #7
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
Code:
 
at least i learned something
learned to copy and paste.
How hard can it be?

CTRL + C ---> CTRL + V
Fish* is offline  
Old 09/25/2010, 20:24   #8
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 991
Received Thanks: 1,107
Code:
Originally Posted by [B]alaa410[/B]
i get Mis
replace the whole revive.cs codes with this
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NewestCOServer.PacketHandling
{
    class Revive
    {
        public static void Handle(Main.GameClient GC, byte[] Data)
        {
            if (!GC.MyChar.Alive)
            {
                if (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(NewestCOServer.Game.StatusEffectEn.Dead);
                    GC.MyChar.StatEff.Remove(NewestCOServer.Game.StatusEffectEn.BlueName);
                    GC.MyChar.Body = GC.MyChar.Body;
                    GC.MyChar.Hair = GC.MyChar.Hair;
                    GC.MyChar.Equips.Send(GC, false);
                    
                    if (GC.MyChar.Loc.Map == 1038 && Features.GuildWars.War)
                        GC.MyChar.Teleport(6001, 32, 72);
                    else if (GC.MyChar.Loc.Map == 1707)
                        GC.MyChar.Teleport(1002, 429, 378);
                    else
                    {
                        if (GC.MyChar.PKPoints >= 100 && GC.MyChar.Loc.Map != 6000 && GC.MyChar.Loc.Map != 6001 && GC.MyChar.Loc.Map != 1090 && GC.MyChar.Loc.Map != 5000 && GC.MyChar.Loc.Map != 1707 && GC.MyChar.Loc.Map != 1005 && GC.MyChar.Loc.Map != 1038 && GC.MyChar.Loc.Map != 5000)
                            GC.MyChar.Teleport(6000, 32, 72);
                        else
                        {
                            foreach (ushort[] Point in Database.RevPoints)
                                if (Point[0] == GC.MyChar.Loc.Map)
                                {
                                    GC.MyChar.Teleport(Point[1], Point[2], Point[3]);
                                    break;
                                }
                        }
                    }

                }
            }
        }
    }
    class ReviveHere
    {
        public static void Handle(byte[] Data, Main.GameClient GC)//, byte[] Data)
        {
            if (!GC.MyChar.Alive)
            {
                if (DateTime.Now > GC.MyChar.DeathHit.AddSeconds(20))
                {
                    GC.MyChar.secondeimunity = 0;
                    GC.MyChar.InvencibleTime = DateTime.Now;
                    GC.MyChar.Ghost = false;
                    GC.MyChar.BlueName = false;
                    GC.MyChar.CurHP = (ushort)GC.MyChar.MaxHP;
                    GC.MyChar.Alive = true;
                    GC.MyChar.StatEff.Remove(NewestCOServer.Game.StatusEffectEn.Dead);
                    GC.MyChar.StatEff.Remove(NewestCOServer.Game.StatusEffectEn.BlueName);
                    GC.MyChar.Body = GC.MyChar.Body;
                    GC.MyChar.Hair = GC.MyChar.Hair;
                    GC.MyChar.Equips.Send(GC, false);
                    
                    if (GC.MyChar.Loc.Map == 1038)
                        GC.MyChar.Teleport(6001, 32, 72);
                    else if (GC.MyChar.Loc.Map == 1707)
                        GC.MyChar.Teleport(1002, 429, 378);
                    else
                    {
                        if (GC.MyChar.PKPoints >= 100 && GC.MyChar.Loc.Map != 6000 && GC.MyChar.Loc.Map != 6001 && GC.MyChar.Loc.Map != 1090 && GC.MyChar.Loc.Map != 5000 && GC.MyChar.Loc.Map != 1707 && GC.MyChar.Loc.Map != 1005 && GC.MyChar.Loc.Map != 1038 && GC.MyChar.Loc.Map != 5000)
                            GC.MyChar.Teleport(6000, 32, 72);
                        GC.AddSend(Packets.MapStatus(GC.MyChar.Loc.Map, 0));
                    }
                }
            }
        }
    }
}
Code:
Originally Posted by [B]-impulse-[/B]

Once again a credit that should go to me and not to teroareboss1.

You can ask him, and he'll agree that I was the one who added that to 'his' source.
than how come you dident release it and how come you dident help me when i asked for help with the revive here button. teroareboss1 did so you better not say anything about it
Code:
Originally Posted by [B]12tails[/B]
.... you guys should search a little more before posting things....

the revive here is map status... and the tkx is for impulse.....
impulse never helped me so credit only gose to teroareboss1
Code:
Originally Posted by [B]Fish*[/B]
learned to copy and paste.
How hard can it be?

CTRL + C ---> CTRL + V
wow i dident know that CTRL + C =copy ---> CTRL + V = paste lmfo how silly please save your shitty comments
{ Angelius } is offline  
Old 09/26/2010, 00:25   #9
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
Quote:
Originally Posted by { Angelius } View Post
wow i dident know that CTRL + C =copy ---> CTRL + V = paste lmfo how silly please save your ****** comments
i can laughing my f***ing off, also (is ***** or lmao).

and I doubtb u learned much more from this.
Fish* is offline  
Old 09/26/2010, 00:36   #10
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by Fish* View Post
i can laughing my f***ing off, also (is ***** or lmao).

and I doubtb u learned much more from this.
Well I learned that you don't know what ***** is, cause its actually laughing my f***ing a** off, not Laughing my f***ing off.
Arcо is offline  
Thanks
1 User
Old 09/26/2010, 00:47   #11
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
Quote:
Originally Posted by Аrco View Post
Well I learned that you don't know what ***** is, cause its actually laughing my f***ing a** off, not Laughing my f***ing off.
it was sarcasm.
to see that he spelled wrong from lmfo to *****.
Fish* is offline  
Old 09/26/2010, 01:29   #12
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 991
Received Thanks: 1,107
Arco +1

and again FISH .
please save your ****** comments
{ Angelius } is offline  
Old 09/26/2010, 01:30   #13
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
Quote:
Originally Posted by { Angelius } View Post
Arco +1
not really as his statement was wrong.
Fish* is offline  
Old 09/26/2010, 12:17   #14
 
elite*gold: 0
Join Date: Dec 2009
Posts: 87
Received Thanks: 2
i get some errors
alaa410 is offline  
Old 09/26/2010, 12:29   #15
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Quote:
Originally Posted by { Angelius } View Post
Code:
Originally Posted by [B]-impulse-[/B]

Once again a credit that should go to me and not to teroareboss1.

You can ask him, and he'll agree that I was the one who added that to 'his' source.
than how come you dident release it and how come you dident help me when i asked for help with the revive here button. teroareboss1 did so you better not say anything about it
I did not release it because I had the right not to do so. When you'll really discover something that was never released all by yourself, you'll see that you won't even think about releasing. terroareboss1 released the source in which he did what I told him to do to be able to use that revive button.
If you really think he was the one who found out how to make the revive button before me(which of course didn't happen), PM him and ask him... you'll see.

Other than this, there's a better way to handle this thing, the way TQ does. Just a few days ago I went through TQ's database and everything was there. Moreover, there are the right map statuses, but meh, it's pointless, and we're headed nowhere continuing this argue.
-impulse- is offline  
Thanks
1 User
Closed Thread


Similar Threads Similar Threads
[Releas] Vip hack!!!!!!
08/15/2011 - WarRock Hacks, Bots, Cheats & Exploits - 14 Replies
Download link Vip.exe OPK STW FAF SVP Anti kick Unl ammo
[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...
[Releas]metin2_map_yoshi3
07/15/2010 - Metin2 PServer Guides & Strategies - 23 Replies
Hey liebe Com, Heute biete ich euch meine neue Map zum Download an, Natürlich könnt Ihr mir verbesserungsvorschläge nenne, aber bitte keine Kommentare wie: Map sieht scheise aus etc. Screens: Kostenloser Bilder Upload Service - Gratis Bilder hochladen / uploaden ohne Anmeldung Kostenloser Bilder Upload Service - Gratis Bilder hochladen / uploaden ohne Anmeldung
[RELEAS]SpeedHack 5.3
12/20/2009 - Soldier Front Hacks, Bots, Cheats & Exploits - 24 Replies
Easy To Use.... i ThinK u knOw wAT To do.! PresS ThankZ . !:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D: D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D: D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D: D:D:D:D * Warning given; False hack



All times are GMT +2. The time now is 00:52.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.