Src ile yapılabilecekler toplu konu!(Sürekli güncellenecek)

  • Konbuyu başlatan Konbuyu başlatan Admin
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 34

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Forumda paylaşılmış olan konuları bir araya toplayacağım.
Ve bulmak istediğiniz konuları, forumda aramadan burada bulabileceksiniz.
Resimler forumdaki konulardan alıntıdır.



%3 vergi kaldırma[/FONT]shop.cpp ve shop_manager.cpp içinde ki
Kod:
[/B][COLOR=#262626][FONT=monospace]iVal = 3;[/FONT][/COLOR][B]
değiştirilir
Kod:
[/B][COLOR=#262626][FONT=monospace]iVal = 0;[/FONT][/COLOR][B]

Taş basma oranını düzenleme
char_item.cpp içinde ki
Kod:
[/B][COLOR=#262626][FONT=monospace]if (number(1, 100) <= 30)[/FONT][/COLOR][B]
30 kısmı 1-100 arası sayı ile değiştirilir.

Npc 0 yang sorunu kaldırma
shop.cpp içinde ki
Kod:
[/B][COLOR=#262626][FONT=monospace]if (r_item.price <= 0)[/FONT][/COLOR][B]
değiştirilir
Kod:
[/B][COLOR=#262626][FONT=monospace]if (r_item.price < 0)[/FONT][/COLOR][B]

Shutdown atma süresini değiştirme
cmd_general.cpp içinde ki
Kod:
[/B][COLOR=#262626][FONT=monospace]Shutdown(10);[/FONT][/COLOR][B]
10 kısmı değiştirilir.

Statü verme sınırını ayarlama
cmd_general.cpp aratılır
Kod:
[/B][COLOR=#262626][FONT=monospace]#define MAX_STAT 90[/FONT][/COLOR][B]
90 kısmı değiştirilir, 90 yeri sizde farklı olabilir.

Yere düşen itemlerin kaybolma süresini ayarlama
char_item.cpp aratılır
Kod:
[/B][COLOR=#333333]pkItemToDrop->StartDestroyEvent();[/COLOR][B]
değiştirilir(3) yazan yeri kendiniz düzenleyin.
Kod:
[/B][COLOR=#333333]pkItemToDrop->StartDestroyEvent(3);[/COLOR][B]


Konu sürekli güncellenecek.
İyi forumlar..



Metin2 SRC ile Yapılabilecekler Toplu Konu!
Metin2 özel sunucularında geliştirme yaparken kaynak kodlar (SRC) üzerinde değişiklikler yapmak, hem oyun deneyimini zenginleştirir hem de sunucunuzu rakiplerinizden ayırır.
Bu yazıda Metin2 SRC ile yapılabilecek bazı gelişmiş sistemleri ve geliştirme yollarını bir araya getirdik.
Bu konu sürekli güncellenerek en yeni sistemlerle donatılacaktır.

SRC Nedir?
SRC, yani Source Code (Kaynak Kodu), bir oyun sunucusunun çekirdek yazılımını ifade eder.
Metin2 için SRC, Game Server, Auth Server ve DB (Veritabanı) gibi bileşenleri içerir.
Bu kodlar genellikle C++ dilinde yazılmıştır ve isteğe göre değiştirilebilir.

SRC ile Neler Yapılabilir?
1. Yeni Sistemler Geliştirme: PvP sistemleri, turnuva modları, özel görevler, guild savaşları gibi kompleks sistemler doğrudan SRC üzerinden yazılabilir.
2. Oyun Mekaniği Değişiklikleri: XP oranları, drop sistemleri, item balansı gibi mekanikler kod seviyesinde ayarlanabilir.
3. Anti-Hile ve Güvenlik Geliştirmeleri: SRC üzerinde güvenlik protokolleri geliştirilerek hilelere karşı daha güçlü sunucular oluşturulabilir.
4. Özel UI ve Script Eklentileri: Client tarafında Python (Py) dosyaları ile UI (Kullanıcı Arayüzü) geliştirilebilir.

Python GUI ve UIScript ile Kullanıcı Arayüzü Geliştirme
Metin2 client tarafında kullanıcı arayüzü Python dili ile geliştirilir.
'Py Root' ve 'UIScript' sistemleri sayesinde özel menüler, pencereler, görseller ve butonlar eklenebilir.
Bu sayede oyunculara daha modern ve işlevsel bir arayüz sunulabilir.

Database (DB) Entegrasyonu ve Oyun Verileri
Metin2 oyununda veritabanı yönetimi, DB Core sayesinde yapılır.
Oyuncu bilgileri, item verileri, harita bilgileri gibi tüm veriler bu altyapıya bağlanır.
SRC ile bu veriler üzerinde doğrudan manipülasyon yapılabilir.

Martysama ve Metin2 Development Araçları
Topluluk tarafından geliştirilen bazı sistemler sayesinde SRC üzerinde çalışmak kolaylaşmaktadır.
Martysama gibi geliştirici dostu sistemler, compile süreçlerini hızlandırır ve hata ayıklamayı kolaylaştırır.

Compile ve Derleme İşlemi
SRC üzerinde yapılan değişikliklerin aktif olarak kullanılabilmesi için derlenmesi gerekir.
Bu işlem genellikle Visual Studio veya Makefile gibi araçlarla yapılır.
Derleme sonrası oluşan исполняемый dosya (exe) sunucuda çalıştırılır.

Paketleme ve Dağıtım
Geliştirilen sistemler paketlenerek sunuculara dağıtılabilir.
Pack sistemi sayesinde tüm dosyalar bir araya getirilip kolayca aktarılabilir.

Sonuç
Metin2 SRC, sunucu geliştiricileri için neredeyse sınırsız olanaklar sunar.
Oyunun temel mekaniklerinden tutun da özel sistemlere kadar her şey değiştirilebilir.
SRC bilgisi olan geliştiriciler, kendi Metin2 dünyalarını oluşturabilirler.


What Can Be Done with Metin2 SRC - Collective Topic!
When developing on private Metin2 servers, modifying source codes (SRC) enhances the gameplay experience and distinguishes your server from competitors.
In this article, we gather some advanced systems and development methods that can be implemented using Metin2 SRC.
This topic will be continuously updated with the latest systems.

What is SRC?
SRC stands for Source Code and refers to the core software of a game server.
For Metin2, SRC includes components such as the Game Server, Auth Server, and Database (DB).
These codes are typically written in C++ and can be modified according to needs.

What Can Be Done with SRC?
1. Developing New Systems: Complex systems like PvP modes, tournaments, special quests, and guild wars can be coded directly via SRC.
2. Gameplay Mechanics Adjustments: Game mechanics like XP rates, drop systems, and item balance can be adjusted at the code level.
3. Anti-Cheat and Security Enhancements: Security protocols can be developed within SRC to create more cheat-resistant servers.
4. Custom UI and Script Extensions: User interfaces on the client side can be developed using Python (Py) files.

UI Development with Python GUI and UIScript
The user interface on the Metin2 client side is developed using Python language.
With 'Py Root' and 'UIScript' systems, custom menus, windows, images, and buttons can be added.
This allows for a more modern and functional UI for players.

Database Integration and Game Data
Database management in Metin2 is handled by the DB Core.
Player information, item data, map details, and more are connected through this infrastructure.
SRC allows direct manipulation of these data elements.

Martysama and Metin2 Development Tools
Some community-developed systems make working with SRC easier.
Developer-friendly systems like Martysama speed up compilation processes and simplify debugging.

Compilation and Build Process
To use modifications made on SRC, they must be compiled.
This process is typically done using tools like Visual Studio or Makefile.
After compilation, the resulting executable file (exe) is run on the server.

Packaging and Distribution
Developed systems can be packaged and distributed across servers.
With the Pack system, all files can be combined and easily transferred.

Conclusion
Metin2 SRC offers nearly unlimited possibilities for server developers.
Everything from basic game mechanics to custom systems can be altered.
Developers with SRC knowledge can build their own Metin2 worlds.
 

Şuan Bu Konuyu Görüntüleyen Kullanıcılar (Toplam : 0, Üye : 0, Misafir : 0)

Benzer konular

Geri
Üst Alt