You are not logged in.
Pages: 1
Are lua cripts compleet differed for N!tmod? The one i used for etpub does not seems to work It makes my server crash
Is there anybody who can tell me where to find good anti sk scripts... ?
thx
|+HA+|AngelofDeath
Offline
Offline
THx Adrian!
I already had a script like that, but still it doesnt seems so work.. It does load the sk protection, but it seems not to work. LIke in oasis the trigger for spawn 3 does not work after the wall is blown up. I can kill in every spawn and still nothing happens Can it be a setting in my server.cgf??
|+HA+|AngelofDeath
Offline
I just tried it and it works.
Put the ETWsk.lua in the nitmod folder.
Add this line in your server config :
set lua_modules "ETWsk.lua"
Exec your server config and voilà
Offline
lol mercie bien! But i did get it fixed, just forgot to make a post... Sorry Adrian and N!trox
Salut
|+HA+|AngelofDeath
Offline
Hi,
I've tried to run ETWsk on my server. It loads (I've got console popup message when a map doesn't have a script), but the spawn protection doesn't work. Can someone give me a link to download a working version of ETWsk on Nitmod?
Thanks.
Last edited by HK_Delirium (17-Apr-12 20:05:29)
Offline
Hi,
ETWSK have a problem with that we can not deal.
The problem occurs when a trigger:
c.actions [1] = {spawn = 1, newstate = PROTECT_ALLIES, trigger = "Allied team has stolen the Tank!"}
ETWSK still working without state change for the spawn
This does not work, it looks like ETWSK not work well for wm_announce
This is the part of LUA ETWSK
-- called when something is printed on server console
function et_Print(text)
--------------------------------------------------------------------------------
if(c == nil) then return end
for i,action in pairs(c.actions) do
if(string.find(text, action.trigger)) then
local msg
if action.newstate == NO_PROTECT then
msg = "is no longer protected!"
else msg = "is now protected!"
end
c.spawns[action.spawn].state = action.newstate
et.trap_SendServerCommand(-1, "cpm \"^3ATTENTION: ^1The "..
c.spawns[action.spawn].name.." "..msg.."\n\"")
-- et.trap_SendServerCommand(-1, "cpm \"^3ATTENTION: ^1The ^4"..
-- c.spawns[action.spawn].name.." Spawn ^2"..msg.."\n\"")
end
end
end
Any ideas, thanks ..................
Last edited by cinco (21-Jul-12 10:54:15)
Offline
Hello!!!!!!
I think it's a bad time to ask .......... people are in hollidays
We carry with ETWsk long time, in NQ, after Silent
and now in N!TMOD, cost us a lot of time configuring Spawns on all maps.
As could do to make the trigger LUA worked on Nitmod ?
Could add a different sequence in the script wm_announce map LUA recognized for making the trigger?
Sorry for my English, ........... is very bad, I hope you understand me well.
Offline
I just tried it and it works.
Put the ETWsk.lua in the nitmod folder.
Add this line in your server config :
set lua_modules "ETWsk.lua"
Exec your server config and voilà
The wm_announce messages from mapscript are not available through et_print().
So this lua script is currently not working
Offline
He had seen that announces not recorded in Nitmod, but did not know that this could be the cause.
Thanks ailmanki
Is this due to a bug in Nitmod??
Not only is a simple way to locate events in the game to ETWsk.lua, it is also to be used in any LUA script to other situations.
Offline
http://etmods.net/tracker/index.php?do= … task_id=53
I wouldn't call it a bug, I guess its due to the new things, adding player names to it. Its just missing.
Good would be if both gets in to log, the original and the new msg.
And maybe a new cmd replacing wm_announce, so that a mapper can influence the msg.
Offline
Pages: 1