Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rohan
You last visited: Today at 01:32

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

Advertisement



Skilltree.bin struggle

Discussion on Skilltree.bin struggle within the Rohan forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2010
Posts: 457
Received Thanks: 109
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
 
kthxbai2's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 418
Received Thanks: 240
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: 457
Received Thanks: 109
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
 
kthxbai2's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 418
Received Thanks: 240
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: 457
Received Thanks: 109
thanks, everything worked fine, thread can be locked
smoka95 is offline  
Reply




All times are GMT +1. The time now is 01:32.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.