AccueilAccueil  PortailPortail  RechercherRechercher  Dernières imagesDernières images  S'enregistrerS'enregistrer  ConnexionConnexion  



Le Deal du moment : -45%
Four encastrable Hisense BI64213EPB à ...
Voir le deal
299.99 €

Partagez
 

 Probable conflit de script

Voir le sujet précédent Voir le sujet suivant Aller en bas 
AuteurMessage
Grazl
Maire Lv.9
Maire Lv.9
avatar


Masculin Age : 36
Inscrit le : 15/07/2009
Messages : 366

Probable conflit de script Empty
MessageSujet: Probable conflit de script   Probable conflit de script Icon_minitimeMar 28 Juil 2009 - 13:07

Salut à vous scripteur ^^

J'utilise pas mal de script et j'ai dernièrement ajouté celui-ci: http://rmrk.net/index.php?topic=32863.0

Malheureusement, une des fonctions ne marche pas bien qu'étant selon moi bien configuré
en effet je n'ai pas accès au bestiaire au combat en appuyant sur shift ...

Je suppose qu'il y a un conflit quelquepart mais allez savoir où Sad

Voici un lien des scripts que j'utilise : http://www.megaupload.com/?d=0Y1O1TA6

Si jamais quelqu'un a du temps et la volonté de m'aider il est le bienvenu ^^
Revenir en haut Aller en bas
MirainoHikari
Ex-Admin-Script
Ex-Admin-Script
MirainoHikari


Masculin Age : 42
Inscrit le : 26/05/2008
Messages : 2360

Probable conflit de script Empty
MessageSujet: Re: Probable conflit de script   Probable conflit de script Icon_minitimeMar 28 Juil 2009 - 13:21

Tu es conscients j'espère qu'un script par défaut de VX fait en sorte que SHIFT est utiliser pour la course. Tu devrais peut-être songer à changer de touche.
Revenir en haut Aller en bas
http://mirainohikari.deviantart.com
Blockade
Ex-Admin Cruelle
Ex-Admin Cruelle
Blockade


Féminin Age : 32
Inscrit le : 03/07/2008
Messages : 2441

Probable conflit de script Empty
MessageSujet: Re: Probable conflit de script   Probable conflit de script Icon_minitimeMar 28 Juil 2009 - 16:12

Non Hikari, ils sont bien foutus ces scripts à lui ^^'
Euh ils sont absolument pas compatible avec le SBS, heureusement Shanghai à fait un p'tit patch, qu'il les rend compatibles. Attention il précise bien qu'il à testé seulement avec le SBS normal, mais avec l'ATB cette définition ne devrait pas poser de problèmes, enfin normalment. Voila le script que tu doit placer en dessous de tout les scripts SBS et "Bestiary + Display Scanned Enemy". Donne bien les crédits a Shanghai !

Code:
#===============================================================================
#
# Project YERD + Tankentai Compatibility Patch
#
# This is a compatibility patch to make the Yanfly Engine ReDux battle scripts
# work with Tankentai. This patch is plug and play but both Yanfly's scripts and
# Tankentai aren't. This is only for the non ATB version.
#
#===============================================================================
# Instructions
# -----------------------------------------------------------------------------
# Place the scripts in this order from top to bottom. If you don't, you'll
# never get these scripts working together.
#    Default Scripts
#
#    YERD Battler Stat: Aggro
#    YERD Battler Stat: Barehand
#    YERD Battler Stat: Morale
#    YERD Bestiary + Display Scanned Enemy
#    YERD Display Item Query
#    YERD Display Skill Query
#    Tankentai
#    This script: Project YERD + Tankentai Compatibility Patch
#
#    Main
#===============================================================================

$imported = {} if $imported == nil

