Starterset bei den Daroo Files

08/25/2011 22:43 WasLosDiqqah™#1
Hey ,

Will das Startset bei den Daroo Files einbauen doch ich
bin ehrlich gesagt zu blöd um es zu bearbeiten :P

Wäre nett wenn einer diese Items :

Quote:
72702
71050 Anzahl : 200
27003 Anzahl : 200
27006 Anzahl : 200
70038
15009
14009
16009
17009
13009

Rest nur 1x
In dieses Starterset

PHP Code:
quest give_basic_weapon begin
        state start begin
                when login begin
                        
if pc.getqf("basic_weapon") != 0 then -- old version support
                                
return
                        
end

                        local item_vnum 
10

                        
if pc.job == 3 then         -- shaman
                                item_vnum 
7000
                        
elseif pc.job == 1 then -- assassin
                                item_vnum 
1000
                        end

                        local item_count 
pc.countitem(item_vnum)
                        
local equip_weapon pc.weapon
                        
if item_count == and equip_weapon != item_vnum then
                                pc
.give_item2(item_vnum)        -- jobtype weapon
                                pc
.give_item2(270015)        -- red potions
                                set_state
(__COMPLETE__)
--                        else
--                                
test_chat(string.format("job[%d],item_vnum[%d].count = %d, equip_weapon[%d]",
--                                        
pc.jobitem_vnumitem_countequip_weapon))
                        
end

                end
        end
        state __COMPLETE__ begin
        end
end 
Danke
08/26/2011 00:16 Entrix'#2
Heyho

hab des kurz geschrieben... des gibts aber auch hier in epvp massenhaft
das nächste ma sufu benutzen ^^
müsste klappen... hat 2 min gedauert :/


PHP Code:
quest give_basic_weapon begin
        state start begin
                when login begin
                        
if pc.job == 0 then
                            pc 
give_item2 "72702" )
                            
pc give_item2 "70038" )
                            
pc give_item2 "15009" )
                            
pc give_item2 "14009" )
                            
pc give_item2 "16009" )
                            
pc give_item2 "17009" )
                            
pc give_item2 "13009" )
                            
pc give_item2 "71050" 200 )
                            
pc give_item2 "27003" 200 )
                            
pc give_item2 "27006" 200 )
                            
chat"Nachricht einfügen" )
                        elseif 
pc.job == 1 then 
                            pc 
give_item2 "72702" )
                            
pc give_item2 "70038" )
                            
pc give_item2 "15009" )
                            
pc give_item2 "14009" )
                            
pc give_item2 "16009" )
                            
pc give_item2 "17009" )
                            
pc give_item2 "13009" )
                            
pc give_item2 "71050" 200 )
                            
pc give_item2 "27003" 200 )
                            
pc give_item2 "27006" 200 )
                            
