Browse Source

renamed and refactored for "cmp qwbot", because cims is the irc part.

Paul Klumpp 9 years ago
parent
commit
5306087c8a
9 changed files with 18 additions and 17 deletions
  1. 1 1
      .gitmodules
  2. 3 3
      App.cpp
  3. 6 5
      README.md
  4. 1 1
      Settings.cpp
  5. 0 0
      cmp_qwbot.pro
  6. 2 2
      install.sh
  7. 3 3
      install_cmp_qwbot.sh
  8. 1 1
      start_cmp_qwbot.sh
  9. 1 1
      start_devel.sh

+ 1 - 1
.gitmodules

@@ -1,3 +1,3 @@
 [submodule "libqwclient"]
 	path = libqwclient
-	url = gitlab@gitlab.netdome.biz:mihawk/libqwclient.git
+	url = https://gitlab.netdome.biz:mihawk/libqwclient.git

+ 3 - 3
App.cpp

@@ -64,11 +64,11 @@ App::App(int &argc, char **argv) :
     return;
   }
 
-  print("CIMS Bot Service v0.13\n========================================================\n");
+  print("CMP Bot Service v0.13\n========================================================\n");
 
-  setApplicationName("CIMSBOT");
+  setApplicationName("CMP QWBOT");
   setOrganizationDomain("https://gitlab.netdome.biz/community-messaging-project/qwbot");
-  setOrganizationName("CIMS");
+  setOrganizationName("CMP");
   setApplicationVersion("0.13");
 
   myClientsFrameTimerID = startTimer(0);

+ 6 - 5
README.md

@@ -3,14 +3,15 @@ You want to install this QuakeWorld Bot, or want to get more information about i
 You've come to the right place. So to say, one of the right places. ;) You can also find the devs on irc://irc.quakenet.org/qwnet.
 
 ## How to install it
-We got an installation script to do the work of compiling the source files and putting the binaries to a target directory. It will even run the bot for the first time. Why? Because, on the first run, it will create a configuration file.
+We got an installation script to do the work of compiling the source files and putting the binaries to a target directory. It will even run the bot for the first time. Why? Because, on the first run, it will create a configuration file. 
 You only need to have git, gcc(g++), Qt(libs: qt-core, libqt4-dev(debian)) and the usual make installed on your system. They're pre-requisites. The script checks for them too. If they don't exist on your system, you can either install them, or you could ask the devs for a statically linked binary package.
 
 So, here's the thing:
 
->$ git clone https://gitlab.netdome.biz/community-messaging-project/qwbot.git
->$ cd qwbot
->$ ./install.sh \<target folder\>
+>$ git clone https://gitlab.netdome.biz/community-messaging-project/qwbot.git 
+>$ cd qwbot 
+>$ ./install.sh \<target folder\> 
+
 
 ## How do I get the Bot to connect to a server?
 There are two ways to do that; the automatic way, when connected to the "central" and the manual way, by configuring the config file.
@@ -26,4 +27,4 @@ _Example:_
 >1\address=123.123.123.123:27101
 >2\address=hostname:27500
 
-We know, this is not really intuitive, but the whole thing is designed to normally work automatically, controlled by a "central" server - and that's the other method.
+We know, this is not really intuitive, but the whole thing is designed to normally work automatically, controlled by a "central" server - and that's the other method.

+ 1 - 1
Settings.cpp

@@ -30,7 +30,7 @@ QSettings* Settings::ourSettings;
 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Settings::Settings()
 {
-  ourSettings = new QSettings(QCoreApplication::applicationDirPath() + "/cimsqwbot.cfg", QSettings::IniFormat);
+  ourSettings = new QSettings(QCoreApplication::applicationDirPath() + "/cmp_qwbot.cfg", QSettings::IniFormat);
 }
 
 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

+ 0 - 0
cimsqwbot.pro → cmp_qwbot.pro


+ 2 - 2
install.sh

@@ -13,8 +13,8 @@ SRCPATH_LIBQWCL=$(pwd)
 cd ${SRCPATH_QWBOT}
 
 
-BIN_QWBOT="cimsqwbot"
-CFG_QWBOT="cimsqwbot.cfg"
+BIN_QWBOT="cmp_qwbot"
+CFG_QWBOT="cmp_qwbot.cfg"
 STARTER="start_cmp_qwbot.sh"
 
 

+ 3 - 3
install_cmp_qwbot.sh

@@ -7,10 +7,10 @@ NEEDS="git qmake make g++"
 DIR_LIBQWCL="libqwclient"
 DIR_QWBOT="qwbot"
 
-BIN_QWBOT="cimsqwbot"
-CFG_QWBOT="cimsqwbot.cfg"
+BIN_QWBOT="cmp_qwbot"
+CFG_QWBOT="cmp_qwbot.cfg"
 
-STARTER="startcimsqwbot.sh"
+STARTER="startcmp_qwbot.sh"
 
 for p in $NEEDS; do
 	TEST=$(which $p 2> /dev/null)

+ 1 - 1
start_cmp_qwbot.sh

@@ -11,7 +11,7 @@ echo LIBPATH: "$LIBPATH"
 
 while [ 1 ]; do
 	echo "started at $(date)" | tee -a runlog.log
-	LD_LIBRARY_PATH="$LIBPATH" stdbuf -oL ./cimsqwbot | tee -a runlog.log
+	LD_LIBRARY_PATH="$LIBPATH" stdbuf -oL ./cmp_qwbot | tee -a runlog.log
 	echo "crashed at $(date) - lol, we never crash." | tee -a runlog.log
 
 	sleep 3

+ 1 - 1
startcimsqwbot.sh → start_devel.sh

@@ -21,7 +21,7 @@ while [ 1 ]; do
 	make
 
 	echo "started at $(date)" | tee -a runlog.log
-	LD_LIBRARY_PATH="$LIBPATH" stdbuf -oL ./cimsqwbot | tee -a runlog.log
+	LD_LIBRARY_PATH="$LIBPATH" stdbuf -oL ./cmp_qwbot | tee -a runlog.log
 	echo "crashed at $(date) - lol, we never crash." | tee -a runlog.log
 
 	sleep 3