[FSOD] How to add a new class.

Posts 1–15 of 31 · Page 1 of 3
[FSOD] How to add a new class.
shit tutorial who cares.



Goto dat1.xml find the "ninja" xml.
Copy + paste it, change the type=id to something unique, and all the slottypes n shit.
Code:
   <Object type="0x0326" id="Ninja">
      <Class>Player</Class>
      <Description>{players.The_ninja_relies_on_speed_and_skill,_using_katanas_and_ni}</Description>
      <AnimatedTexture>
         <File>players</File>
         <Index>13</Index>
      </AnimatedTexture>
      <HitSound>player/rogue_hit</HitSound>
      <DeathSound>player/rogue_death</DeathSound>
      <Player/>
      <BloodProb>1.0</BloodProb>
      <SlotTypes>24, 25, 6, 9, 0, 0, 0, 0, 0, 0, 0, 0</SlotTypes>
      <Equipment>0xc44, 0xc53, -1, -1, 0xa22, -1, -1, -1, -1, -1, -1, -1</Equipment>
      <MaxHitPoints max="720">150</MaxHitPoints>
      <MaxMagicPoints max="252">100</MaxMagicPoints>
      <Attack max="70">15</Attack>
      <Defense max="25">0</Defense>
      <Speed max="60">10</Speed>
      <Dexterity max="70">12</Dexterity>
      <HpRegen max="40">10</HpRegen>
      <MpRegen max="70">12</MpRegen>
      <LevelIncrease min="20" max="30">MaxHitPoints</LevelIncrease>
      <LevelIncrease min="2" max="8">MaxMagicPoints</LevelIncrease>
      <LevelIncrease min="1" max="2">Attack</LevelIncrease>
      <LevelIncrease min="0" max="0">Defense</LevelIncrease>
      <LevelIncrease min="0" max="2">Speed</LevelIncrease>
      <LevelIncrease min="1" max="2">Dexterity</LevelIncrease>
      <LevelIncrease min="0" max="1">HpRegen</LevelIncrease>
      <LevelIncrease min="1" max="2">MpRegen</LevelIncrease>
      <UnlockLevel level="20" type="0x0300">Rogue</UnlockLevel>
      <UnlockLevel level="20" type="0x031d">Warrior</UnlockLevel>
      <UnlockCost>999</UnlockCost>
      <DisplayId>{players.Ninja}</DisplayId>
   </Object>
REMEMBER TO GO TO YOUR PLAYER SPRITE SHEET, AND ADD THE 14TH CLASS SPRITE!
change the xml as you would like, like i did with jack.

change that shit to
Code:
   <Object type="0x0327" id="Jack">
      <Class>Player</Class>
      <Description>Jack</Description>
      <AnimatedTexture>
         <File>players</File>
         <Index>14</Index>
      </AnimatedTexture>
      <HitSound>player/rogue_hit</HitSound>
      <DeathSound>player/rogue_death</DeathSound>
      <Player/>
      <BloodProb>1.0</BloodProb>
      <SlotTypes>24, 25, 6, 9, 0, 0, 0, 0, 0, 0, 0, 0</SlotTypes>
      <Equipment>0xc44, 0xc53, -1, -1, 0xa22, -1, -1, -1, -1, -1, -1, -1</Equipment>
      <MaxHitPoints max="999">150</MaxHitPoints>
      <MaxMagicPoints max="999">100</MaxMagicPoints>
      <Attack max="999">15</Attack>
      <Defense max="999">0</Defense>
      <Speed max="999">10</Speed>
      <Dexterity max="999">12</Dexterity>
      <HpRegen max="999">10</HpRegen>
      <MpRegen max="999">12</MpRegen>
      <LevelIncrease min="20" max="30">MaxHitPoints</LevelIncrease>
      <LevelIncrease min="2" max="8">MaxMagicPoints</LevelIncrease>
      <LevelIncrease min="1" max="2">Attack</LevelIncrease>
      <LevelIncrease min="0" max="0">Defense</LevelIncrease>
      <LevelIncrease min="0" max="2">Speed</LevelIncrease>
      <LevelIncrease min="1" max="2">Dexterity</LevelIncrease>
      <LevelIncrease min="0" max="1">HpRegen</LevelIncrease>
      <LevelIncrease min="1" max="2">MpRegen</LevelIncrease>
      <UnlockLevel level="20" type="0x0300">Rogue</UnlockLevel>
      <UnlockLevel level="20" type="0x031d">Warrior</UnlockLevel>
      <UnlockCost>999</UnlockCost>
      <DisplayId>Jack</DisplayId>
   </Object>
