ROTMG free hack Hack ROTMG and Private Server ROTMG Private Server
Play ROTMG Tool Private Server Play ROTMG Hacked Client
View the Frequently Asked Questions Donate to ROTMG Tool Visit the Community Site
Realm of the Mad God Hacks, Cheats and Private Server - Come as Guests, Stay as Family!
Hack Client Updated - Now working for 15.0.0 - Play Online or Download for Free Now!
Advertisement

Item Codes and Layouts - ROTMG Tool


Discuss any thing that is coding related here, ask for help, or show us your work

Item Codes and Layouts

Postby AncientEvil » Tue 06 Oct, 2015 1:22 pm

@hai :|
can somebody please Post/ give me any information on how to code items such as armor and Rings? i have the layout for the Weapons and Abilities, but i don't really know how to Tweak it. a little help please?
Code: Select all
<Object type="0x15B5" id="Sword">
    <Class>Equipment</Class>
    <Item/>
    <Texture>
      <File>tex.file</File>
      <Index>0x3b</Index>
    </Texture>
    <SlotType>1</SlotType>
    <Tier>18</Tier>
    <Description>A sword </Description>
    <RateOfFire>2</RateOfFire>
    <Sound>weapon/mithril_sword</Sound>
    <Projectile>
      <ObjectId>Blue Bolt</ObjectId>
      <Speed>150</Speed>
      <MinDamage>500</MinDamage>
      <MaxDamage>750</MaxDamage>
      <LifetimeMS>600</LifetimeMS>
    </Projectile>
    <BagType>4</BagType>
    <FameBonus>20</FameBonus>
    <OldSound>bladeSwing</OldSound>
  </Object>

also, how does the Bag type Work? as well as the slot type?
thanks again,
AncientEvil

Feel Free to PM me if you need help
For joining my guild: Just drop a PM
Guild Removal/Ranking Inquiries: Send a PM
Any Rude PMs and i will block you, or ban you
My Staff Life:
Helper Since 16th September 2015
Moderator Since 2nd October 2015
Global Moderator Since 20th May 2016
Staff Manager Since 14th October 2016
Renowned Commanding High Councillor of The Legendary Dark Riders
Councillors of The Dark Riders:
-AncientLight ~ the second-in-command, and my counterpart.
-Braviosi ~ the only other Escapee from my kingdom. Brother...
User avatar
AncientEvil<i> Offline</i>
Manager
Manager
Posts: 1307
Joined: Jul '15
PS Name: AncientEvil
Location: The Councillor's Meeting Chamber of The Dark Riders Stronghold.
Thanks: 85
Member of the Quarter Dev Award Created Award Great Ideas Award Bug Zapper Award
[OLD] Member of the Month

Postby AncientEvil » Tue 06 Oct, 2015 3:04 pm

thanks @voidreaper for the explanation on the Bag types, as well as the slot types, but what i don't understand is the type="0x15B5" and the index="ox3b"

Feel Free to PM me if you need help
For joining my guild: Just drop a PM
Guild Removal/Ranking Inquiries: Send a PM
Any Rude PMs and i will block you, or ban you
My Staff Life:
Helper Since 16th September 2015
Moderator Since 2nd October 2015
Global Moderator Since 20th May 2016
Staff Manager Since 14th October 2016
Renowned Commanding High Councillor of The Legendary Dark Riders
Councillors of The Dark Riders:
-AncientLight ~ the second-in-command, and my counterpart.
-Braviosi ~ the only other Escapee from my kingdom. Brother...
User avatar
AncientEvil<i> Offline</i>
Manager
Manager
Posts: 1307
Joined: Jul '15
PS Name: AncientEvil
Location: The Councillor's Meeting Chamber of The Dark Riders Stronghold.
Thanks: 85
Member of the Quarter Dev Award Created Award Great Ideas Award Bug Zapper Award
[OLD] Member of the Month

Postby Ahlwong » Thu 08 Oct, 2015 2:17 am

type="0x15B5"

Is the hex value for the item that is then converted in the db. This gives it the value that can be used in the server merchant as well.

