Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rohan
You last visited: Today at 14:33

  • 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: 407
Received Thanks: 79
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 02/14/2017, 21:15   #2
 
elite*gold: 0
Join Date: May 2011
Posts: 371
Received Thanks: 168
save yourself the trouble and start using 010 editor, the struct is good i think


kthxbai2 is offline  
Old 02/14/2017, 23:23   #3
 
elite*gold: 0
Join Date: Apr 2010
Posts: 407
Received Thanks: 79
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 02/15/2017, 00:05   #4
 
elite*gold: 0
Join Date: May 2011
Posts: 371
Received Thanks: 168
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 02/15/2017, 02:28   #5
 
elite*gold: 0
Join Date: Apr 2010
Posts: 407
Received Thanks: 79
thanks, everything worked fine, thread can be locked


smoka95 is offline  
Reply



« Newbie Wanna Learn Something :) | [SHARE] Simple spawn editor »



All times are GMT +2. The time now is 14:33.


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

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