|
You last visited: Today at 07:16
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.
11/01/2010, 13:37
|
#31
|
elite*gold: 0
Join Date: Oct 2010
Posts: 191
Received Thanks: 565
|
Quote:
Originally Posted by abdelfattah
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
|
#32
|
elite*gold: 0
Join Date: Feb 2008
Posts: 269
Received Thanks: 218
|
Rev39, at multiplayer when saw each other player
|
|
|
11/01/2010, 15:06
|
#33
|
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
|
Quote:
Originally Posted by Xsense
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
|
#34
|
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
|
Quote:
Originally Posted by ensar00
Rev39, at multiplayer when saw each other player
|
pm
its an emu. error (bug) put its in only rev39 ,,,,
|
|
|
11/01/2010, 15:15
|
#35
|
elite*gold: 0
Join Date: Oct 2010
Posts: 318
Received Thanks: 144
|
Quote:
Originally Posted by abdelfattah
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
|
#36
|
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
|
Quote:
Originally Posted by Burton_1993
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:
^^ with solve ..
i am working now on it to fix it all ..
|
|
|
11/01/2010, 15:40
|
#37
|
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
|
Quote:
Originally Posted by Xsense
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 == 1) mobx = 1; else mobx = 1; for (int i = 1; i <= mobx; i++) { 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 == 2112) o.AutoMovement = false; o.OrgMovement = o.AutoMovement; if (o.AutoMovement) o.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(2, 2), 16); o.ySec = Convert.ToByte((AREA).ToString("X4").Substring(0, 2), 16); o.x = (o.xSec - 135) * 192 + (x) / 10; o.z = z; o.y = (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].Level, ref o.Kat); o.HP *= o.Kat; if (o.Type == 1) o.Agresif = 1; Systems.Objects.Add(o); } else { o.AutoSpawn = false; o.Type = Data.ObjectBase[ID].ObjectType; GlobalUnique.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; l <= TxtFile.amountLine - 1; l++) { s = 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 = 0; sk <= 8; sk++) { if (Convert.ToInt32(TxtFile.commands[83 + sk]) != 0 && 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.amountLine, path); }
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
|
#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);
}
|
|
|
11/01/2010, 16:18
|
#39
|
elite*gold: 0
Join Date: Oct 2010
Posts: 191
Received Thanks: 565
|
Quote:
Originally Posted by coderska
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
|
#40
|
elite*gold: 0
Join Date: Feb 2008
Posts: 269
Received Thanks: 218
|
@Xsense
This?
when see someone at rev 39 (multiplayer)
|
|
|
11/01/2010, 16:23
|
#41
|
elite*gold: 0
Join Date: Mar 2008
Posts: 1,106
Received Thanks: 226
|
xsene can you enter msn plz?
|
|
|
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
|
|
|
11/01/2010, 20:03
|
#43
|
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)
|
|
|
11/01/2010, 20:07
|
#44
|
elite*gold: 0
Join Date: Oct 2010
Posts: 192
Received Thanks: 48
|
Quote:
Originally Posted by Xsense
As the values are pretty high.
//id//x//z//y
Values listed above
|
LoL the next revision works the autospawn? :O :O
|
|
|
11/01/2010, 20:16
|
#45
|
elite*gold: 0
Join Date: Feb 2008
Posts: 269
Received Thanks: 218
|
@Coderska
Autospawn was working but not working at rev40
|
|
|
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.
|
|