Jump to content
The latest updated version of RAGE Plugin Hook, required to play LSPDFR, can be found inside the LSPDFR download. It is not currently available on the RAGE Plugin Hook website.

Better Ems Problems


boruch1234

Recommended Posts

11 minutes ago, HazyTube said:

Reinstall the mod completly, There is something wrong with your XML file

 

I wouldn't be telling them to reinstall the mod so quickly.  More than likely they edited the XML and made a slight error, something easily fixable.  Not only that, they could just as easily reinstall the XML only and it'll work fine.  There's no need to do a reinstall of the entire thing.

 

17 hours ago, boruch1234 said:

Capture.PNG.e21c937bf724f74b18b4a5e4f1bab3dc.PNG

 

Did you in fact edit the XML?   If so, please attach it to your next post and let me know what you edited.  Or, have a proofread of what you edited and make sure everything looks right.

I need donations to help fund my food addiction. DM for details 😂

Link to comment
Share on other sites

1 hour ago, Giordano said:

 

I wouldn't be telling them to reinstall the mod so quickly.  More than likely they edited the XML and made a slight error, something easily fixable.  Not only that, they could just as easily reinstall the XML only and it'll work fine.  There's no need to do a reinstall of the entire thing.

 

 

Did you in fact edit the XML?   If so, please attach it to your next post and let me know what you edited.  Or, have a proofread of what you edited and make sure everything looks right.

i edited it and i put it there on top it was the first thing i did

thx

boruch

Link to comment
Share on other sites

7 minutes ago, boruch1234 said:

i edited it and i put it there on top it was the first thing i did

 

Double check what you edited and make sure you have the proper opening and closing tags.  If needed, you can redownload the original XML and keep trying to edit it yourself.

I need donations to help fund my food addiction. DM for details 😂

Link to comment
Share on other sites

11 minutes ago, Giordano said:

 

Double check what you edited and make sure you have the proper opening and closing tags.  If needed, you can redownload the original XML and keep trying to edit it yourself.

I did but didn't find anything

i thought that someone can check since I can't see anything

thx

boruch

Link to comment
Share on other sites

  • Management Team

The log is actually really, really helpful with this specific error. It tells you: "Is your XML file valid XML? Try uploading it to http://codebeautify.org/xmlvalidate and seeing if it validates."

 

If you go to that site, you can check your XML file. I just did it myself and it appears you are missing a ton of </VehicleSet> tags. Note that it only seems to tell you one error at a time. The way it tells you might be a bit confusing, so I'll help you with the first error:

error on line 105 at column 13: Opening and ending tag mismatch: VehicleSet line 0 and Station

Go to line 105 and you'll see it is a   </Station>, the entire code for that station being:

 

Spoiler

  <Station name="Davis hospital" type="hospital" audio="STATION_DAVIS_HOSPITAL">
    <SpawnPoints>
      <Point name="parking lot 1" x="404.5876" y="-1423.437" z="29.18315" h="230.4656" />
      <Point name="parking lot 2" x="370.3221" y="-1452.776" z="29.16065" h="237.1489" />
      <Point name="parking lot 3" x="331.338" y="-1467.986" z="29.43895" h="227.3056" />
      <Point name="parking lot 4" x="325.2674" y="-1474.893" z="29.53539" h="234.9995" />
      <Point name="delivery zone" x="309.2173" y="-1439.711" z="29.53456" h="229.506" delivery="true" />
      <Point name="delivery zone emergency" x="294.1971" y="-1439.432" z="29.53519" h="229.2507" delivery="true" />
    </SpawnPoints>
    <VehicleSet chance="70">
      <Vehicles>
        <Vehicle prep="an" name="ambulance" audio="VEHICLE_AMBULANCE">ambulance</Vehicle>
        <Vehicle prep="an" name="ambulance" audio="VEHICLE_AMBULANCE">ambulance2</Vehicle>
        <Vehicle prep="an" name="ambulance" audio="VEHICLE_AMBULANCE">ambulance3</Vehicle>
      </Vehicles>
      <Peds>
        <Ped>s_m_m_paramedic_01</Ped>
      </Peds>
    <VehicleSet chance="30">
      <Vehicles>
        <Vehicle extra_1="true" prep="a" name="paramedic" audio="VEHICLE_SUV">lguard</Vehicle>
      </Vehicles>
      <Peds>
        <Ped chance="70" comp_accessories="0" prop_head="0" tex_head="2">s_m_y_fireman_01</Ped>
        <Ped chance="30">s_m_m_paramedic_01</Ped>
      </Peds>
      <NumPeds min="2" max="2" />
    </VehicleSet>
  </Station>

 

The correct code is (missing part in red):

 

Spoiler

  <Station name="Davis hospital" type="hospital" audio="STATION_DAVIS_HOSPITAL">
    <SpawnPoints>
      <Point name="parking lot 1" x="404.5876" y="-1423.437" z="29.18315" h="230.4656" />
      <Point name="parking lot 2" x="370.3221" y="-1452.776" z="29.16065" h="237.1489" />
      <Point name="parking lot 3" x="331.338" y="-1467.986" z="29.43895" h="227.3056" />
      <Point name="parking lot 4" x="325.2674" y="-1474.893" z="29.53539" h="234.9995" />
      <Point name="delivery zone" x="309.2173" y="-1439.711" z="29.53456" h="229.506" delivery="true" />
      <Point name="delivery zone emergency" x="294.1971" y="-1439.432" z="29.53519" h="229.2507" delivery="true" />
    </SpawnPoints>
    <VehicleSet chance="70">
      <Vehicles>
        <Vehicle prep="an" name="ambulance" audio="VEHICLE_AMBULANCE">ambulance</Vehicle>
        <Vehicle prep="an" name="ambulance" audio="VEHICLE_AMBULANCE">ambulance2</Vehicle>
        <Vehicle prep="an" name="ambulance" audio="VEHICLE_AMBULANCE">ambulance3</Vehicle>
      </Vehicles>
      <Peds>
        <Ped>s_m_m_paramedic_01</Ped>
      </Peds>

    </VehicleSet>
    <VehicleSet chance="30">
      <Vehicles>
        <Vehicle extra_1="true" prep="a" name="paramedic" audio="VEHICLE_SUV">lguard</Vehicle>
      </Vehicles>
      <Peds>
        <Ped chance="70" comp_accessories="0" prop_head="0" tex_head="2">s_m_y_fireman_01</Ped>
        <Ped chance="30">s_m_m_paramedic_01</Ped>
      </Peds>
      <NumPeds min="2" max="2" />
    </VehicleSet>
  </Station>

 

