Register for your free account! | Forgot your password?

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

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

Advertisement



P Server "NPC base code/shops/drop items" for who asked me 2 do it

Discussion on P Server "NPC base code/shops/drop items" for who asked me 2 do it within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 06/27/2008, 10:05   #1111
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
Quote:
Originally Posted by IAmHawtness View Post
I already tried your source. I tried using scatter, fortress and speedlightning.. Whenever I kill more than 3-4 monsters at the same time and they respawn, my client crashes.. =(

EDIT: I just installed Qonquer, downloaded from their website.. It still crashes whenever a bigger group of monsters respawns at the same time

Ur Client probely crash of the effect when monsters spawn, Delete them by urself,

@Dirty, I got the Source fully working now
YukiXian is offline  
Thanks
1 User
Old 06/27/2008, 11:59   #1112
 
gfun1's Avatar
 
elite*gold: 0
Join Date: Oct 2005
Posts: 60
Received Thanks: 37
Sorry to everyone firstly, I originally thought that the disconnect issue was due to a malformed packet or incorrectly formatted packet, I now know this is not the case, if you kill 1 monster at a time, they will spawn 1 at a time. You do not get disconnected.

If you kill more then 1 at a time and they spawn, Boom... You're disconnected.

I now have this theory,
The server is saying 3 mobs have just spawned, and sends a packet for only 1 of these mobs, then the client crashed without an error... I will look into adding a Loop / While to send a packet for each monster spawn. =D Hopefully this would fix it!

//EDIT;
Guess what everyone... I have solved the problem of disconnecting when more then 1 monster is spawning.
It will be included in the next SVN deposit. (WOOHOO) Problem is, that when you use a skill that mass kills, I.E. scatter, each monster will die one by one at a speed of 100MS between them, you can see and hear it happen, but it's only really a nice looking light show

FANTASTIC!!@

//EDIT 2;
Guess what, the newer and updated WorldHandler.CS file is now in the SVN Deposit. This file includes a temporary fix to the client crash when mobs spawn bug!
Wiki updated to include how to edit the fix to reduce it's wait effect.
gfun1 is offline  
Thanks
5 Users
Old 06/27/2008, 13:18   #1113
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
Quote:
Originally Posted by gfun1 View Post
Sorry to everyone firstly, I originally thought that the disconnect issue was due to a malformed packet or incorrectly formatted packet, I now know this is not the case, if you kill 1 monster at a time, they will spawn 1 at a time. You do not get disconnected.

If you kill more then 1 at a time and they spawn, Boom... You're disconnected.

I now have this theory,
The server is saying 3 mobs have just spawned, and sends a packet for only 1 of these mobs, then the client crashed without an error... I will look into adding a Loop / While to send a packet for each monster spawn. =D Hopefully this would fix it!

//EDIT;
Guess what everyone... I have solved the problem of disconnecting when more then 1 monster is spawning.
It will be included in the next SVN deposit. (WOOHOO) Problem is, that when you use a skill that mass kills, I.E. scatter, each monster will die one by one at a speed of 100MS between them, you can see and hear it happen, but it's only really a nice looking light show

FANTASTIC!!@

//EDIT 2;
Guess what, the newer and updated WorldHandler.CS file is now in the SVN Deposit. This file includes a temporary fix to the client crash when mobs spawn bug!
Wiki updated to include how to edit the fix to reduce it's wait effect.
Well, I don't really understand it, But what ever

YAY !! Congratulation, This is Number 200 of all my Postst !
YukiXian is offline  
Old 06/27/2008, 13:19   #1114
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
Quote:
Originally Posted by gfun1 View Post
Sorry to everyone firstly, I originally thought that the disconnect issue was due to a malformed packet or incorrectly formatted packet, I now know this is not the case, if you kill 1 monster at a time, they will spawn 1 at a time. You do not get disconnected.

If you kill more then 1 at a time and they spawn, Boom... You're disconnected.

I now have this theory,
The server is saying 3 mobs have just spawned, and sends a packet for only 1 of these mobs, then the client crashed without an error... I will look into adding a Loop / While to send a packet for each monster spawn. =D Hopefully this would fix it!

//EDIT;
Guess what everyone... I have solved the problem of disconnecting when more then 1 monster is spawning.
It will be included in the next SVN deposit. (WOOHOO) Problem is, that when you use a skill that mass kills, I.E. scatter, each monster will die one by one at a speed of 100MS between them, you can see and hear it happen, but it's only really a nice looking light show

FANTASTIC!!@

//EDIT 2;
Guess what, the newer and updated WorldHandler.CS file is now in the SVN Deposit. This file includes a temporary fix to the client crash when mobs spawn bug!
Wiki updated to include how to edit the fix to reduce it's wait effect.
Thank you SO much! I knew this was the issue, I just didn't know how to fix it. Wow, +thanks, respect, karma, coolness, etc. for you !
IAmHawtness is offline  
Old 06/27/2008, 13:36   #1115
 
elite*gold: 0
Join Date: Jan 2008
Posts: 56
Received Thanks: 4
How Could i make on adz's Source that i get xp from killing Monsters ?

can anyone help me please ? =)
.:Saad:. is offline  
Old 06/27/2008, 13:50   #1116
 
