Register for your free account! | Forgot your password?

Go Back   elitepvpers › Popular Games › Metin2 › Metin2 Private Server
You last visited: Today at 12:45

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[QUEST]setbgimage Problem

Discussion on [QUEST]setbgimage Problem within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
MrLibya's Avatar
 
elite*gold: 30
Join Date: Mar 2012
Posts: 517
Received Thanks: 339
[QUEST]setbgimage Problem

Hallo All

i add in map_warp.quest

setbgimage("mrlibya.tga")

And It's Show But The Word Go Out

PHP Code:
------------------------------------------
--
NewWorld3 Quest, 17.11.2010, (c) 2010
--map_warp.quest
--By Dauni
------------------------------------------

quest map_warp begin
    state start begin
        when 9012.chat
." الناقل " begin
            
-- Variablen Start
        setbgimage
("teport.tga")
            
local map = pc.get_map_index()
            
local empire = pc.get_empire()
            
local level = pc.get_level()
            
local cost = math.floor(level / 5) * 1000
            local guild_map_names 
= {" منطقة الأتحاد "," منطقة الأتحاد "," منطقة الأتحاد ",}
            
guild_map_name = guild_map_names[empire]
            
local empire_castle={"Rote Burg","Gelbe Burg","Blaue Burg",}
            
empire_castle = empire_castle[empire]
            
local warp = {
                -- 
guild_map
                    
{
                        { 
128500, 1000 },
                        { 
179500, 1000 },
                        { 
271800, 13000 },
                    },
                -- 
64 map_n_threeway
                    
{
                        { 
402100, 673900 },
                        { 
270400, 739900 },
                        { 
321300, 808000 },
                    },
                -- 
63 metin2_map_n_desert_01
                    
{
                        { 
217800, 627200 },
                        { 
221900, 502700 },
                        { 
344000, 502500 },
                    },
                -- 
61 map_n_snowm_01
                    
{
                        { 
434200, 290600 },
                        { 
375200, 174900 },
                        { 
491800, 173600 },
                    },
                --
empire_castle
                    
--{
                    --    { 
975200, 133000 },
                    --    { 
977200, 185000 },
                    --    { 
923900, 183600 },
                    --} ,
                -- 
62 metin2_map_n_flame_01
                    
{
                        { 
599400, 756300 },
                        { 
597800, 622200 },
                        { 
730700, 689800 },
                    },
                -- 
devil_tower
                    
{
                        { 
590500, 110500 },
                        { 
590500, 110500 },
                        { 
590500, 110500 },
                    },
                -- 
red_forest
                    
{
                        { 
1119900, 70800 },
                        { 
1119900, 70800 },
                        { 
1119900, 70800 },
                    },
                -- 
spider
                    
{
                        { 
85000, 525000 },
                        { 
85000, 525000 },
                        { 
85000, 525000 },
                    },
                --
tempel
                    
{
                        { 
553600, 143600 },
                        { 
553600, 143600 },
                        { 
553600, 143600 },
                    },
                --
tal des todes
                    
{
                        { 
608800, 634400 },
                        { 
600000, 755500 },
                        { 
730800, 689400 },
                    },
                --
deviltower2
                    
{
                        { 
5555500, 5555500 },
                        { 
5555500, 5555500 },
                        { 
5555500, 5555500 },
                    },
                --
skypia01
                    
{
                        { 
10000, 1675000 },
                        { 
10000, 1675000 },
                        { 
10000, 1675000 },
                    },
                --
skypia02
                    
{
                        { 
153600, 1203200 },
                        { 
153600, 1203200 },
                        { 
153600, 1203200 },
                    },
                --
skypiaboss
                    
{
                        { 
819200, 1049600 },
                        { 
819200, 1049600 },
                        { 
819200, 1049600 },
                    },
                --
timeattack01
                    
{
                        { 
777700, 777700 },
                        { 
777700, 777700 },
                        { 
777700, 777700 },
                    },
                --
timeattack02
                    
{
                        { 
888800, 888800 },
                        { 
888800, 888800 },
                        { 
888800, 888800 },
                    },
                --
timeattack03
                    
{
                        { 
999900, 999900 },
                        { 
999900, 999900 },
                        { 
999900, 999900 },
                    },
                --
ox
                    
{
                        { 
870400, 0 },
                        { 
870400, 0 },
                        { 
870400, 0 },
                    },
                --
bossrun
                    
{
                        { 
911100, 911100 },
                        { 
911100, 911100 },
                        { 
911100, 911100 },
                    },
                --
sd2
                    
{
                        { 
665600, 435200 },
                        { 
665600, 435200 },
                        { 
665600, 435200 },
                    },
                --
casino
                    
{
                        { 
444400, 444400 },
                        { 
444400, 444400 },
                        { 
444400, 444400 },
                    },
                --
naga
                    
{
                        { 
555500, 555500 },
                        { 
555500, 555500 },
                        { 
555500, 555500 },
                    },
                --
sd3
                    
{
                        { 
123456700, 123456700 },
                        { 
123456700, 123456700 },
                        { 
123456700, 123456700 },
                    },
            }
            