"Work and ideas get stolen, then you keep moving on doing your thing."

Link to comment
Share on other sites

10 hours ago, willpv23 said:

The log is actually really, really helpful with this specific error. It tells you: "Is your XML file valid XML? Try uploading it to http://codebeautify.org/xmlvalidate and seeing if it validates."

 

If you go to that site, you can check your XML file. I just did it myself and it appears you are missing a ton of </VehicleSet> tags. Note that it only seems to tell you one error at a time. The way it tells you might be a bit confusing, so I'll help you with the first error:


error on line 105 at column 13: Opening and ending tag mismatch: VehicleSet line 0 and Station

Go to line 105 and you'll see it is a   </Station>, the entire code for that station being:

 

  Hide contents

  <Station name="Davis hospital" type="hospital" audio="STATION_DAVIS_HOSPITAL">
    <SpawnPoints>
      <Point name="parking lot 1" x="404.5876" y="-1423.437" z="29.18315" h="230.4656" />
      <Point name="parking lot 2" x="370.3221" y="-1452.776" z="29.16065" h="237.1489" />
      <Point name="parking lot 3" x="331.338" y="-1467.986" z="29.43895" h="227.3056" />
      <Point name="parking lot 4" x="325.2674" y="-1474.893" z="29.53539" h="234.9995" />
      <Point name="delivery zone" x="309.2173" y="-1439.711" z="29.53456" h="229.506" delivery="true" />
      <Point name="delivery zone emergency" x="294.1971" y="-1439.432" z="29.53519" h="229.2507" delivery="true" />
    </SpawnPoints>
    <VehicleSet chance="70">
      <Vehicles>
        <Vehicle prep="an" name="ambulance" audio="VEHICLE_AMBULANCE">ambulance</Vehicle>
        <Vehicle prep="an" name="ambulance" audio="VEHICLE_AMBULANCE">ambulance2</Vehicle>
        <Vehicle prep="an" name="ambulance" audio="VEHICLE_AMBULANCE">ambulance3</Vehicle>
      </Vehicles>
      <Peds>
        <Ped>s_m_m_paramedic_01</Ped>
      </Peds>
    <VehicleSet chance="30">
      <Vehicles>
        <Vehicle extra_1="true" prep="a" name="paramedic" audio="VEHICLE_SUV">lguard</Vehicle>
      </Vehicles>
      <Peds>
        <Ped chance="70" comp_accessories="0" prop_head="0" tex_head="2">s_m_y_fireman_01</Ped>
        <Ped chance="30">s_m_m_paramedic_01</Ped>
      </Peds>
      <NumPeds min="2" max="2" />
    </VehicleSet>
  </Station>

 

The correct code is (missing part in red):

 

  Hide contents

  <Station name="Davis hospital" type="hospital" audio="STATION_DAVIS_HOSPITAL">
    <SpawnPoints>
      <Point name="parking lot 1" x="404.5876" y="-1423.437" z="29.18315" h="230.4656" />
      <Point name="parking lot 2" x="370.3221" y="-1452.776" z="29.16065" h="237.1489" />
      <Point name="parking lot 3" x="331.338" y="-1467.986" z="29.43895" h="227.3056" />
      <Point name="parking lot 4" x="325.2674" y="-1474.893" z="29.53539" h="234.9995" />
      <Point name="delivery zone" x="309.2173" y="-1439.711" z="29.53456" h="229.506" delivery="true" />
      <Point name="delivery zone emergency" x="294.1971" y="-1439.432" z="29.53519" h="229.2507" delivery="true" />
    </SpawnPoints>
    <VehicleSet chance="70">
      <Vehicles>
        <Vehicle prep="an" name="ambulance" audio="VEHICLE_AMBULANCE">ambulance</Vehicle>
        <Vehicle prep="an" name="ambulance" audio="VEHICLE_AMBULANCE">ambulance2</Vehicle>
        <Vehicle prep="an" name="ambulance" audio="VEHICLE_AMBULANCE">ambulance3</Vehicle>
      </Vehicles>
      <Peds>
        <Ped>s_m_m_paramedic_01</Ped>
      </Peds>

    </VehicleSet>
    <VehicleSet chance="30">
      <Vehicles>
        <Vehicle extra_1="true" prep="a" name="paramedic" audio="VEHICLE_SUV">lguard</Vehicle>
      </Vehicles>
      <Peds>
        <Ped chance="70" comp_accessories="0" prop_head="0" tex_head="2">s_m_y_fireman_01</Ped>
        <Ped chance="30">s_m_m_paramedic_01</Ped>
      </Peds>
      <NumPeds min="2" max="2" />
    </VehicleSet>
  </Station>

 

thx i will try now

thx

boruch

Link to comment
Share on other sites

  • The topic was locked
Guest
This topic is now closed to further replies.


×
×
  • Create New...