Register for your free account! | Forgot your password?

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

  • 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/24/2010, 22:41   #91
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
I've been searching trough the textdata files to find something which could be the mastery.txt and i created this:


this is the leveldata.txt with the 2nd column removed

I saw that that load function wanted a lvl in the first column and exp in the 2nd column.
The new second column contains the sp needed for every mastery level so that could be the right info. Owh and I'd to strip the lvls from 140 to 110. cause above 110 the sp number is too high to store in a short type.
kevin_owner is offline  
Old 10/24/2010, 22:50   #92
 
Biboja's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,121
Received Thanks: 420
what about this one? its only called leveldata
Attached Files
File Type: txt leveldata.txt (10.1 KB, 24 views)
Biboja is offline  
Old 10/24/2010, 22:56   #93
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Quote:
Originally Posted by Biboja View Post
what about this one? its only called leveldata
Yeah well the problem with that is that the released source ect reads the first and the 2nd column and it is easier to release an mastery.txt and remove a column than changing the source for everyone.

cause the leveldata is build like this:
1st column: Level
2nd column: Exp for that level
3rd column: sp needed for upping an mastery

and these
Code:
                short exp = Convert.ToInt16(TxtFile.commands[1]);
                byte level = Convert.ToByte(TxtFile.commands[0]);
are the lines in the code which reads those column. So I removed the exp column and it reads without changing the source.

EDIT:
and I know that my english s*cks but in my previous post I already said that I got those stuff from the leveldata.txt
kevin_owner is offline  
Old 10/25/2010, 12:24   #94
 
elite*gold: 0
Join Date: Jun 2009
Posts: 4
Received Thanks: 0
Quote:
Originally Posted by LastThief View Post
because its released and you paid 500$ ?
Im partner of the project. Im webmaster of site, gm at game, developer of database and packet analyzer. so I dont need to purchase the project.
Its already my project. Is it enough for you? you are nothing just kids.
Flexnitec is offline  
Old 10/25/2010, 12:35   #95
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
who are you *** of the emulators ?

btw db progress:65%
LastThief is offline  
Old 10/25/2010, 12:45   #96
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
i finished char karaktler now im trying to make the game login and creating and etc

btw wanna trade karaktler for login ? kidding ^^
LastThief is offline  
Old 10/25/2010, 12:46   #97
 
elite*gold: 0
Join Date: Feb 2008
Posts: 573
Received Thanks: 279
I have this error at gameserver when is trying to load data files. I had this error to at csremu, but i just reinstalet mysql connector and it works, but now..is mssql and i dont know the resolve..

Quote:
EventType : clr20r3 P1 : gameserver.exe P2 : 1.0.0.0 P3 : 4cc406dc
P4 : mscorlib P5 : 4.0.0.0 P6 : 4ba1da6f P7 : 9a0 P8 : 1b
P9 : system.overflowexception
moldi is offline  
Old 10/25/2010, 13:08   #98
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Quote:
Originally Posted by LastThief View Post
i finished char karaktler now im trying to make the game login and creating and etc

btw wanna trade karaktler for login ? kidding ^^
well my login doesn't work right i've edited the source to make it work cuz i don't get the username and password in the gameserver so i get a disconnect
kevin_owner is offline  
Old 10/25/2010, 14:08   #99
 
elite*gold: 0
Join Date: Feb 2008
Posts: 573
Received Thanks: 279
Quote:
Originally Posted by moldi View Post
I have this error at gameserver when is trying to load data files. I had this error to at csremu, but i just reinstalet mysql connector and it works, but now..is mssql and i dont know the resolve..
Quote:
EventType : clr20r3 P1 : gameserver.exe P2 : 1.0.0.0 P3 : 4cc406dc
P4 : mscorlib P5 : 4.0.0.0 P6 : 4ba1da6f P7 : 9a0 P8 : 1b
P9 : system.overflowexception
up
moldi is offline  
Old 10/25/2010, 15:35   #100
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
yeah there is no database I'm stuck with the karaktler table i can create a char the data is correct in the database but it doesn't display a char.

and moldi I've no idea what that could be mabye some xp thing? probably not
try to run in it in debug mode if you have visual studio of visual C# to see why the gameserver stopped responding
kevin_owner is offline  
Old 10/25/2010, 16:12   #101
 
elite*gold: 0
Join Date: Feb 2008
Posts: 573
Received Thanks: 279
Quote:
Originally Posted by kevin_owner View Post
yeah there is no database I'm stuck with the karaktler table i can create a char the data is correct in the database but it doesn't display a char.

and moldi I've no idea what that could be mabye some xp thing? probably not
try to run in it in debug mode if you have visual studio of visual C# to see why the gameserver stopped responding
can you do a archive with your bin ( without database + data folder ), just necessary .exe files to run the server, maybe i got something wrong.
moldi is offline  
Old 10/25/2010, 16:18   #102
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
see the attachment for my bin

I've edited some stuff inside so the console window can give some weird ouput cause i wanted to know in which block of code the program was and if it works.

I don't know if i've edited much other things but you'll see if stuff doesn't work properly
Attached Files
File Type: rar bin Edited.rar (3.47 MB, 98 views)
kevin_owner is offline  
Thanks
3 Users
Old 10/25/2010, 16:33   #103
 
elite*gold: 0
Join Date: Feb 2008
Posts: 573
Received Thanks: 279
Quote:
Originally Posted by kevin_owner View Post
see the attachment for my bin

I've edited some stuff inside so the console window can give some weird ouput cause i wanted to know in which block of code the program was and if it works.

I don't know if i've edited much other things but you'll see if stuff doesn't work properly
same error, anyway, ty.. I will reinstal my OS, maybe that`s the problem
moldi is offline  
Old 10/25/2010, 16:36   #104
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Quote:
Originally Posted by moldi View Post
same error, anyway, ty.. I will reinstal my OS, maybe that`s the problem
or try it with a virtual pc
vmware is a good one or virtual pc they have a trail i think.

it's much faster than installing an os:P

EDIT: anyone else having trouble with displaying the characterlisting? i think it has something to do with this query:
Code:
            MsSQL ms = new MsSQL("SELECT TOP 4 * FROM karakterler WHERE account='" + name + "' AND deleted != '1'");
When i enter this query in mssql it doesn't return something cuz it changes the query at the != part.
is this related to my sql version? which is from 2000
kevin_owner is offline  
Old 10/25/2010, 17:13   #105
 
elite*gold: 0
Join Date: Aug 2010
Posts: 346
Received Thanks: 416
Quote:
Originally Posted by kevin_owner View Post
or try it with a virtual pc
vmware is a good one or virtual pc they have a trail i think.

it's much faster than installing an os:P

EDIT: anyone else having trouble with displaying the characterlisting? i think it has something to do with this query:
Code:
            MsSQL ms = new MsSQL("SELECT TOP 4 * FROM karakterler WHERE account='" + name + "' AND deleted != '1'");
When i enter this query in mssql it doesn't return something cuz it changes the query at the != part.
is this related to my sql version? which is from 2000
try without this: AND deleted != '1' or set it AND deleted = '0' maybe will work i'm not sure
Miki Maus 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 07:56.


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.