Register for your free account! | Forgot your password?

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

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

Advertisement



[HELP] revive here button

Discussion on [HELP] revive here button within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 992
Received Thanks: 1,110
Question [HELP] revive here button

yeah another bumb question i know
lol

but

dose anybody knows what is the ID for the Revive Here button i was looking for it for long time but couldent find it yet . well i got the revive here code working and to test it i had to give it the revive button case ID an it works fine but to make both of them work i need the ID for the revive here one
the revive button case number was 94
So plz any ideas ??


Ohh .and btw when I get killed and the revive button comes up if the xp skill came up right after it the revive button well Disappear pffff let me know how to fix it :P
thax
{ Angelius } is offline  
Old 09/17/2010, 05:20   #2
 
elite*gold: 0
Join Date: Jul 2010
Posts: 223
Received Thanks: 23
Quote:
Originally Posted by { Angelius } View Post
yeah another bumb question i know
lol

but

dose anybody knows what is the ID for the Revive Here button i was looking for it for long time but couldent find it yet . well i got the revive here code working and to test it i had to give it the revive button case ID an it works fine but to make both of them work i need the ID for the revive here one
the revive button case number was 94
So plz any ideas ??


Ohh .and btw when I get killed and the revive button comes up if the xp skill came up right after it the revive button well Disappear pffff let me know how to fix it :P
thax
...
That was just released... it's at the top of the release page...
and make the xp skill load check to see if there the person is dead or not. ><
-Fáng- is offline  
Old 09/17/2010, 05:40   #3
 
Ian*'s Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 805
Received Thanks: 464
Why are you loading an xp skill to check to see if they are alive o.O?

Just do a check if their char status flag = IsGhost or whatever you call it.

I'm sure you have some enumerations in your source for different status types.
When they die you have to send a packet which tells the player's client they are a ghost; am i correct? So just compare their char status flag with IsDead/ IsGhost and that will work better.
Ian* is offline  
Old 09/17/2010, 06:05   #4
 
elite*gold: 0
Join Date: Jul 2010
Posts: 223
Received Thanks: 23
Quote:
Originally Posted by Ian* View Post
Why are you loading an xp skill to check to see if they are alive o.O?

Just do a check if their char status flag = IsGhost or whatever you call it.

I'm sure you have some enumerations in your source for different status types.
When they die you have to send a packet which tells the player's client they are a ghost; am i correct? So just compare their char status flag with IsDead/ IsGhost and that will work better.
xP I'm not loading an XP Skill, I'm saying make the function that loads the xp skills check to see if the character is dead or not!
-Fáng- is offline  
Old 09/17/2010, 06:48   #5
 
Ian*'s Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 805
Received Thanks: 464
Quote:
Originally Posted by -Fáng- View Post
xP I'm not loading an XP Skill, I'm saying make the function that loads the xp skills check to see if the character is dead or not!
But why do that when you can just check their status flag :S

Just more data for your server to handle if you send another packet to the client. I don't really mess with p servers but just doesn't sound like you have to do it that way

just let them send your server the rev here packet, then do a check like...

if (char.Status.IsDead)
{
ReviveHere();
}
else
System.Diagnostics.Debug("Char " + char.Name + " attempted to revive and isn't dead");

ya know something like that
Ian* is offline  
Thanks
1 User
Old 09/17/2010, 07:11   #6
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 992
Received Thanks: 1,110
ummm . first thing thanks for helping me . but that post is for lotf and i dont use a lotf source or even a mysql connection
plus it dosent say anything about the case ID for the revive here button
and actuly thats all i need the ID
an about the revive button well Disappear .....fixed it
{ Angelius } is offline  
Old 09/17/2010, 07:26   #7
 
elite*gold: 0
Join Date: Jul 2010
Posts: 223
Received Thanks: 23
Quote:
Originally Posted by { Angelius } View Post
ummm . first thing thanks for helping me . but that post is for lotf and i dont use a lotf source or even a mysql connection
plus it dosent say anything about the case ID for the revive here button
and actuly thats all i need the ID
an about the revive button well Disappear .....fixed it
"fix it" ?
Are you serious? I really don't like being mean but you don't demand for someone to fix something- especially on this forum. <.<

