• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Guide] Make STRS from Header

Junior Spellweaver
Joined
Apr 5, 2009
Messages
101
Reaction score
3
Guys help me please, struct animus have a line strange "unsigned __int64 m_nForLvUpExp;"
This line will be "u32 m_nForLvUpExp;" or i32 ?

PHP:
struct _animus_fld
{
  _base_fld baseclass_0;
  int m_nLevel;
  unsigned __int64 m_nForLvUpExp;    <----
  int m_nUseFP;
  float m_fPenalty;
  float m_fAttGap;
  int m_nAttack_DP;
  int m_nAttFcStd;
  int m_nMinAFSelProb;
  int m_nMaxAFSelProb;
  int m_nAttSklUnit;
  int m_nDefSklUnit;
  float m_fWeakPart;
  int m_nStdDefFc;
  float m_fDefGap;
  float m_fDefFacing;
  int m_nFireTol;
  int m_nWaterTol;
  int m_nSoilTol;
  int m_nWindTol;
  int m_nForceLevel;
  int m_nForceMastery;
  int m_nForceAttStd;
  char m_strAttTechID1[64];
  int m_nAttTech1UseProb;
  int m_nAttTechID1MotionTime;
  char m_strPSecTechID[64];
  int m_nPSecTechIDMotionTime;
  char m_strMSecTechID[64];
  int m_nMSecTechIDMotionTime;
  int m_nMaxHP;
  int m_nHPRecDelay;
  int m_nHPRecUnit;
  int m_nMaxFP;
  int m_nFPRecDelay;
  int m_nFPRecUnit;
  int m_nAttSpd;
  int m_nAttMoTime1;
  int m_nAttMoTime2;
  int m_nCrtMoTime;
  int m_nViewExt;
  int m_nRefExt;
  int m_nAttExt;
  int m_nMovSpd;
  int m_nScaleRate;
  int m_nWidth;
  int m_nAttEffType;
  int m_nDefEffType;
};

Its right this way ?

Code:
[filemask="IsisCharacter.dat"]
struct IsisCharacterFile
{
u32 IsisCharacterBlocks;
u32 IsisCharacterColumns;
u32 IsisCharacterBlockSize;
Child IsisCharacter [count=IsisCharacterBlocks];
}
struct IsisCharacterBlock [preload=1]
{

u32 m_dwIndex;
  cstr [len=64] m_strCode;
  i32 m_nLevel;
u32 m_nForLvUpExp;
  i32 m_nUseFP;
  float m_fPenalty;
  float m_fAttGap;
  i32 m_nAttack_DP;
  i32 m_nAttFcStd;
  i32 m_nMinAFSelProb;
  i32 m_nMaxAFSelProb;
  i32 m_nAttSklUnit;
  i32 m_nDefSklUnit;
  float m_fWeakPart;
  i32 m_nStdDefFc;
  float m_fDefGap;
  float m_fDefFacing;
  i32 m_nFireTol;
  i32 m_nWaterTol;
  i32 m_nSoilTol;
  i32 m_nWindTol;
  i32 m_nForceLevel;
  i32 m_nForceMastery;
  i32 m_nForceAttStd;
  cstr [len=64] m_strAttTechID1;
  i32 m_nAttTech1UseProb;
  i32 m_nAttTechID1MotionTime;
  cstr [len=64] m_strPSecTechID;
  i32 m_nPSecTechIDMotionTime;
  cstr [len=64] m_strMSecTechID;
  i32 m_nMSecTechIDMotionTime;
  i32 m_nMaxHP;
  i32 m_nHPRecDelay;
  i32 m_nHPRecUnit;
  i32 m_nMaxFP;
  i32 m_nFPRecDelay;
  i32 m_nFPRecUnit;
  i32 m_nAttSpd;
  i32 m_nAttMoTime1;
  i32 m_nAttMoTime2;
  i32 m_nCrtMoTime;
  i32 m_nViewExt;
  i32 m_nRefExt;
  i32 m_nAttExt;
  i32 m_nMovSpd;
  i32 m_nScaleRate;
  i32 m_nWidth;
  i32 m_nAttEffType;
  i32 m_nDefEffType;

};
 
Junior Spellweaver
Joined
Apr 5, 2009
Messages
101
Reaction score
3
But error is because that line, error is "cant read unsigned", i already test it... in all forms
 
Skilled Illusionist
Joined
Feb 17, 2012
Messages
392
Reaction score
22
fix :

u32 m_nForLvUpExp;
u32 m_nForLvUpExp;
i32 m_nUseFP;
float m_fPenalty;
float m_fAttGap;
i32 m_nAttack_DP;
i32 m_nAttFcStd;
i32 m_nMinAFSelProb;
i32 m_nMaxAFSelProb;
i32 m_nAttSklUnit;
i32 m_nDefSklUnit;
float m_fWeakPart;
i32 m_nStdDefFc;
float m_fDefGap;
float m_fDefFacing;
i32 m_nFireTol;
i32 m_nWaterTol;
i32 m_nSoilTol;
i32 m_nWindTol;
i32 m_nForceLevel;
i32 m_nForceMastery;
i32 m_nForceAttStd;
cstr [len=64] m_strAttTechID1;
i32 m_nAttTech1UseProb;
i32 m_nAttTechID1MotionTime;
cstr [len=64] m_strPSecTechID;
i32 m_nPSecTechIDMotionTime;
cstr [len=64] m_strMSecTechID;
i32 m_nMSecTechIDMotionTime;
i32 m_nMaxHP;
i32 m_nHPRecDelay;
i32 m_nHPRecUnit;
i32 m_nMaxFP;
i32 m_nFPRecDelay;
i32 m_nFPRecUnit;
i32 m_nAttSpd;
i32 m_nAttMoTime1;
i32 m_nAttMoTime2;
i32 m_nCrtMoTime;
i32 m_nViewExt;
i32 m_nRefExt;
i32 m_nAttExt;
i32 m_nMovSpd;
i32 m_nScaleRate;
i32 m_nWidth;
i32 m_nAttEffType;
i32 m_nDefEffType;

}
 
