Register for your free account! | Forgot your password?

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

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

Advertisement



[C#]The Arcane Development Thread

Discussion on [C#]The Arcane Development Thread within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old 10/26/2010, 10:07   #121
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Owh yeah i forgot to say that but you need sql server 2005 or higher cause sql server 2000 doesn't support MultipleActiveResultSets.

UPDATE:
Finally some progress They char gets displayed:



btw, joymax is perv all the chars are nude and Nude patch is disabled
kevin_owner is offline  
Old 10/26/2010, 12:17   #122
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
@up its not completed yet

@kevin i got strange error today O.o i tried to start login and game server and getting error but yesterday it worked fine O.o

LastThief is offline  
Old 10/26/2010, 12:24   #123
 
elite*gold: 0
Join Date: Mar 2010
Posts: 58
Received Thanks: 7
Quote:
Originally Posted by mage200 View Post
hey hmm last thief i think few stuff like config text database are missing can you please upload them for me?
need all
xnukex77 is offline  
Old 10/26/2010, 12:33   #124
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Quote:
Originally Posted by LastThief View Post
@up its not completed yet

@kevin i got strange error today O.o i tried to start login and game server and getting error but yesterday it worked fine O.o

I also got that problem a few hours ago my sql service wasn't started and database.ini had a wrong value at the "data source="

@others about those data files Yesterday i've added those files to a post

this one

and the database.ini and server.ini are in the bin folder the only thing you have to do is change the values of those 2 files.
kevin_owner is offline  
Old 10/26/2010, 12:34   #125
 
CrystalCoder's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 1,136
Received Thanks: 251
ok i fixed ty LastThief

now i have this issue

[IMG][/IMG]
CrystalCoder is offline  
Old 10/26/2010, 12:38   #126
 
-Corelli's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 128
Received Thanks: 14
Quote:
Originally Posted by mage200 View Post
ok i fixed ty LastThief

now i have this issue

[IMG][/IMG]
me to
-Corelli is offline  
Old 10/26/2010, 12:56   #127
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Quote:
Originally Posted by ReaLLiF View Post
me to
This:
I also got that problem a few hours ago my sql service wasn't started and database.ini had a wrong value at the "data source="

was my response to LastThief in my previous post to his error but it seems to be that you 2 have to problem so i'll explain this a bit more detailed

Open your task manager and go to the tab services. Search for a name which starts with "MSSQL$"
In my case this one is called "MSSQL$SQLEXPRESS"

This is your sql service. be sure that this one is running.

Now open your database.ini the datbase.ini of the release looks like this:
Code:
[DATABASE]
connection=Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;
As Data Source you can try 2 things the first one is '127.0.0.1' or 'localhost' if this one doesn't work try:
'<Name Of Your PC>/<The MSSQL service name>'

Change '<Name of Your PC>' to the name of your pc for example 'kevin_owner-PC'.
Change the <The MSSQL service name> to the name which is in your task manager service panel after the MSSQL$ part which we just searched for.
so the final Data Source string could look like this:
Code:
'Data Source=kevin_owner-PC/SQLEXPRESS'
if everything went right you now have your data source set.
The next value you need to fill in is the Initial Catalog which is your database. if your database name is silkroad fill in silkroad if your db name is monkey fill in monkey (i'm not gonna explain how to create a database).

the next 2 values you have to fill in are 'User id=' and 'password='
You created this one at the installation of sql server but you can always create a new account (at the security tab if i remember correctly) The default user an password where
username: 'sa'
password: '1234'
but i'm not sure about this one.

So the finished database string could look like this:

Code:
[DATABASE]
connection=Data Source=kevin_owner-PC\SQLEXPRESS;Initial Catalog=silkroad;User Id=sa;Password=1234;MultipleActiveResultSets=True;
There is one new thing in this database.ini which is MultipleActiveResultSets=True;
This one is needed to solve the DataReader already open problem.

Btw, You need to have Sql server 2005 or Higher cuz sql server 2000 doesn't support MultipleActiveResultSets.

I hope this helped
kevin_owner is offline  
Thanks
1 User
Old 10/26/2010, 13:08   #128
 
elite*gold: 0
Join Date: Mar 2010
Posts: 58
Received Thanks: 7
Quote:
Originally Posted by kevin_owner View Post
This:
I also got that problem a few hours ago my sql service wasn't started and database.ini had a wrong value at the "data source="

was my response to LastThief in my previous post to his error but it seems to be that you 2 have to problem so i'll explain this a bit more detailed

Open your task manager and go to the tab services. Search for a name which starts with "MSSQL$"
In my case this one is called "MSSQL$SQLEXPRESS"

This is your sql service. be sure that this one is running.

Now open your database.ini the datbase.ini of the release looks like this:
Code:
[DATABASE]
connection=Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;
As Data Source you can try 2 things the first one is '127.0.0.1' or 'localhost' if this one doesn't work try:
'<Name Of Your PC>/<The MSSQL service name>'

Change '<Name of Your PC>' to the name of your pc for example 'kevin_owner-PC'.
Change the <The MSSQL service name> to the name which is in your task manager service panel after the MSSQL$ part which we just searched for.
so the final Data Source string could look like this:
Code:
'Data Source=kevin_owner-PC/SQLEXPRESS'
if everything went right you now have your data source set.
The next value you need to fill in is the Initial Catalog which is your database. if your database name is silkroad fill in silkroad if your db name is monkey fill in monkey (i'm not gonna explain how to create a database).

the next 2 values you have to fill in are 'User id=' and 'password='
You created this one at the installation of sql server but you can always create a new account (at the security tab if i remember correctly) The default user an password where
username: 'sa'
password: '1234'
but i'm not sure about this one.

So the finished database string could look like this:

Code:
[DATABASE]
connection=Data Source=kevin_owner-PC\SQLEXPRESS;Initial Catalog=silkroad;User Id=sa;Password=1234;MultipleActiveResultSets=True;
There is one new thing in this database.ini which is MultipleActiveResultSets=True;
This one is needed to solve the DataReader already open problem.

Btw, You need to have Sql server 2005 or Higher cuz sql server 2000 doesn't support MultipleActiveResultSets.

I hope this helped
can u re-upload db&files ?
xnukex77 is offline  
Old 10/26/2010, 13:09   #129
 
carra's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 531
Received Thanks: 125
Quote:
Originally Posted by mage200 View Post
hmm the service running but i still got this error
maybe i need download something?
you need db for start server


Quote:
Originally Posted by xnukex77 View Post
can u re-upload db&files ?
db was not uploaded... kevin,lastthief,..etc are the creators of db....will create a new db
carra is offline  
Thanks
1 User
Old 10/26/2010, 13:12   #130
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Quote:
Originally Posted by mage200 View Post
hmm the service running but i still got this error
maybe i need download something?
I don't think you need something else to run it. can you login at your sql server with the same user an password you used in your database.ini?

Quote:
Originally Posted by xnukex77 View Post
can u re-upload db&files ?
Well uuhm the db isn't complete yet so it's useless to upload it and the files are just the one of the arcane release but i've added some more output line so see where the program is in the code.

Quote:
Originally Posted by carra View Post
you need db for start server
indeed
kevin_owner is offline  
Thanks
1 User
Old 10/26/2010, 13:30   #131
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Owh yeah forgot to say but you need to edit the server.ini too it's the same as database.ini. the only change is the name connection which is connectionstring in server.ini

I've uploaded a little rip of my database (see attachment) this one contains the tables: news, users and server. in all table there is a example record of what you can fill in at the columns. I don't know if everything is correct so don't expect to much
Attached Files
File Type: zip silk.zip (182.8 KB, 101 views)
kevin_owner is offline  
Thanks
3 Users
Old 10/26/2010, 13:39   #132
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Quote:
Originally Posted by carra View Post
what is this?
database demo?
Yeah sort of with this database you can add a news thing in the launcher you ocan add a server and you can login. Mabye that some people who where stuck at some of these points can help to restore the rest of the db.

btw, The password md5 hash must be uppercase!!! if this hash is lowercase it'll give you a c5 error which means wrong usersname or password.

edit: the reason i didn't add those other tables is that they aren't complete and some thing still doesn't work properly
kevin_owner is offline  
Old 10/26/2010, 13:48   #133
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Quote:
Originally Posted by carra View Post
but is nice man... gj
and what i need for open db?
MySql and connector mysql? cuz i see have .bak
and other work fine?
you need microsoft sql server 2005 or higher
as far as i know you don't need any connector.

You have to find the option to restore a database in your Microsoft SQL Server Management Studio or how that thing is called.
kevin_owner is offline  
Old 10/26/2010, 13:55   #134
 
CrystalCoder's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 1,136
Received Thanks: 251
kevin what is this the database why he say the format worng
and what is gonna help me with the loginserver +gameserver error?
CrystalCoder is offline  
Old 10/26/2010, 14:01   #135
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
@mage200
read:

this post if my.
Code:
[DATABASE]
connection=Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;
This is the .ini in the bin folder which comes with the release.
Change:
MyServerAddres, MyDatabase, MyUsername, MyPassword.
and add this at the end of this file:
Code:
MultipleActiveResultSets=True;
So it'll look like this when you added the line above.
Code:
[DATABASE]
connection=Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;MultipleActiveResultSets=True;
The only thing you have to do is fill it in and you're done
kevin_owner is offline  
Reply


Similar Threads Similar Threads
[Development]Arcane Files
10/22/2010 - SRO Coding Corner - 4 Replies
Hi guys what happened on the other thread and i rlly don`t like this i decided to open new thread without spams flams trolls etc this is arcane leaked server files but without db we`re trying to make the db any way download from From Here:MEGAUPLOAD - The leading online storage and file delivery service Hope you like it Lets Be Fair and give the real credits
[LEAKED] Arcane Source Code [for Development only]
10/22/2010 - SRO Coding Corner - 136 Replies
Hi, So have fun :) There alot of File which are missed. But you can see all Packets and .. You cant run that files. Because they are incomplete. You can make youre own Emulator you can see all Packets and Importent Informations. Look at : Game/Packets/Public.cs Game/Packets/Private.cs Loginserver isnt there. I think we dont need Packets from an LoginServer.



All times are GMT +1. The time now is 16:51.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.