[C#]The Arcane Development Thread

10/24/2010 22:41 kevin_owner#91
I've been searching trough the textdata files to find something which could be the mastery.txt and i created this:
[Only registered and activated users can see links. Click Here To Register...]

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.
10/24/2010 22:50 Biboja#92
what about this one? its only called leveldata :D
10/24/2010 22:56 kevin_owner#93
Quote:
Originally Posted by Biboja View Post
what about this one? its only called leveldata :D
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 ;)
10/25/2010 12:24 Flexnitec#94
Quote:
Originally Posted by LastThief View Post
because its released and you paid 500$ :awesome: ?
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.
10/25/2010 12:35 LastThief#95
who are you god of the emulators ?

btw db progress:65%
10/25/2010 12:45 LastThief#96
i finished char karaktler now im trying to make the game login and creating and etc

btw wanna trade karaktler for login :p ? kidding ^^
10/25/2010 12:46 moldi#97
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
[Only registered and activated users can see links. Click Here To Register...]
10/25/2010 13:08 kevin_owner#98
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 :p ? 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
10/25/2010 14:08 moldi#99
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
[Only registered and activated users can see links. Click Here To Register...]
up
10/25/2010 15:35 kevin_owner#100
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
10/25/2010 16:12 moldi#101
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.
10/25/2010 16:18 kevin_owner#102
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
10/25/2010 16:33 moldi#103
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
10/25/2010 16:36 kevin_owner#104
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
10/25/2010 17:13 Miki Maus#105
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