I will add now all maps for 5165 and I will try again
look on this
Quote:
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NewestCOServer.Game
{
public class Companion
{
public uint MinAttack;
public uint MaxAttack;
public byte Level;
public uint SkillUses;//0 if just melee
public Location Loc;
public Character Owner;
public ushort CurHP;
public ushort MaxHP;
public uint Mesh;
public uint EntityID;
public string Name;
public byte Direction;
DateTime LastMovement = DateTime.Now;
DateTime LastAttack = DateTime.Now;
public PoisonType PoisonedInfo = null;
public Companion(Character Owner, uint Type)
{
this.Owner = Owner;
if (Database.CompanionInfos.Contains(Type))
{
CompanionInfo Cmp = (CompanionInfo)Database.CompanionInfos[Type];
MinAttack = Cmp.MinAttack;
MaxAttack = Cmp.MaxAttack;
Level = Cmp.Level;
SkillUses = Cmp.SkillUses;
CurHP = Cmp.HP;
MaxHP = Cmp.HP;
Mesh = Cmp.Mesh;
Name = Cmp.Name;
EntityID = (uint)Program.Rnd.Next(400000, 500000);
Direction = 0;
How can I change the guard NPC type (5165) 12/20/2010 - CO2 Private Server - 5 Replies title.. for example my guards on my 5165 server look like monsters, i want them to look regular. in olcodb in MobInfos.txt do i edit something here only?
97 DarkGuard 6 2168 250 50000 2500 70 10000 0 0 100 70 21 8036 0 False 18 100000 500000 500 3 False
[Release]Reviver Guard[5165] 10/02/2010 - CO2 PServer Guides & Releases - 46 Replies Sup,
I have not released anything yet so I will release a reviver guard....
go into Program.cs and find
foreach (Hashtable H in Game.World.H_Mobs.Values)
{
foreach (Mob M in H.Values)
{
5165 Source- Reborn Guard Probs... 02/27/2010 - CO2 Private Server - 3 Replies I kno I'm probably getting annoying with these posts but this might probably be my last one since I got my server up and running...
PROBLEM:
I will be very appreciated with some help =) and this goes for the skills too...like how do I change the skill exp...thanks again!
[Release]5165 code to prohibit Guard attack 02/17/2010 - CO2 PServer Guides & Releases - 28 Replies hi guys let me share you this simple code that will prohibit players from attacking the guards in most city of CO. i hope this release will be useful.
here is the guide:
1. open Attack.cs in PacketHandling.
2. in Attack.cs look for this code
public static void Handle(Main.GameClient GC, byte Data)