index="0x3b"

Is the pinpointed location of the sprite.

0x is just by default required but 3 and b would be the y and x axis of the sprite sheet.

Going from sprite sheet, the sprite sheet location itself is defined by

<File>tex.file</File>
ROTMG Tool Rank Achievements:
Developer from April 2014 - June 2016
Helper from April 2014 - June 2014
Moderator from June 2014 - August 2014
Global Moderator from August 2014 - October 2014
Supreme Moderator from October 2014 - March 2016
YouTube Team Director from August 2015 - October 2016
Ex-Staff since June 2016
My legend ends here. It's your time to build your legend!
User avatar
Ahlwong<i> Offline</i>
Ex-Staff
Ex-Staff
Posts: 1602
Joined: Feb '14
PS Name: Ahlwong
Location: Sydney
Thanks: 171
Member of the Quarter Nuclear Award Created Award Great Ideas Award YouTube Medal
Bug Zapper Award LMAO Award 20k Posts Day! [OLD] Member of the Month

Postby AncientEvil » Thu 08 Oct, 2015 2:24 am

thanks @ahlwong, i pretty much figured that out with Void. it's just the Slot types (think i've got them sorted out though), and the <index> parts that i'm confused about. also, i need to add a Seperate Give Name because the items i'm making are for Staff only.

Feel Free to PM me if you need help
For joining my guild: Just drop a PM
Guild Removal/Ranking Inquiries: Send a PM
Any Rude PMs and i will block you, or ban you
My Staff Life:
Helper Since 16th September 2015
Moderator Since 2nd October 2015
Global Moderator Since 20th May 2016
Staff Manager Since 14th October 2016
Renowned Commanding High Councillor of The Legendary Dark Riders
Councillors of The Dark Riders:
-AncientLight ~ the second-in-command, and my counterpart.
-Braviosi ~ the only other Escapee from my kingdom. Brother...
User avatar
AncientEvil<i> Offline</i>
Manager
Manager
Posts: 1307
Joined: Jul '15
PS Name: AncientEvil
Location: The Councillor's Meeting Chamber of The Dark Riders Stronghold.
Thanks: 85
Member of the Quarter Dev Award Created Award Great Ideas Award Bug Zapper Award
[OLD] Member of the Month

Postby Woofywolf » Thu 03 Dec, 2015 3:41 pm

this looks very complicated (coming from the guy who has never coded)
Image
The Gravity Falls series finale was amazing and it made me cry, I literally can't stand that there will be no more episodes. I think of it every night and almost tear up, that is how much i care about Gravity Falls. ;(
User avatar
Woofywolf<i> Offline</i>
Donator
Donator
Posts: 192
Joined: May '15
PS Name: Woofywulf
Location: wondering with my wolf pack
Thanks: 15

Postby AncientEvil » Fri 04 Dec, 2015 11:01 am

try not to necropost. i am now able to code items within minutes so long as i have specific stats and requirements.
i have an entire list of slottypes, conditioneffects, stat boosts, how to make SB, Resu, etc
but hey. this is the easiest language of code i know xD

Feel Free to PM me if you need help
For joining my guild: Just drop a PM
Guild Removal/Ranking Inquiries: Send a PM
Any Rude PMs and i will block you, or ban you
My Staff Life:
Helper Since 16th September 2015
Moderator Since 2nd October 2015
Global Moderator Since 20th May 2016
Staff Manager Since 14th October 2016
Renowned Commanding High Councillor of The Legendary Dark Riders
Councillors of The Dark Riders:
-AncientLight ~ the second-in-command, and my counterpart.
-Braviosi ~ the only other Escapee from my kingdom. Brother...
User avatar
AncientEvil<i> Offline</i>
Manager
Manager
Posts: 1307
Joined: Jul '15
PS Name: AncientEvil
Location: The Councillor's Meeting Chamber of The Dark Riders Stronghold.
Thanks: 85
Member of the Quarter Dev Award Created Award Great Ideas Award Bug Zapper Award
[OLD] Member of the Month