|
You last visited: Today at 05:25
Advertisement
[Quest]Prevent switch bot
Discussion on [Quest]Prevent switch bot within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
02/19/2014, 14:39
|
#1
|
elite*gold: 100
Join Date: Sep 2010
Posts: 285
Received Thanks: 84
|
[Quest]Prevent switch bot
Hey, here's my old quest to prevent switch bot:
Code:
quest switch begin
state start begin
function switchItem()
local a = number(1, 10) -- set here how much ids you want
local item_list = {X,X,X,X,X,X,X,X,X,X} -- if you set more than 10 in top then you need to add here
local give = true
for k,v in ipairs(item_list) do
if pc.count_item(v) >= 1 then
give = false
end
end
if give == false or pc.get_empty_inventory_count() < 1 then
say_title("Title")
say("")
say_reward("Message error for dont have more than 1 pack on inventory")
return
end
setskin(NOWINDOW)
pc.give_item2(item_list[a], 50) -- you can set here the quantity of received item
end
when X.use begin -- dont forget to set here a NPC or item
switch.switchItem()
end
end
end
After add the quest to server
Go to item_proto client/server
Search for 71084, copy the line
Then change only the ID's you put in the quest.
The name can be the same in all, just change the ID's
You need to give path in item_list and item_desc, just change the ID's.
Kind Regards
|
|
|
02/19/2014, 14:45
|
#2
|
elite*gold: 222
Join Date: Oct 2012
Posts: 2,369
Received Thanks: 3,389
|
Code:
quest switch begin
state start begin
function switchItem()
local a = number(1, table.getn(item_list))
local item_list = {X,X,X,X,X,X,X,X,X,X} -- if you set more than 10 in top then you need to add here
local give = true
for k,v in ipairs(item_list) do
if pc.count_item(v) >= 1 then
give = false
end
end
if give == false or pc.get_empty_inventory_count() < 1 then
say_title("Title")
say("")
say_reward("Message error for dont have more than 1 pack on inventory")
return
end
setskin(NOWINDOW)
pc.give_item2(item_list[a], 50) -- you can set here the quantity of received item
end
when X.use begin -- dont forget to set here a NPC or item
switch.switchItem()
end
end
end
|
|
|
02/20/2014, 00:35
|
#3
|
elite*gold: 81
Join Date: Nov 2012
Posts: 975
Received Thanks: 531
|
Nice wenn sie geht - hat schon wer getestet?
|
|
|
02/20/2014, 02:09
|
#4
|
elite*gold: 100
Join Date: Sep 2010
Posts: 285
Received Thanks: 84
|
Quote:
Originally Posted by .Poᴌᴌuᶍ
Nice wenn sie geht - hat schon wer getestet?
|
I use that like.. 1 year, works perfectly.
Regards
|
|
|
02/20/2014, 22:07
|
#5
|
elite*gold: 0
Join Date: Feb 2011
Posts: 79
Received Thanks: 6
|
tnx for share
|
|
|
02/21/2014, 14:40
|
#6
|
elite*gold: 0
Join Date: Aug 2012
Posts: 974
Received Thanks: 89
|
ok und was bringt das jetzt?
|
|
|
02/22/2014, 01:30
|
#7
|
elite*gold: 0
Join Date: Feb 2014
Posts: 12
Received Thanks: 0
|
Hello man. I didnt understand what i should do...
Can you give some examples please?
[Mine ID for Bonus Switch: 71084]
Now what should i do? :/
|
|
|
02/22/2014, 08:15
|
#8
|
elite*gold: 0
Join Date: May 2012
Posts: 1
Received Thanks: 0
|
same for me..I don't get where should we write that things
|
|
|
02/22/2014, 10:57
|
#9
|
elite*gold: 100
Join Date: Sep 2010
Posts: 285
Received Thanks: 84
|
Quote:
Originally Posted by barbaques
Hello man. I didnt understand what i should do...
Can you give some examples please?
[Mine ID for Bonus Switch: 71084]
Now what should i do? :/
|
Just copy the ID 71084 for other lines(make new ones)
Then change the ID's instead 71084..
Like that
Code:
<Item vnum="71084" name="Àç°æºñ¼*" gb2312name="Feitiço para Itens" type="3" subtype="18" weight="0" size="1" antiflag="74112" flag="8196" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
<Item vnum="69696" name="Àç°æºñ¼*" gb2312name="Feitiço para Itens" type="3" subtype="18" weight="0" size="1" antiflag="74112" flag="8196" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
<Item vnum="72378" name="Àç°æºñ¼*" gb2312name="Feitiço para Itens" type="3" subtype="18" weight="0" size="1" antiflag="74112" flag="8196" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
You just change the ID, ingame nobody knows what the ID is, just see the same icon and the same name
Then edit the item_list.txt
Code:
71084 ETC icon/item/71084.tga
69696 ETC icon/item/71084.tga
72378 ETC icon/item/71084.tga
After that just put item_desc.txt
Code:
71084 Feitiço para Itens Roda os 5 primeiros bónus de um equipamento com bónus.
69696 Feitiço para Itens Roda os 5 primeiros bónus de um equipamento com bónus.
72378 Feitiço para Itens Roda os 5 primeiros bónus de um equipamento com bónus.
In Quest
Code:
local item_list = {71084, 69696, 72378} -- in that case, you can add more.
This is portuguese language but i hope you understand now.
Regards.
|
|
|
02/22/2014, 14:43
|
#10
|
elite*gold: 0
Join Date: Feb 2014
Posts: 12
Received Thanks: 0
|
Uh, i am really bad.
Can you make it through tv or what ? Thanks a lot for your instant response!
|
|
|
 |
Similar Threads
|
Npc switch quest hilfe bei extremelc
12/22/2011 - Last Chaos - 5 Replies
hallo,
ich bin grad als ns am farmen bei xlc und da gibts ja diese quest wo ich die seelen killen muss für 1k fp. bei dem spot am nähsten zum seelenturm mit diesen 3 seelen da gibts es ja einen npc und ich würde gerne um nicht immer hin und herlaufen zu m¨ssen wissen ob die nicht iwie so tauschen könnte?
aso bräuchte ich halt den wert von diesem npc
ps: ka ob das nicht in den sammelfred gehört?
|
DSS/FKS Switch Quest?
09/29/2011 - Metin2 Private Server - 2 Replies
Hallo Com,
Ich habe folgende frage: ist es möglich das man einen quest schreibt mit dem man von waffen des DSS und FKS wert individuell ändern kann mit bestimmter grenze?? Ich kenn mich mit Quests nicht so gut aus deswegen frag ich ... SuFu hab ich benutzt und nichts gefunden ... Danke für alle antworten:rolleyes:
|
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest
07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies
ENGLISH
Hello dear community, this is a very simple guide but at the same time useful.
How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"?
Easy!
Open the file "make" and replace the content of the file with this:
for f in *.quest; do ./qc $f; done
Oki. Now set the 0777 permission to the file.
Finally open a SSH client and sign in. Write the command:
cd /game_file_folder
|
Quest-,Switch- und Farm-Service by Andy888
03/13/2011 - Metin2 Trading - 5 Replies
Hallo liebe Com!
Also ich biete euch hier einen Quest-,Farm-, und Switch-Service an.
Quest-Service:
Also ich biete euch hier euinen Quest-Service an. Ich werde jede Quest, die ihr mir Auftragt, erledigen, so schnell es meine Zeit zulässt. Preise kommen auf Menge + Schwere der Quests an. Sie sollten aber eigentlich 10€ nicht überschreiten.
|
All times are GMT +1. The time now is 05:26.
|
|