• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Capture the flag(Problem)

Elxchekoo

New Member
Joined
Dec 30, 2010
Messages
12
Reaction score
0
I got this error message, it says something about an = expected, I searched that line and type = but stills the same problem

Heres the picture
 

Attachments

I just love how you took a pic of your screen lol.

Post the script pal! And tell us what version of TFS you are using.
 
Using TFS 3.06

function onStartup()
db.executeQuery("UPDATE `players` SET `online` = 0 WHERE `world_id` = " .. getConfigValue('worldId') .. ";")

setGlobalStorageValue(19000, 0)
setGlobalStorageValue(19001, 0)
temple position = {x = 1135, y = 1045, z = 7}
waiting room pos = {x = 1255, y = 1135, z = 7},
red team {x = 1321, y = 1105, z = 7},
blue team = {x = 1321, y = 1166 z = 7},
score position = {x = 1320, y = 1129, z = 6},
red team flag position = {x = 1316, y = 1097, z = 7},
blue team flag position = {x = 1325, y = 1173, z = 7}
UPDATE `players` SET posx = 1025, posy = 1028, posz = 7
return true

end
 
Code:
temple_position = {x = 1135, y = 1045, z = 7}
waiting_room_pos = {x = 1255, y = 1135, z = 7}
red_team = {x = 1321, y = 1105, z = 7}
blue_team = {x = 1321, y = 1166, z = 7}
score_position = {x = 1320, y = 1129, z = 6}
red_team_flag_position = {x = 1316, y = 1097, z = 7}
blue_team_flag_position = {x = 1325, y = 1173, z = 7}

function onStartup()
    db.executeQuery("UPDATE `players` SET `online` = 0 WHERE `world_id` = " .. getConfigValue('worldId') .. ";")
    setGlobalStorageValue(19000, 0)
    setGlobalStorageValue(19001, 0)
    db.executeQuery("UPDATE `players` SET posx = 1025, posy = 1028, posz = 7;")
return true
end
 
Try removing the script I sent you, and see if you can login. You have some onLogin script blocking. What are the ctf config for? Why not have it in the correct files or make a lib file?
 
Back
Top