|
ATAG
|
 |
« on: September 27, 2008, 08:12:47 PM » |
|
Very first release.. It helps to download, compile and install PtokaX 0.4.1.1 into /usr/share/PtokaX Tested only on Ununtu 8.04  #!/bin/sh
# install dependencies echo " " echo "Looking for dependencies and some other usefull package..." echo " "
sudo apt-get install liblua5.1-0 liblua5.1-0-dev lua5.1 liblua5.1-filesystem0 liblua5.1-socket2 liblua5.1-sql-mysql-2 liblua5.1-sql-sqlite3-2 zlib1g-dev make g++
# get PtokaX source and extract echo " " echo "OK, I'll get the sources..." echo " "
wget http://www.czdc.org/PtokaX/0.4.1.1-posix-src.tgz tar -xf 0.4.1.1-posix-src.tgz rm 0.4.1.1-posix-src.tgz
# Get tinyxml source and extract wget http://garr.dl.sourceforge.net/sourceforge/tinyxml/tinyxml_2_5_3.tar.gz tar -xf tinyxml_2_5_3.tar.gz rm tinyxml_2_5_3.tar.gz
# copy needed files to PtokaX/tinyxml/src/ cp tinyxml/tinystr.cpp PtokaX/tinyxml/src/ cp tinyxml/tinystr.h PtokaX/tinyxml/src/ cp tinyxml/tinyxml.cpp PtokaX/tinyxml/src/ cp tinyxml/tinyxml.h PtokaX/tinyxml/src/ cp tinyxml/tinyxmlerror.cpp PtokaX/tinyxml/src/ cp tinyxml/tinyxmlparser.cpp PtokaX/tinyxml/src/ rm -r tinyxml
echo " " echo "Compiling PtokaX. This may take some time..." echo " "
# build PtokaX cd PtokaX/tinyxml make cd .. make chmod +x ./PtokaX
# copy it... sudo cp -f ./PtokaX /usr/bin/ sudo cp -fr cfg.example /usr/share/PtokaX/ sudo cp -fr scripting.docs /usr/share/PtokaX/ sudo cp -fr language /usr/share/PtokaX/ sudo chmod 777 /usr/share/PtokaX
echo " " echo "It's ready. Good bye!" echo " "
|
|
|
|
|
Logged
|
|
|
|
kotur
Newbie
Karma: +0/-0
Offline
Posts: 1
|
 |
« Reply #1 on: October 12, 2008, 03:41:45 PM » |
|
Hi, I have some problems with instaling on CentOS 5. Problem begins after I type this second MAKE. [i]" # build PtokaX cd PtokaX/tinyxml make cd .. make chmod +x ./PtokaX" [/i]
It writes this: [root@server PtokaX]# make g++ -g -Wall -Itinyxml/src -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -c /usr/src/PtokaX/src/ClientTagManager.cpp -o /usr/src/PtokaX/obj/ClientTagManager.o g++ -g -Wall -Itinyxml/src -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -c /usr/src/PtokaX/src/colUsers.cpp -o /usr/src/PtokaX/obj/colUsers.o g++ -g -Wall -Itinyxml/src -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -c /usr/src/PtokaX/src/DcCommands.cpp -o /usr/src/PtokaX/obj/DcCommands.o g++ -g -Wall -Itinyxml/src -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -c /usr/src/PtokaX/src/DeFlood.cpp -o /usr/src/PtokaX/obj/DeFlood.o g++ -g -Wall -Itinyxml/src -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -c /usr/src/PtokaX/src/eventqueue.cpp -o /usr/src/PtokaX/obj/eventqueue.o g++ -g -Wall -Itinyxml/src -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -c /usr/src/PtokaX/src/globalQueue.cpp -o /usr/src/PtokaX/obj/globalQueue.o g++ -g -Wall -Itinyxml/src -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -c /usr/src/PtokaX/src/hashBanManager.cpp -o /usr/src/PtokaX/obj/hashBanManager.o g++ -g -Wall -Itinyxml/src -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -c /usr/src/PtokaX/src/hashUsrManager.cpp -o /usr/src/PtokaX/obj/hashUsrManager.o g++ -g -Wall -Itinyxml/src -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -c /usr/src/PtokaX/src/hashRegManager.cpp -o /usr/src/PtokaX/obj/hashRegManager.o g++ -g -Wall -Itinyxml/src -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -c /usr/src/PtokaX/src/HubCommands.cpp -o /usr/src/PtokaX/obj/HubCommands.o g++ -g -Wall -Itinyxml/src -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -c /usr/src/PtokaX/src/IP2Country.cpp -o /usr/src/PtokaX/obj/IP2Country.o g++ -g -Wall -Itinyxml/src -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -c /usr/src/PtokaX/src/LanguageManager.cpp -o /usr/src/PtokaX/obj/LanguageManager.o g++ -g -Wall -Itinyxml/src -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -c /usr/src/PtokaX/src/LuaBanManLib.cpp -o /usr/src/PtokaX/obj/LuaBanManLib.o /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int GetBan(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:260: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int GetPermBan(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:333: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int GetTempBan(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:406: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int GetRangeBan(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:588: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int GetRangePermBan(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:647: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int GetRangeTempBan(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:696: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int Unban(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:755: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int UnbanPerm(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:791: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int UnbanTemp(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:827: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int UnbanAll(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:861: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int UnbanPermAll(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:892: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int UnbanTempAll(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:923: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int RangeUnban(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:957: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int RangeUnbanPerm(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:992: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int RangeUnbanTemp(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:1027: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int Ban(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:1157: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int BanIP(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:1204: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int BanNick(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:1255: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int TempBan(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:1334: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int TempBanIP(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:1383: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int TempBanNick(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:1437: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int RangeBan(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:1508: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int RangeTempBan(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:1564: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018void RegBanMan(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:1642: error: \u2018luaL_register\u2019 was not declared in this scope make: *** [/usr/src/PtokaX/obj/LuaBanManLib.o] Error 1
Do you maybe have idea what can be problem? Thanks in advance and best regards
|
|
|
|
« Last Edit: December 31, 2008, 08:34:58 PM by Psycho_Chihuahua »
|
Logged
|
|
|
|
|
ATAG
|
 |
« Reply #2 on: October 12, 2008, 11:33:51 PM » |
|
Check compile.txt and the makefile for compiling instructions. I think you should change -llua5.1 to something else in makefile. Anyway since it's a debian/ubuntu installer don't use it on centOS - compile it manually.
|
|
|
|
|
Logged
|
|
|
|
Alexinno
Double Ace
Karma: +13/-2
Offline
Posts: 121
-= Hard work makes dreams come true =-
|
 |
