Register for your free account! | Forgot your password?

You last visited: Today at 06:39

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

Advertisement



[rSro] 3013 Char Data

Discussion on [rSro] 3013 Char Data within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 19
Received Thanks: 2
[rSro] 3013 Char Data

Hi,
i try parse quests...

i parse a bit, but i stuck somewhere

[byte] QuestCount
ForEach Quest

//Parse Quest

End ForEach

But some quests
Code:
[dword] Quest ID
[word]   ??
[byte]   ??
[dword] ??
[word]  Quest Type Len
[string] Quest Type
[byte] ??
[word] ??
and some quests
Code:
[dword] Quest ID
[word]   ??
[byte]   ??
[dword] ??
[word]  Quest Type Len
[string] Quest Type
[byte] ??
[word] ??
[byte] ??
[word] ??
why :S

Some QuestData in Code
Code:
96 00 00 00 
10 00 
18
01 01 01 01
14 00 
53 4E 5F 43 4F 4E 5F 51 4E 4F 5F 45 55 5F 43 4F 4E 53 5F 31 ...SN_CON_QNO_EU
01 
00 00 00 00
Code:
97 00 00 00   _CONS_1.........
10 00 
58 
01 01 01 01 
14 00 
53 4E 5F 43 4F 4E 5F 51 4E 4F 5F 45 55 5F 43 4F 4E 53 5F 32  SN_CON_QNO_EU_CONS_2
01 
00 00 00 00
01 
4D 1D 00 00
Code:
99 00 00 00 
10 01 
58 
01 01 01 01
14 00 
53 4E 5F 43 4F 4E 5F 51 4E 4F 5F 45 55 5F 43 4F 4E 53 5F 34   ....SN_CON_QNO_E
01 
00 00 00 00 
01 
4C 1D 00 00
Code:
9D 01 00 00 
10 00 
18 
01 01 01 01 
17 00 
53 4E 5F 43 4F 4E 5F 51 45 56 5F 41 4C 4C 5F 42 41 53 49 43 32 5F 31   N_CON_QEV_ALL_BA
01
00 00 00 00
Code:
A1 00 00 00 
10 00 
18 
01 01 01 01 
15 00 
53 4E 5F 43 4F 4E 5F 51 4E 4F 5F 45 55 5F 43 4F 4E 53 5F 31 32   .....SN_CON_QNO_
01 
00 00 00 00
lvszoc is offline  
Old 07/03/2011, 21:18   #2
 
elite*gold: 0
Join Date: Nov 2007
Posts: 959
Received Thanks: 602
hm,I've parsed them this way:


Quote:
for (int x = 0; x < alivequest; x++)
{
p.ReadUInt32();
p.ReadUInt16();
p.ReadUInt16();
p.ReadUInt16();
byte taskcount = p.ReadUInt8();
for (int df = 0; df < taskcount; df++)
{
p.ReadUInt16();
string questname = p.ReadAscii();
while(p.ReadUInt8() == 1)
{
p.ReadUInt32();
}
}
}
I hope that helps^^
vorosmihaly is offline  
Old 07/03/2011, 21:26   #3
 
elite*gold: 0
Join Date: May 2009
Posts: 19
Received Thanks: 2
Quote:
Originally Posted by vorosmihaly View Post
hm,I've parsed them this way:




I hope that helps^^
it don't work...

because nothing bytes between two quests...

example

Code:
97 00 00 00 
10 00 
58 
01 01 01 01 
14 00 
53 4E 5F 43 4F 4E 5F 51 4E 4F 5F 45 55 5F 43 4F 4E 53 5F 32  _CON_QNO_EU_CONS
01 00 00 00 00
01 4D 1D 00 00 
99 00 00 00   _2......M.......
10 01 
58 
01 01 01 01 
14 00 
53 4E 5F 43 4F 4E 5F 51 4E 4F 5F 45 55 5F 43 4F 4E 53 5F 34 
01 00 00 00 00 
01 4C 1D 00 00
reader reads 01 4D 1D 00 00 in while and read one byte "99" for while detection, but this byte a part of second quest
lvszoc is offline  
Old 07/03/2011, 21:36   #4
 
elite*gold: 0
Join Date: Nov 2007
Posts: 959
Received Thanks: 602
Quote:
Originally Posted by lvszoc View Post
it don't work...

because nothing bytes between two quests...

example

Code:
97 00 00 00 
10 00 
58 
01 01 01 01 
14 00 
53 4E 5F 43 4F 4E 5F 51 4E 4F 5F 45 55 5F 43 4F 4E 53 5F 32  _CON_QNO_EU_CONS
01 00 00 00 00

01 
4D 1D 00 00 

99 00 00 00   _2......M.......
10 01 
58 01
01 01
01 
14 00 
53 4E 5F 43 4F 4E 5F 51 4E 4F 5F 45 55 5F 43 4F 4E 53 5F 34 
01 00 00 00 00 

01 4C 1D 00 00
reader reads 01 4D 1D 00 00 in while and read one byte "99" for while detection, but this byte a part of second quest
oh sry,I sent you the old code..

byte nextdata = p.ReadUInt8();
if (nextdata == 1)
{
p.ReadUInt32();
}

that's the one I use at that part,but I dunno about the last 5 bytes o_O
I've never got that in the end,lol.


EDIT:
BTW if you read this:
[dword] id
[word] sth
[byte] if this byte is 0x58,you'll need to read +5 bytes at the end of it^^,I guess:P
vorosmihaly is offline  
Old 07/03/2011, 21:38   #5
 
elite*gold: 0
Join Date: May 2009
Posts: 19
Received Thanks: 2
thx
lvszoc is offline  
Reply


Similar Threads Similar Threads
WTS/WTT lvl 100 Rogue/cleric (RsrO) FOR Helios char 101+ or Wiz lvl 98+ RSRO !
02/20/2011 - Silkroad Online Trading - 13 Replies
Hey guys. Char Server: venera Rsro lvl: 100 Skills:Rogue 100ff cleric 90ff/warrior10 (KB skill) Set : +5 Infos: i have all infos Screens: I will add them later What i want : A Char on Server Helios 101+ (any build ), or RSRO Wizard lvl 98+, server does not matter. Leave the offers here!
RSRO ARTEMIDA FOR CHAR RSRO VENERA
11/21/2010 - Silkroad Online Trading - 4 Replies
Hi! I have 2 chars. First chars is warrior/cleric 65lvl with 1m and 600kSP and Second char is wizard/cleric 65lvl with 410kSP and 110m gold post here or skype: rodito0o
[WTT][ISRO] Iris 100lv wizard or 20lv china char with 1,5m SP FOR RSRO ARTEMIDA CHAR
11/20/2010 - Silkroad Online Trading - 1 Replies
Farmer 20lv has 1,5m sp atm, 21 days of exp and sp tickets left, char has no str and no int upped, so you can create your own build. No email verify. (still farming) Wizard is lv 100, (still leveling) Skills: Wizard 99 Cleric: 96 No email verified. I'm interested in RSRO (Artemida) chars, leave your offers here
WTT Isro Char Lv101 for Rsro Artemis Char
08/24/2010 - Silkroad Online Trading - 11 Replies
Hi i want to trade my Lv101 S/S pure int Nuker on server Gaia for a lvl 98+ char on Artemis or lv 90+ FF to 100!!( i want a Warrior,Wizzard,Glavier or Blader) My nuker is Fire ice bich! nearly FF to 100 Fire 100F, ice lv80,FF Bich nearly FF 100( most needed FF), Light 50(mag%,speed,parry)
WTT SWSRO2 LV113 CHAR!!FOR 85+ rsro char!!!!
06/16/2010 - Silkroad Online Trading - 10 Replies
msn:[email protected]!!! xfire quwisky!!! or write here!!!



All times are GMT +1. The time now is 06:39.


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.