gfun1's Avatar
 
elite*gold: 0
Join Date: Oct 2005
Posts: 60
Received Thanks: 37
Quote:
Originally Posted by YukiXian View Post
Well, I don't really understand it, But what ever

YAY !! Congratulation, This is Number 200 of all my Postst !
It means, that I have found a temporary fix to the issue where the client crashes when more then 2 mobs spawn at the same time.

Quote:
Originally Posted by IAmHawtness View Post
Thank you SO much! I knew this was the issue, I just didn't know how to fix it. Wow, +thanks, respect, karma, coolness, etc. for you !
Thanks Mate. It wasn't too hard ^_^


Quote:
Originally Posted by .:Saad:. View Post
How Could i make on adz's Source that i get xp from killing Monsters ?

can anyone help me please ? =)
Code:
Find in Character.CS;
WorldHandler.AttackMob(MyClient, Target, AttackType, AttackDMG);

Add After;
MyClient.MyChar.AddExp(AttackDMG * Target.Level / 22);

Find in Character.CS;
WorldHandler.AttackMob(MyClient, Target, 14, 0);

Add After;
MyClient.MyChar.AddExp(AttackDMG * Target.Level / 22);
Easy enough.
gfun1 is offline  
Old 06/27/2008, 14:45   #1117
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
May a stupid question but, were i can find the Protected maps? Cuz i can't find it anywere, They should be in 2 Files...
YukiXian is offline  
Old 06/27/2008, 14:53   #1118
 
gfun1's Avatar
 
elite*gold: 0
Join Date: Oct 2005
Posts: 60
Received Thanks: 37
Quote:
Originally Posted by YukiXian View Post
May a stupid question but, were i can find the Protected maps? Cuz i can't find it anywere, They should be in 2 Files...
What do you mean by protected maps?
gfun1 is offline  
Old 06/27/2008, 15:41   #1119
 
elite*gold: 0
Join Date: Jan 2008
Posts: 56
Received Thanks: 4
Code:
Find in Character.CS;
WorldHandler.AttackMob(MyClient, Target, AttackType, AttackDMG);

Add After;
MyClient.MyChar.AddExp(AttackDMG * Target.Level / 22);

Find in Character.CS;
WorldHandler.AttackMob(MyClient, Target, 14, 0);

Add After;
MyClient.MyChar.AddExp(AttackDMG * Target.Level / 22);
Easy enough.[/QUOTE]

hmm i did this but it doesnt works may you could send me your Character.Cs file to my email :
.:Saad:. is offline  
Old 06/27/2008, 16:36   #1120
 
gfun1's Avatar
 
