Anti EXP

06/24/2012 23:43 ShopMt3#1
Heyo,

ich suche eine Anti EXP Qest,ohne Item.
Es sollte so ablaufen das wenn man sich einloggt das dort die Quest steht.

Ich weis nciht ob soetwas giebt.
Könnte jemand dies vielleicht für mich schreiben?

Gebe wir immer "THX"

mfg:bandit::bandit::bandit::bandit::bandit:
06/25/2012 00:33 lautlosertot#2
PHP Code:
quest anti_exp begin
    state start begin
        when kill with pc
.getqf("exp_block")==and not npc.is_pc() begin
            
if pc.get_exp()>10000 then
                pc
.give_exp2(-pc.get_exp())
            
end
        end
                when letter
("Anti EXP"begin
            say
(" Möchtest du wirklich keine EXP?")
                
local a select("Ja","Nein","Abbrechen")
                if 
3 then
                    
return
                
eliseif a 1 with pc.getqf("exp_block")==1 begin
                    chat
("Ab jetzt bekommst du wieder Exp!")
                    
pc.setqf("exp_block"0)
                
end
            eliseif a 
2 with pc.getqf("exp_block")==1 begin
                chat
("Ab jetzt bekommst du wieder Exp!")
                
pc.setqf("exp_block"0)
            
end
        end
    end
end 
06/25/2012 10:42 ShopMt3#3
danke,

es wird nur ein Fehler angezeigt.
when doesn"t have begin-end clause. (()
anti_exp-quest:8:Abort trap )core dumped)
Error occoured on compile anti_exp.quest

bitte um weitere hilfe :)
06/25/2012 11:01 .SoNiiC.#4
PHP Code:
quest anti_exp begin
    state start begin
        when kill with pc
.getqf("exp_block")==and not npc.is_pc() begin
        
if pc.get_exp()>10000 then
            pc
.give_exp2(-pc.get_exp())
            
end
        end
            
        when login begin
            send_letter
("Anti-Erfahrungs-Panel")
        
end

        when button 
or info begin
        
            say_title
("Anti-Erfahrungs-Panel")
            
say("Hier kannst du entscheiden ob du EXP bekommst!")
        
        
local a select("EXP bekommen""Kein EXP bekommen!")
        
        if 
== 1 then
            chat
("Ab jetzt bekommst du wieder Exp!")
            
pc.setqf("exp_block"0)
    
        elseif 
== 2 then
            chat
("Ab jetzt bekommst du wieder Exp!")
            
pc.setqf("exp_block"1)
            
end
        end
    end
end 
Versuch mal diese hier :)

# geändert
06/25/2012 11:22 ShopMt3#5
auch nicht
06/25/2012 11:31 .SoNiiC.#6
poste mal einen screenshoot. ich hab gerade keine möglichkeit die quest zu testen
06/25/2012 11:42 ShopMt3#7
[Only registered and activated users can see links. Click Here To Register...]

....

[Only registered and activated users can see links. Click Here To Register...]
06/25/2012 11:49 .SoNiiC.#8
#edited
06/25/2012 11:55 ShopMt3#9
????
06/25/2012 11:56 .SoNiiC.#10
ich hab die quest verändert -.-
06/25/2012 12:27 ShopMt3#11
Danke :) geht :)

Könntes du mir dort nochmall helfen???

[Only registered and activated users can see links. Click Here To Register...]
06/25/2012 12:30 .SoNiiC.#12
sende mir eine PN oder adde mich on skype.
06/25/2012 12:35 Tagesausflug#13
#Closerequest
06/26/2012 15:15 EqoTime#14
bei mir geht die nicht das was du editiert hast.. da steht zwar du bekommst kein exp mehr aber man bekommt immernoch

Halloo ?? KANN MIR EINER HELFEN ???
06/27/2012 22:39 EqoTime#15
#PUSHHH plss hilft mal