My mod is almost ready to be play-tested, but I want to make sure that it's running well. So can someone give me a short guide what function/stuff/game-logic should be run only at server side ? (IsServer()). Thanks
IsServer() is required on lua modifiers and a couple of ability_lua functions. The list of client-side available functions can be found in http://yrrep.me/dota/csdump/ or via cl_script_help2
Basically if your modifier/lua ability uses something that isn't available to clients, you need to tell it only should execute on the server machine
Note that the host is client and server at the same time in non-dedicated servers.
The concept of Modding Community doesn't go well together with Competitive BusinessMy Project Page || My GitHub Profile ||
Oh only that ? How about game logic ? Like periodical spawner. Do you need to give IsServer to them ?
No need, lua game logic is already server-side only.
oo neat, I guess I can play test my mod now XD. Neat, thanks noya