#===============================================================================
# class Scene Battle
#===============================================================================
class Scene_Battle < Scene_Base
 
  #--------------------------------------------------------------------------
  # update
  # compatibility for Bestiary + Display Scanned Enemy
  #--------------------------------------------------------------------------
  alias update_yerdtankentai update
  def update
    if $imported["DisplayScannedEnemy"] and @enemy_scan_window.visible
      update_scan_enemy_windows
    else
      update_yerdtankentai
    end
  end
 
  #--------------------------------------------------------------------------
  # select member
  # compatibility for Bestiary + Display Scanned Enemy
  #--------------------------------------------------------------------------
  def select_member(actor = false)
    members = $game_party.members if actor
    members = $game_troop.members unless actor
    loop do
      update_basic
      @cursor_flame = 0 if @cursor_flame == 30
      @cursor.src_rect.set(0,  0, 32, 32) if @cursor_flame == 29
      @cursor.src_rect.set(0, 32, 32, 32) if @cursor_flame == 15
      point = @spriteset.set_cursor(actor, @index)
      @cursor.x = point[0]
      @cursor.y = point[1]
      @cursor_flame += 1
      if Input.trigger?(Input::B)
        Sound.play_cancel
        end_target_selection
        break
      elsif Input.trigger?(Input::C)
        Sound.play_decision
        @active_battler.action.target_index = @index
        end_target_selection
        end_skill_selection
        end_item_selection
        next_actor
        break
      elsif $imported["DisplayScannedEnemy"] and !actor and Input.trigger?(YE::MENU::MONSTER::ENEMY_SCAN_BUTTON)
        Sound.play_decision
        enemy = $game_troop.members[@index]
        @enemy_scan_window.appear(enemy, nil)
        @enemy_image_window.appear(enemy, nil)
        @enemy_name_window.appear(enemy, nil)
        $yerdtkt_actor = actor
        break
      end
      if Input.repeat?(Input::LEFT)
        if actor
          cursor_down(members, actor) if $back_attack
          cursor_up(members, actor) unless $back_attack
        else
          cursor_up(members, actor) if $back_attack
          cursor_down(members, actor) unless $back_attack
        end 
      end
      if Input.repeat?(Input::RIGHT)
        if actor
          cursor_up(members, actor) if $back_attack
          cursor_down(members, actor) unless $back_attack
        else
          cursor_down(members, actor) if $back_attack
          cursor_up(members, actor) unless $back_attack
        end
      end
      cursor_up(members, actor) if Input.repeat?(Input::UP)
      cursor_down(members, actor) if Input.repeat?(Input::DOWN)
    end
  end
 
  #--------------------------------------------------------------------------
  # update scan enemy windows
  # compatibility for Bestiary + Display Scanned Enemy
  #--------------------------------------------------------------------------
  def update_scan_enemy_windows
    return unless $imported["DisplayScannedEnemy"]
    @enemy_scan_window.update
    @enemy_image_window.update
    @enemy_name_window.update
    if Input.trigger?(Input::B)
      Sound.play_cancel
      @enemy_scan_window.disappear
      @enemy_image_window.disappear
      @enemy_name_window.visible = false
      select_member($yerdtkt_actor)
    elsif Input.trigger?(Input::LEFT) or Input.trigger?(Input::UP)
      @enemy_scan_window.previous_page
    elsif Input.trigger?(Input::RIGHT) or Input.trigger?(Input::DOWN)
      @enemy_scan_window.next_page
    elsif Input.trigger?(Input::L)
      @enemy_scan_window.top_page
    elsif Input.trigger?(Input::R)
      @enemy_scan_window.bottom_page
    end
  end
 
  #--------------------------------------------------------------------------
  # target decision
  # compatibility for Battler Stat: Morale
  #--------------------------------------------------------------------------
  def target_decision(obj = nil)
    @targets = @active_battler.action.make_targets
    if $imported["BattlerStatMorale"] and obj != nil
      @active_battler.boost_morale(obj.change_morale)
      for target in @targets
        target.boost_morale(obj.boost_morale) unless target.dead?
      end
    end
    if @targets.size == 0
      action = @active_battler.recover_action
      @spriteset.set_action(@active_battler.actor?, @active_battler.index, action)
    end
    if obj != nil
      if obj.for_two? or obj.for_three? or obj.dual?
        @targets = [@targets[0]]
      end
      if obj.extension.include?("RANDOMTARGET")
        randum_targets = @targets.dup
        @targets = [randum_targets[rand(randum_targets.size)]]
      end
    end
    @spriteset.set_target(@active_battler.actor?, @active_battler.index, @targets)
  end

end
La liste des scripts rendu compatibles :
YERD Battler Stat: Aggro
YERD Battler Stat: Barehand
YERD Battler Stat: Morale
YERD Bestiary + Display Scanned Enemy
YERD Display Item Query
YERD Display Skill Query
Donc je répète ce script doit être posté en dessous du SBS (TOUT les scripts) et de ceux la ! (Si tu les possède ^^')
Revenir en haut Aller en bas
Grazl
Maire Lv.9
Maire Lv.9
avatar


Masculin Age : 36
Inscrit le : 15/07/2009
Messages : 366

Probable conflit de script Empty
MessageSujet: Re: Probable conflit de script   Probable conflit de script Icon_minitimeMar 28 Juil 2009 - 16:59

Merci beaucoup beaucoup Blockade.
Malheureusement pour moi ça entre en conflit avec ATB (je suis super chanceux ^^)
Donc je vais devoir choisir entre ATB ou Bestiary en combat Sad
Je vais voir ce soir avec les autres personnes du projet
Revenir en haut Aller en bas
Contenu sponsorisé




Probable conflit de script Empty
MessageSujet: Re: Probable conflit de script   Probable conflit de script Icon_minitime

Revenir en haut Aller en bas
 

Probable conflit de script

Voir le sujet précédent Voir le sujet suivant Revenir en haut 
Page 1 sur 1

 Sujets similaires

-
» [Résolu]Script de quêtes Acassia/ conflit avec mon menu :/
» [Script] Condition: Appui d'une touche (avec l'ABS) et activation d'un interrupteur en script [Résolu]
» [Script] [Très Important] Problème avec script augmentation limite lvl
» Zombie Assault : Breath Of Chaos [PROBLEME DE SCRIPT ABBANDONS DU PROJET JUSQU'A NEW ABS SCRIPT]
» [Script] Appel de script obligeant le héros à faire une capacité.

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
RPG Maker VX :: Entraide :: Problèmes et Solutions :: Résolu-
Créer un forum | ©phpBB | Forum gratuit d'entraide | Signaler un abus | Forum gratuit