Oyun Sunucuları » Makaleler

Counter Strike 1.6 Linux Dedicated Kurmak...

Geri git   WHM cPanel Destek Platformu » Site, Sunucu Sorunlarınız ve Çözümleri » Oyun Sunucuları » Makaleler
Kayıt ol Yardım Üye Listesi Ajanda Forumları Okundu Kabul Et
 

Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 17.11.07, 10:21 AM
Media Servers Projector
 
Üyelik tarihi: Oct 2007
Nerden: İstanbul
Mesajlar: 634
Tecrübe Puanı: 1011
haritSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond repute
haritSu - MSN üzeri Mesaj gönder haritSu - YAHOO üzeri Mesaj gönder
Counter Strike 1.6 Linux Dedicated Kurmak...

Merhabalar,

Dünyanın en çok oynanan LAN Game oyunu olan CS 1.6'nın Linux üzerinde nasıl kurulduğunu anlatacağım. Oluşabilecek problemler ve sorularınız için yazabilirsiniz. Elimden geldiğince yardımcı olurum.

UYARI: Counter Strike'a ait diğer sürümlerle (1,5 & Source ) aynı sunucuda çalışmaz. Sadece bir versiyon kullanabilirsiniz tek sunucu üzerinde.

Öncelikle;
usr klasörü içinde bir hlds klasörü oluşturuyoruz,
Kod:
mkdir /usr/hlds
usr klasörü içine giriyoruz,
Kod:
 			cd /usr/hlds
HLDS UpdateTool Dosyasını çekiyoruz,
Kod:
wget http://www.steampowered.com/download/hldsupdatetool.bin
NoSteamAuthEngines Dosyasını çekiyoruz,
Kod:
wget http://www.cstrike.ro/cstrike_files/engine.v15.tgz
AdminMod + MetaMod Dosyalarını çekiyoruz,
Kod:
wget http://ovh.dl.sourceforge.net/sourceforge/halflifeadmin/halflife-admin-2.50.60-linux.tar.gz
İstatistikler için StatsMe Dosyasını çekiyoruz,
Kod:
 wget http://ovh.dl.sourceforge.net/sourceforge/statsme/statsme-2.8.3-cstrike.zip
HLDSUpdateTool dosyası için CHMOD ayarı yapıyoruz,
Kod:
 chmod +x hldsupdatetool.bin
HLDSUpdateTool dosyasını çalıştırıyoruz,
Kod:
 			./hldsupdatetool.bin
Steam Server için Half Life Update yapıyoruz,
Kod:
 ./steam -command update -game valve -dir .
Steam Server için Counter Strike Update yapıyoruz,
Kod:
 ./steam -command update -game cstrike -dir .

Uyarı: Update yapılan her iki komutta verimerkezinizin sunucunuza tahsis ettiği hat kapasitesine bağlı olarak güncelleme süresi uzayabilir. SSH kilitlendiği durumlarda sunucuya Reboot atarak tekrar deneyiniz.

Sunucumuzun işlemci mimarisine göre aşağıdaki 4 komutu uygulamamız gerekiyor.
Kod:
 rm -rf engine_amd.so
 			rm -rf engine_i486.so
 			rm -rf engine_i686.so
 			tar xfvz engine.v15.tgz
/usr/hlds/cstrike klasörüne giriyoruz,
Kod:
cd /usr/hlds/cstrike
Sunucunuzda yüklü olan herhangi bir Linux text (nano, pico, mcedit) yardımıyla server.cfg dosyasını editliyoruz.
Kod:
pico server.cfg
veya
Kod:
nano server.cfg
veya
Kod:
mcedit server.cfg
Açıklama: server.cfg adlı dosya içerisinde tüm ayarlar Counter Strike 1.6 NonSteam oyun sırasında kullanılan kullanıcı ayarlarıdır. Zorunlu olarak editlemeniz gereken en üst satırdaki hostname bilgisidir.

Yönetici Ekleme / Çıkarma

Users.ini dosyasını yine herhangi bir linux text editör ile editliyoruz,
Kod:
nano users.ini && pico users.ini && mcedit users.ini
Bu kısımda her satıra eklediğiniz bilgi bir yönetici için geçerlidir. Satırdaki bilginin aşağıdaki gibi olması gerekiyor.

Halid:halid123456:65536

En baştaki kırmızıyla yazılan "Halid" bölümü Kullanıcı adıdır, hemen akabinde gelen "halid123456" bölüm ise kullanıcıya verilen paroladır. Parolanızı mümkün olduğunca kullanıcı isminizin içinde geçtiği şekilde oluşturmayınız.
En sonda yeşil olarak geçen "65536" olarak geçen kısım ise yönetici için belirlediğimiz yetki seviyesidir.

Yetki seviyesini hesaplayabilmek için Access Levels adresini kullanabilirsiniz.

Hadi Oyuna Geçelim!!

Öncelikle /usr/hlds klasörüne giriyoruz ( her neredeysek )
Kod:
cd /usr/hlds
Oyun ip bilgisi, harita bilgisi, kişi sayısı için aşağıdaki satırı ssh ekranın yapıştırıp onaylıyoruz,
Kod:
 ./hlds_run -game cstrike +ip ip.de.internet +sv_lan 1 -nomaster +maxplayers 18 +map de_dust2
Benden bu kadar arkadaşlar,

Bollllll Hilesiz Oyunlar Dilerim...
__________________
halid-can!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #2 (permalink)  
Alt 22.11.07, 06:35 PM
Tickhi - ait Kullanıcı Resmi (Avatar)
MyBB Turkiye
 
