• 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!

Pvp Problem

Darts

hexed.no-ip.org
Joined
May 20, 2008
Messages
7
Reaction score
0
Heres the thing whenever i say /pvp "nopvp it doesnt work pvp is still enabled and on the bottom it shows a message saying bad gameworld type

i tried all the ways to disable pvp on server using the commands but none seems to work.

and another thing when i do /save it says this on console

[21/05/2008 07:32:20] Lua Script Error: [TalkAction Interface]
[21/05/2008 07:32:20] data/talkactions/scripts/save.lua:eek:nSay

[21/05/2008 07:32:20] data/talkactions/scripts/save.lua:6: attempt to perform arithmetic on a nil value
 
well it is
/pvp 0 for no pvp
/pvp 1 for pvp
/pvp 2 for pvp-e
and /save it is error in the script.
post ur script.
 
well it is
/pvp 0 for no pvp
/pvp 1 for pvp
/pvp 2 for pvp-e
and /save it is error in the script.
post ur script.

k thanks heres my script

Code:
local savingEvent = 0

function onSay(cid, words, param)
	if isNumber(param) == TRUE then
		stopEvent(savingEvent)
		save(tonumber(param) * 60 * 1000)
	else
		saveServer()
	end
end

function save(delay)
	saveServer()
	if delay > 0 then
		savingEvent = addEvent(save, delay, delay)
	end
end

i didnt change anything in it unless it was done by accident :(
 
ur using which base?
error is in line 6 i guess
gonna see how to fix it when u till me which base u are using.
 
ur using which base?
error is in line 6 i guess
gonna see how to fix it when u till me which base u are using.

can you explain what you mean by base and if this helps im using mysql it worked fine before until i turned off auto saving in config cause each time it would auto save the server wouldnt let people on.

edit: i get the same problem when i do anything for exmaple /clean...
 
Last edited:
use !save "number (which the latest script) so to script will be executed at (time) 0, number, 2*number, 3*number
 
use !save "number (which the latest script) so to script will be executed at (time) 0, number, 2*number, 3*number

are you sure cause theres nothing in talkactions nor commands with a command such as "!save" and when i do it in game nothing happens...so can please someone help cause if i turn on auto save each time it saves the server closes even though its disabled in config.lua it closes and says "game world is off" so technically its on just doesn't let people on.

EDIT: Also what are the commands for character ban and ip ban on TFS newest version cant find it...cant say im surprised either.
 
Last edited:
Back
Top