Quote:
Originally Posted by bobtin777
The New updates :-
Thank you that would be cool but you need some SLEEP you know what that is right lol jk
|
Quote:
Originally Posted by SweeTFlower
 anytime  . hey why not take some rest pff your not sleeping  not good 
|
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 source\PacketHandler.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)
{
AClient.SendPacket(ThePackets.SendMsg(AClient.MessageId, "SYSTEM", AClient.MyChar.CharName, "This Map is protected .", 2015));
break;
}
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