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

Editing while the server is online?

gerard95

Keep cool :)
Joined
Dec 31, 2011
Messages
276
Reaction score
16
Guys I was wondering if I'm able to edit things like map/npc's and so, while the server is online, and then save them, and when I restart the ot, they keep there? :O
Is there any way?


Thanks!!!!:)
 
/reload npc
/reload all
/reload actions
/reload talkactions
/reload movements
/reload creaturescripts
etc
I don't think it's possible to reload map, though
 
Yes, you can edit your map and other stuff if the server is online, but to load the map changes in-game you need to restart the server
 
Not reload never this comands:
/reload map
/reload xml
/reload items
/reload vocations
/reload all
/reload weapons
/reload vocations
/reload gameservers
/reload chat
/reload groups
/reload highscores
/reload houses or houseprices
/reload mods

why crased server..
All Reloads you see in data/talkactions/ reload.lua
and see 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

for see what reload have your server or what reload wanna remove :p
 
Not reload never this comands:
/reload map
/reload xml
/reload items
/reload vocations
/reload all
/reload weapons
/reload vocations
/reload gameservers
/reload chat
/reload groups
/reload highscores
/reload houses or houseprices
/reload mods

why crased server..
All Reloads you see in data/talkactions/ reload.lua
and see 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

for see what reload have your server or what reload wanna remove :p

/reload vocations
/reload mods

these 2 work
 
you can reload npcs
but you have to remove the old npc that spawned when the server started
and create it again
then the changes will take effect
 
Well, sometimes it will crash when reloading npc. Often it's because due to an error in any script, but it mustn't be that, which will force the server to close. So you should always save ("/save") the server before reloading anything.
 
Last edited:
Back
Top