« Reply #3 on: November 09, 2008, 10:28:36 AM » |
|
hi guys , i have the same problem as kotur above , what do i have to change in makefile ? if i have this file paths /usr/bin/lua /usr/bin/luac /usr/include/lua.h /usr/include/lua.hpp /usr/include/luaconf.h /usr/include/lualib.h /usr/lib/liblua-5.1.so /usr/lib/liblua.so /usr/lib/pkgconfig/lua.pc /usr/local/bin/lua /usr/local/bin/luac /usr/local/include/lua.h /usr/local/include/lualib.h /usr/local/lib/liblua.a /usr/local/lib/liblua_pi.a /usr/local/lib/liblua_pi.la /usr/local/lib/liblua_pi.so /usr/local/lib/liblua_pi.so.0 /usr/local/lib/liblua_pi.so.0.0.0 /usr/local/lib/liblualib.a /usr/local/lib/lua /usr/local/lib/lua/5.1 /usr/local/man/man1/lua.1 /usr/local/man/man1/luac.1 /usr/local/share/lua /usr/local/share/lua/5.1
|
|
|
|
|
Logged
|
|
|
|
|
ATAG
|
 |
« Reply #4 on: November 09, 2008, 03:14:22 PM » |
|
#******************************************************************************* # Binary to create # # Lua in Debian is lua5.1. Other known names are lua-5.1, lua51 and lua. # If you have Lua lib with another name than lua5.1 change it in -llua5.1. # # In case when you don't have Lua as dynamic library (in debian liblua5.1.so) # but as static library (liblua.a default when you compile Lua from sources) # then remove -llua5.1 and after tinyxml/tinyxml.a add /usr/local/lib/liblua.a (default path when is Lua compiled from sources). #******************************************************************************* You can change -llua5.1: PtokaX: $(CURDIR)/obj/ClientTagManager.o $(CURDIR)/obj/colUsers.o $(CURDIR)/obj/DcCommands.o $(CURDIR)/obj/DeFlood.o $(CURDIR)/obj/eventqueue.o $(CURDIR)/obj/globalQueue.o $(CURDIR)/obj/hashBanManager.o $(CURDIR)/obj/hashUsrManager.o \ $(CURDIR)/obj/hashRegManager.o $(CURDIR)/obj/HubCommands.o $(CURDIR)/obj/IP2Country.o $(CURDIR)/obj/LanguageManager.o $(CURDIR)/obj/LuaBanManLib.o $(CURDIR)/obj/LuaCoreLib.o $(CURDIR)/obj/LuaIP2CountryLib.o $(CURDIR)/obj/LuaProfManLib.o \ $(CURDIR)/obj/LuaRegManLib.o $(CURDIR)/obj/LuaScript.o $(CURDIR)/obj/LuaScriptManager.o $(CURDIR)/obj/LuaScriptManLib.o $(CURDIR)/obj/LuaSetManLib.o $(CURDIR)/obj/LuaTmrManLib.o $(CURDIR)/obj/LuaUDPDbgLib.o $(CURDIR)/obj/ProfileManager.o \ $(CURDIR)/obj/PtokaX.o $(CURDIR)/obj/pxstring.o $(CURDIR)/obj/RegThread.o $(CURDIR)/obj/ResNickManager.o $(CURDIR)/obj/ServerManager.o $(CURDIR)/obj/ServerThread.o $(CURDIR)/obj/serviceLoop.o $(CURDIR)/obj/SettingManager.o \ $(CURDIR)/obj/TextFileManager.o $(CURDIR)/obj/UdpDebug.o $(CURDIR)/obj/UDPThread.o $(CURDIR)/obj/User.o $(CURDIR)/obj/utility.o $(CURDIR)/obj/ZlibUtility.o $(CXX) -lpthread -lz -llua5.1 -lrt -o PtokaX \ try -llua-5.1 or something else...
|
|
|
|
« Last Edit: November 09, 2008, 03:17:50 PM by ATAG »
|
Logged
|
|
|
|
|
mariner
|
 |
« Reply #5 on: December 27, 2008, 10:05:46 PM » |
|
Hello, there is my version of GNU Debian PtokaX 0.4.1.1 installer. There are all sources in package, simple configs, install & uninstall scripts, rewrited makefile & init.d sctipt for autostart from root. For install you have to unzip it and start install.sh (This script installs all dependencies, compiles PtokaX, copies files and updates rc.d) For uninstall - run uninstall.sh - it removes all changes.
It was tested on Debian Etch(4) & Lenny(5-testing), Ubuntu 8.04 & 8.10 and Runtu...
PS Sorry for my poor English. Check it for bugs.
|
|
|
« Last Edit: December 27, 2008, 10:07:53 PM by mariner »
|
Logged
|
Eat my bolts, bastard... © member of Devaster Squad
sudo ./configure_brain.sh
|
|
|
|
mariner
|
 |
« Reply #6 on: December 31, 2008, 08:01:10 AM » |
|
I find one erroe - this package didn't create obj folders... So I will do other package
Make some changes!
|
|
|
« Last Edit: February 01, 2009, 09:03:54 PM by mariner »
|
Logged
|
Eat my bolts, bastard... © member of Devaster Squad
sudo ./configure_brain.sh
|
|
|
|
mariner
|
 |
« Reply #7 on: February 04, 2009, 05:19:13 PM » |
|
I make new init.d script for ptokax. #!/bin/sh # Start/stop/restart the services for PtokaX. PTOKAXPATH='/etc/ptokax'
ptokax_start() { echo "Starting PtokaX" if [ `ps ax | grep "ptokax -d -c $PTOKAXPATH" | grep -v "grep" | wc -l` = 0 ]; then /usr/sbin/ptokax -d -c /etc/ptokax echo "[OK]" else echo "DC PtokaX HuB server is already running... Start failed!" fi } ptokax_stop() { echo "Stoping PtokaX" if [ `ps ax | grep "ptokax -d -c $PTOKAXPATH" | grep -v "grep" | wc -l` = 0 ]; then echo "DC PtokaX HuB server isn't running... Stop failed!" else killall -9 ptokax echo "[OK]" fi } ptokax_restart() { echo "Restarting PtokaX" if [ `ps ax | grep "ptokax -d -c $PTOKAXPATH" | grep -v "grep" | wc -l` = 0 ]; then /usr/sbin/ptokax -d -c /etc/ptokax echo "[OK]" else killall -9 ptokax /usr/sbin/ptokax -d -c /etc/ptokax echo "[OK]" fi } ptokax_status() { if [ `ps ax | grep "ptokax -d -c $PTOKAXPATH" | grep -v "grep" | wc -l` = 0 ]; then echo "No DC PtokaX HuB running..." else echo "DC PtokaX HuB server running..." fi }
case "$1" in 'start') ptokax_start ;; 'stop') ptokax_stop ;; 'status') ptokax_status ;; 'restart') ptokax_restart ;; *) # Default is "start", for backwards compatibility with previous echo "start|stop|status|restart" esac
If you use Debian, you have to install psutils//EDIT by PPK. Removed all DC++, PtokaX IS NOT DC++ HUB !
|
|
|
|
« Last Edit: February 04, 2009, 10:46:06 PM by PPK »
|
Logged
|
Eat my bolts, bastard... © member of Devaster Squad
sudo ./configure_brain.sh
|
|
|
|
CrazyGuy
|
 |
