<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wolfwiki.anime.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bacon</id>
	<title>WolfWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wolfwiki.anime.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bacon"/>
	<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php/Special:Contributions/Bacon"/>
	<updated>2026-11-08T13:06:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=Talk:Lua_Mod_API&amp;diff=2108</id>
		<title>Talk:Lua Mod API</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=Talk:Lua_Mod_API&amp;diff=2108"/>
		<updated>2006-03-08T19:45:56Z</updated>

		<summary type="html">&lt;p&gt;Bacon: /* XP control not just skill */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;- et.G_SlotSound( slotnum, soundindex ) -&amp;gt;  Plays the sound soundindex at for the player @ slotnum only. --[[User:RoadKillPuppy|RoadKillPuppy]] 14:17, 16 December 2005 (PST)&lt;br /&gt;
:you can do this with tempentities and SVF_SINGLECLIENT ...&lt;br /&gt;
:--[[User:Bani|Bani]] 17:32, 16 December 2005 (PST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
some of this can be done via function et_Print(text).. but this would greatly simplify life,&amp;lt;br&amp;gt;&lt;br /&gt;
my wish list for christmas:&amp;lt;br&amp;gt;&lt;br /&gt;
- getUserEguid(cno) - get a client&#039;s etpro guid?&amp;lt;br&amp;gt;&lt;br /&gt;
- repair gentity_set for vec3 - scotty fix the transporter please&amp;lt;br&amp;gt;&lt;br /&gt;
:[http://bani.anime.net/banimod/forums/viewtopic.php?t=6279 fixed.]--[[User:Bani|Bani]] 17:56, 22 December 2005 (PST)&lt;br /&gt;
- et.trap_SendServerCommand(cno, &amp;quot;kill&amp;quot;) - punish client as alternative to setting health&amp;lt;br&amp;gt;&lt;br /&gt;
--[[User:Hadr0|Hadr0]] 02:10, 20 December 2005 (PST)&amp;lt;br&amp;gt;&lt;br /&gt;
:You can use et.G_Damage() in the new test version to do that.--[[User:Bani|Bani]] 01:38, 23 December 2005 (PST)&lt;br /&gt;
&lt;br /&gt;
trap sen server cmd is a ET engine trap the comand u send it send to the client and recived as a server command no a client command&lt;br /&gt;
&lt;br /&gt;
to add ill well that would be al ot of coding for not much [[User:=FF=im2good4u|=FF=Im2good4u]] 12:12, 20 December 2005 (PST)&lt;br /&gt;
&lt;br /&gt;
aight thnx.&amp;lt;br&amp;gt;&lt;br /&gt;
heres another api request, i&#039;d like to be able to get a clients xp directly. et.gentity_get(cno, &amp;quot;sess.game_points&amp;quot;) seems to return 0 always (?)&amp;lt;br&amp;gt;&lt;br /&gt;
--[[User:Hadr0|Hadr0]] 15:38, 21 December 2005 (PST)&lt;br /&gt;
:oh nevermind, i see this can be done now with xp = et.gentity_get(cno, &amp;quot;ps.stats&amp;quot;, 8)&lt;br /&gt;
:nice... --[[User:Hadr0|Hadr0]] 16:58, 23 December 2005 (PST)&lt;br /&gt;
--------&lt;br /&gt;
add a way to determine if a client is 999, and if possible why he&#039;s 999 (loading, connecting, loosing packets, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
--Gotenks&lt;br /&gt;
&lt;br /&gt;
999 means: server has not been sent data from client for &amp;gt; 1000 ms. So there is no way to certainly tell why.&lt;br /&gt;
The timeoutflag is stored in the pmflags IIRC. Don&#039;t know if lua can read them right now. --[[User:Deus|Deus]] 23:12, 22 December 2005 (PST)&amp;lt;br&amp;gt;&lt;br /&gt;
Still would like access to the ping, or a dummy variable if they are 999, but also the ammount of time they are inactive.&amp;lt;br&amp;gt;&lt;br /&gt;
--[[User:Gotenks|Gotenks]] (Sorry for double post) 1:53, 31 December 2005 (CST)&lt;br /&gt;
:[http://bani.anime.net/banimod/forums/viewtopic.php?t=6291 fixed].--[[User:Bani|Bani]] 02:40, 7 February 2006 (PST)&lt;br /&gt;
----&lt;br /&gt;
Access to weapon stats during game similar to end of round stats that are displayed.&amp;lt;br&amp;gt;&lt;br /&gt;
--[[User:LethalInjection|LethalInjection]] 23:52, 22 December 2005 (PST)&lt;br /&gt;
:[http://bani.anime.net/banimod/forums/viewtopic.php?t=6291 fixed].--[[User:Bani|Bani]] 02:40, 7 February 2006 (PST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== IPC stuff ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
i would like a et_IPCReceive whit an return value so u can send info back on a request&lt;br /&gt;
&lt;br /&gt;
i would like a et_IPCSend that can send to all lua mods then them mods can decide if the wana use that message or not&lt;br /&gt;
[[User:=FF=im2good4u|=FF=Im2good4u]] 12:35, 8 January 2006 (PST)&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
  et_IPCReceive wouldn&#039;t send it to the other mod... afaik... so just use another send&lt;br /&gt;
  just et_IPCSend to all modules (afaik, you can even send to ones not there), simple loop function&lt;br /&gt;
[[User:gotenks|gotenks]] 20:04, 8 January 2006 (CST)&lt;br /&gt;
&lt;br /&gt;
yeh probely but its not verry handy its better to get the good vmnumber or to e able to send on mod filenames&lt;br /&gt;
&lt;br /&gt;
apart from that returning a value will be more handy since tnhe u cna contine in 1 funtion else u got to reacise it in the recieve funtion [[User:=FF=im2good4u|=FF=Im2good4u]] 10:45, 9 January 2006 (PST)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
bani i need a console print function on the client that does sepport ascii plz [[User:=FF=im2good4u|=FF=Im2good4u]] 12:49, 12 January 2006 (PST)&lt;br /&gt;
:et.trap_SendServerCommand( clientnum, &amp;quot;print \&amp;quot;hello ascii console on the client\n\&amp;quot; ) ) --[[User:Bani|Bani]] 22:33, 15 January 2006 (PST)&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
bani: how about a et_sound(id, sound) event? [[User:gotenks|gotenks]] 20:45, 17 January 2006 (CST)&lt;br /&gt;
:[http://wolfwiki.anime.net/index.php/ETPro:Lua_Mod_API#sound et.G_Sound( entnum, soundindex )] --[[User:Bani|Bani]] 22:07, 18 January 2006 (PST)&lt;br /&gt;
:bani, i was referring to an on event call, so when a sound is played et_sound(id,sound) would be called.[[User:gotenks|gotenks]] 21:45, 20 January 2006 (CST)&lt;br /&gt;
::most sounds are clientside... this would not be of much use. --[[User:Bani|Bani]] 04:42, 22 January 2006 (PST)&lt;br /&gt;
:::except for checking when something like a killing spree sound is activated--[[User:gotenks|gotenks]] 07:54, 23 January 2006 (CST)&lt;br /&gt;
:::::There would be no way for you to know what sound was activated. You can&#039;t get a filename from the soundindex.--[[User:Bani|Bani]] 10:19, 24 January 2006 (PST)&lt;br /&gt;
:::::This is a case where IPCSend/IPCReceive would be useful, so mods can notify each other of specific events.--[[User:Bani|Bani]] 02:40, 7 February 2006 (PST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Is it possible to get a player&#039;s live angles? Fieldname &amp;quot;s.angles&amp;quot; only gives the spawn angles. Tried &amp;quot;rotate&amp;quot;, &amp;quot;s.angles2&amp;quot;, &amp;quot;TargetAngles&amp;quot;, &amp;quot;r.currentAngles&amp;quot; as well but they just give 0.000000 for each element. thanks for any help --[[User:Hadr0|Hadr0]] 01:35, 25 January 2006 (PST)&lt;br /&gt;
:This will be fixed in the next release, where you will get access to ps.viewangles--[[User:Bani|Bani]] 02:33, 7 February 2006 (PST)&lt;br /&gt;
&lt;br /&gt;
== LoadLib ==&lt;br /&gt;
&lt;br /&gt;
Add loadlib ppl it says u have lua basic included but not loadlib !!&lt;br /&gt;
&lt;br /&gt;
(on windows it gives an error attept to call global load lin a nil valua)[[User:=FF=im2good4u|=FF=Im2good4u]] 05:16, 15 February 2006 (PST)&lt;br /&gt;
&lt;br /&gt;
== XP control not just skill ==&lt;br /&gt;
&lt;br /&gt;
I would like to request RW access to the &amp;quot;sess.skillpoints&amp;quot; array&lt;br /&gt;
&lt;br /&gt;
At least a callback on et.G_AddSkillPoints ( &#039;&#039;&#039;cno&#039;&#039;&#039;, &#039;&#039;&#039;skill&#039;&#039;&#039;, &#039;&#039;&#039;points&#039;&#039;&#039; ) [[User:=FF=im2good4u|=FF=Im2good4u]] 07:45, 8 March 2006 (PST)&lt;/div&gt;</summary>
		<author><name>Bacon</name></author>
	</entry>
</feed>