Tipologie server: PvM
*Resursă folosită: *ServerFiles utilizat: *Syserr:
Bilgiler ;
Yetkili Bilgileri
gm id : tilki
şifre : 1
g.şifre : 12345
Oyun Bilgileri ;
Mysql şifresi : 5
Genel Bilgilendirme
Oyun tüm güncellemeleri yapılıp 2019 tarihinde saat 05:16'da yedek alınmıştır.
Atılan game.tar.gz içinde mb yuksek olmasın diye game ve db sılınmıştır sunucuya oyunu ve srcleri kurup önce build edilmeli ardından /usr/game/share/bin konumuna 777 izni verilip oyun açılmalı.
Build sonucunda çıkan game /usr/game/share/bin adresine otomatik gider.
Kaynak kodları gmake49 desteklidir sunucuya ona göre libler atılmalı gmake49 kurulumları yapılmalıdır.
İp Lisans İçin Yapılması Gerekenler ;
game/src > config.cpp açılır ve aratılır
std::string lisans1 = /*192.168.1.100*/XorStr<0x02,14,0xB21251F6>("\x33\x3B\x31\x2B\x34\x37\x3F\x27\x39\x33\x22\x38\x3A"+0xB21251F6).s; //Abra2 Lisans
kodundaki /*192.168.1.100*/ yerine sunucu ipsi yazılır örn /*111.222.3.444*/ ve oyun build edilir.
Aici nu prea inteleg eu...Am pus ip meu unde am gasit 192.168.1.100. Specific ca sunt incepator, abia am invatat cate ceva...si nu sunt marele tehnician.
Yetkili Bilgileri
gm id : tilki
şifre : 1
g.şifre : 12345
Oyun Bilgileri ;
Mysql şifresi : 5
Genel Bilgilendirme
Oyun tüm güncellemeleri yapılıp 2019 tarihinde saat 05:16'da yedek alınmıştır.
Atılan game.tar.gz içinde mb yuksek olmasın diye game ve db sılınmıştır sunucuya oyunu ve srcleri kurup önce build edilmeli ardından /usr/game/share/bin konumuna 777 izni verilip oyun açılmalı.
Build sonucunda çıkan game /usr/game/share/bin adresine otomatik gider.
Kaynak kodları gmake49 desteklidir sunucuya ona göre libler atılmalı gmake49 kurulumları yapılmalıdır.
İp Lisans İçin Yapılması Gerekenler ;
game/src > config.cpp açılır ve aratılır
std::string lisans1 = /*192.168.1.100*/XorStr<0x02,14,0xB21251F6>("\x33\x3B\x31\x2B\x34\x37\x3F\x27\x39\x33\x22\x38\x3A"+0xB21251F6).s; //Abra2 Lisans
kodundaki /*192.168.1.100*/ yerine sunucu ipsi yazılır örn /*111.222.3.444*/ ve oyun build edilir.
Aici nu prea inteleg eu...Am pus ip meu unde am gasit 192.168.1.100. Specific ca sunt incepator, abia am invatat cate ceva...si nu sunt marele tehnician.
*Detalii suplimentare: Daca fac alt start.sh, imi zice ca trebuie verificata licienta... Incerc sa-l deschid pe sh run.sh, imi schimba din 777 in 744 si nu porneste sv. Mai trebuie schimbat ip-ul undeva?!
Si aici e run.sh
#!/bin/sh
# This script is only here for convience
# It calls all other autorun shellscripts in the
# various subdirectories.
if [ `id -u` = "root" ]; then
echo "This script must not be run as root" 1>&2
exit 1
fi
ROOT=$PWD
cd $ROOT && sh clear.sh
chmod u=rwx,g=r,o=r $ROOT/share/bin/game
chmod u=rwx,g=r,o=r $ROOT/share/bin/db
chmod u=rwx,g=r,o=r $ROOT/share/bin/vrunner
chmod u=rwx,g=r,o=r $ROOT/share/bin/CMD
find . -type d -exec chmod u=rwx,g=rx,o=rx {} \;
find . -name "*.sh" -exec chmod u=rwx,g=r,o=r {} \;
# First launch the database loop
clear
echo -e "\033[32mKac kanal acmak istiyorsun? (max:4)\033[0m"
read chs
case $chs in
1*)
clear
echo -e "\033[32m-- OYUN BASLATILIYOR --\033[0m"
# Then the db server loop
echo -e "Database baslatiliyor"
cd $ROOT/core/db && sh run.sh
sleep 2
# Then the auth server loop
echo -e "Auth baslatiliyor"
cd $ROOT/core/auth && sh run.sh
sleep 2
# Then the ch1 server loop
echo "Ch1 baslatiliyor"
cd $ROOT/core/ch1/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch1/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch1/first && sh run.sh
sleep 2
# Then the game99 server loop
echo -e "Game99 baslatiliyor"
cd $ROOT/core/game99 && sh run.sh
sleep 2
echo -e "\033[32m-- OYUN AKTIF --\033[0m"
;;
2*)
clear
echo -e "\033[32m-- OYUN BASLATILIYOR --\033[0m"
# Then the db server loop
echo "Database baslatiliyor"
cd $ROOT/core/db && sh run.sh
sleep 2
# Then the auth server loop
echo "Auth baslatiliyor"
cd $ROOT/core/auth && sh run.sh
sleep 2
# Then the ch1 server loop
echo "Ch1 baslatiliyor"
cd $ROOT/core/ch1/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch1/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch1/first && sh run.sh
sleep 2
# Then the ch2 server loop
echo "Ch2 baslatiliyor"
cd $ROOT/core/ch2/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch2/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch2/first && sh run.sh
sleep 2
# Then the game99 server loop
echo "Game99 baslatiliyor"
cd $ROOT/core/game99 && sh run.sh
sleep 2
echo -e "\033[32m-- OYUN AKTIF --\033[0m"
;;
3*)
clear
echo -e "\033[32m-- OYUN BASLATILIYOR --\033[0m"
# Then the ch3 server loop
echo "Ch3 baslatiliyor"
cd $ROOT/core/ch3/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch3/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch3/first && sh run.sh
sleep 2
echo -e "\033[32m-- OYUN AKTIF --\033[0m"
;;
4*)
clear
echo -e "\033[32m-- OYUN BASLATILIYOR --\033[0m"
# Then the db server loop
echo "Database baslatiliyor"
cd $ROOT/core/db && sh run.sh
sleep 2
# Then the auth server loop
echo "Auth baslatiliyor"
cd $ROOT/core/auth && sh run.sh
sleep 2
# Then the ch1 server loop
echo "Ch1 baslatiliyor"
cd $ROOT/core/ch1/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch1/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch1/first && sh run.sh
sleep 2
# Then the ch2 server loop
echo "Ch2 baslatiliyor"
cd $ROOT/core/ch2/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch2/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch2/first && sh run.sh
sleep 2
# Then the ch3 server loop
echo "Ch3 baslatiliyor"
cd $ROOT/core/ch3/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch3/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch3/first && sh run.sh
sleep 2
# Then the ch4 server loop
echo "Ch4 baslatiliyor"
cd $ROOT/core/ch4/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch4/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch4/first && sh run.sh
sleep 2
# Then te ch4 server loop
echo "Ch5 baslatiliyor"
cd $ROOT/core/ch5/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch5/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch5/first && sh run.sh
sleep 2
# Then te ch4 server loop
echo "Ch6 baslatiliyor"
cd $ROOT/core/ch6/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch6/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch6/first && sh run.sh
sleep 2
# Then the game99 server loop
echo "Game99 baslatiliyor"
cd $ROOT/core/game99 && sh run.sh
sleep 2
echo -e "\033[32m-- OYUN AKTIF --\033[0m"
;;
5*)
clear
echo -e "\033[32m-- OYUN BASLATILIYOR --\033[0m"
# Then the ch3 server loop
echo "Ch3 baslatiliyor"
cd $ROOT/core/ch3/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch3/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch3/first && sh run.sh
sleep 2
echo -e "\033[32m-- OYUN AKTIF --\033[0m"
;;
esac
# This script is only here for convience
# It calls all other autorun shellscripts in the
# various subdirectories.
if [ `id -u` = "root" ]; then
echo "This script must not be run as root" 1>&2
exit 1
fi
ROOT=$PWD
cd $ROOT && sh clear.sh
chmod u=rwx,g=r,o=r $ROOT/share/bin/game
chmod u=rwx,g=r,o=r $ROOT/share/bin/db
chmod u=rwx,g=r,o=r $ROOT/share/bin/vrunner
chmod u=rwx,g=r,o=r $ROOT/share/bin/CMD
find . -type d -exec chmod u=rwx,g=rx,o=rx {} \;
find . -name "*.sh" -exec chmod u=rwx,g=r,o=r {} \;
# First launch the database loop
clear
echo -e "\033[32mKac kanal acmak istiyorsun? (max:4)\033[0m"
read chs
case $chs in
1*)
clear
echo -e "\033[32m-- OYUN BASLATILIYOR --\033[0m"
# Then the db server loop
echo -e "Database baslatiliyor"
cd $ROOT/core/db && sh run.sh
sleep 2
# Then the auth server loop
echo -e "Auth baslatiliyor"
cd $ROOT/core/auth && sh run.sh
sleep 2
# Then the ch1 server loop
echo "Ch1 baslatiliyor"
cd $ROOT/core/ch1/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch1/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch1/first && sh run.sh
sleep 2
# Then the game99 server loop
echo -e "Game99 baslatiliyor"
cd $ROOT/core/game99 && sh run.sh
sleep 2
echo -e "\033[32m-- OYUN AKTIF --\033[0m"
;;
2*)
clear
echo -e "\033[32m-- OYUN BASLATILIYOR --\033[0m"
# Then the db server loop
echo "Database baslatiliyor"
cd $ROOT/core/db && sh run.sh
sleep 2
# Then the auth server loop
echo "Auth baslatiliyor"
cd $ROOT/core/auth && sh run.sh
sleep 2
# Then the ch1 server loop
echo "Ch1 baslatiliyor"
cd $ROOT/core/ch1/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch1/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch1/first && sh run.sh
sleep 2
# Then the ch2 server loop
echo "Ch2 baslatiliyor"
cd $ROOT/core/ch2/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch2/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch2/first && sh run.sh
sleep 2
# Then the game99 server loop
echo "Game99 baslatiliyor"
cd $ROOT/core/game99 && sh run.sh
sleep 2
echo -e "\033[32m-- OYUN AKTIF --\033[0m"
;;
3*)
clear
echo -e "\033[32m-- OYUN BASLATILIYOR --\033[0m"
# Then the ch3 server loop
echo "Ch3 baslatiliyor"
cd $ROOT/core/ch3/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch3/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch3/first && sh run.sh
sleep 2
echo -e "\033[32m-- OYUN AKTIF --\033[0m"
;;
4*)
clear
echo -e "\033[32m-- OYUN BASLATILIYOR --\033[0m"
# Then the db server loop
echo "Database baslatiliyor"
cd $ROOT/core/db && sh run.sh
sleep 2
# Then the auth server loop
echo "Auth baslatiliyor"
cd $ROOT/core/auth && sh run.sh
sleep 2
# Then the ch1 server loop
echo "Ch1 baslatiliyor"
cd $ROOT/core/ch1/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch1/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch1/first && sh run.sh
sleep 2
# Then the ch2 server loop
echo "Ch2 baslatiliyor"
cd $ROOT/core/ch2/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch2/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch2/first && sh run.sh
sleep 2
# Then the ch3 server loop
echo "Ch3 baslatiliyor"
cd $ROOT/core/ch3/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch3/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch3/first && sh run.sh
sleep 2
# Then the ch4 server loop
echo "Ch4 baslatiliyor"
cd $ROOT/core/ch4/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch4/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch4/first && sh run.sh
sleep 2
# Then te ch4 server loop
echo "Ch5 baslatiliyor"
cd $ROOT/core/ch5/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch5/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch5/first && sh run.sh
sleep 2
# Then te ch4 server loop
echo "Ch6 baslatiliyor"
cd $ROOT/core/ch6/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch6/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch6/first && sh run.sh
sleep 2
# Then the game99 server loop
echo "Game99 baslatiliyor"
cd $ROOT/core/game99 && sh run.sh
sleep 2
echo -e "\033[32m-- OYUN AKTIF --\033[0m"
;;
5*)
clear
echo -e "\033[32m-- OYUN BASLATILIYOR --\033[0m"
# Then the ch3 server loop
echo "Ch3 baslatiliyor"
cd $ROOT/core/ch3/game1 && sh run.sh
sleep 1
cd $ROOT/core/ch3/game2 && sh run.sh
sleep 1
cd $ROOT/core/ch3/first && sh run.sh
sleep 2
echo -e "\033[32m-- OYUN AKTIF --\033[0m"
;;
esac
std::string chararraytostring = g_szPublicIP;
std::string localhostsunucu = /*188.212.100.64*/XorStr<0xFA,9,0xB488C748>("\xCB\xC2\xCE\xD3\xCF\xC9\x38\x2F"+0xB488C748).s; //tr localhost
std::string localhostsunucukibris = /*188.212.100.64*/XorStr<0x37,10,0xE3339CD5>("\x06\x08\x17\x0B\x0B\x12\x0A\x0A\x11"+0xE3339CD5).s; //kibris localhost
std::string lisans1 = /*188.212.100.64*/XorStr<0x02,14,0xB21251F6>("\x33\x3B\x31\x2B\x34\x37\x3F\x27\x39\x33\x22\x38\x3A"+0xB21251F6).s; //Abra2 Lisans
std::string m1 = /*Va multumim pentru utilizarea licientei!*/XorStr<0x62,40,0x82AC6163>("\x2E\x0A\x17\x04\x08\x14\x04\x00\x4A\x00\x19\x01\x02\x0E\x1E\x18\x1F\x53\x1D\x16\x1F\x19\x58\x0D\x1F\x08\x19\x16\x15\x0A\xF2\xA1\xE7\xE7\xE1\xF7\xEF\xFD\xA6"+0x82AC6163).s;
std::string m2 = /*Jocul nu poate incepe fara verificarea licientei!*/XorStr<0x2D,50,0x3490EEB8>("\x61\x47\x5C\x51\x5F\x41\x13\x50\x5A\x51\x45\x4D\x55\x5B\x56\x5D\x1D\x5C\x5E\x33\x20\x30\x2A\x37\x2C\x3C\x67\x2F\x28\x27\x2E\x6C\x2F\x2F\x3C\x3C\x30\x26\x3A\x38\x34\x3B\x3E\x21\x36\x28\x75\x72\x73"+0x3490EEB8).s;
std::string localhostsunucu = /*188.212.100.64*/XorStr<0xFA,9,0xB488C748>("\xCB\xC2\xCE\xD3\xCF\xC9\x38\x2F"+0xB488C748).s; //tr localhost
std::string localhostsunucukibris = /*188.212.100.64*/XorStr<0x37,10,0xE3339CD5>("\x06\x08\x17\x0B\x0B\x12\x0A\x0A\x11"+0xE3339CD5).s; //kibris localhost
std::string lisans1 = /*188.212.100.64*/XorStr<0x02,14,0xB21251F6>("\x33\x3B\x31\x2B\x34\x37\x3F\x27\x39\x33\x22\x38\x3A"+0xB21251F6).s; //Abra2 Lisans
std::string m1 = /*Va multumim pentru utilizarea licientei!*/XorStr<0x62,40,0x82AC6163>("\x2E\x0A\x17\x04\x08\x14\x04\x00\x4A\x00\x19\x01\x02\x0E\x1E\x18\x1F\x53\x1D\x16\x1F\x19\x58\x0D\x1F\x08\x19\x16\x15\x0A\xF2\xA1\xE7\xE7\xE1\xF7\xEF\xFD\xA6"+0x82AC6163).s;
std::string m2 = /*Jocul nu poate incepe fara verificarea licientei!*/XorStr<0x2D,50,0x3490EEB8>("\x61\x47\x5C\x51\x5F\x41\x13\x50\x5A\x51\x45\x4D\x55\x5B\x56\x5D\x1D\x5C\x5E\x33\x20\x30\x2A\x37\x2C\x3C\x67\x2F\x28\x27\x2E\x6C\x2F\x2F\x3C\x3C\x30\x26\x3A\x38\x34\x3B\x3E\x21\x36\x28\x75\x72\x73"+0x3490EEB8).s;