Üyelik tarihi: Jul 2007
Nerden: Bulgaria
Mesajlar: 356
Tecrübe Puanı: 5
Tickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really nice
Tickhi - MSN üzeri Mesaj gönder Tickhi - YAHOO üzeri Mesaj gönder Tickhi isimli Üyeye Skype üzeri Mesaj gönder
./steam -command update -game valve -dir .

bu komutları bi türlü geçemedim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #3 (permalink)  
Alt 28.11.07, 07:11 PM
Tickhi - ait Kullanıcı Resmi (Avatar)
MyBB Turkiye
 
Üyelik tarihi: Jul 2007
Nerden: Bulgaria
Mesajlar: 356
Tecrübe Puanı: 5
Tickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really nice
Tickhi - MSN üzeri Mesaj gönder Tickhi - YAHOO üzeri Mesaj gönder Tickhi isimli Üyeye Skype üzeri Mesaj gönder
Ya bu CS serveri kuran gelsin bide beni kursun bir problem var update kısımlarında bağlantıyı bi türlü kuramıyor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #4 (permalink)  
Alt 02.12.07, 02:18 PM
Celeron
 
Üyelik tarihi: Nov 2007
Mesajlar: 84
Tecrübe Puanı: 1
posinetti2000 is on a distinguished road
biiraz saçma bir soru olucak ama dsl üzerinden mesala 1024/256 bağlantı ile aynı anda en fazla kaç kişi oynayabilir.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #5 (permalink)  
Alt 02.12.07, 02:32 PM
Media Servers Projector
 
Üyelik tarihi: Oct 2007
Nerden: İstanbul
Mesajlar: 634
Tecrübe Puanı: 1011
haritSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond repute
haritSu - MSN üzeri Mesaj gönder haritSu - YAHOO üzeri Mesaj gönder
256/32 kişi oynayabilir.
__________________
halid-can!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #6 (permalink)  
Alt 02.12.07, 03:18 PM
Onur - ait Kullanıcı Resmi (Avatar)
WHM VIP Member
 
Üyelik tarihi: Jun 2007
Nerden: Karaman
Mesajlar: 520
Tecrübe Puanı: 1013
Onur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond repute
Onur - MSN üzeri Mesaj gönder
Kurulu varsa verinde oynayalım
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #7 (permalink)  
Alt 02.12.07, 05:20 PM
reptile - ait Kullanıcı Resmi (Avatar)
Sempron
 
Üyelik tarihi: Aug 2007
Mesajlar: 12
Tecrübe Puanı: 0
reptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud of
reptile - MSN üzeri Mesaj gönder
VPS'ye 1.6 kurdum. İki sorum olacak
1) 2 kişi girince bile lag oluyor. Ayrı bir ayar yapmak gerekirmi
2) Adminmod yerine amxmod kurmak istiyorum. Bunun için veritabanı yada herhangi bir ayar gerekiyormu ? kurulumu anlatırsan sevinirm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #8 (permalink)  
Alt 02.12.07, 05:23 PM
Media Servers Projector
 
Üyelik tarihi: Oct 2007
Nerden: İstanbul
Mesajlar: 634
Tecrübe Puanı: 1011
haritSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond repute
haritSu - MSN üzeri Mesaj gönder haritSu - YAHOO üzeri Mesaj gönder
Lag olayını bilmiyorum. yurtdışında bir sunucu ise normaldir yani makinaya gelen ping dönüşünün düşük olması gerekiyor.

Adminmod için zaten extra bir ayar yapmıyoruz. Dolayısıyla amxmod kurulumunu kendin yapabilirsen başka bi ayar yok.
__________________
halid-can!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #9 (permalink)  
Alt 02.12.07, 05:47 PM
reptile - ait Kullanıcı Resmi (Avatar)
Sempron
 
Üyelik tarihi: Aug 2007
Mesajlar: 12
Tecrübe Puanı: 0
reptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud of
reptile - MSN üzeri Mesaj gönder
Yok işin ilginç yanı orası zaten. 2 tane dedicated var sırf cs için tr lokasyonlu sunucu aldım fakat neden lag var anlayamadım. Amxmodu yani normal webmod kurar gibi kuruyoruz ayrı birşey yapmıyoruz ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #10 (permalink)  
Alt 02.12.07, 07:11 PM
reptile - ait Kullanıcı Resmi (Avatar)
Sempron
 
Üyelik tarihi: Aug 2007
Mesajlar: 12
Tecrübe Puanı: 0
reptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud ofreptile has much to be proud of
reptile - MSN üzeri Mesaj gönder
[FUN] Module is not attached to MetaMod
[AMX] Make sure that modules are compatible with AMX 0.9.9
[AMX] Please fix the problem then start the server again
./hlds_run: line 342: 18312 Segmentation fault $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem

hep bu hatayı veriyor amx kurulumunda.

##debug.log

----------------------------------------------
CRASH: Sun Dec 2 20:14:11 EET 2007
Start Line: ./hlds_i686 -game cstrike +ip 88.255.89.222 +sv_lan 1 -debug -nomaster +maxplayers 20 +map de_dust2 -pidfile hld$
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Core was generated by `./hlds_i686 -game cstrike +ip 88.255.89.222 +sv_lan 1 -debug -nomaster +maxplay'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000 in ?? ()
#0 0x00000000 in ?? ()
No symbol table info available.
End of crash report
----------------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
Cevapla



Seçenekler
Stil

Yetkileriniz
Yeni Mesaj yazma yetkiniz aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz aktif değil dir.

Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık