Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rohan
You last visited: Today at 10:30

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

 

Skilltree.bin struggle

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2010
Posts: 326
Received Thanks: 46
Skilltree.bin struggle

So i have tried to edit this file with structorian, however any edit even if you replace a number with exact same number it results of a problem and makes the file unusable which forces me to ask how to fix this code, since obviously there is either a mistake or its just too outdated
I did try to find solutions, but there was nothing whatsoever

Code:
[filemask="skilltree.bin"]
struct SkillTrees
{
	child SkillTree [count=740];
}

struct SkillTree[preload=1, tableview=1]
{
	i8 dwClass;
	u16 dwSkillIdx;
	u16 dwParentSkillIdx;
	i8 nPoint;
	i8 nReqPoint;
}



smoka95 is offline  
Old   #2
 
elite*gold: 0
Join Date: May 2011
Posts: 319
Received Thanks: 108
save yourself the trouble and start using 010 editor, the struct is good i think


kthxbai2 is offline  
Old   #3
 
elite*gold: 0
Join Date: Apr 2010
Posts: 326
Received Thanks: 46
Ive tried 010, however i have failing converting the template from structs to 010 one

Quote:
typedef struct{byte dwClass;
short dwSkillIdx;
short dwParentSkillIdx;
byte nPoint;
byte nReqPoint;
} skilltree;
while( !FEof() )
{
skilltree;
}
Would u help me fix it
smoka95 is offline  
Old   #4
 
elite*gold: 0
Join Date: May 2011
Posts: 319
Received Thanks: 108
PHP Code:
typedef struct{    
    
byte dwClass;
    
short dwSkillIdx;
    
short dwParentSkillIdx;
    
byte nPoint;
    
byte nReqPoint;
    
skilltree;

while( !
FEof() )
{
    
skilltree _skilltree;

you almost got it right


kthxbai2 is offline  
Thanks
1 User
Old   #5
 
elite*gold: 0
Join Date: Apr 2010
Posts: 326
Received Thanks: 46
thanks, everything worked fine, thread can be locked


smoka95 is offline  
Reply



« Previous Thread | Next Thread »



All times are GMT +2. The time now is 10:30.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.