local sub_set = 0
            
--Veriablen End
            say_title
(" الناقل ")
            if 
map == 1 or map == 3 or map == 21 or map == 23 or map == 41 or map == 43 then
                say
("")
                
say_reward(" هل تريد الانتقال؟ ")
            else
                
say_reward(" هل تريد الانتقال؟ ")
            
end
            local s 
= select(" نعم "," لا ")
            if 
s == 2 then
                
return
            
end
            say_title
(" الناقل ")            
            if 
map == 1 or map == 3 or map == 21 or map == 23 or map == 41 or map == 43 then
                
if level < 60 then
                    say
(" حدد المنطقة التي تريد الذهاب اليها ")
                    
say_reward(" سيكلفك ذلك " ..cost.." يانغ. ")
                    
sub_set = select(guild_map_name, " وادي الغيلان "," صحراء يونغبي ", " جبال سوهان "," إلغاء ")
                    if 
sub_set == 5 then
                        
return
                    
end
                
else
                    
say(" حدد المنطقة التي تود الذهاب اليها ")
                    
say_reward(" سيكلفك ذلك " ..cost.." يانغ. ")
                    
sub_set = select(guild_map_name, " وادي الغيلان ", " صحراء يونغبي ", " جبال سوهان "," التالي ", " إلغاء ")
                    if 
sub_set == 6 then
                        
return
                    
end
                    
if sub_set == 5 then
                        say_title
(" الناقل ")
                        
say(" حدد المنطقة التي تود الذهاب اليها. ")
                        
say_reward(" سيكلفك ذلك " ..cost.." يانغ. ")
                        if 
is_test_server() then
                            sub_set 
= select(" أرض النار ", " برج الشياطين "," الغابة الحمراء ", " برج العناكب ", " معبد الضلام ", " منتصف أرض النار ", " التالي ", " إلغاء ") + 4
                            
if sub_set == 12 then
                                
return
                            
end
                            
if sub_set == 11 then
                                say_reward
(" سيكلفك ذلك " ..cost.." يانغ. ")
                                
sub_set = select("Dنmonenturm2","Skypia01","Skypia02","Skypia Boss","Timeattack01","Timeattack02","Timeattack03","Weiter","Abbrechen") + 10
                                
if sub_set == 19 then
                                    
return
                                
end
                                
if sub_set == 18 then
                                    say_reward
(" سيكلفك ذلك " ..cost.." يانغ. ")
                                    
sub_set = select("OX-Event","Bossrun","Spinnendungeon2","Casino","Naga","Spinnendungeon3","Abbrechen") + 17
                                    
if sub_set == 24 then
                                        
return
                                    
end
                                end
                            end
                        
else
                            
say_reward(" سيكلفك ذلك " ..cost.." يانغ. ")
                            
