etpro: et_ClientCommand - expected integer, got nil

Discussion for Admins of ETPro/BayonET servers.
If you don't run a server, please don't post here...

Moderators: Forum moderators, developers

Post Reply
User avatar
Fisch.666
Posts: 9
Joined: Fri Jul 23, 2004 3:05 am
Location: Germany
Contact:

etpro: et_ClientCommand - expected integer, got nil

Post by Fisch.666 »

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.
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

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
User avatar
Fisch.666
Posts: 9
Joined: Fri Jul 23, 2004 3:05 am
Location: Germany
Contact:

Post by Fisch.666 »

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
User avatar
Fisch.666
Posts: 9
Joined: Fri Jul 23, 2004 3:05 am
Location: Germany
Contact:

Post by Fisch.666 »

Hi!

Ok, the nokill lua module from Infinity:

http://wolfwiki.anime.net/index.php/User:Infty

causes this message. Maybe i can contact the author so he can fix this... :D
McSteve
Posts: 113
Joined: Tue Sep 12, 2006 7:41 am

Post by McSteve »

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
User avatar
Fisch.666
Posts: 9
Joined: Fri Jul 23, 2004 3:05 am
Location: Germany
Contact:

Post by Fisch.666 »

Hi!

Thanks again for your help. Works without a problem and without this stupid error messages... :D
Post Reply