Junior Spellweaver
Joined
Apr 5, 2009
Messages
101
Reaction score
3
Still no working, still have error to read when i put dat in DATEDIT
 
Junior Spellweaver
Joined
Apr 5, 2009
Messages
101
Reaction score
3
Here the image of my datedit
novanakal - [Guide] Make STRS from Header - RaGEZONE Forums

and here my strs code IsisCharacter:

PHP:
[filemask="IsisCharacter.dat"]
struct IsisCharacterFile
{
u32 IsisCharacterBlocks;
u32 IsisCharacterColumns;
u32 IsisCharacterBlockSize;
Child IsisCharacter [count=IsisCharacterBlocks];
}
struct IsisCharacterBlock [preload=1]
{

u32 m_dwIndex;
cstr [len=64] m_strCode;
i32 m_nLevel;
u32 m_nForLvUpExp;
u32 m_nForLvUpExp;
i32 m_nUseFP;
float m_fPenalty;
float m_fAttGap;
i32 m_nAttack_DP;
i32 m_nAttFcStd;
i32 m_nMinAFSelProb;
i32 m_nMaxAFSelProb;
i32 m_nAttSklUnit;
i32 m_nDefSklUnit;
float m_fWeakPart;
i32 m_nStdDefFc;
float m_fDefGap;
float m_fDefFacing;
i32 m_nFireTol;
i32 m_nWaterTol;
i32 m_nSoilTol;
i32 m_nWindTol;
i32 m_nForceLevel;
i32 m_nForceMastery;
i32 m_nForceAttStd;
cstr [len=64] m_strAttTechID1;
i32 m_nAttTech1UseProb;
i32 m_nAttTechID1MotionTime;
cstr [len=64] m_strPSecTechID;
i32 m_nPSecTechIDMotionTime;
cstr [len=64] m_strMSecTechID;
i32 m_nMSecTechIDMotionTime;
i32 m_nMaxHP;
i32 m_nHPRecDelay;
i32 m_nHPRecUnit;
i32 m_nMaxFP;
i32 m_nFPRecDelay;
i32 m_nFPRecUnit;
i32 m_nAttSpd;
i32 m_nAttMoTime1;
i32 m_nAttMoTime2;
i32 m_nCrtMoTime;
i32 m_nViewExt;
i32 m_nRefExt;
i32 m_nAttExt;
i32 m_nMovSpd;
i32 m_nScaleRate;
i32 m_nWidth;
i32 m_nAttEffType;
i32 m_nDefEffType;

}
 
Skilled Illusionist
Joined
Feb 17, 2012
Messages
392
Reaction score
22
changes
Code:
Child IsisCharacter [count=IsisCharacterBlocks]; 
} 
struct IsisCharacterBlock [preload=1] 
{

To

Code:
Child IsisCharacter [count=IsisCharacterBlocks]; 
} 
struct IsisCharacter [preload=1, tableview=1] 
{
 
Last edited:
Newbie Spellweaver
Joined
Oct 6, 2013
Messages
41
Reaction score
1
File zoneserver.h need to stay inside the folder: FILE SERVER 2.2.3(BSB)/Zoneserver/RF_Bin/Script/ ?

I managed to open the server but the player is invisible, and I am without zoneserver.h ?
 
Newbie Spellweaver
Joined
Dec 2, 2012
Messages
25
Reaction score
1
help novanakl, what is wrong here?

/* 1816 */
struct _ItemLooting_fld
{
_base_fld baseclass_0;
int m_nLootRate;
int m_nLootTime;
int m_nOperationCount;
int m_nLootListCount;
char m_itmLootCodeKey[200][8];
};





[filemask="ItemLooting.dat"]
struct ItemLootingFile
{
u32 ItemLootingBlocks;
u32 ItemLootingColumns;
u32 ItemLootingBlockSize;

}

struct Storelist [preload=1]
{
u32 m_dwIndex;
cstr[len=64] m_strCode;



i32 m_nLootRate;
i32 m_nLootTime;
i32 m_nOperationCount;
i32 m_nLootListCount;
repeat 200
{ cstr[len=64] m_itmLootCodeKey; }
}
 
Skilled Illusionist
Joined
Feb 17, 2012
Messages
392
Reaction score
22
i have question here >.<

It Possible To Read Total Blocks, in another offset ?

Ex : I Want To Read Total Blocks From Offset 7414819, so The Structure read from that offset, not first line of files

how to like coding that ?..
i'm confused because this >,< Already try, and still READ From First Line / Byte Of Files

*Working For NDItem (Item Description)
 
Back
Top