This topic was marked solved by Stormeus, on August 6th, 2019, 09:31 AM
[Bug] XML cannot load some objects


  • Wiki Contributor
  • Posts: 960
[Bug] XML cannot load some objects
« on July 25th, 2019, 06:38 PM »
XML cannot create some specific objects, for example: weapons
This does work on CreateObject.


What you were doing when the bug happened
Adding a map to my server's store folder.

What you think caused the bug
No idea.

Steps to reproduce
1. Create an XML file with this data:
Code: [Select]
<?xml version="1.0" encoding="ASCII" ?>
<item model="269" name="chainsaw">
<position x="0" y="0" z="2" />
<rotation format="axisangle" x="0" y="0" z="0" angle="1" />
2. Join the game.
3. You now have yourself a "[MAPS] Model index 269 is invalid." error.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD


  • VC:MP Developer
  • oh god how did i get here im not good w computer
  • Posts: 1,128
[Bug] Re: XML cannot load some objects
« Reply #1, on July 28th, 2019, 10:09 AM »
I'll give it a look, but no promises. The map loading system was mostly designed for "simple" objects, while weapons have some association with animations that could cause issues.