Solveing system errors with arcane project

11/01/2010 13:37 Xsense#31
Quote:
Originally Posted by abdelfattah View Post
oky , i will searsh more in the source code to find more about the error (UInt16) ..
Read my topic first post.
Its related to the data files.
Open up npcpos.txt and look inside then you know why.
You need to check the parsers to see what they load in , and what the issues of the data files are.
11/01/2010 14:46 ensar00#32
Rev39, at multiplayer when saw each other player
[Only registered and activated users can see links. Click Here To Register...]
11/01/2010 15:06 Dr.Abdelfattah#33
Quote:
Originally Posted by Xsense View Post
Read my topic first post.
Its related to the data files.
Open up npcpos.txt and look inside then you know why.
You need to check the parsers to see what they load in , and what the issues of the data files are.
the problem not in npcpos.txt ..
,,
put in the value wich load it & i find now that it load by
Int32 put convert to ToInt16

PHP Code:
Convert.ToInt16(TxtFile.commands 
i found it in

MultiFunction.cs , Character.cs , FileLoad.cs , Framework.PacketWriter.cs , System.cs , Framework.MSSQL.cs , Stall.cs , PartyMatching.cs , GameMaster.cs , Handle.cs and Items.cs .....

ToInt16 (Int16) = the same problem of Uint16

System.Int16 = value -32768 to 32767

have any Idea now ?
11/01/2010 15:12 Dr.Abdelfattah#34
Quote:
Originally Posted by ensar00 View Post
Rev39, at multiplayer when saw each other player
[Only registered and activated users can see links. Click Here To Register...]
pm [Only registered and activated users can see links. Click Here To Register...]
its an emu. error (bug) put its in only rev39 ,,,,
11/01/2010 15:15 Burton_1993#35
Quote:
Originally Posted by abdelfattah View Post
the problem not in npcpos.txt ..
,,
put in the value wich load it & i find now that it load by
Int32 put convert to ToInt16

PHP Code:
Convert.ToInt16(TxtFile.commands 
i found it in

MultiFunction.cs , Character.cs , FileLoad.cs , Framework.PacketWriter.cs , System.cs , Framework.MSSQL.cs , Stall.cs , PartyMatching.cs , GameMaster.cs , Handle.cs and Items.cs .....

ToInt16 (Int16) = the same problem of Uint16

System.Int16 = value -32768 to 32767

have any Idea now ?
Im confused, so you fixed it or not? what need to do?
11/01/2010 15:25 Dr.Abdelfattah#36
Quote:
Originally Posted by Burton_1993 View Post
Im confused, so you fixed it or not? what need to do?
i am first collect the error what happen with people wich use that emu. (error with system like overflow ..) <<
& i don't finishing fix that error yet ,,

Quote:
(((( We are still Building the solve of this error ))))
i even when i found the problem in source code i post under
Quote:
The Solve ::::,,
^^ with solve ..
i am working now on it to fix it all ..
11/01/2010 15:40 Dr.Abdelfattah#37
Quote:
Originally Posted by Xsense View Post
and what the issues of the data files are.
first what do it make (npcpos.txt) ?
read that
PHP Code:
             TxtFile.ReadFromFile(@"\data\npcpos.txt"'\t');

             
string s null;
             
int count TxtFile.amountLine;
             
uint index 100;
             
int mobx 1
npcpos.txt like the auto spawn (x & y) of mobs & npcs ,,,
PHP Code:
                 if (race == 1mobx 1;
                 else 
mobx 1;
                 for (
int i 1<= mobxi++)
                 {
                     
obj o = new obj();
                     
index++;
                     
short AREA short.Parse(TxtFile.commands[1]);
                     
double x Convert.ToDouble(TxtFile.commands[2].Replace('.'','));
                     
double z Convert.ToDouble(TxtFile.commands[3].Replace('.'','));
                     
double y Convert.ToDouble(TxtFile.commands[4].Replace('.'','));
                     
byte movement 0;
                     
o.Agresif movement;
                     
o.AutoMovement true;
                     if (
ID == 1979 || ID == 2101 || ID == 2124 || ID == 2111 || ID == 2112o.AutoMovement false;
                     
o.OrgMovement o.AutoMovement;
                     if (
o.AutoMovemento.StartRunTimer(Global.RandomID.GetRandom(7000,20000));
                     
o.ID ID;
                     
o.Ids = new Global.ID(Global.ID.IDS.Object);
                     
o.UniqueID o.Ids.GetUniqueID;
                     
o.area AREA;

                     
o.xSec Convert.ToByte((AREA).ToString("X4").Substring(22), 16);
                     
o.ySec Convert.ToByte((AREA).ToString("X4").Substring(02), 16);
                     
o.= (o.xSec 135) * 192 + (x) / 10;
                     
o.z;
                     
o.= (o.ySec 92) * 192 + (y) / 10;

                     
o.oX o.x;
                     
o.oY o.y;

                     
o.State 1;
                     
o.Move 1;
                     
o.LocalType race;
                     
o.AutoSpawn true;
                     
o.State 2;
                     
o.HP Data.ObjectBase[ID].HP;
                     
o.Kat 1;
                     
o.Agro = new List<_agro>();
                     
o.spawnOran 20;
                     if (
Data.ObjectBase[ID].ObjectType != 3)
                     {
                         
o.Type Systems.RandomType(Data.ObjectBase[ID].Levelref o.Kat);
                         
o.HP *= o.Kat;
                         if (
o.Type == 1o.Agresif 1;
                         
Systems.Objects.Add(o);
                     }
                     else { 
o.AutoSpawn falseo.Type Data.ObjectBase[ID].ObjectTypeGlobalUnique.AddObject(o); }
                 }
             }
             Print.
Format("{0} non-player objektum betöltése.."TxtFile.amountLine);
        }
        
        public static 
void ObjectDataBase(string path)
        {
            
TxtFile.ReadFromFile(path'\t');

            
string s null;
            
int count TxtFile.amountLine;

            for (
int l 0<= TxtFile.amountLine 1l++)
            {
                
TxtFile.lines[l].ToString();
                
TxtFile.commands s.Split('\t');
                
int ID Convert.ToInt32(TxtFile.commands[1]);
                
objectdata o = new objectdata();
                
o.ID ID;
                
o.Name TxtFile.commands[2];

                
/*if (o.Name == "MOB_CH_MANGNYANG")
                {
                    for (int i = 0; i <= TxtFile.commands.Length - 1; i++)
                        Console.WriteLine(" {0}  {1}", i, TxtFile.commands[i]);
                }*/
                /*if (ID == 2004 || ID == 2009)
                {
                    for (int i = 0; i <= TxtFile.commands.Length - 1; i++)
                        Console.WriteLine(" {0}  {1}", i, TxtFile.commands[i]);
                }*/
                
o.Level Convert.ToByte(TxtFile.commands[57]);
                
o.Exp Convert.ToInt32(TxtFile.commands[79]);
                
o.HP Convert.ToInt32(TxtFile.commands[59]);
                
o.Type Convert.ToByte(TxtFile.commands[11]);
                
o.ObjectType Convert.ToByte(TxtFile.commands[15]);
                
o.PhyDef Convert.ToInt32(TxtFile.commands[71]);
                
o.MagDef Convert.ToInt32(TxtFile.commands[72]);
                
o.HitRatio Convert.ToInt32(TxtFile.commands[75]);
                
o.ParryRatio Convert.ToInt32(TxtFile.commands[77]);
                
o.Agresif Convert.ToByte(TxtFile.commands[93]);
                
o.Skill = new int[9];
                for (
byte sk 0sk <= 8sk++)
                {
                    if (
Convert.ToInt32(TxtFile.commands[83 sk]) != && Data.SkillBase[Convert.ToInt32(TxtFile.commands[83 sk])].Per != 0)
                    {
                        
o.Skill[o.amountSkill] = Convert.ToInt32(TxtFile.commands[83 sk]);
                        
o.amountSkill++;
                    }
                }
 
                
Data.ObjectBase[ID] = o;
            }
            Print.
Format("{0} Object információk betöltése innen: {1}"TxtFile.amountLinepath);
        } 
not npcs spawn only ...

and characterdata$.txt (all characterdata) are for mobs or database mobs ,,
secound the all data folder's file are like a complete database of mobs , npcs , mastery , etc.
11/01/2010 15:53 coderska#38
There is the translate:

Print.Format("{0} non-player objektum loading..", TxtFile.amountLine);

Print.Format("{0} Object information loading from this string: {1}", TxtFile.amountLine, path);
}
11/01/2010 16:18 Xsense#39
Quote:
Originally Posted by coderska View Post
There is the translate:

Print.Format("{0} non-player objektum loading..", TxtFile.amountLine);

Print.Format("{0} Object information loading from this string: {1}", TxtFile.amountLine, path);
}
or try this
Code:
 Console.WriteLine("Autospawns loaded.."+ o.AutoSpawn + o.ID);
11/01/2010 16:21 ensar00#40
@Xsense
This?
[Only registered and activated users can see links. Click Here To Register...]
when see someone at rev 39 (multiplayer)
11/01/2010 16:23 CrystalCoder#41
xsene can you enter msn plz?
11/01/2010 16:37 Xsense#42
[Only registered and activated users can see links. Click Here To Register...]

As the values are pretty high.
//id//x//z//y
Values listed above
11/01/2010 20:03 lesderid#43
Can you guys please include a (current) thread culture change to en-US in the next revision?
I don't like reading exceptions in other languages. (Turkish for example)
11/01/2010 20:07 coderska#44
Quote:
Originally Posted by Xsense View Post
[Only registered and activated users can see links. Click Here To Register...]

As the values are pretty high.
//id//x//z//y
Values listed above
LoL the next revision works the autospawn? :handsdown: :O :O
11/01/2010 20:16 ensar00#45
@Coderska
Autospawn was working but not working at rev40