 |
Server Help Community forums for Subgame, ASSS, and bots
|
Author |
Message |
hellzlaker Registered Cap Buster Popping men in the ass since Oct 2005
Gender: NEVER ENOUGH! Joined: Oct 27 2005 Posts: 34 Offline
|
Posted: Fri Jul 25, 2008 7:56 pm Post subject: QSSU (Quick Server Set Up) |
 |
|
|
|
I just finished this and its pretty useful if you just started continuum and want to make your first zone, and all you gotta do is put the program into your subgame server folder, open it, write some values (has hints and everything) and your done. I might make one for ASSS later on.
Source is in the source folder. Oh and I'm going to upload it to my site.
QSSU
QSSU.rar - 113.04 KB
File downloaded or viewed 45 time(s)
Last edited by hellzlaker on Sat Jul 26, 2008 10:14 am, edited 1 time in total |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Sat Jul 26, 2008 1:58 am Post subject: |
 |
|
|
|
when you do
and value is a string, it will only read the first word (up to the space). If you want to read a line that the user types with spaces do
string s;
getline( cin, s ); |
zones names/descriptions usually contain spaces
----------------------------
also, something fun I like to do is to create just data, and use loops to call repeated functions, although I'm not sure if it results in cleaner code, I think it's pimp... so like
config("DefaultLevelFile","DefaultLevelFile is the map that player will see when entering \n\tyour zone, below enter the name of the map file...","Misc","DefaultLevelFile");
config("Port","Set this number to any value ranging between 1000 and 30000\n\t(CANT USE 4991 and 185)","Misc","Port");
config("SysOp password","SysopPassword will be one you will be using a lot, for this allows you \n\tto use all * and ? commands available, letting you have the \n\thighest control in your zone","Password","SysopPassword");
config("Energy password","EnergyPassword is the password people can use to turn on or off public \n\tenergy viewing.","Password","EnergyPassword");
config("Super Moderator password","For main staff in your zone","Password","SuperModeratorPassword");
config("Moderator password","For moderators in your zone","Password","ModeratorPassword");
config("VIP password","Not used anymore, set it to anything..","Password","VIPPassword");
config("Zone name","Set this to what you want your zone to be named...","Billing","ServerName"); |
becomes
const int INDEX_NAME = 0;
const int INDEX_HINT = 1;
const int INDEX_SECTION = 2;
const int INDEX_KEY = 3;
const char* configValues[][4] =
{
{"DefaultLevelFile","DefaultLevelFile is the map that player will see when entering \n\tyour zone, below enter the name of the map file...","Misc","DefaultLevelFile"},
{"Port","Set this number to any value ranging between 1000 and 30000\n\t(CANT USE 4991 and 185)","Misc","Port"},
{"SysOp password","SysopPassword will be one you will be using a lot, for this allows you \n\tto use all * and ? commands available, letting you have the \n\thighest control in your zone","Password","SysopPassword"},
{"Energy password","EnergyPassword is the password people can use to turn on or off public \n\tenergy viewing.","Password","EnergyPassword"},
{"Super Moderator password","For main staff in your zone","Password","SuperModeratorPassword"},
{"Moderator password","For moderators in your zone","Password","ModeratorPassword"},
{"VIP password","Not used anymore, set it to anything..","Password","VIPPassword"},
{"Zone name","Set this to what you want your zone to be named...","Billing","ServerName"},
};
for (int x = 0; x < sizeof(configValues)/sizeof(configValues[0]);++x)
config(configValues[INDEX_NAME],configValues[INDEX_HINT],configValues[INDEX_SECTION],configValues[INDEX_KEY]);
|
_________________ SubSpace Discretion: A Third Generation SubSpace Client
|
|
Back to top |
|
 |
hellzlaker Registered Cap Buster Popping men in the ass since Oct 2005
Gender: NEVER ENOUGH! Joined: Oct 27 2005 Posts: 34 Offline
|
Posted: Sat Jul 26, 2008 9:57 am Post subject: |
 |
|
|
|
Oh forgot about zone description and name, when I was testing it I put 1 word inputs so couldn't see that, thanks.
And for the data I think it makes code more organized, I'm gonna try doing that
|
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Sat Jul 26, 2008 1:53 pm Post subject: |
 |
|
|
|
Quote: | {"VIP password","Not used anymore, set it to anything..","Password","VIPPassword"}, | That isn't true. VIP is used. It just isn't used by most people.
|
|
Back to top |
|
 |
hellzlaker Registered Cap Buster Popping men in the ass since Oct 2005
Gender: NEVER ENOUGH! Joined: Oct 27 2005 Posts: 34 Offline
|
Posted: Sat Jul 26, 2008 4:28 pm Post subject: |
 |
|
|
|
What does VIP do? I just went along www.shanky.com/server and took most hints out of there
|
|
Back to top |
|
 |
Samapico No, these DO NOT look like penises, ok?

Joined: May 08 2003 Posts: 1252 Offline
|
Posted: Sun Jul 27, 2008 12:01 pm Post subject: |
 |
|
|
|
Being VIP, among other things, allows you to connect to the server using the old subspace protocol. Subchat users, or MervBots need this. _________________ (Insert a bunch of dead links here)
|
|
Back to top |
|
 |
hellzlaker Registered Cap Buster Popping men in the ass since Oct 2005
Gender: NEVER ENOUGH! Joined: Oct 27 2005 Posts: 34 Offline
|
Posted: Sun Jul 27, 2008 12:20 pm Post subject: |
 |
|
|
|
oh, we'll i never realized since i always gave mopd to bots
|
|
Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Software by php BB © php BB Group Server Load: 89 page(s) served in previous 5 minutes.
|