Solveing system errors with arcane project

10/31/2010 15:23 Dr.Abdelfattah#1
hello,,

first of all the system errors like
overflow or out of range

the problem now in aracne project when u enter the game and walk to be close to an npc u got an error and write in emu. this

PHP Code:
[10/31/2010 5:59:31 AMObject reference not set to an instance of an object. ->    at Game.Systems.InGameSuccess()
   
at Game.Systems.oPCode(Decode de)
[
10/31/2010 5:59:43 AMValue was either too large or too small for a UInt16. ->    at System.Convert.ToUInt16(Int32 value)
   
at System.Double.System.IConvertible.ToUInt16(IFormatProvider provider)
   
at System.Convert.ToUInt16(Object value)
   
at Framework.PacketWriter.Word(Object data)
   
at Game.Public.Packet.ObjectSpawn(obj o)
   
at Game.Systems.ObjectSpawnCheck()
[
10/31/2010 6:03:42 AMValue was either too large or too small for a UInt16. ->    at System.Convert.ToUInt16(Int32 value)
   
at System.Double.System.IConvertible.ToUInt16(IFormatProvider provider)
   
at System.Convert.ToUInt16(Object value)
   
at Framework.PacketWriter.Word(Object data)
   
at Game.Public.Packet.ObjectSpawn(obj o)
   
at Game.Systems.ObjectSpawnCheck()
[
10/31/2010 6:03:42 AMObject reference not set to an instance of an object. ->    at Game.Systems.InGameSuccess()
   
at Game.Systems.oPCode(Decode de
((ObjectSpawnCheck))
this mean that when the emu. make the procces to check the spawn object is that ok or,, it have an overflow error ...
means : Value was either too large or too small for a UInt16.

Here is the list of range value for all .net type ,,,

bool
System.Boolean
true and false
-------------------
byte
System.Byte
0 to 255
sbyte
System.SByte
-128 to 127
-------------------
short
System.Int16
-32768 to 32767
ushort
System.Uint16
0 to 65535
-------------------
int
System.Int32
-2,147,483,648 to 2,147,483,647
-------------------
uint
System.UInt32
0 to 4,294,967,295
-------------------
long
System.Int64
-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
-------------------
ulong
System.UInt64
0 to 18,446,744,073,709,551,615
-------------------
decimal
System.Decimal
-79,228,162,514,264,337,593,543,950,335 to 79,228,162,514,264,337,593,543,950,335
-------------------
double
System.Double
-1.79769313486232e308 to 1.79769313486232e308
-------------------
float
System.Single
-3.402823e38 to 3.402823e38
-------------------
char
System.Char
0 to 65535
now we see from the error report that the error comes from
System.Uint16
that have the range
0 to 65535 ,(sure the emu. make too large Value to have the error overflow)


The Solve ::::,,

(((( We are still Building the solve of this error ))))
try to Edit the source code of the emu.
& change the Uint16 to Uint32

i find the value Uint16 in those
MultiFunction.cs , GameMaster.cs , Handle.cs ,Items.cs , Framework.PacketReader.cs , Framework.Decode.cs , System.cs , Framework.PacketReader.cs and Framework.Decode.cs ....


thank u & good bye ^^
10/31/2010 15:39 mtastyle#2
man i have problem :S [Only registered and activated users can see links. Click Here To Register...]
10/31/2010 15:43 Dr.Abdelfattah#3
Quote:
Originally Posted by mtastyle View Post
man i have problem :S [Only registered and activated users can see links. Click Here To Register...]
u enter a wrong mssql information, may be the dbname or (user&pass) or (machine IP) In Settings\Settings.ini
10/31/2010 15:49 mtastyle#4
What will be?
10/31/2010 15:53 Dr.Abdelfattah#5
[SREVOLUTION_DATABASE]
connectionstring=Data Source=127.0.0.1;Initial Catalog=dbname;User Id=dbuser;Password=dbpass;MultipleActiveResultSets=True;

the red words must be change to ur mssql Information ,, and make sure that the sql server is runing ...
10/31/2010 15:59 Burton_1993#6
This is mine :\
Quote:
[10/31/2010 1:55:52 PM] Object reference not set to an instance of an object. -> at Game.Systems.InGameSuccess()
at Game.Systems.oPCode(Decode de)
[10/31/2010 1:56:02 PM] Value was either too large or too small for a UInt16. -> at System.Convert.ToUInt16(Int32 value)
at System.Double.System.IConvertible.ToUInt16(IFormat Provider provider)
at System.Convert.ToUInt16(Object value)
at Framework.PacketWriter.Word(Object data)
at Game.Public.Packet.ObjectSpawn(obj o)
at Game.Systems.ObjectSpawnCheck()
i haven't npc ingame and get crash
10/31/2010 16:02 coderska#7
Quote:
Originally Posted by abdelfattah View Post
[SREVOLUTION_DATABASE]
connectionstring=Data Source=127.0.0.1;Initial Catalog=dbname;User Id=dbuser;Password=dbpass;MultipleActiveResultSets=True;

the red words must be change to ur mssql Information ,, and make sure that the sql server is runing ...
The data source isn't 127.0.0.1. Write the data source: YOUR-PC/SQLEXPRESS
10/31/2010 16:06 Dr.Abdelfattah#8
Quote:
Originally Posted by Burton_1993 View Post
This is mine :\

i haven't npc ingame and get crash
try my solve
Quote:
The Solve ::::,,

try to Edit the source code of the emu.
& change the Uint16 to Uint32

i find the value Uint16 in those
MultiFunction.cs , GameMaster.cs , Handle.cs ,Items.cs , Framework.PacketReader.cs , Framework.Decode.cs , System.cs , Framework.PacketReader.cs and Framework.Decode.cs ....
10/31/2010 16:06 Dr.Abdelfattah#9
Quote:
Originally Posted by coderska View Post
The data source isn't 127.0.0.1. Write the data source: YOUR-PC/SQLEXPRESS
loolz

YOUR-PC/SQLEXPRESS = 127.0.0.1
and no problem will happen if u use 127.0.0.1 (mssql server connection will works fin) ,,
10/31/2010 16:20 * White *#10
what to do if i have crash when i play some time in game,and sometimes got crash when plussing skills...?
10/31/2010 16:28 Dr.Abdelfattah#11
Quote:
Originally Posted by White&Black View Post
what to do if i have crash when i play some time in game,and sometimes got crash when plussing skills...?
its emu. codeing bugs or problems ,,, i will try to (Edit the source code) fix all most bugs & release ^^..
10/31/2010 16:32 carra#12
[Only registered and activated users can see links. Click Here To Register...]

i have 1 problem

plss help

i checked in settings but idk what is problem :|
10/31/2010 17:09 * White *#13
Quote:
Originally Posted by carra View Post
[Only registered and activated users can see links. Click Here To Register...]

i have 1 problem

plss help

i checked in settings but idk what is problem :|
Use this man. From start to end [Only registered and activated users can see links. Click Here To Register...]
10/31/2010 17:17 carra#14
now work ...
i used in mssql wrong pw
10/31/2010 17:19 * White *#15
Quote:
Originally Posted by carra View Post
now work ...
i used in mssql wrong pw
finaly you fixed it =)


Quote:
The Solve ::::,,

try to Edit the source code of the emu.
& change the Uint16 to Uint32

i find the value Uint16 in those
MultiFunction.cs , GameMaster.cs , Handle.cs ,Items.cs , Framework.PacketReader.cs , Framework.Decode.cs , System.cs , Framework.PacketReader.cs and Framework.Decode.cs ....
where to find this :) ?