Jump to content

Server help


lalucidaniel

Recommended Posts

Posted

Well I followed wikipedia ... made my server prepared a simple team script but.... teams not working, still spawns randomly on map with random skin.

Here's the gamemod script

/UrbanWarfare

/meta.xml

/UrbanWarfare.map

/UrbanWarfare.lua

Union>

Asian Empires>

Soviet Russia>

States of America>

and I included them in meta.xml

here's what my folder looks like and the other files details ... tell me where I am wrong

newbitmapimagedb.png

CLIENT:

COMMANDS

/admin_commands

/meta.xml

/commands.lua

/client.lua

URBAN Warfare

/UrbanWarfare

/meta.xml

/UrbanWarfare.lua

/buymenu.lua

Posted

Do you have "play" game mode running?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

The "play" game mode spawns you on random spawnpoints defined within the resource.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Write on the chat: "/stop play".

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Here's the gamemod script

/UrbanWarfare 
    /meta.xml 
    /UrbanWarfare.map 
    /UrbanWarfare.lua 
<map mode="TDM & TW & CTF" version="v1.0"> 
    <European Union> 
        <spawnpoint posX="2475.6000976563" posY="-1667.3000488281" posZ="13.699999809265" skins="285" /> 
    </European Union> 
    <Unite Asian Empires> 
        <spawnpoint posX="2748.6999511719" posY="-2450.1999511719" posZ="13.5" skins="122" /> 
    </United Asian Empires> 
        <New Soviet Russia> 
        <spawnpoint posX="237.60000610352" posY="-1923.8000488281" posZ="2.5999999046326" skins="273" /> 
    </New Soviet Russia> 
        <United States of America> 
        <spawnpoint posX="2010.0999755859" posY="-2188.3000488281" posZ="13.199999809265" skins="287" /> 
    </United States of America> 
    <vehicle posX=2412.6000976563 posY=-1649.8000488281 posZ=13.5 model="586" /> 
</map> 

This isn't a script, this is a XML file. And you have two errors:

1. What's this?

/UrbanWarfare 
    /meta.xml 
    /UrbanWarfare.map 
    /UrbanWarfare.lua 

2. You can't spaces in node names.

and I included them in meta.xml

<meta> 
    <info type="map" name="Urban Warfare" author="HeArTBeaT[TBT]" version="1.0.0" description="Team Death Match , Teritory war , Capture The Flag"></info> 
    <map src="UrbanWarfare.map" dimension="0"></map> 
    <settings> 
        <setting name="#minplayers" value="[ 0 ]"></setting> 
        <setting name="#maxplayers" value="[ 128 ]"></setting> 
        <setting name="#gravity" value="[ 0.008000 ]"></setting> 
        <setting name="#weather" value="[ 0 ]"></setting> 
        <setting name="#time" value="12:0"></setting> 
        <setting name="#locked_time" value="[ false ]"></setting> 
        <setting name="#waveheight" value="[ 0 ]"></setting> 
        <setting name="#gamespeed" value="[ 1 ]"></setting> 
    </settings> 
</meta> 
<meta> 
    <info author="HeArTBeaT[TBT]" description="Urban Warfare v1.0" type="UrbanWarfare" gamemodes="Team Deathmatch & Teritory Wars & Capture The flag" /> 
    <map src="UrbanWarfare.map" /> 
    <script src="UrbanWarfare.lua" /> 
        <script src="commands.lua" /> 
    <script src="client.lua" type="client" /> 
        <script src="script.lua" type="script" /> 
</meta> 

As CrystalMV said, you have two in your meta file.

CLIENT:

COMMANDS

/admin_commands

/meta.xml

/commands.lua

/client.lua

URBAN Warfare

/UrbanWarfare

/meta.xml

/UrbanWarfare.lua

/buymenu.lua

What the.. is this? It would be better if you posted exactly how files are in this way:

File name.extension:

[[ FILE CONTENT HERE ]]

Another file name.extension:

[[ FILE CONTENT HERE ]]

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...