View Single Post
  #4  
Old 08-21-2011, 05:32 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
As Sales said, you have to set serverr variables on serverside. If they could be set clientside, a "hacker" would be able to change the news for everybody.

The reason it works until you reconnect is that you're temporarily changing the serverr variable on your client only. When you reconnect, the server sends the actual variable. It's like setting a clientr variable on clientside. The value will stick (at least for a while?), but you won't have actually changed the variable on serverside.

Also, RC will trim any server flags down to a certain size (~255 characters?), so if you set server flags with RC, you'll permanently lose anything past that many characters.

You should probably use text files instead of serverr variables for storing server news. There are very few times when server or serverr variables are advisable.
__________________
Reply With Quote