EDIT: changed your post... good you fixed it then or else that would have been very rude.
-Fáng- is offline  
Old 09/17/2010, 08:30   #8
 
Ian*'s Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 805
Received Thanks: 464
Quote:
Originally Posted by -Fáng- View Post
"fix it" ?
Are you serious? I really don't like being mean but you don't demand for someone to fix something- especially on this forum. <.<
"fixed" meaning he fixed it himself
Ian* is offline  
Old 09/17/2010, 09:18   #9
 
elite*gold: 0
Join Date: Jul 2010
Posts: 223
Received Thanks: 23
Quote:
Originally Posted by Ian* View Post
"fixed" meaning he fixed it himself
Nah =o he changed his post. It said "fix it".
-Fáng- is offline  
Old 09/17/2010, 10:07   #10
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 992
Received Thanks: 1,110
Quote:
Originally Posted by -Fang-
"fix it" ?
Are you serious? I really don't like being mean but you don't demand for someone to fix something- especially on this forum. <.<

EDIT: changed your post... good you fixed it then or else that would have been very rude.
Trying to be a smart *** or something ????

well at least im not the one with 214 post and all i got is 13 thanks :P
an about the post YES i fixed the revive button well Disappear thing do you mind ??
and btw if you dont have something to help with THAN ***** AND DONT POST YOUR ***** DOWN HERE
{ Angelius } is offline  
Old 09/17/2010, 13:00   #11
 
elite*gold: 0
Join Date: Feb 2009
Posts: 262
Received Thanks: 161
Code:
                              case 145://subtype generaldata 
                                    {
                                        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.SendPacket(Packets.MapStatus(GC.MyChar.Loc.Map, 65535));
                                        }
                                        break;
                                    }
case 94:
{
if (Data[8] == 1)
{
//revive here buton
}
else
//revive
break;
}
teroareboss1 is offline  
Thanks
1 User
Old 09/17/2010, 17:03   #12
 
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
Quote:
Originally Posted by { Angelius } View Post
Trying to be a smart *** or something ????

well at least im not the one with 214 post and all i got is 13 thanks :P
an about the post YES i fixed the revive button well Disappear thing do you mind ??
and btw if you dont have something to help with THAN ***** AND DONT POST YOUR ***** DOWN HERE
noone will help u with that attitude
dowhatuwant is offline  
Old 09/18/2010, 06:36   #13
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 992
Received Thanks: 1,110
Quote:
Originally Posted by teroareboss1
case 145://subtype generaldata
{
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.SendPacket(Packets.MapStatus(GC.MyChar.Loc.Map, 65535));
}
break;
}
thanks you are the best
{ Angelius } is offline  
Reply


Similar Threads Similar Threads
WarRock statt KOREANISCHE BUTTON --> Englische BUTTON
02/26/2010 - WarRock - 6 Replies
Bin mir nicht sicher ob es diesen Thread schon gibt aber hab bis jetzt nichts gesehen hier. Funktionen Für WarRock Korea Koreanische Schriften (Button) weg und englische Schriften (Button) hin Anleitung
Revive button question
11/05/2009 - CO2 Private Server - 2 Replies
From what I saw, I`ll need to send the 1017 packet to bring the button up, but I can`t figure how should I send it. If you could give me some directions that`d be great. Cheers, ElDeRnEcro
Revive anywhere.
08/06/2009 - CO2 Exploits, Hacks & Tools - 63 Replies
Patched.
/revive
12/30/2008 - CO2 Private Server - 11 Replies
//
Question about button "Revive here" !
03/30/2008 - Conquer Online 2 - 2 Replies
Hey guys , i wanna know if there has any way to set up hotkey F1,F2,F3 for Revive Here ... Only for Blessed players! Thanks .



All times are GMT +1. The time now is 22:03.


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