banimod / etpro / ettv forums Forum Index banimod / etpro / ettv forums
Bani's Discussion Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Lua IPC stuff

 
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET Modding
View previous topic :: View next topic  
Author Message
=FF=im2good4u



Joined: 05 Feb 2003
Posts: 3922
Location: The Netherlands, HOLLAND

PostPosted: Sun Jan 08, 2006 12:25 pm    Post subject: Lua IPC stuff Reply with quote

can some1 tell me how to use this and wut the posabileties are
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
gotenks



Joined: 15 Nov 2002
Posts: 4039
Location: out of my mind

PostPosted: Sun Jan 08, 2006 3:34 pm    Post subject: Reply with quote

you can use it to send information between 2 mods... sorta a handshake, 1 has to have the ability to recieve, 1 has to have the ability to send...

mod 1 contains this call:
Code:
function sendInfo(ThisInfo)
     et.IPCSend( vmnumber, ThisInfo})
end


mod 2 contains this function:
Code:
function et_IPCReceive( vmnumber, message )

end

message should beable to be anything, string, tables, etc.

you have to find away to get mod 2's vmnumber
_________________
My Website

After a night of binge drinking:
=FF=im2good4u wrote:
WTF wanst i on top ?
Back to top
View user's profile Send private message Visit poster's website
=FF=im2good4u



Joined: 05 Feb 2003
Posts: 3922
Location: The Netherlands, HOLLAND

PostPosted: Mon Jan 09, 2006 10:39 am    Post subject: Reply with quote

hm i assume the vmnumber is the position if the lua_modules vars (from left to right) so its kinda cool i gues
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET Modding All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group