|
You last visited: Today at 16:06
Advertisement
[RELASE]Tugyis Table System - Untested
Discussion on [RELASE]Tugyis Table System - Untested within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
11/06/2013, 14:32
|
#1
|
elite*gold: 0
Join Date: Sep 2013
Posts: 86
Received Thanks: 48
|
[RELASE]Tugyis Table System - Untested
Arkadaşlar almanca konuşmayı bilmiyorum fakat ben bu forumdan çok faydalandığım için türk forumlarında paylaşmadan önce yaptığım bu sistemi sizle paylaşmak istedim.
Tugyis Tabelası Sistemi
tugyis.quest
PHP Code:
--[[
-- Tugyis Toplama Questi
-- Quest Yazıcısı : Mehmet GÜNDAŞ
]]--
quest tugyis begin
state start begin
when 20095.chat."Tugyis Tabelası" with game.get_event_flag("toplaa") == 1 begin
say_title("Servis 1:")
say_title("")
say("Şuan envanterindeki tabela sayısı : "..pc.count_item(30166).."")
say("Ne yapmak istiyorsun ?")
local s = select("Hepsini Al", "Hepsini Geri Al", "Boşver")
if s == 1 then
game.set_event_flag(pc.get_name().."_tabela",game.get_event_flag(pc.get_name().."_tabela")+pc.count_item(30166))
chat("Toplam "..game.get_event_flag(pc.get_name().."_tabela".." Yükledin...")
pc.remove_item(30166, pc.count_item(30166))
loop_timer("update",0.5)
end
elseif s == 2 then
chat("Toplam "..game.get_event_flag(pc.get_name().."_tabela".." Geri Aldın...")
pc.give_item2("30166",game.get_event_flag(pc.get_name().."_tabela")
game.set_event_flag(pc.get_name().."_tabela",game.get_event_flag(pc.get_name().."_tabela")-game.get_event_flag(pc.get_name().."_tabela"))
loop_timer("update",0.5)
return
end
end
when login with game.get_event_flag(pc.get_name().."_tabela") == 0 and pc.getqf("tugyis") != 1 and game.get_event_flag("toplaa") == 1 begin
pc.setqf("tugyis",1)
game.set_event_flag(pc.get_name().."_tabela",game.get_event_flag(pc.get_name().."_tabela")+2)
mysql_query("INSERT INTO player.tugyis VALUES ('"..pc.get_player_id().."','"..pc.get_name().."','"..game.get_event_flag(pc.get_name().."_tabela").."' ) ")
end
when update.timer begin
tugyis_update()
end
end
end
questlib.lua
PHP Code:
--Tugyis Eventi Güncelleme Başlangıç
function tugyis_update()
mysql_query("Update player.tugyis set tabela = '"..game.get_event_flag(pc.get_name().."_tabela").."' WHERE name = '"..pc.get_name().."' ")
end
--Tugyis Eventi Güncelleme Bitiş
quest_functions
player/tugyis.sql
PHP Code:
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `tugyis`
-- ----------------------------
DROP TABLE IF EXISTS `tugyis`;
CREATE TABLE `tugyis` (
`player_id` int(11) unsigned NOT NULL default '0',
`player_name` varchar(20) character set big5 collate big5_bin NOT NULL default '',
`tabela` int(255) NOT NULL default '0',
PRIMARY KEY (`player_id`)
) ENGINE=MyISAM DEFAULT CHARSET=big5;
-- ----------------------------
-- Records of tugyis
-- ----------------------------
Arkadaşlar test etmedim umarım beğenirsiniz....
|
|
|
11/06/2013, 14:35
|
#2
|
elite*gold: 0
Join Date: Dec 2010
Posts: 44
Received Thanks: 0
|
In english pls
|
|
|
11/06/2013, 14:38
|
#3
|
elite*gold: 0
Join Date: Sep 2013
Posts: 86
Received Thanks: 48
|
ı'm sorry because i cant speak english.
|
|
|
11/07/2013, 12:46
|
#4
|
elite*gold: 0
Join Date: Feb 2012
Posts: 95
Received Thanks: 29
|
so can you ask someone to trans for us
|
|
|
11/07/2013, 14:03
|
#5
|
elite*gold: 0
Join Date: Jun 2012
Posts: 125
Received Thanks: 13
|
Quote:
Originally Posted by IGotPower
Arkadaşlar almanca konuşmayı bilmiyorum fakat ben bu forumdan çok faydalandığım için türk forumlarında paylaşmadan önce yaptığım bu sistemi sizle paylaşmak istedim.
Tugyis Tabelası Sistemi
tugyis.quest
PHP Code:
--[[
-- Tugyis Toplama Questi
-- Quest Yazıcısı : Mehmet GÜNDAŞ
]]--
quest tugyis begin
state start begin
when 20095.chat."Tugyis Tabelası" with game.get_event_flag("toplaa") == 1 begin
say_title("Servis 1:")
say_title("")
say("Şuan envanterindeki tabela sayısı : "..pc.count_item(30166).."")
say("Ne yapmak istiyorsun ?")
local s = select("Hepsini Al", "Hepsini Geri Al", "Boşver")
if s == 1 then
game.set_event_flag(pc.get_name().."_tabela",game.get_event_flag(pc.get_name().."_tabela")+pc.count_item(30166))
chat("Toplam "..game.get_event_flag(pc.get_name().."_tabela".." Yükledin...")
pc.remove_item(30166, pc.count_item(30166))
loop_timer("update",0.5)
end
elseif s == 2 then
chat("Toplam "..game.get_event_flag(pc.get_name().."_tabela".." Geri Aldın...")
pc.give_item2("30166",game.get_event_flag(pc.get_name().."_tabela")
game.set_event_flag(pc.get_name().."_tabela",game.get_event_flag(pc.get_name().."_tabela")-game.get_event_flag(pc.get_name().."_tabela"))
loop_timer("update",0.5)
return
end
end
when login with game.get_event_flag(pc.get_name().."_tabela") == 0 and pc.getqf("tugyis") != 1 and game.get_event_flag("toplaa") == 1 begin
pc.setqf("tugyis",1)
game.set_event_flag(pc.get_name().."_tabela",game.get_event_flag(pc.get_name().."_tabela")+2)
mysql_query("INSERT INTO player.tugyis VALUES ('"..pc.get_player_id().."','"..pc.get_name().."','"..game.get_event_flag(pc.get_name().."_tabela").."' ) ")
end
when update.timer begin
tugyis_update()
end
end
end
questlib.lua
PHP Code:
--Tugyis Eventi Güncelleme Başlangıç
function tugyis_update()
mysql_query("Update player.tugyis set tabela = '"..game.get_event_flag(pc.get_name().."_tabela").."' WHERE name = '"..pc.get_name().."' ")
end
--Tugyis Eventi Güncelleme Bitiş
quest_functions
player/tugyis.sql
PHP Code:
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `tugyis`
-- ----------------------------
DROP TABLE IF EXISTS `tugyis`;
CREATE TABLE `tugyis` (
`player_id` int(11) unsigned NOT NULL default '0',
`player_name` varchar(20) character set big5 collate big5_bin NOT NULL default '',
`tabela` int(255) NOT NULL default '0',
PRIMARY KEY (`player_id`)
) ENGINE=MyISAM DEFAULT CHARSET=big5;
-- ----------------------------
-- Records of tugyis
-- ----------------------------
Arkadaşlar test etmedim umarım beğenirsiniz....
|
Teşekkürler.
|
|
|
11/07/2013, 14:15
|
#6
|
elite*gold: 124
Join Date: Feb 2012
Posts: 302
Received Thanks: 135
|
Speak English! You can use Google Translate too!
|
|
|
11/07/2013, 15:04
|
#7
|
elite*gold: 0
Join Date: Sep 2013
Posts: 86
Received Thanks: 48
|
Önemli değil elimden geleni yapıyorum. Asıl beğendiğin için ben teşekkür ederim.
|
|
|
11/07/2013, 16:00
|
#8
|
elite*gold: 0
Join Date: Dec 2010
Posts: 44
Received Thanks: 0
|
I think this is a system which change items to coins.
Here is my translation:
PHP Code:
--[[ -- Tugyis Collection Quest -- Quest Yazıcısı : Mehmet GÜNDAŞ ]]-- quest tugyis begin state start begin when 20095.chat."Tugyis Signs" with game.get_event_flag("toplaa") == 1 begin say_title("Serwice 1") say_title("") say("Number of Signs: "..pc.count_item(30166).."") say("What you want to do?") local s = select("Sell All", "Get it all back", "Cancel") if s == 1 then game.set_event_flag(pc.get_name().."_tabela",game.get_event_flag(pc.get_name().."_tabela")+pc.count_item(30166)) chat("Total "..game.get_event_flag(pc.get_name().."_tabela".." Signs You sold!") pc.remove_item(30166, pc.count_item(30166)) loop_timer("update",0.5) end elseif s == 2 then chat("Total "..game.get_event_flag(pc.get_name().."_tabela".." Signs comes back to You!") pc.give_item2("30166",game.get_event_flag(pc.get_name().."_tabela") game.set_event_flag(pc.get_name().."_tabela",game.get_event_flag(pc.get_name().."_tabela")-game.get_event_flag(pc.get_name().."_tabela")) loop_timer("update",0.5) return end end when login with game.get_event_flag(pc.get_name().."_tabela") == 0 and pc.getqf("tugyis") != 1 and game.get_event_flag("toplaa") == 1 begin pc.setqf("tugyis",1) game.set_event_flag(pc.get_name().."_tabela",game.get_event_flag(pc.get_name().."_tabela")+2) mysql_query("INSERT INTO player.tugyis VALUES ('"..pc.get_player_id().."','"..pc.get_name().."','"..game.get_event_flag(pc.get_name().."_tabela").."' ) ") end when update.timer begin tugyis_update() end end end
It's useless (in my opinion) cause we've got coupons without quest :P
But thanks for sharing!
|
|
|
11/08/2013, 18:04
|
#9
|
elite*gold: 0
Join Date: Sep 2013
Posts: 86
Received Thanks: 48
|
really im sorry i untested this quest. ı agree with you this quest is very bad im sorry
|
|
|
11/09/2013, 09:45
|
#10
|
elite*gold: 0
Join Date: Feb 2012
Posts: 18
Received Thanks: 2
|
Don't you have english at school?
|
|
|
11/09/2013, 11:12
|
#11
|
elite*gold: 0
Join Date: Sep 2013
Posts: 86
Received Thanks: 48
|
i have english lesson at the school
|
|
|
 |
Similar Threads
|
[RLS]Reittier Level System (Quest) [Untested]
10/01/2013 - Metin2 PServer Guides & Strategies - 20 Replies
Moin Com,
Ich hatte mich mal an ein Reittier Level System gesetzt und es aus langeweile mal geschrieben. Es ist nur eine Vorlage man kann alles ändern. Es ist keine GUI und es ist nicht getestet. Aber ich wollte es halt teilen. Wäre cool wenn es einer testen würde. Es könnten Fehler enthalten sein, wenn ja bitte per PN an mich und ich werde es verbessern.
Quest #1
quest rtlevel begin
state start begin
when 20349.chat."Mein Reittier leveln 'Löwe'." with item.vnum == 35413 begin...
|
New DarkOrbit ANTIBOT SYSTEM - 30.11.2010 screens from udobot, kbot ibot untested
05/13/2011 - DarkOrbit - 41 Replies
BIGPOINT DARKORBIT INTRODUCE THIS WEEK A NEW ANTIBOT SYSTEM:
Screens taken from udobot:
http://img441.imageshack.us/img441/9245/antibotnp cudobot.png
and in normal game:
http://img256.imageshack.us/img256/5653/antibotsy stem.png
|
Black-Planet TUGYIS TAFEL
03/27/2010 - Metin2 Private Server - 0 Replies
Moin Leute ^^
Wie thema schon sagt gehts um Black-Planet und Tugyis Tafel...und zwar droppt man die ja zombimap denke ich weil daher hab ich 2 st ich brauche aba noch 3 und da wollte ich mal fragen ob jemand weiß welcher mob dort genau die tafel droppt...ist sehr wichtig!!!! danke für hilfreiche antworten : )
lg Chev ^^
|
[Relase]Metin2 English Item Table
02/13/2010 - Metin2 PServer Guides & Strategies - 21 Replies
Metin2 US Item Table:
http://img194.imageshack.us/img194/388/93536411.p ng
http://img100.imageshack.us/img100/3112/53832629. png
http://img194.imageshack.us/img194/5938/94997060. png
warten auf die Datei...
|
All times are GMT +1. The time now is 16:06.
|
|