So you know have those sick sprites, xmls n such. good.

you probably already have it in dat1.xml, so you just need it in the client.

open up JPEXS and find the "EmbeddedData_PlayersCXML.dat copy+paste your "jack" inside.

When thats done you should have 2 xmls, one i the client, and one in the dat1.xml.
Rebuild server, and rebuild client and it should work.

I have only tried to add 1 class, i am not sure if it works with more than 1. You can try.

For the slottype, you can use <slottype>29</slottype> on your custom item and your custom class. Not sure how to get the shadow displaying tho.
Good tut but can someone make a tutorial on how to add more sprite sheets? Mine is full already.
Quote Originally Posted by Orbit View Post
Good tut but can someone make a tutorial on how to add more sprite sheets? Mine is full already.
If you use as3, you just expand it. ;3
Quote Originally Posted by Orbit View Post
Good tut but can someone make a tutorial on how to add more sprite sheets? Mine is full already.
There are like 3 of them. Check my posted threads. Its AS3 tho. However only differences is the obfuscated names of the different classes and scripts.

-----EDIT----
Woops, forgot omega provided you with one. Srry :P
Quote Originally Posted by lkdjnfoskjednfblksjdfn View Post
There are like 3 of them. Check my posted threads. Its AS3 tho. However only differences is the obfuscated names of the different classes and scripts.

-----EDIT----
Woops, forgot omega provided you with one. Srry :P
Thanks anyways
Followed your tutorial and just changed the obfuscated names and it worked
Quote Originally Posted by Orbit View Post
Thanks anyways
Followed your tutorial and just changed the obfuscated names and it worked
For Fabiano?
i did it on fabiano. i just trying to learn how to add customized slot types that is what i dont get
JPEXS to export and replace the file in the client

Guys here is how to add classes on fabiano </Objects> in dat1.xml but make sure its not in the binary file in the client
u need to use
This is is just an example
if u wanna use this make sure to add
<Object type="0x07dd" id="RealmKGC">
<Class>Player</Class>
<Description>Op Knight</Description>
<AnimatedTexture>
<File>players</File>
<Index>14</Index>
</AnimatedTexture>
<HitSound>player/knight_hit</HitSound>
<DeathSound>player/knight_death</DeathSound>
<Player/>
<BloodProb>1.0</BloodProb>
<SlotTypes>24, 13, 7, 9, 0, 0, 0, 0, 0, 0, 0, 0</SlotTypes>
<Equipment>-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1</Equipment>
<MaxHitPoints max="770">200</MaxHitPoints>
<MaxMagicPoints max="252">100</MaxMagicPoints>
<Attack max="100">100</Attack>
<Defense max="100">100</Defense>
<Speed max="100">100</Speed>
<Dexterity max="100">100</Dexterity>
<HpRegen max="300">300</HpRegen>
<MpRegen max="300">300</MpRegen>
<LevelIncrease min="20" max="50">MaxHitPoints</LevelIncrease>
<LevelIncrease min="2" max="60">MaxMagicPoints</LevelIncrease>
<LevelIncrease min="1" max="5">Attack</LevelIncrease>
<LevelIncrease min="0" max="5">Defense</LevelIncrease>
<LevelIncrease min="0" max="5">Speed</LevelIncrease>
<LevelIncrease min="0" max="5">Dexterity</LevelIncrease>
<LevelIncrease min="1" max="5">HpRegen</LevelIncrease>
<LevelIncrease min="0" max="5">MpRegen</LevelIncrease>
<UnlockLevel level="20" type="0x031d">Warrior</UnlockLevel>
<UnlockCost>30000</UnlockCost>
<DisplayId>RealmKGC</DisplayId>

u can change anything u want on it really

