jlillis / mta-dystopia-the-incident

A sandbox post-apocalyptic MMO gamemode for MTA San Andreas.
1 stars 0 forks source link

Slothbot errors #6

Open jlillis opened 1 year ago

jlillis commented 1 year ago

Random occurrences on server:

[10:04:15] WARNING: [mta-dystopia-the-incident]\[Dystopia]\[bots]\dystopia_slothbot\sbserver.lua:1252: Bad argument @ 'setElementInterior' [Expected element at argument 1]
[10:04:15] WARNING: [mta-dystopia-the-incident]\[Dystopia]\[bots]\dystopia_slothbot\sbserver.lua:1253: Bad argument @ 'setElementDimension' [Expected element at argument 1]
[10:04:16] ERROR: [mta-dystopia-the-incident]\[Dystopia]\[bots]\dystopia_slothbot\sbserver.lua:1243: Bad argument @ 'setElementData' [Expected element at argument 1]
[10:04:16] ERROR: [mta-dystopia-the-incident]\[Dystopia]\[bots]\dystopia_slothbot\sbserver.lua:1244: Bad argument @ 'setElementData' [Expected element at argument 1]
[12:12:52] WARNING: [mta-dystopia-the-incident]\[Dystopia]\[bots]\dystopia_slothbot\sbserver.lua:470: Bad argument @ 'setPedWeaponSlot' [Expected element at argument 1]
[12:12:58] WARNING: [mta-dystopia-the-incident]\[Dystopia]\[bots]\dystopia_slothbot\sbserver.lua:470: Bad argument @ 'setPedWeaponSlot' [Expected element at argument 1]

Random occurrence on client:

[2023-01-06 11:55:35] WARNING: dystopia_slothbot\sbclient.lua:1323: Bad argument @ 'setElementData' [Expected element at argument 1]
Knyazoff commented 1 year ago

Hello, do you have a corrected version without errors? mta dystopia the incident ?

jlillis commented 1 year ago

I've fixed a lot of errors but there are still some remaining. It could take awhile, especially because I don't have a server with a bunch of players to test with. I try to get to them as they appear.

Knyazoff commented 1 year ago

Syncro_Server.lua:695: Bad argument @ 'getElementType' [Expected element at argument 1] dystopia_sync\Syncro_Server.lua:698: Bad argument @ 'getElementType' [Expected element at argument 1] dystopia_sync\Syncro_Server.lua:701: Bad argument @ 'getElementType' [Expected element at argument 1] When shooting at a zombie Brutus, he is looking for and errors come out dystopia_slothbot\sbserver.lua:117: Bad argument @ 'getElementPosition' [Expected element at argument 1]