[562] Fixing Malformed/Nulled Items

Go down

[562] Fixing Malformed/Nulled Items

Post  Pkandthepked on Fri Oct 29, 2010 4:39 am

How do you fix malformed/nulled items you say? Well, its pretty simple.

But first off, if you guys do NOT know what these are, its the items that you cant spawn.
When you try to spawn something, some items will give you the message saying, "This is a malformed item, or a null".

Something like that.

Alright, heres what you do first:

Find the id of the item thats malformed/nulled.

Now, go into your source folder and find the file "equip.txt" which should be in folder "data".

Then find the id of your item.

Now, go into the file "itemDefinitions.xml" and if you didn't already, open it as a NOTEPAD.

Lets say you don't have Brawling Gloves in your server.

This is what the format should look like:
Code:

  <itemDefinition>
    <price>
      <minPrice>0</minPrice>
      <maxPrice>0</maxPrice>
      <normPrice>0</normPrice>
    </price>
    <bonus>
      <int>0</int>
      <int>0</int>
      <int>0</int>
      <int>0</int>
      <int>0</int>
      <int>0</int>
      <int>0</int>
      <int>0</int>
      <int>0</int>
      <int>0</int>
      <int>20</int>
      <int>0</int>
      <int>0</int>
    </bonus>
    <examine>SCREW THE EXAMINES, TYPE YOUR OWN EXAMINE - Pkandthepked</examine>
    <id>13845</id>
    <stackable>false</stackable>
    <name>Brawling Gloves(melee)</name>
    <noted>false</noted>
    <equipId>3263</equipId>
  </itemDefinition>
The <equipId> should be the ID you found in the "equip.txt" file.
Stackable should ALWAYS be false unless if its something you know that is stackable.
The ints represent all the bonuses and can be changed at any time.
You should also leave <noted> as false too.
You can leave the examine alone because you can't even examine on a 562.
Remember to put in the correct name of the item as well!
Just leave the prices alone because they will not change unless if you go into the file "prices.cfg" which is also located in the data folder of your source.

Hope this helped out! (:!


Pkandthepked
Registered Member
Registered Member

Posts : 3
Join date : 2010-10-29

View user profile

Back to top Go down

Re: [562] Fixing Malformed/Nulled Items

Post  Ix Hybrid Xi on Fri Oct 29, 2010 5:00 am

Good tut,

Useful to alot of people keep up the good work.

_________________
avatar
Ix Hybrid Xi
Forum Administrator
Forum Administrator

Posts : 43
Join date : 2010-10-06

View user profile

Back to top Go down

Re: [562] Fixing Malformed/Nulled Items

Post  startcode on Fri Oct 29, 2010 6:26 am

thanks for tut Smile keep up the good work

startcode
Registered Member
Registered Member

Posts : 14
Join date : 2010-10-07

View user profile

Back to top Go down

Re: [562] Fixing Malformed/Nulled Items

Post  FutureDesigns on Sat Oct 30, 2010 2:14 am

Very Helpful tutorial. I think You'll go a long way on Rune-King!

_________________

Death is Inevitable
avatar
FutureDesigns
Forum Designer
Forum Designer

Posts : 26
Join date : 2010-10-07
Age : 27
Location : United Kingdom

View user profile https://www.youtube.com/user/TheTrialsOfChaosClan?feature=mhum

Back to top Go down

Re: [562] Fixing Malformed/Nulled Items

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum