Register for your free account! | Forgot your password?

You last visited: Yesterday at 23:59

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

Advertisement



Pets Sind reitbar !

Discussion on Pets Sind reitbar ! within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
.Sento™'s Avatar
 
elite*gold: 8
Join Date: May 2012
Posts: 295
Received Thanks: 187
Pets Sind reitbar !

Hallo com. Hab ein problem mit den pets ich ruf die und kann reiten hab das soga gemacht hier und mann kan immer noch mit Strg h reiten -.-

def __PressJKey(self):
if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL):
if player.IsMountingHorse():
net.SendChatPacket("/unmount")
else:
#net.SendChatPacket("/user_horse_ride")
if not uiPrivateShopBuilder.IsBuildingPrivateShop():
for i in xrange(player.INVENTORY_PAGE_SIZE):
if player.GetItemIndex(i) in (71114, 71116, 71118, 71120):
net.SendItemUsePacket(i)
break
def __PressHKey(self):
if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL):
net.SendChatPacket("/user_horse_ride")
else:
self.interface.OpenHelpWindow()

def __PressBKey(self):
if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL):
net.SendChatPacket("/user_horse_back")
else:
state = "EMOTICON"
self.interface.ToggleCharacterWindow(state)

def __PressFKey(self):
if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL):
net.SendChatPacket("/user_horse_feed")
else:
app.ZoomCamera(app.CAMERA_TO_POSITIVE)

def __PressGKey(self):
if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL):
net.SendChatPacket("/unmount")
else:
.Sento™ is offline  
Old 12/27/2012, 20:31   #2
 
Ʀyuzaki's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 815
Received Thanks: 627
Benutzt das hier damit kann man sie nichtmehr reiten :P

Ʀyuzaki is offline  
Old 12/27/2012, 20:34   #3
 
.Sento™'s Avatar
 
elite*gold: 8
Join Date: May 2012
Posts: 295
Received Thanks: 187
Das Steht jetz das bei sysser ... nach char auswahl gehts net weiter

1227 20:49:25273 ::
1227 20:49:25273 :: def __PressBKey(self):

1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 ::
1227 20:49:25273 :: ^

1227 20:49:25273 :: IndentationError
1227 20:49:25273 :: :
1227 20:49:25273 :: unindent does not match any outer indentation level
.Sento™ is offline  
Old 12/27/2012, 20:52   #4

 
Ocelot2606's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4,086
Received Thanks: 3,786
machs doch einfach per quest

PHP Code:
        when 53001.use begin
                local old_level 
horse.get_level()
                
horse.set_level(22)
                
horse.summon()
                
