Forum
General
Ideas for CS2D - READ THE FIRST POST (OP)!
MikuAuahDark: it will be good if servers can communicate each other. Sending data between servers would be a really powerful feature. It can be done with Lua & I could spam a server with a server.
edited 2×, last 19.02.14 12:54:19 pm
Yates: i mean without involving any I/O operation at all.for example:
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
-- 2 servers running on port 36963 and 36964
addhook("receive","GetAnotherServerMessage")
function GetAnotherServerMessage(port,message)
	-- port - server port which send the message
	-- message - received message
	msg("Message from another server: "..message)
end
sendmsg(36964,"This is message passed from another server")
MikuAuahDark has writtensend/receive message
Quote
I guess you don't quite know what I/O means? sending stuff to the outside / receiving stuff from the outside is I/O. I/O means Input/Output without involving any I/O operation at all.
Yates has writtenIt can be done with Lua & I could spam a server with a server.
Think about it, if I CAN do it, others WILL do it.
Using the .txt file is easier anyway. Everything you send is saved.
always hook and always read the file. For example, I have a reroute script that displays every player on each server. I only need to read the files when these numbers are going to be displayed, so I read the files just before I decide to open the menu. And I overwrite these files when ever someone joins or leaves.
Yates has writtenIt can be done with Lua & I could spam a server with a server.
Wait for it, wait for it... WHITE LIST!
But actually we should start using LuaSocket
I would like to ask DC if there is possibility to make something like sv_specmode 4 where players who are playing in CT/TT after death have specmode 0 or 2 and players who are spectating have specmode 1.
It could really help me for streaming games during tournaments. www.twitch.tv/can1on
Avo: You can do this with lua scripts.
The light system for RPG's Rocket
Disabling the advanced shadow of the building in the map editor in env_room.edited 2×, last 02.03.14 11:50:41 am
AlcatrazZ: posted about the Light System For RPG's Rocket, And then Someone Soon will post a negative side to that..
AlcatrazZTry setting the value of "shadow height (Z)" to 2
Ideas for CS2D - READ THE FIRST POST (OP)!


Offline



