Author Topic: Connecting to Servers  (Read 1887 times)

Is there a way to make a button that connects to a specific IP with a specific port?
Just ask if you need more info, thanks!

ConnectToServer(%IP @ ":" @ %port, %password, 1, 1);
« Last Edit: February 01, 2014, 01:53:50 PM by $trinick »

Is that client or server sided?

Servers can't connect to other servers.


Did you need help with the creation of the button as well? You were a bit too vague about what you wanted for me to give a full answer.

No thanks, I know how to do it.

Ooo, wait one more question. Can System_Whatever's hold client commands?

Ooo, wait one more question. Can System_Whatever's hold client commands?
Yes. For most types of scripted mods, the ZIP's category is basically meaningless outside of organisation and, less importantly, user understanding. (leaving out the fact that it's necessary for the game to bother with it)

Yes. For most types of scripted mods, the ZIP's category is basically meaningless outside of organisation and, less importantly, user understanding. (leaving out the fact that it's necessary for the game to bother with it)
Alright, thanks!

Ooo, wait one more question. Can System_Whatever's hold client commands?

I dislike the System_ prefix, except for very large mods. I prefer to use Script_ if an add-on contains both server and client-sided code.

I dislike the System_ prefix, except for very large mods. I prefer to use Script_ if an add-on contains both server and client-sided code.

What if I'm replacing the main menu?

What if I'm replacing the main menu?
That would qualify as a big mod.

I sort of agree with Greek2me. Though, the size of the mod I feel is irrelevant to qualifying as a "system" mod-- I feel that a "system" mod would include, well, a system. Like RTB's add-on, chat, etc system. Simple mods don't add systems, they just add features to the existing systems. If your add-on modifies the main menu, I wouldn't call that a system and would opt for a prefix like "Menu_" or "Client_". If your add-on completely replaces the main menu, then you might be able to consider it a system if it adds enough functionality that makes it not simply a redesign.
« Last Edit: February 01, 2014, 07:45:13 PM by $trinick »

"override" prefix for 'simple redesigns'?

yea nay