Discussion for Admins of ETPro/BayonET servers.
If you don't run a server, please don't post here...
Moderators: Forum moderators , developers
Fisch.666
Posts: 9 Joined: Fri Jul 23, 2004 3:05 am
Location: Germany
Contact:
Post
by Fisch.666 » Mon Mar 05, 2007 12:30 pm
Hi!
At my et server version 2.60b with etpro 3.2.6 i get this message in my server console:
etpro: et_ClientCommand - expected integer, got nil
Can i ignore this message or does anybody knows how i can solve this? Thanks in advance for an reply.
ReyalP
Posts: 1663 Joined: Fri Jul 25, 2003 11:44 am
Post
by ReyalP » Mon Mar 05, 2007 1:24 pm
This is a problem with a lua modules, not etpro. You need to contact the author of the module, or at least tell us which one you are using.
send lawyers, guns and money
Fisch.666
Posts: 9 Joined: Fri Jul 23, 2004 3:05 am
Location: Germany
Contact:
Post
by Fisch.666 » Mon Mar 05, 2007 1:33 pm
Hi!
Thanks for your quick reply and the hint that this problem is caused by a lua module. Maybe i can find the module which caused this message...
Ah, and i use this lua modules at my server:
announcehp_v4
battery_botv4_2
etpub_printf
nokill
playsound
skbot
which can be found here:
http://wolfwiki.anime.net/index.php/Category:ETPro:Mods
McSteve
Posts: 113 Joined: Tue Sep 12, 2006 7:41 am
Post
by McSteve » Thu Mar 22, 2007 7:23 pm
Try this:
Code: Select all
function et_ClientCommand(client, command)
if string.lower(command) == "kill" then
et.trap_SendServerCommand( client, "cp \"^1Sorry, selfkilling is disabled on this server.\n\"" )
return 1
end
return 0
end
GhosT:McSteve
Ghostworks Gaming Community
Fisch.666
Posts: 9 Joined: Fri Jul 23, 2004 3:05 am
Location: Germany
Contact:
Post
by Fisch.666 » Sat Mar 24, 2007 5:13 am
Hi!
Thanks again for your help. Works without a problem and without this stupid error messages...