« Reply #8 on: February 04, 2009, 07:22:01 PM » |
|
I don't know anything about Debian but I do have a question regarding the init.
Wouldn't using killall to kill the process prevent it from saving changes to the xml files ?
|
|
|
|
|
Logged
|
|
|
|
PPK
Administrator
Emperor
   
Karma: +199/-16
Offline
Posts: 1 099
PtokaX "developer"
|
 |
« Reply #9 on: February 04, 2009, 10:48:30 PM » |
|
Afaik killall cause that PtokaX will receive something like terminate signal. That signal is handled by PtokaX and settings should be saved.
|
|
|
|
|
Logged
|
|
|
|
|
bastya_elvtars
|
 |
« Reply #10 on: February 05, 2009, 09:52:27 AM » |
|
Isn't -9 equal to SIGKILL?
|
|
|
|
|
Logged
|
|
|
|
|
CrazyGuy
|
 |
« Reply #11 on: February 05, 2009, 12:01:53 PM » |
|
Afaik killall cause that PtokaX will receive something like terminate signal. That signal is handled by PtokaX and settings should be saved.
Isn't -9 equal to SIGKILL?
Okay thanks for explaining 
|
|
|
|
|
Logged
|
|
|
|
|
mariner
|
 |
« Reply #12 on: February 05, 2009, 02:17:46 PM » |
|
Afaik killall cause that PtokaX will receive something like terminate signal. That signal is handled by PtokaX and settings should be saved.
That's right. I think, you can include init scripts in your package. PS i can rewrite script (because it kill all PtokaX, it's bad, when you have 2 hubs on server), and make some fixes. In new script, you can restart only one hub. #!/bin/sh # Start/stop/restart the services for PtokaX. PTOKAXPATH='/etc/ptokax'
ptokax_start() { if [ `ps ax | grep "ptokax -d -c $PTOKAXPATH" | grep -v "grep" | wc -l` = 0 ]; then /usr/sbin/ptokax -d -c $PTOKAXPATH if [ `ps ax | grep "ptokax -d -c $PTOKAXPATH" | grep -v "grep" | wc -l` = 0 ]; then ANSWER='[FAIL]' else ANSWER='[OK]' fi echo "Starting PtokaX $ANSWER" else echo "DC PtokaX HuB server is already running... Start failed!" fi } ptokax_stop() { if [ `ps ax | grep "ptokax -d -c $PTOKAXPATH" | grep -v "grep" | wc -l` = 0 ]; then echo "DC PtokaX HuB server isn't running... Stop failed!" else kill `ps xu | grep "ptokax" | grep "$PTOKAXPATH" | grep -v "grep" | awk '{print $2}'` if [ `ps ax | grep "ptokax -d -c $PTOKAXPATH" | grep -v "grep" | wc -l` = 0 ]; then ANSWER='[OK]' else ANSWER='[FAIL]' fi echo "Stoping PtokaX $ANSWER" fi } ptokax_restart() { if [ `ps ax | grep "ptokax -d -c $PTOKAXPATH" | grep -v "grep" | wc -l` = 0 ]; then /usr/sbin/ptokax -d -c $PTOKAXPATH else kill `ps xu | grep "ptokax" | grep "$PTOKAXPATH" | grep -v "grep" | awk '{print $2}'` /usr/sbin/ptokax -d -c $PTOKAXPATH fi if [ `ps ax | grep "ptokax -d -c $PTOKAXPATH" | grep -v "grep" | wc -l` = 0 ]; then ANSWER='[FAIL]' else ANSWER='[OK]' fi echo "Restarting PtokaX $ANSWER" } ptokax_status() { if [ `ps ax | grep "ptokax -d -c $PTOKAXPATH" | grep -v "grep" | wc -l` = 0 ]; then echo "No DC PtokaX HuB running..." else echo "DC PtokaX HuB server running..." fi }
case "$1" in 'start') ptokax_start ;; 'stop') ptokax_stop ;; 'status') ptokax_status ;; 'restart') ptokax_restart ;; *) # Default is "start", for backwards compatibility with previous echo "start|stop|status|restart" esac
It think, it will work 
|
|
|
|
« Last Edit: February 06, 2009, 11:34:32 PM by mariner »
|
Logged
|
Eat my bolts, bastard... © member of Devaster Squad
sudo ./configure_brain.sh
|
|
|
|
mariner
|
 |
« Reply #13 on: February 10, 2009, 11:26:32 PM » |
|
I make *.deb packages for ubuntu & debian 4 (and 5). I will put them in this topic after all tests.
PS sorry for my poor english.
|
|
|
|
|
Logged
|
Eat my bolts, bastard... © member of Devaster Squad
sudo ./configure_brain.sh
|
|
|
|
mariner
|
 |
« Reply #14 on: February 15, 2009, 01:02:32 AM » |
|
I can put deb-packages now. In archive you can find 2 deb-files: for ubuntu & debian You can install, remove & purge this packages. There are simple hub config in debs & docs in /usr/share/doc/ptokax Dependencies: For DEBIAN: aptitude install liblua5.1-0 liblua5.1-0-dbg liblua5.1-filesystem0 liblua5.1-posix1 liblua5.1-socket2 liblua5.1-sql-sqlite3-2 liblua5.1-xmlrpc0 zlib1g zlib1g-dbg liblua5.1-sql-mysql-2 For UBUNTU: aptitude install liblua5.1-0 liblua5.1-0-dbg liblua5.1-filesystem0 liblua5.1-posix0 liblua5.1-socket2 liblua5.1-sql-sqlite3-2 liblua5.1-xmlrpc0 zlib1g zlib1g-dbg liblua5.1-sql-mysql-2
|
|
|
|
Logged
|
Eat my bolts, bastard... © member of Devaster Squad
sudo ./configure_brain.sh
|
|
|
tony25
Newbie
Karma: +0/-2
Offline
Posts: 7
|
 |
« Reply #15 on: March 10, 2009, 08:55:34 PM » |
|
Hello there. Yesterday I installed PtokaX on my debian server and all went allright apart that inside the tar.gz that I downloaded from http://www.ptokax.org/downloads.html (PtokaX 0.4.1.1 PosiX source (was tested on Linux/FreeBSD) on the tinyxml folder there werent the needed files what in compile.txt says, I mean this files (tinystr.cpp tinystr.h tinyxml.cpp tinyxml.h tinyxmlerror.cpp tinyxmlparser.cpp) anyway I found my self tinyxml source on sourceforge.net and the compile went ok. But when I try to start the hub by typing ./PtokaX it says Starting failed. Any Idea? This is the first time I install ptokax on linux, do I need to setup anything before I start the hub or what? Any sugestion will be fine. Thanks!
|
|
|
|
|
Logged
|
|
|
|
|
CrazyGuy
|
 |
