Settings and Map Rotator Script
Settings and Map Rotator Script
hi all
im going to make a Multi Mode server for my clan.
the settings hould change every round , but for that i need a script.
maybe some o you know or has a goos script to do this.
the server is running sty+ct.
bb
AI
P.S.sry for my terrible english xD
im going to make a Multi Mode server for my clan.
the settings hould change every round , but for that i need a script.
maybe some o you know or has a goos script to do this.
the server is running sty+ct.
bb
AI
P.S.sry for my terrible english xD
Here's the script that runs flower sumo. Although that does all kinds of things in very strange ways. But it is self contained, ie, no database behind it. If you have used php you should be able to strip out what you need.
There is some info here about possible ways to run a server using a script like this.
There is some info here about possible ways to run a server using a script like this.
- compguygene
- Adjust Outside Corner Grinder
- Posts: 2346
- Joined: Thu Aug 21, 2008 12:09 pm
- Location: Cleveland, Ohio
- Contact:
d'oh!
when you asked me for the script I didn't remember this thing I published:
http://hoop.altervista.org/cfg_rotator.html
the instructions given should let you run it easily, though there are better ways to connect the script with the server
I'll help if you have problems with it
when you asked me for the script I didn't remember this thing I published:
http://hoop.altervista.org/cfg_rotator.html
the instructions given should let you run it easily, though there are better ways to connect the script with the server
I'll help if you have problems with it
wel i tried it and i have a problem :
picnik@portanigra:~$ g++ -Wall cfg_rotator.cpp -o cfg_rotator
cfg_rotator.cpp: In function âint main()â:
cfg_rotator.cpp:48: error: âstrstrâ was not declared in this scope
cfg_rotator.cpp: In function âvoid everytime(std::string&)â:
cfg_rotator.cpp:70: error: âexitâ was not declared in this scope
whats is the problem??
picnik@portanigra:~$ g++ -Wall cfg_rotator.cpp -o cfg_rotator
cfg_rotator.cpp: In function âint main()â:
cfg_rotator.cpp:48: error: âstrstrâ was not declared in this scope
cfg_rotator.cpp: In function âvoid everytime(std::string&)â:
cfg_rotator.cpp:70: error: âexitâ was not declared in this scope
whats is the problem??
Missing includes. Add
somewhere near the top of the file.
Code: Select all
#include <string.h>
#include <stdlib.h>
cfg.push_back ("cfg.cfg/round_1.cfg");
cfg.push_back ("sumo.cfg/round_2.cfg");
cfg.push_back ("fort.cfg/round_3.cfg");
cfg.push_back ("teamsumo.cfg/round_4.cfg");
cfg.push_back (df.cfg/round_5.cfg);
cfg.push_back ("hr.cfg/round_6.cfg");
cfg.push_back ("nanoctf.cfg/round_7.cfg");
should it look like that?
cfg.push_back ("sumo.cfg/round_2.cfg");
cfg.push_back ("fort.cfg/round_3.cfg");
cfg.push_back ("teamsumo.cfg/round_4.cfg");
cfg.push_back (df.cfg/round_5.cfg);
cfg.push_back ("hr.cfg/round_6.cfg");
cfg.push_back ("nanoctf.cfg/round_7.cfg");
should it look like that?