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

Windows Reload Movements crashing my server, any solution? Help Please!

Nubaza

LUA Scripter
Joined
Jun 5, 2011
Messages
330
Solutions
1
Reaction score
21
Location
New Zeland
Hi.. i'm using TFS 0.3.6pl1 and when i reload my movements the server crash...

I can solve this with any lib, or an extra c++ code?

Very thanks!!
 
@up
Red ????? why .xml file? say me xd
i don't remember in movements.xml , I Fixed my in changed script xd

@Nubaza
Is why in talkactions reload.lua
have not works in reload.. paste your script.. reload.lua or try use this
Lua:
local reloadInfo = {
	{RELOAD_ACTIONS, "actions", "action"},
	{RELOAD_CHAT, "chat", "channels"},
	{RELOAD_CONFIG, "config", "configuration"},
	{RELOAD_CREATUREEVENTS, "creatureevents", "creature events", "creaturescripts", "creature scripts", "creatureevent", "creature event", "creature script", "creaturescript"},
	{RELOAD_GAMESERVERS, "gameservers", "game servers", "servers"},
	{RELOAD_GLOBALEVENTS, "globalevents", "global events", "globalevent", "global event"},
	{RELOAD_GROUPS, "groups", "playergroups", "group"},
	{RELOAD_HIGHSCORES, "highscores", "scores", "highscore", "score"},
	{RELOAD_HOUSEPRICES, "houseprices", "house prices", "prices"},
	{RELOAD_ITEMS, "items", "item"},
	{RELOAD_MONSTERS, "monsters", "monster"},
	{RELOAD_MOVEEVENTS, "moveevents", "move events", "movements", "move", "movement"},
	{RELOAD_NPCS, "npcs", "npc"},
	{RELOAD_OUTFITS, "outfits", "outfit"},
	{RELOAD_QUESTS, "quests", "quest"},
	{RELOAD_RAIDS, "raids", "raid"},
	{RELOAD_SPELLS, "spells", "spell"},
	{RELOAD_STAGES, "stages", "experience"},
	{RELOAD_TALKACTIONS, "talkactions", "talk actions", "talk", "commands", "talkaction", "talk action"},
	{RELOAD_VOCATIONS, "vocations", "vocation"},
	{RELOAD_WEAPONS, "weapons", "weapon"},
	{RELOAD_MODS, "mods", "modifications"},
	{RELOAD_ALL, "all", "everything"}
}

function onSay(cid, words, param, channel)
	param = param:lower()
	local str = "Reload type not found."
	for _, v in ipairs(reloadInfo) do
		if(table.isStrIn(param, v)) then
			doReloadInfo(v[1], cid)
			str = "Reloading " .. v[2] .. "..."
			break
		end
	end

	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, str)
	return true
end
 
Last edited:
Back
Top