-
Posts
264 -
Joined
-
Days Won
23 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by pollux
-
Please use the file request thread. #closed
-
Sash System \ just a little problem
pollux replied to iRazer's topic in Community Support - Questions & Answers
(2.2) Bumping Allowed bumping times: Services area - 24 hours Q&A - 48 hours Any other bumping will result in an infraction! .... -
You are not allowed to bump you threads within 24h. Also please use the file request thread for such things. closed
-
Visual bug , shop offline # 0 yang. (at no limit)
pollux replied to DeYaN.'s topic in Community Support - Questions & Answers
Please edit your post instead of doing a double post next time. -
Please use the File request Thread. #closed
-
It should because i have other quests in which this actually is working. But i changed the following things: - moved the items array behind the 'when' - changed line 64 (color_hair.items[f] -> items[f] - added pc.remove_item(10049, 1) on line 36 - added a say to line 55 Quest: ---------------------------------------------------- -- created @ 2016-10-22 7:58 PM -- by .PolluX -- for Electryced2 ---------------------------------------------------- quest color_hair begin state start begin ------------------------- -- SETTINGS ------------------------- function translate() local translate = { title = "Hair-Styling", dialog_start = "Herzlichen Glückwunsch![ENTER]Sie wurden ausgewählt eine neue Methode der [ENTER]Haarfärbung zu testen. Bitte wählen Sie [ENTER]die gewünschte Farbe aus![ENTER]", dialog_choose = "[ENTER][ENTER]Bist du dir sicher, dass du dieses[ENTER]Färbemittel erhalten möchtest?[ENTER]", select_title = "Soll es wirklich diese Farbe sein?", select_1 = "Her damit!", select_2 = "Ne, doch lieber etwas anderes.", success = "Du hast das Haarfärbemittel in der gewünschten Farbe erhalten.", } return translate end function generateOutput(value) say_title(color_hair.translate().select_title) say_item(item_name(value),value,"") local s = select(color_hair.translate().select_1, color_hair.translate().select_2) if(s == 1) then chat(color_hair.translate().success) pc.give_item2(value, 1) pc.remove_item(10049, 1) end end ------------------------- -- QUEST START ------------------------- when 10049.use begin local items = { 70202, -- white 70203, -- blonde 70204, -- red 70205, -- brown 70206, -- black 70201, -- reset } say_title(color_hair.translate().title) say(color_hair.translate().dialog_start) local f = select ("Weißes Färbemittel", -- 1 "Blondes Färbemittel", -- 2 "Rotes Färbemittel", -- 3 "Braunes Färbemittel", -- 4 "Schwarzes Färbemittel", -- 5 "Bleichmittel") -- 6 color_hair.generateOutput(items[f]) end end end Now it's working
-
error message: pollux/color_hair.lua:12:expecting 'when' or 'function' Error occured on compile pollux/color_hair.lua quest: ---------------------------------------------------- -- created @ 2016-10-22 7:58 PM -- by .PolluX -- for Electryced2 ---------------------------------------------------- quest color_hair begin state start begin ------------------------- -- SETTINGS ------------------------- local items = { 0, -- dummy item 70202, -- white 70203, -- blonde 70204, -- red 70205, -- brown 70206, -- black 70201, -- reset } function translate() local translate = { title = "Hair-Styling", dialog_start = "[ENTER][ENTER]Herzlichen Glückwunsch![ENTER]Sie wurden ausgewählt eine neue Methode der Haarfärbung[ENTER]zu testen. Bitte wählen Sie die gewünschte Farbe aus![ENTER]", dialog_choose = "[ENTER][ENTER]Bist du dir sicher, dass du dieses[ENTER]Färbemittel erhalten möchtest?[ENTER]", select_title = "Soll es wirklich diese Farbe sein?", select_1 = "Her damit!", select_2 = "Ne, doch lieber etwas anderes.", success = "Du hast das Haarfärbemittel in der gewünschten Farbe erhalten.", } return translate end function generateOutput(value) say_title(color_hair.translate().select_title) say_item(item_name(value),value,"") local s = select(color_hair.translate().select_1, color_hair.translate().select_2) if(s == 1) then chat(color_hair.translate().success) pc.give_item2(value, 1) end end ------------------------- -- QUEST START ------------------------- when 38001.use begin say_title(color_hair.translate().title) color_hair.translate().dialog_start local f = select ("Weißes Färbemittel", -- 1 "Blondes Färbemittel", -- 2 "Rotes Färbemittel", -- 3 "Braunes Färbemittel", -- 4 "Schwarzes Färbemittel", -- 5 "Bleichmittel") -- 6 color_hair.generateOutput(color_hair.items[f]) end end end Where did i fail? Tell me pls
-
metin2dev.org is searching for new moderators! Requirements no warnings received yet (or latest older than 1 year) good english (not perfect but on a high level) Skype (for better communication with other team members) enough time to check all sections (~1h daylie) 18 years or older no bad reputation not a member of any other team What do we expect in your application (information)? Who are you? experience as a moderator strengths and weaknesses Why should we choose you? contact information Please send your written applications as a private message to @DevChuckNorris or @.PolluX until 6th November 2016.
-
Error compile source code
pollux replied to johntons's topic in Community Support - Questions & Answers
moved to Q & A -
Closed (we Have a thread for File requests)
-
-
SQL NEED HELP ( i pay the solve )
pollux replied to DeYaN.'s topic in Community Support - Questions & Answers
If you still need help contact me via pm. -
Help me with a SQL command.
pollux replied to DeYaN.'s topic in Community Support - Questions & Answers
Just to get you right: You want to delete a character with all of his items from your database? -
Can you show us the quest?
-
1) How did you fix this? 2) Please post your syserr clientside.
-
What about using Google? Remember: Google is your friend! -> [Hidden Content] Cyberciti.biz is a good website for lots of tutorials.
-
Which client do you use? With newer binaries you have to change the spelling of the fields inside your item_proto (e.g. vnum -> Vnum) and some fields have other names now. Please post your item_proto entries (clientside).
-
Did you check if an item with the given vnum exists in your database? Your var "item" is empty (nil = NULL)!
-
maybe this one over here? What is your player_index table looking like? (Design Table -> Screenshot) Also please show us your player table info and the complete Query!
-
Just change the pack keys and most kids shouldn't be able to unpack your client.
-
everything except this looks good. Shouldnt this be c_Equipment_End or something like that? Can someone else with more C++ / Metin2 Src experience confirm/deny this?
-
#moved (Q&A -> Searching)
-
WorldEditor failed by loading textures
pollux replied to alg0r!thm's topic in Community Support - Questions & Answers
Check if there is a txt file named like your map (or what you named it) inside your "textureset" folder -
WorldEditor failed by loading textures
pollux replied to alg0r!thm's topic in Community Support - Questions & Answers
Did you create a proper textureset for your map? (like it is defined in your setting.txt)