Register for your free account! | Forgot your password?

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

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

Advertisement



[REL] Official CoEmu v2's questions thread

Discussion on [REL] Official CoEmu v2's questions thread within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
[REL] Official CoEmu v2's questions thread

Heya all !
I will try my best to keep this thread alive and monitored
This is just preventing many threads asking for things.
Please press thanks if i helped you.
Bytes :
Quote:
Agility = 0x10,
BlessTime = 0x11,
Class = 7,
CPs = 0x1d,
CurseTime = 20,
DoubleExpTime = 0x12,
EE1 = 30,
Effect = 0x19,
Experience = 5,
Hair = 0x1a,
HP = 0,
Level = 12,
LuckyTime = 0x1c,
Mesh = 11,
Modifier = 8,
MP = 2,
PKPoints = 6,
PotFromMentor = 0x24,
QuizPts = 40,
RebirthCount = 0x16,
Silvers = 4,
Spirit = 13,
Stamina = 8,
StatPoints = 10,
Strength = 15,
VIPLevel = 0x27,
Vitality = 14,
HeavensBlessing = 17,
WHMoney = 9,
XPBar = 0x1f
Quote:
Accuracy = 0x80L,
BlackName = 0x8000L,
BlueName = 1L,
Cyclone = 0x800000L,
Dead = 0x400L,
FatalStrike = 0x800000000000L,
Flashy = 0x1000000000000L,
Fly = 0x8000000L,
Gone = 4L,
Invisible = 0x400000L,
MonthlyPKChampion = 0x1000000000L,
Normal = 0L,
Poisoned = 2L,
Pray = 0x40000000L,
RedName = 0x4000L,
Shield = 0x100L,
ShurikenVortex = 0x400000000000L,
SomeShit = 0x20L,
Stigma = 0x200L,
SuperMan = 0x40000L,
TeamLeader = 0x40L,
TopArcher = 0x10000000000L,
TopDeputyLeader = 0x800000000L,
TopFireTaoist = 0x40000000000L,
TopGuildLeader = 0x400000000L,
TopNinja = 0x80000000000L,
TopTrojan = 0x8000000000L,
TopWarrior = 0x4000000000L,
TopWaterTaoist = 0x20000000000L,
WeeklyPKChampion = 0x2000000000L,
HeavensBlessing = 0x200000000,
XPStart = 0x10L
Cya,
Yashi.
ImmortalYashi is offline  
Thanks
3 Users
Old 10/16/2009, 10:02   #2
 
onlyme64's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 268
Received Thanks: 25
When im making my pk tourny..whats the code to make the system check who the last player standing in the current pk map is and announce him/her the winner and maybe even award him/her an item for winning. Thanks.
Note
Im new to coding and ive started to learn C# from scratch, the best i can do is Console.WriteLine(""); atm =x
onlyme64 is offline  
Old 10/16/2009, 15:27   #3
 
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
@ Put this in nano.cs
Quote:
public static Dictionary<int, int> JoinedPKWar = new Dictionary<int, int>();
Character.cs :
Quote:
public bool InPkWar = false;
then at the npc at the part where you join
Quote:
CSocket.Client.InPkWar = true;
Nano.JoinedPKWar[CSocket.Client.ID]++;
then search for
Quote:
public static bool doPlayer(ClientSocket CSocket, ClientSocket ASocket, int Damage, int AType)
Scroll down a bit till you reach the part where you die.
Before anything comes under the else { you put
Quote:
if (ASocket.Client.InPkWar == true)
{
Nano.JoinedPKWar[ASocket.Client.ID]--;
ASocket.Client.DiedPK = true;
ASocket.Client.InPkWar = false;
}
then at the reply to ping ( can't find think of somethink better atm )
you put
Quote:
if (Nano.JoinedPKWar[CSocket.Client.ID] == 1 && CSocket.Client.InPkWar == true && CSocket.Client.DiedPK == false)
{
// shit happens here
}
I'm not sure if it works.
Cya,
Yashi.
ImmortalYashi is offline  
Old 10/16/2009, 16:54   #4
 
onlyme64's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 268
Received Thanks: 25
I'll try it later, thanks!
onlyme64 is offline  
Old 10/16/2009, 17:00   #5
 
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
No problem

Cya,
Yashi.
ImmortalYashi is offline  
Old 10/16/2009, 17:06   #6
 
elite*gold: 0
Join Date: May 2006
Posts: 828
Received Thanks: 235
Quote:
Originally Posted by ImmortalYashi View Post
Heya all !
I will try my best to keep this thread alive and monitored
This is just preventing many thread's asking for things.
Please press thank's if i helped you.
Bytes :




Cya,
Yashi.
Not to flame but to keep this thread "professional" you need to not make spelling mistakes. I've highlighted in red the mistakes you have so far. You don't need 's.
blade911 is offline  
Old 10/16/2009, 17:09   #7
 
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
I made it at midnight but mmkay i don't need to explain myself.
ImmortalYashi is offline  
Old 10/16/2009, 17:11   #8
 
elite*gold: 0
Join Date: May 2006
Posts: 828
Received Thanks: 235
Quote:
Originally Posted by ImmortalYashi View Post
I made it at midnight but mmkay i don't need to explain myself.
Lol don't worry. It doesn't matter alot of people do that even when their fully aware they just don't know any better
blade911 is offline  
Old 10/16/2009, 17:13   #9
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
@Blade, your grammar sucks as well so don't even bother.
Basser is offline  
Old 10/16/2009, 20:29   #10
 
onlyme64's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 268
Received Thanks: 25
Ive gotten 2 same errors, No definition for "DiedPk"
onlyme64 is offline  
Old 10/16/2009, 20:46   #11
 
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
Right just add in character.cs public bool DiedPk = false;
ImmortalYashi is offline  
Old 10/16/2009, 20:49   #12
 
onlyme64's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 268
Received Thanks: 25
Ive tried that my self, still the same error =x
onlyme64 is offline  
Old 10/16/2009, 20:52   #13
 
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
Post the lines that causes the error
ImmortalYashi is offline  
Old 10/16/2009, 20:52   #14
 
elite*gold: 0
Join Date: May 2006
Posts: 828
Received Thanks: 235
Quote:
Originally Posted by Smythe94 View Post
@Blade, your grammar sucks as well so don't even bother.
My grammar is legit you must be dreaming.

@On-Topic - How come one day CoEmu v2 works (like I can login with other people) and the next day I can't login it loads forever (only i can, other people can login). I haven't touched anything it just doesn't let me login the next day. Any ideas?
blade911 is offline  
Old 10/16/2009, 21:01   #15
 
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
I never encountered such problems it may be net problems if it isn't i will check it once for you.
ImmortalYashi is offline  
Reply


Similar Threads Similar Threads
[Un-Official] CoEMU Help
01/24/2010 - CO2 PServer Guides & Releases - 38 Replies
CoEmu.Nano Help Thread I started this topic to help keep the Conquer PServer Dissussions/Questions section clean. This topic will contain links , guides , and source codes examples as well as help. I seen day after day the same questions asked. If you have any questions about the CoEmu.Nano source code , setup, or general questions about it please feel free to ask them here. Source The Offical CoEMU.Nano Thread Private Server Clients
Official Counting Thread for CO2 Main Discussions / Questions
06/13/2008 - Conquer Online 2 - 14 Replies
Bored..... :D:D ......... 1



All times are GMT +1. The time now is 00:01.


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.