u need to use a program to edit the binarydata file
the file is going to be called EmbeddedData_PlayersCXML
u can use a prgoram called EmEditor
when u add the classs to the file make sure u add it
where u find
an
</Objects>
</Objects>
Quote Originally Posted by kgcgods View Post
i did it on fabiano. i just trying to learn how to add customized slot types that is what i dont get
JPEXS to export and replace the file in the client

Guys here is how to add classes on fabiano </Objects> in dat1.xml but make sure its not in the binary file in the client
u need to use
This is is just an example
if u wanna use this make sure to add
<Object type="0x07dd" id="RealmKGC">
<Class>Player</Class>
<Description>Op Knight</Description>
<AnimatedTexture>
<File>players</File>
<Index>14</Index>
</AnimatedTexture>
<HitSound>player/knight_hit</HitSound>
<DeathSound>player/knight_death</DeathSound>
<Player/>
<BloodProb>1.0</BloodProb>
<SlotTypes>24, 13, 7, 9, 0, 0, 0, 0, 0, 0, 0, 0</SlotTypes>
<Equipment>-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1</Equipment>
<MaxHitPoints max="770">200</MaxHitPoints>
<MaxMagicPoints max="252">100</MaxMagicPoints>
<Attack max="100">100</Attack>
<Defense max="100">100</Defense>
<Speed max="100">100</Speed>
<Dexterity max="100">100</Dexterity>
<HpRegen max="300">300</HpRegen>
<MpRegen max="300">300</MpRegen>
<LevelIncrease min="20" max="50">MaxHitPoints</LevelIncrease>
<LevelIncrease min="2" max="60">MaxMagicPoints</LevelIncrease>
<LevelIncrease min="1" max="5">Attack</LevelIncrease>
<LevelIncrease min="0" max="5">Defense</LevelIncrease>
<LevelIncrease min="0" max="5">Speed</LevelIncrease>
<LevelIncrease min="0" max="5">Dexterity</LevelIncrease>
<LevelIncrease min="1" max="5">HpRegen</LevelIncrease>
<LevelIncrease min="0" max="5">MpRegen</LevelIncrease>
<UnlockLevel level="20" type="0x031d">Warrior</UnlockLevel>
<UnlockCost>30000</UnlockCost>
<DisplayId>RealmKGC</DisplayId>

u can change anything u want on it really

u need to use a program to edit the binarydata file
the file is going to be called kabam****tmg.assets.EmbeddedData_PlayersCXML_kabam ****tmg.assets.EmbeddedData_PlayersCXML
u can use a prgoram called EmEditor
when u add the classs to the file make sure u add it
where u find
an
</Objects>
</Objects>
I am not sure what ur trying to do, my tutorial shows how to add a new class, and you just did a tutorial on a tutorial xD
i read a few guys had a problem on fabiano.
For Some Reason The Character Doesn't Work When I Load In Just Black Screen And When I Relog Shit Happens

:P:P:P:P
Quote Originally Posted by Demon View Post
For Some Reason The Character Doesn't Work When I Load In Just Black Screen And When I Relog Shit Happens

:P:P:P:P
is your char located in dat1.xml?
Check wserver.exe and server.exe for errors, and send them in.
Quote Originally Posted by MikeRaarupBirk View Post
is your char located in dat1.xml?
Check wserver.exe and server.exe for errors, and send them in.


Wops NVM I FIXED IT---edited
Hello Mike,
I'm using fabiano source:
i've done what you wrote in your tutorial step by step, rebuilt everything, turned on the server, went to "classes", chosen my Spearman class, my client connected to nexus and went blackscreen, i clicked "Back to home" and got this
http://imgur.com/bv2MpuE
I created another account, tried to buy the class using coins, got this http://imgur.com/a/l7lEC
My question is: What do i do?
I can show you my files', but i cannot write to you due to my low posts counter.

upd: whenever i try to give myself class' items, it shows me ART picture, i know how to fix it, still waiting for your answer, gone fixing art bug
upd2: i think i found what i did wrong, will report back soon
upd3: omfg Mike ty very much, i typed indexes of my items wrong, it worked, yay
Posts 1–15 of 31 · Page 1 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?