Delete Effect in TwinCity?

05/25/2013 23:22 MightyStrike#1
Hey guys I wanted to ask if someone know how to delete this Fire in the middle of twin city:
05/25/2013 23:33 abdoumatrix#2
u can use cordinates in searching in program.cs
05/26/2013 12:44 wolf20100#3
what about Nps Effect??
05/26/2013 13:42 Super Aids#4
Just search for any stringpackets send with either MapEffect or RoleEffect.
05/26/2013 14:06 LordGragen.#5
the fire is made on your database.

SobNpc, go to database find that name, you will see allot of npcs there find the one that got no name and its in 1002 and delete it.
05/26/2013 14:46 abdoumatrix#6
PHP Code:
#region New Twin Effect
                
foreach (GameState client in Values)
              {
                if (
client.Entity.MapID == 1002)
                {
                    if (
ServerBase.Kernel.GetDistance(client.Entity.Xclient.Entity.Y438433) < 17 && !client.Effect2)
                    {
                        
client.Effect2 true;
                        if (
client.Entity.MapID == 1002)
                        {
                            
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                            
floorItem.ItemID 23;//746
                            
floorItem.MapID 1002;
                            
floorItem.438;
                            
floorItem.433;
                            
floorItem.Type 10;
                            
client.Send(floorItem);
                            
floorItem.ItemID 31;//794
                            
floorItem.MapID 1002;
                            
floorItem.438;
                            
floorItem.433;
                            
floorItem.Type 10;
                            
client.Send(floorItem);
                        }
                    }
                    else
                    {
                        if (
ServerBase.Kernel.GetDistance(client.Entity.Xclient.Entity.Y438433) > 17)
                        {
                            
client.Effect2 false;
                        }
                    }
                    if (
ServerBase.Kernel.GetDistance(client.Entity.Xclient.Entity.Y436444) < 17 && !client.Effect3)
                    {
                        
client.Effect3 true;
                        if (
client.Entity.MapID == 1002)
                        {
                            
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                            
// floorItem.MapObjType = Game.MapObjectType.Item;
                            
floorItem.ItemID 765;//794
                            
floorItem.MapID 1002;
                            
floorItem.436;
                            
floorItem.444;
                            
floorItem.Type Network.GamePackets.FloorItem.Effect;

                            
client.Send(floorItem);
                        }
                    }
                    else
                    {
                        if (
ServerBase.Kernel.GetDistance(client.Entity.Xclient.Entity.Y436444) > 17)
                        {
                            
client.Effect3 false;
                        }
                    }
                }
             }
                
#endregion 
05/26/2013 14:48 Super Aids#7
That is some ugly code.