Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 02:20

  • 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 Quest17.11.2010, (c2010
--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
                    
{
                        { 
1285001000 },
                        { 
1795001000 },
                        { 
27180013000 },
                    },
                -- 
64 map_n_threeway
                    
{
                        { 
402100673900 },
                        { 
270400739900 },
                        { 
321300808000 },
                    },
                -- 
63 metin2_map_n_desert_01
                    
{
                        { 
217800627200 },
                        { 
221900502700 },
                        { 
344000502500 },
                    },
                -- 
61 map_n_snowm_01
                    
{
                        { 
434200290600 },
                        { 
375200174900 },
                        { 
491800173600 },
                    },
                --
empire_castle
                    
--{
                    --    { 
975200133000 },
                    --    { 
977200185000 },
                    --    { 
923900183600 },
                    --} ,
                -- 
62 metin2_map_n_flame_01
                    
{
                        { 
599400756300 },
                        { 
597800622200 },
                        { 
730700689800 },
                    },
                -- 
devil_tower
                    
{
                        { 
590500110500 },
                        { 
590500110500 },
                        { 
590500110500 },
                    },
                -- 
red_forest
                    
{
                        { 
111990070800 },
                        { 
111990070800 },
                        { 
111990070800 },
                    },
                -- 
spider
                    
{
                        { 
85000525000 },
                        { 
85000525000 },
                        { 
85000525000 },
                    },
                --
tempel
                    
{
                        { 
553600143600 },
                        { 
553600143600 },
                        { 
553600143600 },
                    },
                --
tal des todes
                    
{
                        { 
608800634400 },
                        { 
600000755500 },
                        { 
730800689400 },
                    },
                --
deviltower2
                    
{
                        { 
55555005555500 },
                        { 
55555005555500 },
                        { 
55555005555500 },
                    },
                --
skypia01
                    
{
                        { 
100001675000 },
                        { 
100001675000 },
                        { 
100001675000 },
                    },
                --
skypia02
                    
{
                        { 
1536001203200 },
                        { 
1536001203200 },
                        { 
1536001203200 },
                    },
                --
skypiaboss
                    
{
                        { 
8192001049600 },
                        { 
8192001049600 },
                        { 
8192001049600 },
                    },
                --
timeattack01
                    
{
                        { 
777700777700 },
                        { 
777700777700 },
                        { 
777700777700 },
                    },
                --
timeattack02
                    
{
                        { 
888800888800 },
                        { 
888800888800 },
                        { 
888800888800 },
                    },
                --
timeattack03
                    
{
                        { 
999900999900 },
                        { 
999900999900 },
                        { 
999900999900 },
                    },
                --
ox
                    
{
                        { 
870400},
                        { 
870400},
                        { 
870400},
                    },
                --
bossrun
                    
{
                        { 
911100911100 },
                        { 
911100911100 },
                        { 
911100911100 },
                    },
                --
sd2
                    
{
                        { 
665600435200 },
                        { 
665600435200 },
                        { 
665600435200 },
                    },
                --
casino
                    
{
                        { 
444400444400 },
                        { 
444400444400 },
                        { 
444400444400 },
                    },
                --
naga
                    
{
                        { 
555500555500 },
                        { 
555500555500 },
                        { 
555500555500 },
                    },
                --
sd3
                    
{
                        { 
123456700123456700 },
                        { 
123456700123456700 },
                        { 
123456700123456700 },
                    },
            }
            
local sub_set 0
            
--Veriablen End
            say_title
(" الناقل ")
            if 
map == or map == or map == 21 or map == 23 or map == 41 or map == 43 then
                say
("")
                
say_reward(" هل تريد الانتقال؟ ")
            else
                
say_reward(" هل تريد الانتقال؟ ")
            
end
            local s 
select(" نعم "," لا ")
            if 
== 2 then
                
return
            
end
            say_title
(" الناقل ")            
            if 
map == or map == 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 02:20.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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