Tipologie server: -Test-
*Resursă folosită: -
*ServerFiles utilizat: -
*Syserr: Nu pot executa questul, deoarece imi da "Abort: Core Dumped" (must start with 'quest')
Poză: -
*Detalii suplimentare: Salutare, incerc sa-mi fac un quest in care poti vinde minerale la supra-pret, dar nu stiu unde gresesc, ma poate ajuta si pe mine un cunoscator?
Cod: Selectaţi tot
quest favorite_camera_de_comert begin
state start begin
when 9005.chat."Comert (Commerce)" begin
say_title( "Comert (Commerce)" )
say_alb( "" )
say_galben( "(Ro)" )
say_alb( " Aici ai posibilitatea de a-ti majora profitul, prin munca," )
say_alb( "minand diverse zacaminte si vanzand minereurile la un pret" )
say_alb( "ridicat. Doresti sa faci asta?" )
say_alb( "" )
say_galben( "(En)" )
say_alb( " Here you have the opportunity to increase your profit by" )
say_alb( "working, mining various deposits and selling ores at a" )
say_alb( "high price. Do you want to do this?" )
say_alb( "" )
say_verde2( "Test-Metin2Server" )
if select( "Da" , "Nu" ) == 1 then
say_title( "Camera de Comert (Chamber of Commerce)" )
say_alb( "" )
say_galben( "(Ro)" )
say_alb( " Selecteaza minereul pe care doresti sa il vinzi. " )
say_alb( "" )
say_galben( "(En)" )
say_alb( "Select the ore you want to sell." )
say_alb( "" )
local SelectChoice = select( "Lemn Abanos (Ebony)" , "Bustean Fosila (Fossil Trunk)" , "- (X) -" )
if (SelectChoice == 3) then return; end
if (SelectChoice == 1) then
say_title( "Camera de Comert (Chamber of Commerce)" )
say_auriu( "Lemn Abanos (Ebony) -> 600Yang/Buc(Piece)" )
say( "" )
say_galben( "(Ro)" )
say_alb( "Cate bucati doriti sa vindeti? " )
say( "" )
say_galben( "(En)" )
say_alb( "How many pieces do you want to sell?" )
local SelectChoiceAA = select( "50" , "200" , "1000" , "- (X) -" )
if (SelectChoiceAA == 4) then return; end
--JOS_SUNT_50_BUC
if (SelectChoiceAA == 1) then
say_title( "Camera de Comert (Chamber of Commerce)" )
say_auriu( "Lemn Abanos (Ebony) -> 600Yang/Buc(Piece)" )
say( "" )
say_galben( "(Ro)" )
say_alb( "Doresti sa vinzi 50 bucati de minereu?" )
say( "" )
say_galben( "(En)" )
say_alb( "Do you want to sell 50 pieces of ore?" )
say( "" )
say_reward( "BONUS: +0% Yang (Cantitate)" )
say_reward( "MINEREURI: 30000 Yang" )
say_reward( "TOTAL (BONUS + MINEREURI): 30000 (30k) Yang" )
say_verde2( "Test-Metin2Server" )
if select( "Da" , "Nu" ) == 1 then
if pc.count_item(50608) < 50 then
say_title( "Camera de Comert (Chamber of Commerce)" )
say( "" )
say_galben( "(Ro)" )
say_rosu( "Imposibil! Nu detineti toate articolele necesare, petru" )
say_rosu( "a continua operatiunea." )
say( "" )
say_galben( "(En)" )
say_rosu( "Impossible! You do not have all the necessary objects" )
say_rosu( "to continue the operation." )
say( "" )
say( "" )
say( "" )
say( "" )
say_verde2( "Test-Metin2Server" )
return
elseif pc.count_item(50608) >= 50 then
say_title( "Camera de Comert (Chamber of Commerce)" )
say( "" )
say_galben( "(Ro)" )
say_verde2( "Articole vandute cu succes!" )
say_verde2( "Suma de bani a fost adaugata contului dumneavoastra." )
say( "" )
say_galben( "(En)" )
say_verde2( "Article sold successfully!" )
say_verde2( "Money has been added to your account." )
say( "" )
say( "" )
say( "" )
say( "" )
say_verde2( "Test-Metin2Server" )
pc.remove_item("50608", 50)
pc.change_gold(50000)
end
end
end
--JOS_SUNT_200_BUC
if (SelectChoiceAA == 2) then
say_title( "Camera de Comert (Chamber of Commerce)" )
say_auriu( "Lemn Abanos (Ebony) -> 600Yang/Buc(Piece)" )
say( "" )
say_galben( "(Ro)" )
say_alb( "Doresti sa vinzi 200 bucati de minereu?" )
say( "" )
say_galben( "(En)" )
say_alb( "Do you want to sell 200 pieces of ore?" )
say( "" )
say_reward( "BONUS: +5% Yang (Cantitate)" )
say_reward( "MINEREURI: 120000 Yang" )
say_reward( "TOTAL (BONUS + MINEREURI): 132000 (132k) Yang" )
say_verde2( "Test-Metin2Server" )
if select( "Da" , "Nu" ) == 1 then
if pc.count_item(50608) < 200 then
say_title( "Camera de Comert (Chamber of Commerce)" )
say( "" )
say_galben( "(Ro)" )
say_rosu( "Imposibil! Nu detineti toate articolele necesare, petru" )
say_rosu( "a continua operatiunea." )
say( "" )
say_galben( "(En)" )
say_rosu( "Impossible! You do not have all the necessary objects" )
say_rosu( "to continue the operation." )
say( "" )
say( "" )
say( "" )
say( "" )
say_verde2( "Test-Metin2Server" )
return
elseif pc.count_item(50608) >= 200 then
say_title( "Camera de Comert (Chamber of Commerce)" )
say( "" )
say_galben( "(Ro)" )
say_verde2( "Articole vandute cu succes!" )
say_verde2( "Suma de bani a fost adaugata contului dumneavoastra." )
say( "" )
say_galben( "(En)" )
say_verde2( "Article sold successfully!" )
say_verde2( "Money has been added to your account." )
say( "" )
say( "" )
say( "" )
say( "" )
say_verde2( "Test-Metin2Server" )
pc.remove_item("50608", 200)
pc.change_gold(132000)
end
end
end
--JOS_SUNT_1000_BUC
if (SelectChoiceAA == 3) then
say_title( "Camera de Comert (Chamber of Commerce)" )
say_auriu( "Lemn Abanos (Ebony) -> 600Yang/Buc(Piece)" )
say( "" )
say_galben( "(Ro)" )
say_alb( "Doresti sa vinzi 1000 bucati de minereu?" )
say( "" )
say_galben( "(En)" )
say_alb( "Do you want to sell 1000 pieces of ore?" )
say( "" )
say_reward( "BONUS: +30% Yang (Cantitate)" )
say_reward( "MINEREURI: 600000 Yang" )
say_reward( "TOTAL (BONUS + MINEREURI): 780000 (780k) Yang" )
say_verde2( "Test-Metin2Server" )
if select( "Da" , "Nu" ) == 1 then
if pc.count_item(50608) < 1000 then
say_title( "Camera de Comert (Chamber of Commerce)" )
say( "" )
say_galben( "(Ro)" )
say_rosu( "Imposibil! Nu detineti toate articolele necesare, petru" )
say_rosu( "a continua operatiunea." )
say( "" )
say_galben( "(En)" )
say_rosu( "Impossible! You do not have all the necessary objects" )
say_rosu( "to continue the operation." )
say( "" )
say( "" )
say( "" )
say( "" )
say_verde2( "Test-Metin2Server" )
return
elseif pc.count_item(50608) >= 1000 then
say_title( "Camera de Comert (Chamber of Commerce)" )
say( "" )
say_galben( "(Ro)" )
say_verde2( "Articole vandute cu succes!" )
say_verde2( "Suma de bani a fost adaugata contului dumneavoastra." )
say( "" )
say_galben( "(En)" )
say_verde2( "Article sold successfully!" )
say_verde2( "Money has been added to your account." )
say( "" )
say( "" )
say( "" )
say( "" )
say_verde2( "Test-Metin2Server" )
pc.remove_item("50608", 1000)
pc.change_gold(780000)
end
end -- INCHIDERE (IF Select Da/Nu)
end -- INCHIDERE (IF SekectChoiceAA)
end -- INCHIDERE (LOCAL - SelectChoiceAA)
--.
--__SUS__ESTE__MINEREU__DE__ABANOS________________________________________________________
--__JOS__ESTE__MINEREU__DE__BUSTEAN__FOSILA_______________________________________________
--.
if (SelectChoice == 2) then
say_title( "Camera de Comert (Chamber of Commerce)" )
say_auriu( "Bustean Fosila (Fossil Trunk) -> 625Yang/Buc(Piece)" )
say( "" )
say_galben( "(Ro)" )
say_alb( "Cate bucati doriti sa vindeti? " )
say( "" )
say_galben( "(En)" )
say_alb( "How many pieces do you want to sell?" )
local SelectChoiceAA = select( "50" , "200" , "1000" , "- (X) -" )
if (SelectChoiceAA == 4) then return; end
--JOS_SUNT_50_BUC
if (SelectChoiceAA == 1) then
say_title( "Camera de Comert (Chamber of Commerce)" )
say_auriu( "Bustean Fosila (Fossil Trunk) -> 625Yang/Buc(Piece)" )
say( "" )
say_galben( "(Ro)" )
say_alb( "Doresti sa vinzi 50 bucati de minereu?" )
say( "" )
say_galben( "(En)" )
say_alb( "Do you want to sell 50 pieces of ore?" )
say( "" )
say_reward( "BONUS: +0% Yang (Cantitate)" )
say_reward( "MINEREURI: 31250 Yang" )
say_reward( "TOTAL (BONUS + MINEREURI): 31250 (31.25k) Yang" )
say_verde2( "Test-Metin2Server" )
if select( "Da" , "Nu" ) == 1 then
if pc.count_item(50608) < 50 then
say_title( "Camera de Comert (Chamber of Commerce)" )
say( "" )
say_galben( "(Ro)" )
say_rosu( "Imposibil! Nu detineti toate articolele necesare, petru" )
say_rosu( "a continua operatiunea." )
say( "" )
say_galben( "(En)" )
say_rosu( "Impossible! You do not have all the necessary objects" )
say_rosu( "to continue the operation." )
say( "" )
say( "" )
say( "" )
say( "" )
say_verde2( "Test-Metin2Server" )
return
elseif pc.count_item(50608) >= 50 then
say_title( "Camera de Comert (Chamber of Commerce)" )
say( "" )
say_galben( "(Ro)" )
say_verde2( "Articole vandute cu succes!" )
say_verde2( "Suma de bani a fost adaugata contului dumneavoastra." )
say( "" )
say_galben( "(En)" )
say_verde2( "Article sold successfully!" )
say_verde2( "Money has been added to your account." )
say( "" )
say( "" )
say( "" )
say( "" )
say_verde2( "Test-Metin2Server" )
pc.remove_item("50608", 50)
pc.change_gold(31250)
end
end
end
--JOS_SUNT_200_BUC
if (SelectChoiceAA == 2) then
say_title( "Camera de Comert (Chamber of Commerce)" )
say_auriu( "Bustean Fosila (Fossil Trunk) -> 625Yang/Buc(Piece)" )
say( "" )
say_galben( "(Ro)" )
say_alb( "Doresti sa vinzi 200 bucati de minereu?" )
say( "" )
say_galben( "(En)" )
say_alb( "Do you want to sell 200 pieces of ore?" )
say( "" )
say_reward( "BONUS: +5% Yang (Cantitate)" )
say_reward( "MINEREURI: 125000 Yang" )
say_reward( "TOTAL (BONUS + MINEREURI): 131250 (131.25k) Yang" )
say_verde2( "Test-Metin2Server" )
if select( "Da" , "Nu" ) == 1 then
if pc.count_item(50608) < 200 then
say_title( "Camera de Comert (Chamber of Commerce)" )
say( "" )
say_galben( "(Ro)" )
say_rosu( "Imposibil! Nu detineti toate articolele necesare, petru" )
say_rosu( "a continua operatiunea." )
say( "" )
say_galben( "(En)" )
say_rosu( "Impossible! You do not have all the necessary objects" )
say_rosu( "to continue the operation." )
say( "" )
say( "" )
say( "" )
say( "" )
say_verde2( "Test-Metin2Server" )
return
elseif pc.count_item(50608) >= 200 then
say_title( "Camera de Comert (Chamber of Commerce)" )
say( "" )
say_galben( "(Ro)" )
say_verde2( "Articole vandute cu succes!" )
say_verde2( "Suma de bani a fost adaugata contului dumneavoastra." )
say( "" )
say_galben( "(En)" )
say_verde2( "Article sold successfully!" )
say_verde2( "Money has been added to your account." )
say( "" )
say( "" )
say( "" )
say( "" )
say_verde2( "Test-Metin2Server" )
pc.remove_item("50608", 200)
pc.change_gold(131250)
end
end
end
--JOS_SUNT_1000_BUC
if (SelectChoiceAA == 3) then
say_title( "Camera de Comert (Chamber of Commerce)" )
say_auriu( "Bustean Fosila (Fossil Trunk) -> 625Yang/Buc(Piece)" )
say( "" )
say_galben( "(Ro)" )
say_alb( "Doresti sa vinzi 1000 bucati de minereu?" )
say( "" )
say_galben( "(En)" )
say_alb( "Do you want to sell 1000 pieces of ore?" )
say( "" )
say_reward( "BONUS: +30% Yang (Cantitate)" )
say_reward( "MINEREURI: 625000 Yang" )
say_reward( "TOTAL (BONUS + MINEREURI): 812500 (812.5k) Yang" )
say_verde2( "Test-Metin2Server" )
if select( "Da" , "Nu" ) == 1 then
if pc.count_item(50608) < 1000 then
say_title( "Camera de Comert (Chamber of Commerce)" )
say( "" )
say_galben( "(Ro)" )
say_rosu( "Imposibil! Nu detineti toate articolele necesare, petru" )
say_rosu( "a continua operatiunea." )
say( "" )
say_galben( "(En)" )
say_rosu( "Impossible! You do not have all the necessary objects" )
say_rosu( "to continue the operation." )
say( "" )
say( "" )
say( "" )
say( "" )
say_verde2( "Test-Metin2Server" )
return
elseif pc.count_item(50608) >= 1000 then
say_title( "Camera de Comert (Chamber of Commerce)" )
say( "" )
say_galben( "(Ro)" )
say_verde2( "Articole vandute cu succes!" )
say_verde2( "Suma de bani a fost adaugata contului dumneavoastra." )
say( "" )
say_galben( "(En)" )
say_verde2( "Article sold successfully!" )
say_verde2( "Money has been added to your account." )
say( "" )
say( "" )
say( "" )
say( "" )
say_verde2( "Test-Metin2Server" )
pc.remove_item("50608", 1000)
pc.change_gold(812500)
end
end -- INCHIDERE (IF Select Da/Nu)
end -- INCHIDERE (IF SekectChoiceAA)
end -- INCHIDERE (LOCAL - SelectChoiceAA)
end --INCHIDERE (IF SelectChoice)
end -- INCHIDERE (LOCAL - SelectChoice)
end -- INCHIDERE (IF Select Da/Nu)
end -- INCHIDERE (When 9005, rubrica)
end -- INCHIDERE (State Start)
end






