Server Update 0.4.7.1 Released (2024-08-09)

Started by AdTec_224, Aug 09, 2024, 07:45 PM

Previous topic - Next topic

AdTec_224

  • Updated version number to 0.4.7.1
  • Foot/Weapon sync changes
  • Fixed UDP download problems
  • Other bug fixes and improvements

Server downloads:
Windows Server (x64)
Windows Server (x86)
Linux Server (x64)
Linux Server (x86)

2b2ttianxiu

Developer, can u support utf-8 and chinese char?

Narc0



Zain

Quote from: AdTec_224 on Aug 09, 2024, 07:45 PM
  • Updated version number to 0.4.7.1
  • Foot/Weapon sync changes
  • Fixed UDP download problems
  • Other bug fixes and improvements

Server downloads:
Windows Server (x64)
Windows Server (x86)
Linux Server (x64)
Linux Server (x86)

Rafael

#5
It would be great if the standard server package had:
1. Basic plugins included.
2. Basic scripts included.
1. Several different models, maybe 10 ids (something like: police, medics, FBI, Military, taxi driver, bikers, mafia).
2. They would appear in different places on the map.
3. So that weapons, armor and health would be scattered around the map.
This would allow any gamers to use the assembly for a local game or a small server, without understanding the intricacies of how scripts work. Thanks for you work.

habi2

#6
perhaps @Sebastian  could include like many skins and also scattered hp giving pickups and others in his next blank server update.
*.. runs.

Rafael

Megamind shared these links, this server contains the necessary plugins and I was able to play with it: https://forum.vc-mp.org/index.php?msg=54920

It would also be great to add the necessary libraries to the client to run with this server. The following had to be done: https://forum.vc-mp.org/index.php?msg=54936

It would be great if the client and server had everything they needed out of the box, so that those who don't really understand the topic could play without any problems.

Some player classes for server.conf:
Quote<!-- Police Officer -->
<Class team="5" skin="1" x="-293.0143" y="-597.0593" z="12.8528" angle="130.0325" weapon1="4" ammo1="1" weapon2="17" ammo2="90" weapon3="19" ammo3="90"/>

<!-- SWAT -->
<Class team="15" skin="2" x="-293.0143" y="-597.0593" z="12.8528" angle="130.0325" weapon1="23" ammo1="240" weapon2="33" ammo2="899" weapon3="14" ammo3="60"/>

<!-- FBI Agent -->
<Class team="30" skin="3" x="-293.0143" y="-597.0593" z="12.8528" angle="130.0325" weapon1="20" ammo1="90" weapon2="25" ammo2="90" weapon3="30" ammo3="30"/>

<!-- Army Soldier / Солдат армии -->
<Class team="45" skin="4" x="-293.0143" y="-597.0593" z="12.8528" angle="130.0325" weapon1="26" ammo1="240" weapon2="29" ammo2="90" weapon3="30" ammo3="30"/>

<!-- Paramedic -->
<Class team="60" skin="5" x="-293.0143" y="-597.0593" z="12.8528" angle="130.0325" weapon1="2" ammo1="1" weapon2="18" ammo2="90" weapon3="21" ammo3="90"/>

<!-- Fireman -->
<Class team="75" skin="6" x="-293.0143" y="-597.0593" z="12.8528" angle="130.0325" weapon1="15" ammo1="30" weapon2="24" ammo2="240" weapon3="31" ammo3="4000"/>

<!-- Taxi Driver -->
<Class team="90" skin="28" x="-293.0143" y="-597.0593" z="12.8528" angle="130.0325" weapon1="22" ammo1="240" weapon2="11" ammo2="1" weapon3="28" ammo3="90"/>

<!-- Tommy Vercetti (Robbery Suit) -->
<Class team="105" skin="167" x="-293.0143" y="-597.0593" z="12.8528" angle="130.0325" weapon1="11" ammo1="1" weapon2="24" ammo2="240" weapon3="32" ammo3="320"/>

<Pickup model="288" type="1" x="-285.0143" y="-589" z="12.8"/> <!-- Flame Thrower -->
<Pickup model="283" type="1" x="-285.0143" y="-592" z="12.8"/> <!-- Ingram -->
<Pickup model="290" type="1" x="-285.0143" y="-595" z="12.8"/> <!-- Minigun -->
<Pickup model="287" type="1" x="-285.0143" y="-598" z="12.8"/> <!-- RPG -->
<Pickup model="278" type="1" x="-285.0143" y="-601" z="12.8"/> <!-- Spaz Shotgun -->
For main.nut:
Quote// mapping: pickup.Model -> { wep = <weaponID>, ammo = <amount>, msg = "<text>" }
local PickupWeaponMap = {
    [283] = { wep = 24, ammo = 90, msg = "Ingram picked up" },
    [290] = { wep = 33, ammo = 500, msg = "Minigun picked up" },
    [287] = { wep = 30, ammo = 30, msg = "RPG picked up" },
    [288] = { wep = 31, ammo = 400, msg = "Flame Thrower picked up" },
    [278] = { wep = 20, ammo = 90, msg = "Spaz Shotgun picked up" }
};

function onPickupPickedUp(player, pickup)
{
    if(!player || !pickup) return 1;

    local info = PickupWeaponMap.rawin(pickup.Model) ? PickupWeaponMap[pickup.Model] : null;
    if(info != null)
    {
        player.SetWeapon(info.wep, info.ammo);

        MessagePlayer("[#81FF81]" + info.msg, player);

        return 1;
    }

    return 1;
}

function onPlayerCommand( player, cmd, text )
{
...
   else if(cmd == "armour")
   {
      player.Armour = 100;
      MessagePlayer("[#81FF81]You received full armour!", player);
   }
   else if(cmd == "where")
   {
      local pos = player.Pos;
      MessagePlayer("You are at: X=" + pos.x + " Y=" + pos.y + " Z=" + pos.z, player);
   }



Players ID's, Weapons ID's.

Rafael

It is very important for the history, as well as for popularization, to make a full pack of a fun server and client for everyone