sub_set = select(" أرض النار ", " برج الشياطين "," الغابة الحمراء ", " برج العناكب ", " معبد الضلام ", " منتصف أرض النار ", " خروج ") + 4
                            
if sub_set == 14 then
                                
return
                            
end
                        end
                    end
                end
                
if pc.get_gold() < cost then
                    say_title
(" الناقل ")
                    
say_reward(" ليس لديك يانغ كافي ")
                    return
                
end
                pc
.changegold(-cost)
                
pc.warp(warp[sub_set][empire][1], warp[sub_set][empire][2])
            else
                if 
empire== 1 then    
                    sub_set3 
= select(" يونغان "," يايانغ ", " إلغاء ")
                    if 
sub_set3 == 1 then
                        
if pc.get_gold() < cost then
                            say_title
(" الناقل ")
                            
say_reward(" ليس لديك يانغ كافي ")
                            return
                        
end
                        pc
.changegold(-cost)
                        
pc.warp(474300,954800)
                    
end
                    
if sub_set3 == 2 then
                        
if pc.get_gold() < cost then
                            say_title
(" الناقل ")
                            
say_reward(" ليس لديك يانغ كافي ")
                            return
                        
end
                        pc
.changegold(-cost)
                        
pc.warp(353100,882900)
                    
end
                    
if sub_set3 == 3 then
                        
return
                    
end
                
elseif  empire == 2 then  
        setbgimage
("teport.tga")
                    
local sub_set3 = select(" جوان "," بوكيونج ", " إلغاء ")
                    if 
sub_set3 == 1 then
                        
if pc.get_gold() < cost then
                            say_title
(" الناقل ")
                            
say_reward(" ليس لديك يانغ كافي ")
                            return
                        
end
                        pc
.changegold(-cost)
                        
pc.warp(63800,166400)
                    
end
        setbgimage
("teport.tga")
                    if 
sub_set3 == 2 then
                        
if pc.get_gold() < cost then
                            say_title
(" الناقل ")
                            
say_reward(" ليس لديك يانغ كافي ")
                            return
                        
end
                        pc
.changegold(-cost)
                        
pc.warp(145500,240000)
                    
end
                    
if sub_set3 == 3 then
                        
return
                    
end
        setbgimage
("teport.tga")
                elseif  
empire == 3 then 
                    local sub_set3 
= select(" بيونغمو "," باكرا ", " إلغاء ")
                    if 
sub_set3 == 1 then
                        
if pc.get_gold() < cost then
                            say_title
(" الناقل ")
                            
say_reward(" ليس لديك يانغ كافي ")
                            return
                        
end
                        pc
.changegold(-cost)
                        
pc.warp(959900,269200)
                    
end
                    
if sub_set3 == 2 then
                        
if pc.get_gold() < cost then
                            say_title
(" الناقل ")
                            
say_reward(" ليس لديك يانغ كافي ")
                            return
                        
end
                        pc
.changegold(-cost)
                        
pc.warp(863900,246000)
                    
end
        setbgimage
("teport.tga")
                    if 
sub_set3 == 3 then
        setbgimage
("teport.tga")
                        return
                    
end
                end
            end
        end
    end
end 
MrLibya is offline  
Reply


Similar Threads Similar Threads
[QUEST]setbgimage Problem
04/14/2013 - Metin2 Private Server - 2 Replies
Hallo All i add in map_warp.quest setbgimage("mrlibya.tga") And It's Show But The Word Go Out:)
quest problem..
09/17/2011 - Metin2 Private Server - 8 Replies
hallo leute.. hab mal wieder n problem.. hab n quest schreiben lassen.. und wollte es einfügen.. jetzt kommt der fehler wenn ich make.sh mache.. must start with 'quest' mag.quest:1:Abort trap (core dumped) Error occured on compile mag.quest quest mag begin
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
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello! I have this same problem as here when i'm starting my server: http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html But I didn't know the answer.. how to repair this? Greetings



All times are GMT +2. The time now is 12:46.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.