horse.set_level(old_level
So wird dein Pferde Level automatisch nach rufen des Pets wieder auf das alte gesetzt und wenn man reiten will kommt man automatisch auf das Pferd was man vorher hatte
Ocelot2606 is offline  
Thanks
1 User
Old 12/27/2012, 21:02   #5
 
.Sento™'s Avatar
 
elite*gold: 8
Join Date: May 2012
Posts: 295
Received Thanks: 187
Hab eine quest jetz erstellt da aber es gibt fehler

quest pets begin
state start begin
when 53001.use begin
local old_level = horse.get_level()
horse.set_level(22)
horse.summon()
horse.set_level(old_level)
end
end
state back begin
when 53002.use begin
local old_level = horse.get_level()
horse.set_level(22)
horse.summon()
horse.set_level(old_level)
end
end
state back begin
when 53003.use begin
local old_level = horse.get_level()
horse.set_level(22)
horse.summon()
horse.set_level(old_level)
end
end
state back begin
when 53004.use begin
local old_level = horse.get_level()
horse.set_level(22)
horse.summon()
horse.set_level(old_level)
end
end
state back begin
when 53005.use begin
local old_level = horse.get_level()
horse.set_level(22)
horse.summon()
horse.set_level(old_level)
end
end
state back begin
when 53006.use begin
local old_level = horse.get_level()
horse.set_level(22)
horse.summon()
horse.set_level(old_level)
end
end
state back begin
when 53007.use begin
local old_level = horse.get_level()
horse.set_level(22)
horse.summon()
horse.set_level(old_level)
end
end
state back begin
when 53008.use begin
local old_level = horse.get_level()
horse.set_level(22)
horse.summon()
horse.set_level(old_level)
end
end
state back begin
when 53009.use begin
local old_level = horse.get_level()
horse.set_level(22)
horse.summon()
horse.set_level(old_level)
end
end

und das steht bei putty
QUEST : pets
STATE : start
WHEN : 53001.use
STATE : back
WHEN : 53002.use
STATE : back
WHEN : 53003.use
STATE : back
WHEN : 53004.use
STATE : back
WHEN : 53005.use
STATE : back
WHEN : 53006.use
STATE : back
WHEN : 53007.use
STATE : back
WHEN : 53008.use
STATE : back
WHEN : 53009.use
assertion failure : nested==0
pets.quest:73:Abort trap (core dumped)
.Sento™ is offline  
Old 12/27/2012, 21:04   #6
 
elite*gold: 120
Join Date: Mar 2009
Posts: 3,409
Received Thanks: 1,738
Quote:
pets.quest:73:Abort trap (core dumped)
In Zeile 73 gibt's 'nen Fehler.
.Remix is offline  
Old 12/27/2012, 21:08   #7
 
.Sento™'s Avatar
 
elite*gold: 8
Join Date: May 2012
Posts: 295
Received Thanks: 187
helft mir auch net viel
.Sento™ is offline  
Old 12/27/2012, 21:16   #8
 
elite*gold: 120
Join Date: Mar 2009
Posts: 3,409
Received Thanks: 1,738
Was ist das für 'ne kack Quest?
Kann ja garnicht funktionieren.
Es werden States benutzt, die garnicht festgelegt wurden...

€: Hab die Quest mal berichtigt; geht kürzer, hatte aber kb und hab's verpeilt.

.Remix is offline  
Old 12/27/2012, 21:32   #9
 
.Sento™'s Avatar
 
elite*gold: 8
Join Date: May 2012
Posts: 295
Received Thanks: 187
Deins is auch besser xD guck was jetz kommt
QUEST : pets
STATE : start
WHEN : 53001.use
with pc . getqf ( "erstes" ) == 0
qc in malloc(): error: allocation failed
Abort trap (core dumped)
.Sento™ is offline  
Old 12/27/2012, 21:35   #10
 
elite*gold: 120
Join Date: Mar 2009
Posts: 3,409
Received Thanks: 1,738
Irgendwo ist ein/mehrere end's zuviel/zu wenig ... Hab aber kb, jetzt nochmal drüber zu gucken xd...

€: Moment... mache neu.
.Remix is offline  
Old 12/27/2012, 21:38   #11

 
Ocelot2606's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4,086
Received Thanks: 3,786
So müsste es gehen
Ocelot2606 is offline  
Old 12/27/2012, 21:44   #12
 
elite*gold: 120
Join Date: Mar 2009
Posts: 3,409
Received Thanks: 1,738
Hab's mal kürzer gemacht..
Haben halt immer die end's gefehlt

PHP Code:
quest pets begin
    state start begin
        when 53001.
use begin
            
if pc.getqf("erstes") == 0 then
                local old_level 
horse.get_level()
                
horse.set_level(22)
                
horse.summon()
                
horse.set_level(old_level)
                
set_state(back)
                
pc.setqf("erstes"1)
            elseif 
pc.getqf("erstes") == 1 then
                horse
.unsummon()
                
pc.setqf("erstes"0)
            
end
        when 53002.
use begin
            
if pc.getqf("zweites") == 0 then
                local old_level 
horse.get_level()
                
horse.set_level(22)
                
horse.summon()
                
horse.set_level(old_level
                
pc.setqf("zweites"1)
            elseif 
pc.getqf("zweites") == 1 then
                horse
.unsummon()
                
pc.setqf("zweites"0)
            
end
        when 53003.
use begin
            
if pc.getqf("drittes") == 0 then
                local old_level 
horse.get_level()
                
horse.set_level(22)
                
horse.summon()
                
horse.set_level(old_level
                
pc.setqf("drittes"1)
            else
                
horse.unsummon()
                
pc.setqf("drittes"0)
            
end
        when 53004.
use begin
            
if pc.getqf("viertes") == 0 then
                local old_level 
horse.get_level()
                
horse.set_level(22)
                
horse.summon()
                
horse.set_level(old_level
                
pc.setqf("viertes"1)
            else
                
horse.unsummon()
                
pc.setqf("viertes"0)
            
end
        when 53005.
use begin
            
if pc.getqf("fuenftes") == 0 then
                local old_level 
horse.get_level()
                
horse.set_level(22)
                
horse.summon()
                
horse.set_level(old_level
                
pc.setqf("fuenftes"1)
            else
                
horse.unsummon()
                
pc.setqf("fuenftes"0)
            
end
        when 53006.
use begin
            
if pc.getqf("sechstes") == 0 then
                local old_level 
horse.get_level()
                
horse.set_level(22)
                
horse.summon()
                
horse.set_level(old_level
                
pc.setqf("sechstes"1)
            else
                
horse.unsummon()
                
pc.setqf("sechstes"0)
            
end
        when 53007.
use begin
            
if pc.getqf("siebtes") == 0 then
                local old_level 
horse.get_level()
                
horse.set_level(22)
                
horse.summon()
                
horse.set_level(old_level
                
pc.setqf("siebtes"1)
            else
                
horse.unsummon()
                
pc.setqf("siebtes"0)
            
end
        when 53008.
use begin
            
if pc.getqf("achtes") == 0 then
                local old_level 
horse.get_level()
                
horse.set_level(22)
                
horse.summon()
                
horse.set_level(old_level)
                
pc.setqf("achtes"1)
            else
                
horse.unsummon()
                
pc.setqf("achtes"0)
            
end
        when 53009.
use begin
            
if pc.getqf("neuntes") == 0 then
                local old_level 
horse.get_level()
                
horse.set_level(22)
                
horse.summon()
                
pc.setqf("neuntes"1)
            else
                
horse.unsummon()
                
pc.setqf("neuntes"0)
            
end
        end
    end
end 
.Remix is offline  
Old 12/27/2012, 21:46   #13
 
.Sento™'s Avatar
 
elite*gold: 8
Join Date: May 2012
Posts: 295
Received Thanks: 187
syntax error : [string "startpc . getqf ( "achtes" ) == 0"]:6: unexpected symbol near `when'
pets.quest:101:Abort trap (core dumped)
fail
.Sento™ is offline  
Old 12/27/2012, 22:03   #14
 
elite*gold: 120
Join Date: Mar 2009
Posts: 3,409
Received Thanks: 1,738
Kb mehr .. Bin schlafen.
Versuch die von Ocelot
.Remix is offline  
Reply


Similar Threads Similar Threads
(S) Tier Apps die wie Mini Pets sind aber ger.
10/03/2012 - Smartphones - 1 Replies
Topic! Ich suche Android Apps die halt Gelegenheitsspeile sind, meine Freundin spielt nämlich gerne Tier-Spiele wie Mini Petz aber da sie kein Englisch kann, suche ch Spiele die auf Deutsch sind, habt ihr evtl. paar vorschläge? oder habt ihr Links von diesen Apps, ich finde immer nur Apps die Englisch sind oder auf den Android 4.0 nicht funktionieren, wir haben beide das S3 deswegen. Spam wird reportet.
Wo sind die Pets genau ?
06/02/2012 - Rappelz - 5 Replies
Hallo, bin einwenig neu. Könnte mir einer sagen wo ich die pets finden kann: Jinni, Eimus , Kenta MFG Trishbe
Spieler/pets/Mounts sind Würfel
07/02/2010 - World of Warcraft - 3 Replies
Hallo Ich habe gestern beim Patchen die Modelchange MPQ im Data Ordner gelassen. Heute wollte ich sie rausnehmen und die patch-4.MPQ(die GnF-ScM Datei) war weg. Also hab ich einfach mal die patch-3.MPQ rausgenommen um zu schaun ob sie durchs patchen evtl umbenannt wurde. Nachdem ich sie rausgenommen hab hab ich das Spiel gestatrtet und ich war wieder n Gnom....soweit so gut... Nur Problem ist jetzt das manche Spieler/Pets/NPC/Mounts nur weiß-blaue Würfel sind >< Kann ich das irgentwie...



All times are GMT +1. The time now is 00:01.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.