elite*gold: 0
Join Date: Oct 2005
Posts: 60
Received Thanks: 37
Quote:
Originally Posted by .:Saad:. View Post
Code:
Find in Character.CS;
WorldHandler.AttackMob(MyClient, Target, AttackType, AttackDMG);

Add After;
MyClient.MyChar.AddExp(AttackDMG * Target.Level / 22);

Find in Character.CS;
WorldHandler.AttackMob(MyClient, Target, 14, 0);

Add After;
MyClient.MyChar.AddExp(AttackDMG * Target.Level / 22);
Easy enough.
hmm i did this but it doesnt works may you could send me your Character.Cs file to my email : [/QUOTE]

What's it not doing exactly?
gfun1 is offline  
Old 06/27/2008, 17:06   #1121
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
Quote:
Originally Posted by gfun1 View Post
hmm i did this but it doesnt works may you could send me your Character.Cs file to my email :
What's it not doing exactly?[/QUOTE]

U also have to edit an File in the WorldHandler.cs ....
YukiXian is offline  
Old 06/27/2008, 17:16   #1122
 
elite*gold: 0
Join Date: Jan 2008
Posts: 56
Received Thanks: 4
so this is what i did :

WorldHandler.AttackMob(MyClient, Target, AttackType, AttackDMG);
MyClient.MyChar.AddExp(AttackDMG * Target.Level / 22);

WorldHandler.AttackMob(MyClient, Target, 14, 0);
MyClient.MyChar.AddExp(AttackDMG * Target.Level / 22);

it dont works .....

oh so if i have to edit a file in WorldHandler.cs u could say me what i have to edit there ?
.:Saad:. is offline  
Old 06/27/2008, 18:17   #1123
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
Quote:
Originally Posted by .:Saad:. View Post
so this is what i did :

WorldHandler.AttackMob(MyClient, Target, AttackType, AttackDMG);
MyClient.MyChar.AddExp(AttackDMG * Target.Level / 22);

WorldHandler.AttackMob(MyClient, Target, 14, 0);
MyClient.MyChar.AddExp(AttackDMG * Target.Level / 22);

it dont works .....

oh so if i have to edit a file in WorldHandler.cs u could say me what i have to edit there ?
Search for line 129, Looks like this :
Quote:
Charr.MyClient.Mychar.AddExp(DMG*TheMob.Level/15);
YukiXian is offline  
Old 06/27/2008, 19:46   #1124
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
Quote:
Originally Posted by samehvan View Post
make ur Face= line with small f not Capital F



Wah , u guys runs very fast , coool mates i think , keep that good work ,,
@gfun1:-i dd make the W/H base still need the store and pull commands , think u can do it?
@Adz:- i dd make the Guild base (create and view actions) ,still need the requests (view alley /enemy/join) actions , think u can do it?
I'll try but i'll need the source lemme know when you upload it.

Quote:
Originally Posted by GRASSHOPPA View Post
*adz*
do u have guilds working?
i noticed u have the guild.cs and the sendguild.cs in the client requests...
would we need like a retrieveguild.cs also? (not asking u to make so dun get all pist off -.-)
I havent coded that yet no.
adz06676 is offline  
Old 06/27/2008, 20:24   #1125
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
How to add an skill in the Character.cs?
YukiXian is offline  
Reply


Similar Threads Similar Threads
Verkaufe: Guild Wars "Platin", "Ectos, "Items" mehr...
09/12/2008 - Guild Wars Trading - 0 Replies
Hallo, ich biete gegen Euro viele schöne dinge für das Spiel Guild Wars an. Bitte meldet euch dann bei mir per PM was genau ihr haben möchtet und wieviel von den jeweiligen Virtuellen Gegenständen. Die Übergabe kann wie folgt ab laufen. Ich erstelle extra für euch die Ebay Auktion mit der gewünschten menge der jeweiligen Virtuellen Guild Wars gegenstände. Wenn ihr kein Ebay habt und euch auch kein Account anlegen möchtet kann die Übergabe auch ausserhalb Ebays statt finden hierzu erhaltet...



All times are GMT +1. The time now is 07:12.


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.