Jump to content

lukkie[BE]

Members
  • Posts

    68
  • Joined

  • Last visited

Posts posted by lukkie[BE]

  1. Your ACL is probably either outdated, broken or just doesn't contain the lines required for Race.

    Make sure these lines are in your ACL.xml:

    <group name="raceACLGroup">
      <acl name="Default"/>
         <acl name="raceACL"/>
         <object name="resource.race"/>
      </group>
     
      <acl name="raceACL">
         <right name="general.ModifyOtherObjects" access="true"/>
         <right name="function.xmlLoadFile" access="true"/>
         <right name="function.startResource" access="true"/>
         <right name="function.stopResource" access="true"/>
         <right name="function.restartResource" access="true"/>
       </acl>
    

    Thx :)

  2. If I want to test a map and I start my server, Race resource and Admin resource I get this as output in my server console

    [11:39:42] INFO: onGamemodeMapStart(race-apacheassault)
    [11:39:42] Map 'Apache Assault' started.
    [11:39:42] start: Resource 'race-apacheassault' started
    [11:39:42] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-apacheassault
    [11:39:42] WARNING: Error while loading race-apacheassault: no meta.xml
    [11:39:42] INFO: Error loading map race-apacheassault
    [11:39:47] Stopping race-apacheassault
    [11:39:47] Starting race-bloodring
    [11:39:47] INFO: onGamemodeMapStart(race-bloodring)
    [11:39:47] Map 'Bloodring' started.
    [11:39:49] start: Resource 'race-bloodring' started
    [11:39:49] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-bloodring
    [11:39:49] WARNING: Error while loading race-bloodring: no meta.xml
    [11:39:49] INFO: Error loading map race-bloodring
    [11:39:54] Stopping race-bloodring
    [11:39:54] Starting race-chrmleasy
    [11:39:54] INFO: onGamemodeMapStart(race-chrmleasy)
    [11:39:54] Map 'ChrML Easy' started.
    [11:39:55] start: Resource 'race-chrmleasy' started
    [11:39:55] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-chrmleasy
    [11:39:55] WARNING: Error while loading race-chrmleasy: no meta.xml
    [11:39:55] INFO: Error loading map race-chrmleasy
    [11:40:00] Stopping race-chrmleasy
    [11:40:00] Starting race-sparrowstorm
    [11:40:00] INFO: onGamemodeMapStart(race-sparrowstorm)
    [11:40:00] Map 'Sparrow Storm' started.
    [11:40:00] start: Resource 'race-sparrowstorm' started
    [11:40:00] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-sparrowstorm
    [11:40:00] WARNING: Error while loading race-sparrowstorm: no meta.xml
    [11:40:00] INFO: Error loading map race-sparrowstorm
    [11:40:05] Stopping race-sparrowstorm
    [11:40:05] Starting race-smugglersrun
    [11:40:05] INFO: onGamemodeMapStart(race-smugglersrun)
    [11:40:05] Map 'Smugglers Run' started.
    [11:40:05] start: Resource 'race-smugglersrun' started
    [11:40:05] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-smugglersrun
    [11:40:05] WARNING: Error while loading race-smugglersrun: no meta.xml
    [11:40:05] INFO: Error loading map race-smugglersrun
    [11:40:10] Stopping race-smugglersrun
    [11:40:10] Starting race-mx_sky
    [11:40:10] INFO: onGamemodeMapStart(race-mx_sky)
    [11:40:10] Map 'mx_sky' started.
    [11:40:11] start: Resource 'race-mx_sky' started
    [11:40:11] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-mx_sky
    [11:40:11] WARNING: Error while loading race-mx_sky: no meta.xml
    [11:40:11] INFO: Error loading map race-mx_sky
    [11:40:15] Stopping race-mx_sky
    [11:40:15] Starting race-airportdogfight
    

  3. Log: Server.txt

    [16:15:33] Initiating changemode from 'play' to 'race'
    [16:15:33] start: Resource 'race' start was requested
    [16:15:33] Stopping play
    [16:15:33] Stopping freeroam
    [16:15:34] Starting race
    [16:15:35] Starting killmessages
    [16:15:35] INFO: Race resource starting
    [16:15:35] INFO: WARNING: Race does not have permission to start/stop resources
    [16:15:35] INFO: WARNING: Addons may not function correctly
    [16:15:35] WARNING: race_server.lua: Access denied @ 'startResource' - Line: 1138
    [16:15:35] WARNING: race_server.lua: Access denied @ 'startResource' - Line: 1138
    [16:15:35] INFO: Race onGamemodeStart
    [16:15:35] Gamemode 'Race' started.
    [16:15:35] start: Resource 'race' started
    [16:15:35] Starting race-degenerationofx
    [16:15:35] INFO: onGamemodeMapStart(race-degenerationofx)
    [16:15:35] Map 'Degeneration Of X' started.
    [16:15:35] start: Resource 'race-degenerationofx' started
    [16:15:35] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-degenerationofx
    [16:15:35] WARNING: Error while loading race-degenerationofx: no meta.xml
    [16:15:35] INFO: Error loading map race-degenerationofx
    [16:15:40] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-driftcity
    [16:15:40] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-errand
     
    [16:15:48] Stopping race-degenerationofx
    [16:15:48] Starting race-driftcity
    [16:15:48] INFO: onGamemodeMapStart(race-driftcity)
    [16:15:48] Map 'Drift City' started.
    [16:15:48] start: Resource 'race-driftcity' started
    [16:15:48] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-driftcity
    [16:15:48] WARNING: Error while loading race-driftcity: no meta.xml
    [16:15:48] INFO: Error loading map race-driftcity
    [16:15:51] INFO: No map loaded; showing votemanager
    [16:15:53] Stopping race-driftcity
    [16:15:53] Starting race-drift
    [16:15:53] INFO: onGamemodeMapStart(race-drift)
    [16:15:53] Map 'Drift' started.
    [16:15:53] start: Resource 'race-drift' started
    [16:15:53] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-drift
    [16:15:53] WARNING: Error while loading race-drift: no meta.xml
    [16:15:53] INFO: Error loading map race-drift
    [16:15:57] Stopping race-drift
    [16:15:58] Starting race-desertdogfight
    [16:15:58] INFO: onGamemodeMapStart(race-desertdogfight)
    [16:15:58] Map 'Desert Dogfight' started.
    [16:15:58] start: Resource 'race-desertdogfight' started
    [16:15:58] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-desertdogfight
    [16:15:58] WARNING: Error while loading race-desertdogfight: no meta.xml
    [16:15:58] INFO: Error loading map race-desertdogfight
    [16:16:02] QUIT: Lukkie left the game [Quit]
    [16:16:02] INFO: Stopping map
    [16:16:03] Stopping race-desertdogfight
    [16:16:03] Starting race-dunebuggy
    [16:16:03] INFO: onGamemodeMapStart(race-dunebuggy)
    [16:16:03] INFO: Stopping map
    [16:16:03] Map 'Dune Buggy' started.
    [16:16:03] start: Resource 'race-dunebuggy' started
    [16:16:10] CONNECT: Lukkie connected (IP: 127.0.0.1)
    [16:16:11] JOIN: Lukkie joined the game (IP: 127.0.0.1)
    [16:16:13] INFO: No map loaded; showing votemanager
    [16:16:21] Lukkie voted 1 (Find the Cock)
    [16:16:21] Vote ended! [Find the Cock]
    [16:16:21] Stopping race-dunebuggy
    [16:16:21] Starting race-findthecock
    [16:16:21] INFO: onGamemodeMapStart(race-findthecock)
    [16:16:21] Map 'Find the Cock' started.
    [16:16:21] start: Resource 'race-findthecock' started
    [16:16:21] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-findthecock
    [16:16:21] WARNING: Error while loading race-findthecock: no meta.xml
    [16:16:21] INFO: Error loading map race-findthecock
    [16:16:26] Stopping race-findthecock
    [16:16:26] Starting race-errand
    [16:16:26] INFO: onGamemodeMapStart(race-errand)
    [16:16:26] Map 'Errand' started.
    [16:16:26] start: Resource 'race-errand' started
    [16:16:26] ERROR: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-errand
    [16:16:26] WARNING: Error while loading race-errand: no meta.xml
    [16:16:26] INFO: Error loading map race-errand
    [16:16:29] QUIT: Lukkie left the game [Quit]
    [16:16:29] INFO: Stopping map
    [16:16:30] Stopping race-errand
    [16:16:31] Starting race-dockbikes
    [16:16:31] INFO: onGamemodeMapStart(race-dockbikes)
    [16:16:31] INFO: Stopping map
    [16:16:31] Map 'Dock Bikes' started.
    [16:16:31] start: Resource 'race-dockbikes' started
    [16:16:32] Server stopped!
    [16:16:32] Stopping resources.................
    [16:16:32] Closing SQLite3 database
    

    I mostly get an error "Error loading map editor_test" at the beginning as well..

    How can I fix this since I have this problem on my 2 pcs...

  4. Is this the right code?

    function ClientStarted ()
    setSkyGradient( 255, 0, 0, 255, 0, 0)
    end
     
    function ObjectsRotateStart ()
    moveObject(rotate1, 10000, -4475.867188, -2251.131836, 494.547363, 0, 180, 0)
    moveObject(rotate2, 10000, -4475.867188, -2251.131836, 494.547363, 0, 180, 0)
    end
     
    setTimer(ObjectsRotateStart, 10000, 0)
     
     
    addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), ClientStarted )
    addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), ObjectsRotateStart )
    

    2 objects with the id rotate1 and rotate2 will be rotating 360 degrees in 20 seconds; right?

  5. I guess this will work

    Only I still need an interval to make a life return.

    Objectname123 = createObject(3458, -2464.9296875, 1522.9167480459, 6.1990437507629)
    moveObject(Objectname123, 4000, -2464.9296875, 1522.9167480469, 27.570457458496) 
    end
    

  6. So I only have to include a script in the .zip

    So Questions:

    How is it called when my map is called i.e. "race-LukkieMap"

    How would the script be when I have 2 objects to rotate?

    I only have to enter

    bool moveObject ( object theObject, int time, float targetx, float targety, float targetz)
    

    and make it to

    bool moveObject ( object <object name>, int 2000, float 500, float 800, float 70)
    

    or simply

    moveObject (<object name>, 2000, 500, 800, 70)
    

    and nothing above or under it?

    And does it return automatically?

    Too many questions I know but I really want to know it :D

  7. whenever I start the editor (using a server OR clicking the editor button), I set definitions to race a lot of things often happen .

    • It starts a race and I get a black screen
    • If I click test it starts freeroam
    • Pickups are trashcans and hamburgers
    • Other things ..

    [20:50:25] Resources: 180 loaded, 0 failed
    [20:50:27] Starting resources.......
    [20:50:27] Server started and is ready to accept connections!
    [20:50:27] CONNECT: Lukkie connected (IP: 127.0.0.1)
    [20:50:33] JOIN: Lukkie joined the game (IP: 127.0.0.1)
    [20:52:17] INFO: loading race def.
    [20:52:17] Starting race
    [20:52:17] edf.lua: Loaded definitions for 'race'. - Line: 155
    [20:52:17] start: Resource 'race' started
    

    = Multi Theft Auto: San Andreas v1.0.3
    ===========================================================
    = Server name		: Lukkie MTA Server
    = Server IP address	: 
    = Server port		: 22003
    = 
    = Log file		: ..s DM/server/mods/deathmatch/logs/server.log
    = Maximum players	: 32
    = MTU packet size	: 1264
    = HTTP port		: 22005
    ===========================================================
    [12:27:55] Resources: 182 loaded, 0 failed
    [12:27:55] Querying game-monitor.com master server... success!
    [12:27:55] Starting resources...............
    [12:27:55] Server started and is ready to accept connections!
    [12:28:56] CONNECT: Lukkie connected (IP: 127.0.0.1)
    [12:29:03] JOIN: Lukkie joined the game (IP: 127.0.0.1)
    [12:29:09] LOGIN: Lukkie successfully logged in
    [12:33:42] start: Requested by Console
    [12:33:42] Starting editor
    [12:33:42] Starting edf
    [12:33:42] edf.lua: Loaded definitions for 'edf'. - Line: 155
    [12:33:43] Starting editor_main
    [12:33:43] Starting freecam
    [12:33:43] Starting move_freecam
    [12:33:43] Starting move_cursor
    [12:33:43] Starting move_keyboard
    [12:33:43] edf.lua: Loaded definitions for 'editor_main'. - Line: 155
    [12:33:46] Starting editor_gui
    [12:33:46] Starting msgbox
    [12:33:46] Starting tooltip
    [12:33:47] start: Resource 'editor' started
    [12:40:51] start: Requested by Console
    [12:40:51] start: Resource is already running
    [12:40:55] start: Requested by Console
    [12:40:55] start: Resource is already running
    [12:41:23] INFO: loading race def.
    [12:41:24] Initiating changemode from 'play' to 'race'
    [12:41:24] start: Failed to start resource 'race'
    [12:41:24] Stopping play
    [12:41:24] Stopping freeroam
    [12:41:24] WARNING: fr_server.lua: Bad 'element' pointer @ 'destroyElement'(1) - Line: 488
    [12:41:25] Starting race
    [12:41:26] Starting killmessages
    [12:41:26] INFO: Race resource starting
    [12:41:27] Starting race_toptimes
    [12:41:27] start: Resource 'race_toptimes' started
    [12:41:27] Starting race_traffic_sensor
    [12:41:27] start: Resource 'race_traffic_sensor' started
    [12:41:27] INFO: Race onGamemodeStart
    [12:41:27] edf.lua: Loaded definitions for 'race'. - Line: 155
    [12:41:27] start: Resource 'race' started
    [12:41:29] INFO: No map loaded; showing votemanager
    [12:41:48] start: Requested by Console
    [12:41:48] start: Resource is already running
    [12:41:49] Vote ended! [Degeneration Of X]
    [12:41:49] ERROR: isMapCompatibleWithGamemode: Invalid gamemode resource.
    [12:41:49] WARNING: mapmanager_exports.lua: Bad argument @ 'getResourceName' - Line: 69
    [12:41:49] ERROR: ...rce-cache/unzipped/mapmanager/mapmanager_exports.lua:69: attempt to concatenate a boolean value
    [12:41:49] ERROR: call: failed to call 'mapmanager:changeGamemodeMap'
    [12:41:54] ERROR: isMapCompatibleWithGamemode: Invalid gamemode resource.
    [12:41:54] WARNING: mapmanager_exports.lua: Bad argument @ 'getResourceName' - Line: 69
    [12:41:54] ERROR: ...rce-cache/unzipped/mapmanager/mapmanager_exports.lua:69: attempt to concatenate a boolean value
    [12:41:54] ERROR: call: failed to call 'mapmanager:changeGamemodeMap'
    [12:41:59] Starting freeroam
    [12:41:59] start: Resource 'freeroam' started
    [12:41:59] Resource 'editor_test' changed, reloading and starting
    [12:41:59] Starting editor_test
    [12:41:59] edf.lua: Going to represent map editor_test - Line: 127
    [12:41:59] start: Resource 'editor_test' started
    [12:42:00] ERROR: isMapCompatibleWithGamemode: Invalid gamemode resource.
    [12:42:00] WARNING: mapmanager_exports.lua: Bad argument @ 'getResourceName' - Line: 69
    [12:42:00] ERROR: ...rce-cache/unzipped/mapmanager/mapmanager_exports.lua:69: attempt to concatenate a boolean value
    [12:42:00] ERROR: call: failed to call 'mapmanager:changeGamemodeMap'
    [12:42:00] INFO: No map loaded; showing votemanager
    [12:42:03] Stopping freeroam
    [12:42:03] INFO: Resource stopping
    [12:42:03] Stopping editor_test
    [12:42:05] ERROR: isMapCompatibleWithGamemode: Invalid gamemode resource.
    [12:42:05] WARNING: mapmanager_exports.lua: Bad argument @ 'getResourceName' - Line: 69
    [12:42:05] ERROR: ...rce-cache/unzipped/mapmanager/mapmanager_exports.lua:69: attempt to concatenate a boolean value
    [12:42:05] ERROR: call: failed to call 'mapmanager:changeGamemodeMap'
    [12:42:10] ERROR: isMapCompatibleWithGamemode: Invalid gamemode resource.
    [12:42:10] WARNING: mapmanager_exports.lua: Bad argument @ 'getResourceName' - Line: 69
    [12:42:10] ERROR: ...rce-cache/unzipped/mapmanager/mapmanager_exports.lua:69: attempt to concatenate a boolean value
    [12:42:10] ERROR: call: failed to call 'mapmanager:changeGamemodeMap'
    [12:42:11] INFO: Created 'racepickup:userdata: 00000107' from 'race'
    [12:42:15] ERROR: isMapCompatibleWithGamemode: Invalid gamemode resource.
    [12:42:15] WARNING: mapmanager_exports.lua: Bad argument @ 'getResourceName' - Line: 69
    [12:42:15] ERROR: ...rce-cache/unzipped/mapmanager/mapmanager_exports.lua:69: attempt to concatenate a boolean value
    [12:42:15] ERROR: call: failed to call 'mapmanager:changeGamemodeMap'
    [12:42:19] INFO: Created 'checkpoint:userdata: 0000010B' from 'race'
    [12:42:20] ERROR: isMapCompatibleWithGamemode: Invalid gamemode resource.
    [12:42:20] WARNING: mapmanager_exports.lua: Bad argument @ 'getResourceName' - Line: 69
    [12:42:20] ERROR: ...rce-cache/unzipped/mapmanager/mapmanager_exports.lua:69: attempt to concatenate a boolean value
    [12:42:20] ERROR: call: failed to call 'mapmanager:changeGamemodeMap'
    [12:42:21] INFO: Created 'spawnpoint:userdata: 00000109' from 'race'
    [12:42:25] ERROR: isMapCompatibleWithGamemode: Invalid gamemode resource.
    [12:42:25] WARNING: mapmanager_exports.lua: Bad argument @ 'getResourceName' - Line: 69
    [12:42:25] ERROR: ...rce-cache/unzipped/mapmanager/mapmanager_exports.lua:69: attempt to concatenate a boolean value
    [12:42:25] ERROR: call: failed to call 'mapmanager:changeGamemodeMap'
    [12:42:30] ERROR: isMapCompatibleWithGamemode: Invalid gamemode resource.
    [12:42:30] WARNING: mapmanager_exports.lua: Bad argument @ 'getResourceName' - Line: 69
    [12:42:30] ERROR: ...rce-cache/unzipped/mapmanager/mapmanager_exports.lua:69: attempt to concatenate a boolean value
    [12:42:30] ERROR: call: failed to call 'mapmanager:changeGamemodeMap'
    [12:42:34] ERROR: isMapCompatibleWithGamemode: Invalid gamemode resource.
    [12:42:34] WARNING: mapmanager_exports.lua: Bad argument @ 'getResourceName' - Line: 69
    [12:42:34] ERROR: ...rce-cache/unzipped/mapmanager/mapmanager_exports.lua:69: attempt to concatenate a boolean value
    [12:42:34] ERROR: call: failed to call 'mapmanager:changeGamemodeMap'
    [12:42:39] ERROR: isMapCompatibleWithGamemode: Invalid gamemode resource.
    [12:42:39] WARNING: mapmanager_exports.lua: Bad argument @ 'getResourceName' - Line: 69
    [12:42:39] ERROR: ...rce-cache/unzipped/mapmanager/mapmanager_exports.lua:69: attempt to concatenate a boolean value
    [12:42:39] ERROR: call: failed to call 'mapmanager:changeGamemodeMap'
    [12:42:45] ERROR: isMapCompatibleWithGamemode: Invalid gamemode resource.
    [12:42:45] WARNING: mapmanager_exports.lua: Bad argument @ 'getResourceName' - Line: 69
    [12:42:45] ERROR: ...rce-cache/unzipped/mapmanager/mapmanager_exports.lua:69: attempt to concatenate a boolean value
    [12:42:45] ERROR: call: failed to call 'mapmanager:changeGamemodeMap'
    [12:42:49] QUIT: Lukkie left the game [Quit]
    [12:42:49] INFO: Stopping map
    [12:42:49] WARNING: race_server.lua: Bad argument @ 'fadeCamera' - Line: 752
    [12:42:50] ERROR: isMapCompatibleWithGamemode: Invalid gamemode resource.
    [12:42:50] WARNING: mapmanager_exports.lua: Bad argument @ 'getResourceName' - Line: 69
    [12:42:50] ERROR: ...rce-cache/unzipped/mapmanager/mapmanager_exports.lua:69: attempt to concatenate a boolean value
    [12:42:50] ERROR: call: failed to call 'mapmanager:changeGamemodeMap'
    

×
×
  • Create New...