Register for your free account! | Forgot your password?

You last visited: Today at 19:58

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

Advertisement



CO Private Server

Discussion on CO Private Server within the CO2 Exploits, Hacks & Tools forum part of the Conquer Online 2 category.

Closed Thread
 
Old 06/23/2006, 03:36   #646
 
elite*gold: 0
Join Date: Dec 2005
Posts: 16
Received Thanks: 0
That would be a good idea for the server, Mana Enchants. Maybe trojans/warriors could enchant their items and learn thunder or something to make it easier (especially for warriors) in pvp. IMO that would be a good idea.
Xerofait is offline  
Old 06/25/2006, 01:14   #647
 
andyd123's Avatar
 
elite*gold: 20
Join Date: Apr 2006
Posts: 1,341
Received Thanks: 886
w00t to me!
I have now, with modifying of the original selector code, been able to implement NPCs. Currently, I have only tested with the guard. Also, the character remains on the map no matter how far I stray from it.
However, after I disconnect, it is gone. And also, I lose the ability to use /scroll, so im not sure if it works after that or not. Im going to keep testing it, Ideo, and anyone in etc that would like to know how I did it, PM me. Ill post some screens later.
Edit:
Unforuntately, how this code is written, the NPC will NOT stick after you scroll out of the map, it will only stick IF you REMAIN on the SAME map.

Ideo, this is how it also is with the Selector method, they only stay if Selector is on the same map, if you scroll, they disappear.
Another idea I would have, would be in the World.Cs where it has "The clients here will not see the jumper, a spawn must occur. I think that would work, just let me know if you think so too or no.
Also, this effect is CLIENT side. Same as selector. Hmm.
Anyhow, here is a screen for anyone who cares.
andyd123 is offline  
Old 06/25/2006, 14:17   #648
 
elite*gold: 0
Join Date: Apr 2006
Posts: 165
Received Thanks: 5
looks nice, if now we can make something that is working serverside, iam not sure, is there already something server-sided instad of only client-sided

here btw, a screendump of my "server"
Attached Images
File Type: jpg post-85-1151237835.jpg (179.3 KB, 2 views)
Titanium is offline  
Old 06/25/2006, 14:24   #649
 
elite*gold: 0
Join Date: Apr 2006
Posts: 165
Received Thanks: 5
Sorry for the second huge *** post but, i just started my server and got a strage error while debugging:

ive got text and a picture

System.NullReferenceException was unhandled
Message="Object reference not set to an instance of an object."
Source="CO Full Server"
StackTrace:
at CO_Full_Server.frmMain.DisconnectClient() in C:\Documents and Settings\@Home\Bureaublad\CO Server\CO Server\CO Full Server\frmMain.cs:line 519
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Attached Images
File Type: jpg post-85-1151238286.jpg (160.7 KB, 3 views)
Titanium is offline  
Old 06/25/2006, 14:29   #650
 
elite*gold: 0
Join Date: Apr 2006
Posts: 165
Received Thanks: 5
here ive made a file with all command to the server for the noobs(like me) and ive put in all the updates so far even got the /mana working, simply copied a life command and changed char.maxHP to char.mapMP ^^.

so all commands are ther and the credits in there, only the pakets for the skills are not there... or.... they are there but copy-pasted and changed the names to the names of the skills...

so here you are much pleasure with it
Attached Files
File Type: ibf post-85-1151238568.ibf (20.2 KB, 45 views)
Titanium is offline  
Old 06/25/2006, 18:55   #651
 
xprincex's Avatar
 
elite*gold: 0
Join Date: Dec 2005
Posts: 163
Received Thanks: 9
Hey titanium nice work and all wit the commands i am working on a command that will spwan all the npc's for that map so far i dont think its posible but i got a command that spawned 2 guards heheh think its a help but if i can get it to work better i will relase it to all of you guys but gtg gettin food


EDIT: well code is a lil broken and all crashed my sever so got a ton of work to do on it ok and here is a pic of me on my gmae and all lol thanks to all yur help SPECIALY :Ideo:Hybris:Titaunim:
will post a pic soon kk laters
xprincex is offline  
Old 06/25/2006, 19:17   #652
 
aidas2004's Avatar
 
elite*gold: 0
Join Date: Mar 2006
Posts: 222
Received Thanks: 47
Titanium> good work, - keep working!
Sorry but i had job now, so i'am very busy...
but i will find some free time, and i will help u as much as i can. Next week i will got 2 free days, so i will think something for CO Server =]
good luck to all =]
Yours IDEO, (aidas2004)
aidas2004 is offline  
Old 06/25/2006, 23:11   #653
 
Hybris's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 304
Received Thanks: 27
I just thought about smthing...when we use a command, it sends a Packet from the server to the Current Client...thats why we think its client-sided...but its not ! Thats cose the others CANT KNOW that the other client sees smthing. Simply cose the server isnt sending em any Packets. So when something is made, we have to send a Packet from the server to EVERY clients around and not only the client that uses the Command.
Hybris is offline  
Old 06/26/2006, 00:12   #654
 
andyd123's Avatar
 
elite*gold: 20
Join Date: Apr 2006
Posts: 1,341
Received Thanks: 886
Hyrbris, I was thinking we had the same idea going on. I figured just about that same thing.
But then there is a problem. Still, they would disappear after a new map. So, I have the idea that say somewhere in the top of World.cs, if say Char.Mape = World.Maps.Twincity
{
Code for all NPCS needed to be spawned here
}
Etc.
Also, I think it should be easy to implement the ability to attack one of the NPCs, and I think I know how now. Ill post something later!
andyd123 is offline  
Old 06/26/2006, 00:47   #655
 
