HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
Merhabalar,
Oyunumda kullandığım, gerçek oyuncu sayacı Quest'ini sizin de kullanmanızın hoş olacağını düşündüm.. Veritabanından değerleri alarak size sunuyor.. Bu Quest'i geliştirerek daha yaratıcı hale getirebilecek arkadaşlarımız mevcut bence..
Oyunumda kullandığım, gerçek oyuncu sayacı Quest'ini sizin de kullanmanızın hoş olacağını düşündüm.. Veritabanından değerleri alarak size sunuyor.. Bu Quest'i geliştirerek daha yaratıcı hale getirebilecek arkadaşlarımız mevcut bence..

Kod:
[COLOR=#000000]quest status [/COLOR][COLOR=#000088]begin[/COLOR] state start [COLOR=#000088]begin[/COLOR]
[COLOR=#000088]when[/COLOR] login [COLOR=#000088]begin[/COLOR]
[COLOR=#000088]local[/COLOR] mysql_user [COLOR=#666600]=[/COLOR] [COLOR=#008800]"mt2"[/COLOR]
[COLOR=#000088]local[/COLOR] mysql_pw [COLOR=#666600]=[/COLOR] [COLOR=#008800]"metin2"[/COLOR]
[COLOR=#000088]local[/COLOR] player_id [COLOR=#666600]=[/COLOR] tonumber[COLOR=#666600]([/COLOR]pc[COLOR=#666600].[/COLOR]get_player_id[COLOR=#666600]())[/COLOR]
[COLOR=#000088]local[/COLOR] status [COLOR=#666600]=[/COLOR] [COLOR=#006666]1[/COLOR]
[COLOR=#000088]local[/COLOR] mysql_query [COLOR=#666600]=[/COLOR] [COLOR=#008800]"UPDATE player.player SET status ="[/COLOR][COLOR=#666600]..[/COLOR]status[COLOR=#666600]..[/COLOR][COLOR=#008800]" WHERE id = "[/COLOR][COLOR=#666600]..[/COLOR]player_id[COLOR=#666600]..[/COLOR][COLOR=#008800]";"[/COLOR]
os[COLOR=#666600].[/COLOR]execute[COLOR=#666600]([/COLOR][COLOR=#008800]"mysql --host=localhost --user="[/COLOR][COLOR=#666600]..[/COLOR]mysql_user[COLOR=#666600]..[/COLOR][COLOR=#008800]" --password="[/COLOR][COLOR=#666600]..[/COLOR]mysql_pw[COLOR=#666600]..[/COLOR][COLOR=#008800]" --execute='"[/COLOR][COLOR=#666600]..[/COLOR]mysql_query[COLOR=#666600]..[/COLOR][COLOR=#008800]"'"[/COLOR][COLOR=#666600])[/COLOR]
chat[COLOR=#666600]([/COLOR][COLOR=#008800]"Giris Yap"[/COLOR][COLOR=#666600])[/COLOR]
[COLOR=#000088]end[/COLOR]
[COLOR=#000088]when[/COLOR] logout [COLOR=#000088]begin[/COLOR]
[COLOR=#000088]local[/COLOR] mysql_user [COLOR=#666600]=[/COLOR] [COLOR=#008800]"mt2"[/COLOR]
[COLOR=#000088]local[/COLOR] mysql_pw [COLOR=#666600]=[/COLOR] [COLOR=#008800]"metin2"[/COLOR]
[COLOR=#000088]local[/COLOR] player_id [COLOR=#666600]=[/COLOR] tonumber[COLOR=#666600]([/COLOR]pc[COLOR=#666600].[/COLOR]get_player_id[COLOR=#666600]())[/COLOR]
[COLOR=#000088]local[/COLOR] status [COLOR=#666600]=[/COLOR] [COLOR=#006666]0[/COLOR]
[COLOR=#000088]local[/COLOR] mysql_query [COLOR=#666600]=[/COLOR] [COLOR=#008800]"UPDATE player.player SET status ="[/COLOR][COLOR=#666600]..[/COLOR]status[COLOR=#666600]..[/COLOR][COLOR=#008800]" WHERE id = "[/COLOR][COLOR=#666600]..[/COLOR]player_id[COLOR=#666600]..[/COLOR][COLOR=#008800]";"[/COLOR]
os[COLOR=#666600].[/COLOR]execute[COLOR=#666600]([/COLOR][COLOR=#008800]"mysql --host=localhost --user="[/COLOR][COLOR=#666600]..[/COLOR]mysql_user[COLOR=#666600]..[/COLOR][COLOR=#008800]" --password="[/COLOR][COLOR=#666600]..[/COLOR]mysql_pw[COLOR=#666600]..[/COLOR][COLOR=#008800]" --execute='"[/COLOR][COLOR=#666600]..[/COLOR]mysql_query[COLOR=#666600]..[/COLOR][COLOR=#008800]"'"[/COLOR][COLOR=#666600])[/COLOR]
chat[COLOR=#666600]([/COLOR][COLOR=#008800]"Cikis Yap"[/COLOR][COLOR=#666600])[/COLOR]
[COLOR=#000088]end[/COLOR]
[COLOR=#000088]end[/COLOR] [COLOR=#000088]end[/COLOR]
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 2
- Görüntüleme
- 74