« Reply #16 on: March 11, 2009, 12:52:39 PM » |
|
Yes, you'll need to create a Settings.xml file in the /cfg folder with at least the HubAddress specified. Ohterwise PtokaX cannot open a listener socket and fails to start. If you're not using the default 411 port, you'll have to specify TCPPorts as well. <?xml version="1.0" encoding="windows-1252" standalone="yes" ?> <PtokaX Version="0.4.1.1"> <Strings> <String Name="HubAddress">127.0.0.1</String> </Strings> </PtokaX>
You may also want to create a RegisteredUsers.xml giving yourself an account so you can then modify the rest of the hub settings after login. <?xml version="1.0" encoding="windows-1252" standalone="yes" ?> <RegisteredUsers> <RegisteredUser> <Nick>CrazyGuy</Nick> <Password>1234</Password> <Profile>0</Profile> </RegisteredUser> </RegisteredUsers>
|
|
|
|
|
Logged
|
|
|
|
tony25
Newbie
Karma: +0/-2
Offline
Posts: 7
|
 |
« Reply #17 on: March 11, 2009, 05:05:12 PM » |
|
Thanks man. But I have another question. If I want to open more than 1 hub, I just have to do the same procedure? I mean install ptokax again create the xml settings files and than start each hub? Thanks
|
|
|
|
|
Logged
|
|
|
|
|
CrazyGuy
|
 |
« Reply #18 on: March 11, 2009, 07:40:49 PM » |
|
yes, that's it. When using Windows Service version, you can start multiple instances of the same hubsoft by specifying a different config folder per service. I don't know if the *nix version has this option as well. If so, I wouldn't know how it works as I'm not familiar with *nix.
|
|
|
|
|
Logged
|
|
|
|
tony25
Newbie
Karma: +0/-2
Offline
Posts: 7
|
 |
« Reply #19 on: March 11, 2009, 11:48:58 PM » |
|
Thanks for helping man man, I aprisciate 
|
|
|
|
|
Logged
|
|
|
|
PPK
Administrator
Emperor
   
Karma: +199/-16
Offline
Posts: 1 099
PtokaX "developer"
|
 |
« Reply #20 on: March 12, 2009, 05:02:31 AM » |
|
I don't know if the *nix version has this option as well.
Of course same option is in *nix version too, working same as on windoze 
|
|
|
|
|
Logged
|
|
|
|
|
CrazyGuy
|
 |
« Reply #21 on: March 12, 2009, 12:05:06 PM » |
|
nice 
|
|
|
|
|
Logged
|
|
|
|
|
PedroNeves
Guest
|
 |
« Reply #22 on: March 12, 2009, 04:17:35 PM » |
|
Ola gostaria de saber se a alguém se disponibiliza em criar um tutorial para ver se consigo por o ptokax a funcionar no linux (Ubuntu). Era urgente :S e que eu estou a realizar uma lan e queria por isto a correr em linux (Ubuntu) e que ja tentei seguir o que ta no tópico e nao consigo.
Obrigado fico a aguardar respostas
--------------------------------------------------------------------------------- Hello I would like to know if someone is available to create a tutorial for ptokax to work in linux (Ubuntu).
Thanks I am awaiting answers
|
|
|
|
|
Logged
|
|
|
|
tony25
Newbie
Karma: +0/-2
Offline
Posts: 7
|
 |
« Reply #23 on: March 19, 2009, 12:47:59 PM » |
|
Hello guys. It's one thing I dont understand, when I run ptokax then the terminal get blocked, so I can use it anymore till ptokax is shutdown. Sure I can run it using screens, but isnt there any other way?
|
|
|
|
|
Logged
|
|
|
|
|
mariner
|
 |
« Reply #24 on: March 19, 2009, 01:31:17 PM » |
|
use init.d scripts. Example of this script was posted by me ^_^ in this topic later.
|
|
|
|
|
Logged
|
Eat my bolts, bastard... © member of Devaster Squad
sudo ./configure_brain.sh
|
|
|
tony25
Newbie
Karma: +0/-2
Offline
Posts: 7
|
 |
« Reply #25 on: March 23, 2009, 02:49:10 PM » |
|
Oh only now I see your script mariner, greate idea, but I have a few questions again. I have to run more than 3 ptokax on my server so to use your script, can I just change the path inside the script for each pto and name the 3 scripts for example pto1.sh pto2.sh pto3.sh, place them on init.d directory (or I can place each script on its own pto folder) and then start each hub with its own script? Can it work like this? Second question is, when I restart server this script starts pto hub in automatic? (sure if they are located on init.d folcer and its not a problem if it does not). And third question is, the lua scripts that are used on pto v. 0.4.1.1 for windows, are they compatible within the 0.4.1.1 linux version with lua 5.1? Thanks for your help, I aprishiate  PS: I have debian etch 4 and I allready have installed liblua5.1-0 liblua5.1-0-dev lua5.1, but I really have to install this other dipendeces too? --> (liblua5.1-filesystem0 liblua5.1-socket2 liblua5.1-sql-mysql-2 liblua5.1-sql-sqlite3-2 zlib1g-dev), because on the compile.txt located on ptokax source is requested only this: PtokaX need for compiling packages: g++ (name in Debian) make (name in Debian) liblua5.1 + liblua5.1-dev (names in Debian) zlib1g + zlib1g-dev (names in Debian) TinyXml
|
|
|
|
« Last Edit: March 23, 2009, 03:25:57 PM by tony25 »
|
Logged
|
|
|
|
tony25
Newbie
Karma: +0/-2
Offline
Posts: 7
|
 |
« Reply #26 on: March 26, 2009, 02:33:29 PM » |
|
Mariner, when I try to start hub with yoour script I get this:
$/etc/init.d/scriptname start /etc/init.d/scriptname: line 7: /usr/sbin/ptokax: No such file or direcotry Starting PtokaX [FAIL]
Any idea?
|
|
|
|
|
Logged
|
|
|
|
P_pan
Double Ace
Karma: +1/-3
Offline
Posts: 110
|
 |
« Reply #27 on: April 08, 2009, 05:26:14 PM » |
|
|
|
|
|
« Last Edit: April 09, 2009, 06:04:08 PM by P_pan »
|
Logged
|
|
|
|
Alexinno
Double Ace
Karma: +13/-2
Offline
Posts: 121
-= Hard work makes dreams come true =-
|
 |
« Reply #28 on: May 23, 2009, 06:55:40 AM » |
|
hey guys , nobody found a solution to compile px on other linux distros than debian based ones? #LE: i managed to compile it with a few symlinks on Fedora 9 and CentOs 5.2 
|
|
|
|
« Last Edit: May 23, 2009, 08:49:25 AM by Alexinno »
|
Logged
|
|
|
|
PPK
Administrator
Emperor
   
