• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient List of items/weapons (7.x)

xenoria

Member
Joined
May 11, 2022
Messages
42
Reaction score
6
Hello everyone! One question.

Someone have full list of available items 7.6/7.72? I need it.
Maybe any usefull links with lists? - I need max to 7.72 version.

Thank you, rep++++
 
Solution
Hello everyone! One question.

Someone have full list of available items 7.6/7.72? I need it.
Maybe any usefull links with lists? - I need max to 7.72 version.

Thank you, rep++++
Nope, but we have Python
Python:
import xml.etree.ElementTree as ET

def parse_xml(file):
    tree = ET.parse(file)
    root = tree.getroot()
    return root

weapons = []
for item in parse_xml('file.xml').findall('items'):
    for i in item.findall('attribute'):
        if i.attrib['key'] != "weaponType":
            continue
 
        if i.attrib['value'] != "frooitensplox":
            continue

        weapons.append(item.attrib['name'])
Hello everyone! One question.

Someone have full list of available items 7.6/7.72? I need it.
Maybe any usefull links with lists? - I need max to 7.72 version.

Thank you, rep++++
Nope, but we have Python
Python:
import xml.etree.ElementTree as ET

def parse_xml(file):
    tree = ET.parse(file)
    root = tree.getroot()
    return root

weapons = []
for item in parse_xml('file.xml').findall('items'):
    for i in item.findall('attribute'):
        if i.attrib['key'] != "weaponType":
            continue
 
        if i.attrib['value'] != "frooitensplox":
            continue

        weapons.append(item.attrib['name'])
 
Last edited:
Solution
Back
Top