Author Topic: Whats the difference between Server_.zip and Script_.zip  (Read 666 times)

I was wondering this because sometimes my scripts work with Server_.zip but not Script_.zip. So what is the difference?

They are just names for organizing...
I don't think they do much else.

I was wondering this because sometimes my scripts work with Server_.zip but not Script_.zip. So what is the difference?

name your addons whatever you like
Server_Derp.zip
Script_Derp.zip

but INSIDE the zip file make sure your namecheck.txt file matches the zip file name.

Also - when an addon doesnt work like this, you will see a message in the console saying something about the addon has been renamed.

Script_ I believe is client sided, Server_ is server sided.

Script_ I believe is client sided, Server_ is server sided.
I dont think so, Client_ is clientsided.

Script_ I believe is client sided, Server_ is server sided.
Server_ = server
Client_ = client
Script_ = both

Server_ = server
Client_ = client
Script_ = both
It depends on what is inside of Script_
If it has a server.cs, it will work on a server, client.cs, it will work on a client.

it doesn't matter as long as it follows the category_name syntax and that matches namecheck.txt and there is a server.cs/client.cs.

it's just a lot less annoying if you organize it correctly.

In the end, I actually executed a client script through a server.cs, but of course I could only use it since I was the host.

Thanks everybody. Locking