Initiate Mage
- Joined
- Dec 3, 2021
- Messages
- 2
- Reaction score
- 1
Hello everybody, help me with the martial class .dat
I added the new warrior class in the panel and by a byte in the .dat that is created from the warrior the game closes, if I manually modify it it works normally, see the before and after prints
if I add a space equal to the assassin's, the panel no longer recognizes the .dat but in the game it recognizes it, but in the martial one if I remove the space it recognizes the panel but not in the game, can someone help me?
class.func.php assassin and martial
case "Assassina":
$modelName1=pack("a*","char\\tmABCD\\e001.ini");
$modelName2=pack("a*"," char\\tmABCD\\tfh-e01.inf").pack("h*",00);
break;
there is a space in modelname2 which is the head, I believe
case "Guerreira":
$modelName1=pack("a*","char\\tmABCD\\f001.ini");
$modelName2=pack("a*","char\\tmABCD\\tfh-f02d.inf").pack("h*",00);
break;
and the warrior needs a space or a 00 byte to be able to work, because if I put the same space as the assassin, the panel does not recognize
I added the new warrior class in the panel and by a byte in the .dat that is created from the warrior the game closes, if I manually modify it it works normally, see the before and after prints
if I add a space equal to the assassin's, the panel no longer recognizes the .dat but in the game it recognizes it, but in the martial one if I remove the space it recognizes the panel but not in the game, can someone help me?
class.func.php assassin and martial
case "Assassina":
$modelName1=pack("a*","char\\tmABCD\\e001.ini");
$modelName2=pack("a*"," char\\tmABCD\\tfh-e01.inf").pack("h*",00);
break;
there is a space in modelname2 which is the head, I believe
case "Guerreira":
$modelName1=pack("a*","char\\tmABCD\\f001.ini");
$modelName2=pack("a*","char\\tmABCD\\tfh-f02d.inf").pack("h*",00);
break;
and the warrior needs a space or a 00 byte to be able to work, because if I put the same space as the assassin, the panel does not recognize
Attachments
You must be registered for see attachments list