Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 07:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Solveing system errors with arcane project

Discussion on Solveing system errors with arcane project within the SRO Coding Corner forum part of the Silkroad Online category.

Closed Thread
 
Old 11/01/2010, 13:37   #31
 
elite*gold: 0
Join Date: Oct 2010
Posts: 191
Received Thanks: 565
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.
Xsense is offline  
Old 11/01/2010, 14:46   #32
 
ensar00's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 269
Received Thanks: 218
Rev39, at multiplayer when saw each other player
ensar00 is offline  
Old 11/01/2010, 15:06   #33
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
Lightbulb

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 ?
Dr.Abdelfattah is offline  
Old 11/01/2010, 15:12   #34
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
Quote:
Originally Posted by ensar00 View Post
Rev39, at multiplayer when saw each other player
pm
its an emu. error (bug) put its in only rev39 ,,,,
Dr.Abdelfattah is offline  
Old 11/01/2010, 15:15   #35
 
Burton_1993's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 318
Received Thanks: 144
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?
Burton_1993 is offline  
Thanks
1 User
Old 11/01/2010, 15:25   #36
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
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 ..
Dr.Abdelfattah is offline  
Old 11/01/2010, 15:40   #37
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
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.
Dr.Abdelfattah is offline  
Old 11/01/2010, 15:53   #38
 
elite*gold: 0
Join Date: Oct 2010
Posts: 192
Received Thanks: 48
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);
}
coderska is offline  
Old 11/01/2010, 16:18   #39
 
elite*gold: 0
Join Date: Oct 2010
Posts: 191
Received Thanks: 565
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);
Xsense is offline  
Old 11/01/2010, 16:21   #40
 
ensar00's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 269
Received Thanks: 218
@Xsense
This?

when see someone at rev 39 (multiplayer)
ensar00 is offline  
Old 11/01/2010, 16:23   #41
 
CrystalCoder's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 1,106
Received Thanks: 226
xsene can you enter msn plz?
CrystalCoder is offline  
Old 11/01/2010, 16:37   #42
 
elite*gold: 0
Join Date: Oct 2010
Posts: 191
Received Thanks: 565


As the values are pretty high.
//id//x//z//y
Values listed above
Xsense is offline  
Old 11/01/2010, 20:03   #43
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
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)
lesderid is offline  
Old 11/01/2010, 20:07   #44
 
elite*gold: 0
Join Date: Oct 2010
Posts: 192
Received Thanks: 48
Quote:
Originally Posted by Xsense View Post


As the values are pretty high.
//id//x//z//y
Values listed above
LoL the next revision works the autospawn? :O :O
coderska is offline  
Old 11/01/2010, 20:16   #45
 
ensar00's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 269
Received Thanks: 218
@Coderska
Autospawn was working but not working at rev40
ensar00 is offline  
Closed Thread


Similar Threads Similar Threads
Take a look here about Arcane Project
10/25/2010 - SRO Coding Corner - 6 Replies
Hey there! It's Nausicaa the partner of Arcane Project. The EULA said license is limited to one person and any non-licensed users using the application will have to pay a fee or using it for only evulate it by showing the owner. By buying/installing the project you agree with the EULA. The hackers have removed it, but that does not mean it does not exist. Take care yourself about that.
[RELEASE]Arcane - Project Server Files
10/21/2010 - SRO Private Server - 36 Replies
hehehe fake virus xDDDDDDDDDDDD hun: na mivan megijedtel te kis kutya geci ne szorakoz velem par dolgot kitoroltem beloel igy nem ernekj vele semmmit ;)
Arcane and My Team Project Extended version! Emulator !
10/18/2010 - Silkroad Online Trading - 0 Replies
no here :P



All times are GMT +2. The time now is 07:16.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.