chat"Nachricht einfügen )
                        elseif pc.job == 2 then 
                            pc . give_item2 ( "
72702" , 1 )
                            pc . give_item2 ( "
70038" , 1 )
                            pc . give_item2 ( "
15009" , 1 )
                            pc . give_item2 ( "
14009" , 1 )
                            pc . give_item2 ( "
16009" , 1 )
                            pc . give_item2 ( "
17009" , 1 )
                            pc . give_item2 ( "
13009" , 1 )
                            pc . give_item2 ( "
71050" , 200 )
                            pc . give_item2 ( "
27003" , 200 )
                            pc . give_item2 ( "
27006" , 200 )
                            chat( "
Nachricht einfügen" )
                        elseif pc.job == 3 then 
                            pc . give_item2 ( "
72702" , 1 )
                            pc . give_item2 ( "
70038" , 1 )
                            pc . give_item2 ( "
15009" , 1 )
                            pc . give_item2 ( "
14009" , 1 )
                            pc . give_item2 ( "
16009" , 1 )
                            pc . give_item2 ( "
17009" , 1 )
                            pc . give_item2 ( "
13009" , 1 )
                            pc . give_item2 ( "
71050" , 200 )
                            pc . give_item2 ( "
27003" , 200 )
                            pc . give_item2 ( "
27006" , 200 )
                            chat( "
Nachricht einfügen" )
                        end  
                            set_state(__COMPLETE__)                   
                        
                            
                end
        end
        
        state __COMPLETE__ begin
        end
end 
08/26/2011 00:19 WasLosDiqqah™#3
Quote:
Originally Posted by WasLosDiqqah™ View Post
Hey ,

Will das Startset bei den Daroo Files einbauen doch ich
bin ehrlich gesagt zu blöd um es zu bearbeiten :P

Wäre nett wenn einer diese Items :



In dieses Starterset

PHP Code:
quest give_basic_weapon begin
        state start begin
                when login begin
                        
if pc.getqf("basic_weapon") != 0 then -- old version support
                                
return
                        
end

                        local item_vnum 
10

                        
if pc.job == 3 then         -- shaman
                                item_vnum 
7000
                        
elseif pc.job == 1 then -- assassin
                                item_vnum 
1000
                        end

                        local item_count 
pc.countitem(item_vnum)
                        
local equip_weapon pc.weapon
                        
if item_count == and equip_weapon != item_vnum then
                                pc
.give_item2(item_vnum)        -- jobtype weapon
                                pc
.give_item2(270015)        -- red potions
                                set_state
(__COMPLETE__)
--                        else
--                                
test_chat(string.format("job[%d],item_vnum[%d].count = %d, equip_weapon[%d]",
--                                        
pc.jobitem_vnumitem_countequip_weapon))
                        
end

                end
        end
        state __COMPLETE__ begin
        end
end 
Danke
Quote:
Originally Posted by Entrix' View Post
Heyho

hab des kurz geschrieben... des gibts aber auch hier in epvp massenhaft
das nächste ma sufu benutzen ^^
müsste klappen... hat 2 min gedauert :/


PHP Code:
quest give_basic_weapon begin
        state start begin
                when login begin
                        
if pc.job == 0 then
                            pc 
give_item2 "72702" )
                            
pc give_item2 "70038" )
                            
pc give_item2 "15009" )
                            
pc give_item2 "14009" )
                            
pc give_item2 "16009" )
                            
pc give_item2 "17009" )
                            
pc give_item2 "13009" )
                            
pc give_item2 "71050" 200 )
                            
pc give_item2 "27003" 200 )
                            
pc give_item2 "27006" 200 )
                            
chat"Nachricht einfügen" )
                        elseif 
pc.job == 1 then 
                            pc 
give_item2 "72702" )
                            
pc give_item2 "70038" )
                            
pc give_item2 "15009" )
                            
pc give_item2 "14009" )
                            
pc give_item2 "16009" )
                            
pc give_item2 "17009" )
                            
pc give_item2 "13009" )
                            
pc give_item2 "71050" 200 )
                            
pc give_item2 "27003" 200 )
                            
pc give_item2 "27006" 200 )
                            
chat"Nachricht einfügen )
                        elseif pc.job == 2 then 
                            pc . give_item2 ( "
72702" , 1 )
                            pc . give_item2 ( "
70038" , 1 )
                            pc . give_item2 ( "
15009" , 1 )
                            pc . give_item2 ( "
14009" , 1 )
                            pc . give_item2 ( "
16009" , 1 )
                            pc . give_item2 ( "
17009" , 1 )
                            pc . give_item2 ( "
13009" , 1 )
                            pc . give_item2 ( "
71050" , 200 )
                            pc . give_item2 ( "
27003" , 200 )
                            pc . give_item2 ( "
27006" , 200 )
                            chat( "
Nachricht einfügen" )
                        elseif pc.job == 3 then 
                            pc . give_item2 ( "
72702" , 1 )
                            pc . give_item2 ( "
70038" , 1 )
                            pc . give_item2 ( "
15009" , 1 )
                            pc . give_item2 ( "
14009" , 1 )
                            pc . give_item2 ( "
16009" , 1 )
                            pc . give_item2 ( "
17009" , 1 )
                            pc . give_item2 ( "
13009" , 1 )
                            pc . give_item2 ( "
71050" , 200 )
                            pc . give_item2 ( "
27003" , 200 )
                            pc . give_item2 ( "
27006" , 200 )
                            chat( "
Nachricht einfügen" )
                        end  
                            set_state(__COMPLETE__)                   
                        
                            
                end
        end
        
        state __COMPLETE__ begin
        end
end 
Nein das ist es nicht !!!!
08/26/2011 00:21 Entrix'#4
o.O... das ist so richtig ^^
08/26/2011 00:22 WasLosDiqqah™#5
Quote:
Originally Posted by Entrix' View Post
o.O... das ist so richtig ^^

Moment xD

€ Bekomme ein Fehler :

Error occured on compile give_basic_weapen.quest

... -.-

€ Hab jetzt ein STarterset aber da kriegt man nur müll ( bearbeite es )

kann geclosed werden

#closerequest
08/31/2011 17:41 schalk92#6
hey

wo ist letter was muss ich startset finde aber ich habe nix gefunden help me!!