elite*gold: 0
Join Date: Apr 2006
Posts: 23
Received Thanks: 1
how could i inplent it? ( the npc's )
johanbuis is offline  
Old 06/26/2006, 00:57   #656
 
elite*gold: 0
Join Date: Sep 2005
Posts: 5
Received Thanks: 0
I do not know if I go to help somebody but you there

in Character.cs
change it
Quote:
private void CalcMaxHP()
{
m_MaxHP = 24 * m_Vitality + 3 * m_Mana + m_Dexterity * 3 + m_Strength * 3;
switch (m_Class)
{
case ClassType.Trojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.05f);
break;
case ClassType.VeteranTrojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.08f);
break;
case ClassType.TigerTrojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.10f);
break;
case ClassType.DragonTrojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.12f);
break;
case ClassType.TrojanMaster:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.15f);
break;
}
m_MaxHP += m_MiscHPBonus;
}
For

Quote:
private void CalcMaxHP()
{
m_MaxHP = 24 * m_Vitality + 3 * m_Mana + 5* m_Dexterity * 3 + m_Strength * 3;
switch (m_Class)
{
case ClassType.Trojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.05f);
m_Mana = Convert.ToInt32(m_Mana * 1.05f);
break;
case ClassType.VeteranTrojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.08f);
break;
case ClassType.TigerTrojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.10f);
break;
case ClassType.DragonTrojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.12f);
break;
case ClassType.TrojanMaster:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.15f);
m_Mana = Convert.ToInt32(m_Mana * 1.15f);
break;
}
m_MaxHP += m_MiscHPBonus;
}
This goes to add Mana for Class Trojan (Trojan,VeteranTrojan,TigerTrojan,DragonTrojan and TrojanMaster)
-junior- is offline  
Old 06/26/2006, 01:23   #657
 
elite*gold: 0
Join Date: Sep 2005
Posts: 5
Received Thanks: 0
ops...sorry for duble post
my fault...
its
Quote:
private void CalcMaxHP()
{
m_MaxHP = 24 * m_Vitality + 3 * m_Mana + 5* m_Dexterity * 3 + m_Strength * 3;
switch (m_Class)
{
case ClassType.Trojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.05f);
m_Mana = Convert.ToInt32(m_Mana * 1.05f);
break;
case ClassType.VeteranTrojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.08f);
break;
case ClassType.TigerTrojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.10f);
break;
case ClassType.DragonTrojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.12f);
break;
case ClassType.TrojanMaster:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.15f);
m_Mana = Convert.ToInt32(m_Mana * 1.15f);
break;
}
m_MaxHP += m_MiscHPBonus;
}
is only for Trojan and TrojanMaster
change for
Quote:
private void CalcMaxHP()
{
m_MaxHP = 24 * m_Vitality + 3 * m_Mana + 5* m_Dexterity * 3 + m_Strength * 3;
switch (m_Class)
{
case ClassType.Trojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.05f);
m_Mana = Convert.ToInt32(m_Mana * 1.05f);
break;
case ClassType.VeteranTrojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.08f);
m_Mana = Convert.ToInt32(m_Mana * 1.08f);
break;
case ClassType.TigerTrojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.10f);
m_Mana = Convert.ToInt32(m_Mana * 1.10f);
break;
case ClassType.DragonTrojan:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.12f);
m_Mana = Convert.ToInt32(m_Mana * 1.12f);
break;
case ClassType.TrojanMaster:
m_MaxHP = Convert.ToInt32(m_MaxHP * 1.15f);
m_Mana = Convert.ToInt32(m_Mana * 1.15f);
break;
}
m_MaxHP += m_MiscHPBonus;
}
its are correct for all trojan job
-junior- is offline  
Old 06/26/2006, 01:36   #658
 
xprincex's Avatar
 
elite*gold: 0
Join Date: Dec 2005
Posts: 163
Received Thanks: 9
hey andy it might work jsut might well good luck taking a nap now hehehe laters


and can anyone tell me where to find the seclertor thing at in my files i looked a lot and cant find it so anyway laters
xprincex is offline  
Old 06/26/2006, 01:55   #659
 
elite*gold: 0
Join Date: Sep 2005
Posts: 86
Received Thanks: 6
You guys are on the right track for fully implementing npcs. The key is that if you stray too far from an NPC, it will go outside of the buffer and the client will get rid of the NPC. When you get close to an NPC, the server must detect it and re-send the NPC data to the client. That will make sure that everyone can see the NPC and you'll be able to change maps and see them. Keep up the good work!
t3hn00bz0r is offline  
Old 06/26/2006, 02:39   #660
 
andyd123's Avatar
 
elite*gold: 20
Join Date: Apr 2006
Posts: 1,341
Received Thanks: 886
Of curse, N00bz0r, you could always "give us a helping hand"..
lol, know what I mean?
Anyhow, hopefully someone can help me with this error, I did not modify the source except for one line of code, which does not affect anything until a / command is used. I also removed that line, just incase it was that, but it wasnt. Anyhow, in the command line, in get the error:
"AuthServer: an exception of type: "Exception has been thrown by the target of an invocation", and after that, I get the error: "Arithmetic operation has caused an overflow(or something like that, I cant remember it 100%)"
Simply, it means that some kind of math tripped, but I cant find out what the heck it is!
Anyone know?
andyd123 is offline  
Closed Thread




All times are GMT +1. The time now is 19:58.


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.