Añadir lineas a gam.py ( ayuda!!)

Topic created · 1 Mensajes · 192 Visitas
  • Buenas , queria implementar las mascotas phoneix , como en otro post ya me ayudo raul con la quest. bueno veamos ahora la cosa es esta.

    [http://metin2zone.net/index.php?/topic/71-sistema-de-petimplementacion-de-mascotas-phoenix/][0]">[http://metin2zone.net/index.php?/topic/][1] ... s-phoenix/

    Me pasaron ese link y vi lo que tenia que hacer.

    Bien, ahora hagamos el paso de meter la configuración en el game.py que se encuentra en root descompilado:
    Cogemos estos códigos y los metemos en ello. (DEBEN SEGUIR LA MISMA SECUENCIA DE LOS OTROS).

    app.ZoomCamera(app.CAMERA_TO_POSITIVE)

    Ahora este:
    def __PressGKey(self):
    if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL):
    net.SendChatPacket("/unmount")

    y este:
    def __PressFKey(self):
    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:
    if self.ShowNameFlag:
    self.interface.ToggleGuildWindow()
    else:
    app.PitchCamera(app.CAMERA_TO_POSITIVE)

    def __ReleaseGKey(self):
    app.PitchCamera(app.CAMERA_STOP)

    Ahora guardamos y compilamos el root y reemplazamos.

    Y eso donde se mete al final del todo? , al principio? o enmedio x hay tirao?
    xD!!! porfa ayudenme!

    [0]: <a href=
    [1]: http://metin2zone.net/index.php?/topic/