Register for your free account! | Forgot your password?

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

  • 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   #1
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
Solveing system errors with arcane project

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 ^^
Dr.Abdelfattah is offline  
Thanks
3 Users
Old 10/31/2010, 15:39   #2
 
elite*gold: 0
Join Date: Apr 2010
Posts: 32
Received Thanks: 0
man i have problem :S
mtastyle is offline  
Old 10/31/2010, 15:43   #3
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
Quote:
Originally Posted by mtastyle View Post
man i have problem :S
u enter a wrong mssql information, may be the dbname or (user&pass) or (machine IP) In Settings\Settings.ini
Dr.Abdelfattah is offline  
Old 10/31/2010, 15:49   #4
 
elite*gold: 0
Join Date: Apr 2010
Posts: 32
Received Thanks: 0
What will be?
mtastyle is offline  
Old 10/31/2010, 15:53   #5
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
[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 ...
Dr.Abdelfattah is offline  
Old 10/31/2010, 15:59   #6
 
Burton_1993's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 318
Received Thanks: 144
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
Burton_1993 is offline  
Old 10/31/2010, 16:02   #7
 
elite*gold: 0
Join Date: Oct 2010
Posts: 192
Received Thanks: 48
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
coderska is offline  
Old 10/31/2010, 16:06   #8
 
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
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 ....
Dr.Abdelfattah is offline  
Old 10/31/2010, 16:06   #9
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
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) ,,
Dr.Abdelfattah is offline  
Old 10/31/2010, 16:20   #10
 
* White *'s Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 717
Received Thanks: 330
what to do if i have crash when i play some time in game,and sometimes got crash when plussing skills...?
* White * is offline  
Old 10/31/2010, 16:28   #11
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
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 ^^..
Dr.Abdelfattah is offline  
Thanks
2 Users
Old 10/31/2010, 16:32   #12
 
carra's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 531
Received Thanks: 125


i have 1 problem

plss help

i checked in settings but idk what is problem :|
carra is offline  
Old 10/31/2010, 17:09   #13
 
* White *'s Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 717
Received Thanks: 330
Quote:
Originally Posted by carra View Post


i have 1 problem

plss help

i checked in settings but idk what is problem :|
Use this man. From start to end
* White * is offline  
Old 10/31/2010, 17:17   #14
 
carra's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 531
Received Thanks: 125
now work ...
i used in mssql wrong pw
carra is offline  
Old 10/31/2010, 17:19   #15
 
* White *'s Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 717
Received Thanks: 330
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 ?
* White * 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 05:58.


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.