Karma: +199/-16
Offline
Posts: 1 099
PtokaX "developer"
|
 |
« Reply #29 on: May 23, 2009, 10:55:43 AM » |
|
Of course it was compiled on other distros than debian. I'm remember Suse, CentOs and Gentoo 
|
|
|
|
|
Logged
|
|
|
|
Alexinno
Double Ace
Karma: +13/-2
Offline
Posts: 121
-= Hard work makes dreams come true =-
|
 |
« Reply #30 on: May 23, 2009, 02:30:07 PM » |
|
for this kind of error /usr/src/PtokaX/src/LuaBanManLib.cpp:1508: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018int RangeTempBan(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:1564: error: \u2018lua_tolstring\u2019 was not declared in this scope /usr/src/PtokaX/src/LuaBanManLib.cpp: In function \u2018void RegBanMan(lua_State*)\u2019: /usr/src/PtokaX/src/LuaBanManLib.cpp:1642: error: \u2018luaL_register\u2019 was not declared in this scope make: *** [/usr/src/PtokaX/obj/LuaBanManLib.o] Error 1 try this solution on Fedora,CentOS,RedHat cd /usr/include/ mkdir lua5.1 cp lauxlib.h luaconf.h lua.h lua.hpp lualib.h lua5.1/ and try to compile px after that
|
|
|
|
|
Logged
|
|
|
|
|
mariner
|
 |
« Reply #31 on: May 30, 2009, 10:04:31 PM » |
|
Mariner, when I try to start hub with yoour script I get this:
$/etc/init.d/scriptname start /etc/init.d/scriptname: line 7: /usr/sbin/ptokax: No such file or direcotry Starting PtokaX [FAIL]
Any idea?
if you use my script - you must put ptokax binary in /usr/sbin/ Also, this script hfve some options. You can change ptokax config directory. Create different dirs and defferent init.d scripts.
|
|
|
|
|
Logged
|
Eat my bolts, bastard... © member of Devaster Squad
sudo ./configure_brain.sh
|
|
|
imperatorrkl
Newbie
Karma: +0/-0
Offline
Posts: 2
|
 |
« Reply #32 on: January 27, 2010, 02:30:13 AM » |
|
I hav installed the .deb packages that u have posted But thr is a problem How to manage the settings of the hub changing the files in /usr/share/doc/ptokax/ does not hav any effect
|
|
|
|
|
Logged
|
|
|
|
bofh19
Newbie
Karma: +0/-0
Offline
Posts: 6
|
 |
« Reply #33 on: July 30, 2010, 08:55:25 PM » |
|
#******************************************************************************* # # Makefile for PtokaX. # #*******************************************************************************
#******************************************************************************* # Compiler #******************************************************************************* CXX = g++
#******************************************************************************* # Debug flags #******************************************************************************* CXXFLAGS = -g -Wall -llua -ldl
#******************************************************************************* # Release flags #******************************************************************************* #CXXFLAGS = -O -Wall
#******************************************************************************* # Include #******************************************************************************* INCLUDE = -Itinyxml -I/usr/include -I/usr/local/include -I/usr/include/lua5.1 -I/usr/pkg/include -I/usr/include/lua -I/usr/include/lua/5.1 -I/usr/local/lib/
#******************************************************************************* # Binary to create # # Lua in Debian is lua5.1. Other known names are lua-5.1, lua51 and lua. # If you have Lua lib with another name than lua5.1 change it in -llua5.1. # # In case when you don't have Lua as dynamic library (in debian liblua5.1.so) # but as static library (liblua.a default when you compile Lua from sources) # then remove -llua5.1 and after tinyxml/tinyxml.a add /usr/local/lib/liblua.a (default path when is Lua compiled from sources). #******************************************************************************* PtokaX: $(CURDIR)/obj/ClientTagManager.o $(CURDIR)/obj/colUsers.o $(CURDIR)/obj/DcCommands.o $(CURDIR)/obj/DeFlood.o $(CURDIR)/obj/eventqueue.o $(CURDIR)/obj/globalQueue.o $(CURDIR)/obj/hashBanManager.o $(CURDIR)/obj/hashUsrManager.o \ $(CURDIR)/obj/hashRegManager.o $(CURDIR)/obj/HubCommands.o $(CURDIR)/obj/IP2Country.o $(CURDIR)/obj/LanguageManager.o $(CURDIR)/obj/LuaBanManLib.o $(CURDIR)/obj/LuaCoreLib.o $(CURDIR)/obj/LuaIP2CountryLib.o $(CURDIR)/obj/LuaProfManLib.o \ $(CURDIR)/obj/LuaRegManLib.o $(CURDIR)/obj/LuaScript.o $(CURDIR)/obj/LuaScriptManager.o $(CURDIR)/obj/LuaScriptManLib.o $(CURDIR)/obj/LuaSetManLib.o $(CURDIR)/obj/LuaTmrManLib.o $(CURDIR)/obj/LuaUDPDbgLib.o $(CURDIR)/obj/ProfileManager.o \ $(CURDIR)/obj/PtokaX.o $(CURDIR)/obj/pxstring.o $(CURDIR)/obj/RegThread.o $(CURDIR)/obj/ResNickManager.o $(CURDIR)/obj/ServerManager.o $(CURDIR)/obj/ServerThread.o $(CURDIR)/obj/serviceLoop.o $(CURDIR)/obj/SettingManager.o \ $(CURDIR)/obj/TextFileManager.o $(CURDIR)/obj/UdpDebug.o $(CURDIR)/obj/UDPThread.o $(CURDIR)/obj/User.o $(CURDIR)/obj/utility.o $(CURDIR)/obj/ZlibUtility.o $(CXX) -lpthread -lz -lrt -o PtokaX \ $(CURDIR)/obj/ClientTagManager.o $(CURDIR)/obj/colUsers.o $(CURDIR)/obj/DcCommands.o $(CURDIR)/obj/DeFlood.o $(CURDIR)/obj/eventqueue.o $(CURDIR)/obj/globalQueue.o $(CURDIR)/obj/hashBanManager.o $(CURDIR)/obj/hashUsrManager.o \ $(CURDIR)/obj/hashRegManager.o $(CURDIR)/obj/HubCommands.o $(CURDIR)/obj/IP2Country.o $(CURDIR)/obj/LanguageManager.o $(CURDIR)/obj/LuaBanManLib.o $(CURDIR)/obj/LuaCoreLib.o $(CURDIR)/obj/LuaIP2CountryLib.o \ $(CURDIR)/obj/LuaProfManLib.o $(CURDIR)/obj/LuaRegManLib.o $(CURDIR)/obj/LuaScript.o $(CURDIR)/obj/LuaScriptManager.o $(CURDIR)/obj/LuaScriptManLib.o $(CURDIR)/obj/LuaSetManLib.o $(CURDIR)/obj/LuaTmrManLib.o \ $(CURDIR)/obj/LuaUDPDbgLib.o $(CURDIR)/obj/ProfileManager.o $(CURDIR)/obj/PtokaX.o $(CURDIR)/obj/pxstring.o $(CURDIR)/obj/RegThread.o $(CURDIR)/obj/ResNickManager.o $(CURDIR)/obj/ServerManager.o $(CURDIR)/obj/ServerThread.o \ $(CURDIR)/obj/serviceLoop.o $(CURDIR)/obj/SettingManager.o $(CURDIR)/obj/TextFileManager.o $(CURDIR)/obj/UdpDebug.o $(CURDIR)/obj/UDPThread.o $(CURDIR)/obj/User.o $(CURDIR)/obj/utility.o $(CURDIR)/obj/ZlibUtility.o \ $(CURDIR)/tinyxml/tinyxml.a /usr/local/lib/liblua.a -llua -ldl
#******************************************************************************* # Files to compile #******************************************************************************* $(CURDIR)/obj/ClientTagManager.o: $(CURDIR)/src/ClientTagManager.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h \ $(CURDIR)/src/ClientTagManager.h $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/ClientTagManager.cpp -o $(CURDIR)/obj/ClientTagManager.o
$(CURDIR)/obj/colUsers.o: $(CURDIR)/src/colUsers.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/colUsers.h $(CURDIR)/src/globalQueue.h \ $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h $(CURDIR)/src/ProfileManager.h $(CURDIR)/src/ServerManager.h \ $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/colUsers.cpp -o $(CURDIR)/obj/colUsers.o
$(CURDIR)/obj/DcCommands.o: $(CURDIR)/src/DcCommands.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/DcCommands.h $(CURDIR)/src/colUsers.h \ $(CURDIR)/src/globalQueue.h $(CURDIR)/src/hashBanManager.h $(CURDIR)/src/hashRegManager.h $(CURDIR)/src/hashUsrManager.h \ $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/ProfileManager.h \ $(CURDIR)/src/ServerManager.h $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/User.h \ $(CURDIR)/src/utility.h $(CURDIR)/src/ZlibUtility.h $(CURDIR)/src/DeFlood.h $(CURDIR)/src/HubCommands.h $(CURDIR)/src/IP2Country.h \ $(CURDIR)/src/ResNickManager.h $(CURDIR)/src/TextFileManager.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/DcCommands.cpp -o $(CURDIR)/obj/DcCommands.o
$(CURDIR)/obj/DeFlood.o: $(CURDIR)/src/DeFlood.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/globalQueue.h $(CURDIR)/src/hashBanManager.h \ $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h $(CURDIR)/src/ServerManager.h $(CURDIR)/src/SettingManager.h \ $(CURDIR)/src/SettingIds.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CURDIR)/src/DeFlood.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/DeFlood.cpp -o $(CURDIR)/obj/DeFlood.o
$(CURDIR)/obj/eventqueue.o: $(CURDIR)/src/eventqueue.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/eventqueue.h \ $(CURDIR)/src/DcCommands.h $(CURDIR)/src/hashUsrManager.h $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/ServerManager.h \ $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CURDIR)/src/LuaScript.h \ $(CURDIR)/src/RegThread.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/eventqueue.cpp -o $(CURDIR)/obj/eventqueue.o
$(CURDIR)/obj/globalQueue.o: $(CURDIR)/src/globalQueue.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/globalQueue.h \ $(CURDIR)/src/colUsers.h $(CURDIR)/src/ProfileManager.h $(CURDIR)/src/serviceLoop.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/globalQueue.cpp -o $(CURDIR)/obj/globalQueue.o
$(CURDIR)/obj/hashBanManager.o: $(CURDIR)/src/hashBanManager.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/hashBanManager.h \ $(CURDIR)/src/hashUsrManager.h $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/hashBanManager.cpp -o $(CURDIR)/obj/hashBanManager.o
$(CURDIR)/obj/hashUsrManager.o: $(CURDIR)/src/hashUsrManager.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/hashUsrManager.h \ $(CURDIR)/src/hashBanManager.h $(CURDIR)/src/hashRegManager.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/hashUsrManager.cpp -o $(CURDIR)/obj/hashUsrManager.o
$(CURDIR)/obj/hashRegManager.o: $(CURDIR)/src/hashRegManager.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/hashRegManager.h \ $(CURDIR)/src/hashUsrManager.h $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h $(CURDIR)/src/ProfileManager.h \ $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/hashRegManager.cpp -o $(CURDIR)/obj/hashRegManager.o
$(CURDIR)/obj/HubCommands.o: $(CURDIR)/src/HubCommands.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/colUsers.h \ $(CURDIR)/src/DcCommands.h $(CURDIR)/src/eventqueue.h $(CURDIR)/src/globalQueue.h $(CURDIR)/src/hashBanManager.h \ $(CURDIR)/src/hashRegManager.h $(CURDIR)/src/hashUsrManager.h $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h \ $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/ProfileManager.h $(CURDIR)/src/ServerManager.h $(CURDIR)/src/serviceLoop.h \ $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CURDIR)/src/HubCommands.h \ $(CURDIR)/src/IP2Country.h $(CURDIR)/src/LuaScript.h $(CURDIR)/src/TextFileManager.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/HubCommands.cpp -o $(CURDIR)/obj/HubCommands.o
$(CURDIR)/obj/IP2Country.o: $(CURDIR)/src/IP2Country.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/IP2Country.h $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/IP2Country.cpp -o $(CURDIR)/obj/IP2Country.o
$(CURDIR)/obj/LanguageManager.o: $(CURDIR)/src/LanguageManager.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/LanguageXml.h \ $(CURDIR)/src/LanguageStrings.h $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h $(CURDIR)/src/SettingManager.h \ $(CURDIR)/src/SettingIds.h $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/LanguageManager.cpp -o $(CURDIR)/obj/LanguageManager.o
$(CURDIR)/obj/LuaBanManLib.o: $(CURDIR)/src/LuaBanManLib.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/LuaInc.h \ $(CURDIR)/src/LuaBanManLib.h $(CURDIR)/src/hashBanManager.h $(CURDIR)/src/hashUsrManager.h $(CURDIR)/src/LuaScriptManager.h \ $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CURDIR)/src/LuaScript.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/LuaBanManLib.cpp -o $(CURDIR)/obj/LuaBanManLib.o
$(CURDIR)/obj/LuaCoreLib.o: $(CURDIR)/src/LuaCoreLib.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/LuaInc.h $(CURDIR)/src/LuaCoreLib.h \ $(CURDIR)/src/colUsers.h $(CURDIR)/src/eventqueue.h $(CURDIR)/src/globalQueue.h $(CURDIR)/src/hashBanManager.h $(CURDIR)/src/hashUsrManager.h \ $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/ServerManager.h \ $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CURDIR)/src/IP2Country.h \ $(CURDIR)/src/ResNickManager.h $(CURDIR)/src/LuaScript.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/LuaCoreLib.cpp -o $(CURDIR)/obj/LuaCoreLib.o
$(CURDIR)/obj/LuaIP2CountryLib.o: $(CURDIR)/src/LuaIP2CountryLib.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/LuaInc.h \ $(CURDIR)/src/LuaIP2CountryLib.h $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CURDIR)/src/IP2Country.h \ $(CURDIR)/src/LuaScript.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/LuaIP2CountryLib.cpp -o $(CURDIR)/obj/LuaIP2CountryLib.o
$(CURDIR)/obj/LuaProfManLib.o: $(CURDIR)/src/LuaProfManLib.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/LuaInc.h \ $(CURDIR)/src/LuaProfManLib.h $(CURDIR)/src/ProfileManager.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/LuaProfManLib.cpp -o $(CURDIR)/obj/LuaProfManLib.o
$(CURDIR)/obj/LuaRegManLib.o: $(CURDIR)/src/LuaRegManLib.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/LuaInc.h \ $(CURDIR)/src/LuaRegManLib.h $(CURDIR)/src/colUsers.h $(CURDIR)/src/globalQueue.h $(CURDIR)/src/hashRegManager.h $(CURDIR)/src/hashUsrManager.h \ $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/ProfileManager.h $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h \ $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/LuaRegManLib.cpp -o $(CURDIR)/obj/LuaRegManLib.o
$(CURDIR)/obj/LuaScript.o: $(CURDIR)/src/LuaScript.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/LuaInc.h $(CURDIR)/src/colUsers.h \ $(CURDIR)/src/eventqueue.h $(CURDIR)/src/globalQueue.h $(CURDIR)/src/hashUsrManager.h $(CURDIR)/src/LanguageManager.h \ $(CURDIR)/src/LanguageIds.h $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/ServerManager.h $(CURDIR)/src/SettingManager.h \ $(CURDIR)/src/SettingIds.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CURDIR)/src/LuaScript.h $(CURDIR)/src/IP2Country.h \ $(CURDIR)/src/LuaCoreLib.h $(CURDIR)/src/LuaBanManLib.h $(CURDIR)/src/LuaIP2CountryLib.h $(CURDIR)/src/LuaProfManLib.h \ $(CURDIR)/src/LuaRegManLib.h $(CURDIR)/src/LuaScriptManLib.h $(CURDIR)/src/LuaSetManLib.h $(CURDIR)/src/LuaTmrManLib.h \ $(CURDIR)/src/LuaUDPDbgLib.h $(CURDIR)/src/ResNickManager.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/LuaScript.cpp -o $(CURDIR)/obj/LuaScript.o
$(CURDIR)/obj/LuaScriptManager.o: $(CURDIR)/src/LuaScriptManager.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/LuaInc.h \ $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/ServerManager.h $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/User.h \ $(CURDIR)/src/utility.h $(CURDIR)/src/LuaScript.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/LuaScriptManager.cpp -o $(CURDIR)/obj/LuaScriptManager.o
$(CURDIR)/obj/LuaScriptManLib.o: $(CURDIR)/src/LuaScriptManLib.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/LuaInc.h \ $(CURDIR)/src/LuaScriptManLib.h $(CURDIR)/src/eventqueue.h $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/utility.h $(CURDIR)/src/LuaScript.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/LuaScriptManLib.cpp -o $(CURDIR)/obj/LuaScriptManLib.o
$(CURDIR)/obj/LuaSetManLib.o: $(CURDIR)/src/LuaSetManLib.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/LuaInc.h \ $(CURDIR)/src/LuaSetManLib.h $(CURDIR)/src/eventqueue.h $(CURDIR)/src/hashUsrManager.h $(CURDIR)/src/LuaScriptManager.h \ $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/LuaSetManLib.cpp -o $(CURDIR)/obj/LuaSetManLib.o
$(CURDIR)/obj/LuaTmrManLib.o: $(CURDIR)/src/LuaTmrManLib.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/LuaInc.h \ $(CURDIR)/src/LuaTmrManLib.h $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/scrtmrinc.h $(CURDIR)/src/utility.h $(CURDIR)/src/LuaScript.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/LuaTmrManLib.cpp -o $(CURDIR)/obj/LuaTmrManLib.o
$(CURDIR)/obj/LuaUDPDbgLib.o: $(CURDIR)/src/LuaUDPDbgLib.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/LuaInc.h \ $(CURDIR)/src/LuaUDPDbgLib.h $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/utility.h $(CURDIR)/src/LuaScript.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/LuaUDPDbgLib.cpp -o $(CURDIR)/obj/LuaUDPDbgLib.o
$(CURDIR)/obj/ProfileManager.o: $(CURDIR)/src/ProfileManager.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/ProfileManager.h \ $(CURDIR)/src/colUsers.h $(CURDIR)/src/hashRegManager.h $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h \ $(CURDIR)/src/ServerManager.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/ProfileManager.cpp -o $(CURDIR)/obj/ProfileManager.o
$(CURDIR)/obj/PtokaX.o: $(CURDIR)/src/PtokaX-nix.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h \ $(CURDIR)/src/regtmrinc.h $(CURDIR)/src/scrtmrinc.h $(CURDIR)/src/ServerManager.h $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/PtokaX-nix.cpp -o $(CURDIR)/obj/PtokaX.o
$(CURDIR)/obj/pxstring.o: $(CURDIR)/src/pxstring.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/pxstring.cpp -o $(CURDIR)/obj/pxstring.o
$(CURDIR)/obj/RegThread.o: $(CURDIR)/src/RegThread.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/eventqueue.h \ $(CURDIR)/src/ServerManager.h $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/utility.h $(CURDIR)/src/RegThread.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/RegThread.cpp -o $(CURDIR)/obj/RegThread.o
$(CURDIR)/obj/ResNickManager.o: $(CURDIR)/src/ResNickManager.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/ResNickManager.h \ $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/ResNickManager.cpp -o $(CURDIR)/obj/ResNickManager.o
$(CURDIR)/obj/ServerManager.o: $(CURDIR)/src/ServerManager.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/ServerManager.h \ $(CURDIR)/src/colUsers.h $(CURDIR)/src/DcCommands.h $(CURDIR)/src/eventqueue.h $(CURDIR)/src/globalQueue.h $(CURDIR)/src/hashBanManager.h \ $(CURDIR)/src/hashUsrManager.h $(CURDIR)/src/hashRegManager.h $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h \ $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/ProfileManager.h $(CURDIR)/src/regtmrinc.h $(CURDIR)/src/serviceLoop.h $(CURDIR)/src/SettingManager.h \ $(CURDIR)/src/SettingIds.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/utility.h $(CURDIR)/src/ZlibUtility.h $(CURDIR)/src/ClientTagManager.h \ $(CURDIR)/src/HubCommands.h $(CURDIR)/src/IP2Country.h $(CURDIR)/src/RegThread.h $(CURDIR)/src/ResNickManager.h $(CURDIR)/src/ServerThread.h \ $(CURDIR)/src/TextFileManager.h $(CURDIR)/src/UDPThread.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/ServerManager.cpp -o $(CURDIR)/obj/ServerManager.o
$(CURDIR)/obj/ServerThread.o: $(CURDIR)/src/ServerThread.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/eventqueue.h \ $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h $(CURDIR)/src/ServerManager.h $(CURDIR)/src/serviceLoop.h \ $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/utility.h $(CURDIR)/src/ServerThread.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/ServerThread.cpp -o $(CURDIR)/obj/ServerThread.o
$(CURDIR)/obj/serviceLoop.o: $(CURDIR)/src/serviceLoop.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/serviceLoop.h \ $(CURDIR)/src/colUsers.h $(CURDIR)/src/eventqueue.h $(CURDIR)/src/globalQueue.h $(CURDIR)/src/hashBanManager.h $(CURDIR)/src/hashUsrManager.h \ $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/ProfileManager.h $(CURDIR)/src/regtmrinc.h \ $(CURDIR)/src/scrtmrinc.h $(CURDIR)/src/ServerManager.h $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/User.h \ $(CURDIR)/src/utility.h $(CURDIR)/src/ZlibUtility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/serviceLoop.cpp -o $(CURDIR)/obj/serviceLoop.o
$(CURDIR)/obj/SettingManager.o: $(CURDIR)/src/SettingManager.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/SettingXml.h \ $(CURDIR)/src/SettingDefaults.h $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/colUsers.h \ $(CURDIR)/src/globalQueue.h $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h $(CURDIR)/src/LuaScriptManager.h \ $(CURDIR)/src/ProfileManager.h $(CURDIR)/src/ServerManager.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CURDIR)/src/ResNickManager.h \ $(CURDIR)/src/ServerThread.h $(CURDIR)/src/TextFileManager.h $(CURDIR)/src/UDPThread.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/SettingManager.cpp -o $(CURDIR)/obj/SettingManager.o
$(CURDIR)/obj/TextFileManager.o: $(CURDIR)/src/TextFileManager.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h \ $(CURDIR)/src/TextFileManager.h $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/User.h $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/TextFileManager.cpp -o $(CURDIR)/obj/TextFileManager.o
$(CURDIR)/obj/UdpDebug.o: $(CURDIR)/src/UdpDebug.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/LanguageManager.h \ $(CURDIR)/src/LanguageIds.h $(CURDIR)/src/ServerManager.h $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/User.h \ $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/UdpDebug.cpp -o $(CURDIR)/obj/UdpDebug.o
$(CURDIR)/obj/UDPThread.o: $(CURDIR)/src/UDPThread.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/eventqueue.h \ $(CURDIR)/src/ServerManager.h $(CURDIR)/src/SettingManager.h $(CURDIR)/src/SettingIds.h $(CURDIR)/src/utility.h $(CURDIR)/src/UDPThread.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/UDPThread.cpp -o $(CURDIR)/obj/UDPThread.o
$(CURDIR)/obj/User.o: $(CURDIR)/src/User.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/User.h $(CURDIR)/src/colUsers.h $(CURDIR)/src/DcCommands.h \ $(CURDIR)/src/globalQueue.h $(CURDIR)/src/hashUsrManager.h $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h \ $(CURDIR)/src/LuaScriptManager.h $(CURDIR)/src/ProfileManager.h $(CURDIR)/src/ServerManager.h $(CURDIR)/src/SettingManager.h \ $(CURDIR)/src/SettingIds.h $(CURDIR)/src/utility.h $(CURDIR)/src/UdpDebug.h $(CURDIR)/src/ZlibUtility.h $(CURDIR)/src/ClientTagManager.h \ $(CURDIR)/src/DeFlood.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/User.cpp -o $(CURDIR)/obj/User.o
$(CURDIR)/obj/utility.o: $(CURDIR)/src/utility.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/utility.h $(CURDIR)/src/hashBanManager.h \ $(CURDIR)/src/LanguageManager.h $(CURDIR)/src/LanguageIds.h $(CURDIR)/src/ServerManager.h $(CURDIR)/src/SettingManager.h \ $(CURDIR)/src/SettingIds.h $(CURDIR)/src/UdpDebug.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/utility.cpp -o $(CURDIR)/obj/utility.o
$(CURDIR)/obj/ZlibUtility.o: $(CURDIR)/src/ZlibUtility.cpp $(CURDIR)/src/stdinc.h $(CURDIR)/src/pxstring.h $(CURDIR)/src/ZlibUtility.h \ $(CURDIR)/src/utility.h $(CXX) $(CXXFLAGS) $(INCLUDE) -c $(CURDIR)/src/ZlibUtility.cpp -o $(CURDIR)/obj/ZlibUtility.o
#******************************************************************************* # Cleanup #******************************************************************************* clean: -rm $(CURDIR)/obj/ClientTagManager.o $(CURDIR)/obj/colUsers.o $(CURDIR)/obj/DcCommands.o $(CURDIR)/obj/DeFlood.o $(CURDIR)/obj/eventqueue.o $(CURDIR)/obj/globalQueue.o $(CURDIR)/obj/hashBanManager.o $(CURDIR)/obj/hashUsrManager.o \ $(CURDIR)/obj/hashRegManager.o $(CURDIR)/obj/HubCommands.o $(CURDIR)/obj/IP2Country.o $(CURDIR)/obj/LanguageManager.o $(CURDIR)/obj/LuaBanManLib.o $(CURDIR)/obj/LuaCoreLib.o $(CURDIR)/obj/LuaIP2CountryLib.o \ $(CURDIR)/obj/LuaProfManLib.o $(CURDIR)/obj/LuaRegManLib.o $(CURDIR)/obj/LuaScript.o $(CURDIR)/obj/LuaScriptManager.o $(CURDIR)/obj/LuaScriptManLib.o $(CURDIR)/obj/LuaSetManLib.o $(CURDIR)/obj/LuaTmrManLib.o \ $(CURDIR)/obj/LuaUDPDbgLib.o $(CURDIR)/obj/ProfileManager.o $(CURDIR)/obj/PtokaX.o $(CURDIR)/obj/pxstring.o $(CURDIR)/obj/RegThread.o $(CURDIR)/obj/ResNickManager.o $(CURDIR)/obj/ServerManager.o $(CURDIR)/obj/ServerThread.o \ $(CURDIR)/obj/serviceLoop.o $(CURDIR)/obj/SettingManager.o $(CURDIR)/obj/TextFileManager.o $(CURDIR)/obj/UdpDebug.o $(CURDIR)/obj/UDPThread.o $(CURDIR)/obj/User.o $(CURDIR)/obj/utility.o $(CURDIR)/obj/ZlibUtility.o PtokaX this make file worked for me in f13 after downloading and install lua from www.lua.org/
|
|
|
|
|
Logged
|
|
|
|
|