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

06/27/2008 10:05 YukiXian#1111
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 :p
06/27/2008 11:59 gfun1#1112
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.
06/27/2008 13:18 YukiXian#1113
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 :p

:eek:YAY !! Congratulation, This is Number 200 of all my Postst ! :D:D:eek:
06/27/2008 13:19 IAmHawtness#1114
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 ! :D
06/27/2008 13:36 .:Saad:.#1115
How Could i make on adz's Source that i get xp from killing Monsters ?

can anyone help me please ? =)
06/27/2008 13:50 gfun1#1116
Quote:
Originally Posted by YukiXian View Post
Well, I don't really understand it, But what ever :p

:eek:YAY !! Congratulation, This is Number 200 of all my Postst ! :D:D:eek:
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 ! :D
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.
06/27/2008 14:45 YukiXian#1117
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...:confused:
06/27/2008 14:53 gfun1#1118
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...:confused:
What do you mean by protected maps?
06/27/2008 15:41 .:Saad:.#1119
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 : [Only registered and activated users can see links. Click Here To Register...]
06/27/2008 16:36 gfun1#1120
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?
06/27/2008 17:06 YukiXian#1121
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 ....:eek:
06/27/2008 17:16 .:Saad:.#1122
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 ?
06/27/2008 18:17 YukiXian#1123
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);
06/27/2008 19:46 adz06676#1124
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.
06/27/2008 20:24 YukiXian#1125
How to add an skill in the Character.cs?