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

06/19/2008 23:52 GRASSHOPPA#751
could somebody help me?ill help u if possible

when i get the new source...it doesnt have skills and im not quiet sure how to add them honestly
and i heard mana was on there yet i dont have dat either =(
any advise/help?
06/20/2008 00:01 Light200#752
/skill herc /skill fb /skill tornado /skill ss
06/20/2008 00:02 GRASSHOPPA#753
omg if that works im gonna shoot myself 0,0...
ive been trying /skill fastblade,/skill fastblade 1,/skill fastblade 1 0 0 0 0 0 0...
uhh thx tho light =P...soz for the pathetic post =(
06/20/2008 00:08 Light200#754
i hope you don't ruin your screen, before you do though, write a wll of your pc to my name
06/20/2008 00:17 GRASSHOPPA#755
already did =P...screen goes to u but tower goes to sam ^^
06/20/2008 00:18 YoungCrooks#756
anyone know how to recompile the co server exe. because that wud fix our problems that we are having in our server
06/20/2008 00:21 Light200#757
>.>
at least i'll get 4 screens per tower..
06/20/2008 00:43 SweeTFlower#758
Quote:
Originally Posted by YoungCrooks View Post
anyone know how to recompile the co server exe. because that wud fix our problems that we are having in our server
what was the problem with your server? and have you tried to use C#2005?
06/20/2008 00:45 samehvan#759
i dunno , how it was goin with u the last 2 days, i am sure been a lot , srry for not beein here i had some bad time ,

, so let's start again
06/20/2008 00:51 Light200#760
hey sam can you repost this in a way i can copy and paste?
the current one is dif font then the one in the packets
Quote:
Originally Posted by samehvan View Post
i hope it is that simple , i slept for a while tho , thank you
*
*
now for who want to forbid the PK at Ma and Lotto , follow this

-open sourcePacketHandler.cs
-add this code line 192

Code:
case 1022: //Attack
                    {
                        int kind = (Data[23] << 24) + (Data[22] << 16) + (Data[21] << 8) + (Data[20]);
                        //Console.WriteLine("Packet - Attack request {0}     {1}", PacketId, kind);
                        [COLOR=blue]if (AClient.MyChar.PosMap == 1036 || AClient.MyChar.PosMap == 700)[/COLOR]
[COLOR=blue]                     {[/COLOR]
[COLOR=blue]                         AClient.SendPacket(ThePackets.SendMsg(AClient.MessageId, "SYSTEM", AClient.MyChar.CharName, "This Map is protected .", 2015));[/COLOR]
[COLOR=blue]                         break;[/COLOR]
[COLOR=blue]                     }[/COLOR]
[COLOR=blue]                     else [/COLOR]
                        Msg = new Attack(Data,AClient);
                        break;
                    }
the blue lines are the adds

for the Exp rate , there are 3 edits needed ,
1- worldhandler.cs line 129
Charr.MyClient.MyChar.AddExp(DMG*TheMob.Level/15);

2-Character.cs line 1036
MyClient.MyChar.AddExp(AttackDMG *Target.Level/22);

3- Character.cs line 1134
MyClient.MyChar.AddExp(AttackDMG *Target.Level/22);

edit the red color numbers
06/20/2008 01:00 SweeTFlower#761
Quote:
Originally Posted by samehvan View Post
i dunno , how it was goin with u the last 2 days, i am sure been a lot , srry for not beein here i had some bad time ,

, so let's start again
sam you ok? >.> did you get some rest mr.?

an did you figure out whats up with vista =( i couldn't figure it out =(
06/20/2008 01:12 samehvan#762
Quote:
Originally Posted by SweeTFlower View Post
sam you ok? >.> did you get some rest mr.?

an did you figure out whats up with vista =( i couldn't figure it out =(
telling the truth ?? , no i am not ,,

i am tryen with vista , i left u a msg that i needed to try somthin coz i had a hardware prob
06/20/2008 01:21 SweeTFlower#763
Quote:
Originally Posted by samehvan View Post
telling the truth ?? , no i am not ,,

i am tryen with vista , i left u a msg that i needed to try somthin coz i had a hardware prob
im on msn if you want message me.
06/20/2008 01:39 dekeyou08#764
Quote:
Originally Posted by Imongnawong View Post
good works :)
if this is good work, how do i get it to work? which file do i download. in not good at hacks at all. Where do i put all the files from this site? the ini folder??
06/20/2008 02:33 Light200#765
^^thinks this is a hack lolz