[XP] Blizz-ABS Controller for RMX-OS

Started by Blizzard, January 17, 2010, 05:02:36 pm

Previous topic - Next topic

whitespirits

Hi guys, so I am looking for some help with something. So i added some spells that track that heal instead of damage. Now i want it to heal players when PVP is off not on. also how do i stop it healing enemies as well? i heal players and enemies which wont work at all lol.

R5GAMER

June 28, 2014, 10:41:51 pm #421 Last Edit: June 29, 2014, 12:50:37 am by R5GAMER
Hello! All! and hi! Blizz!

(I dont have a good english)

I have a problem with the backup!
-> I shop I move around and when I load the part it is as if I create an account ... :/
-> When an NPC speaks, i have :
Spoiler: ShowHide

-> On, the switch is activated when a others are not ..
-> I would also like to know if it is possible to disable the PVP fashion!
-> Can we avoid the login menu? Because I create a launcher for this log, and i'd like to know if it can receive information (Login and server)
My programm use langage is .vb

Thanks! And i going to go the presentation of you community!
..........________
....'/,-Y"............."~-.
..l.Y.......................^.
./\............................_\
i.................... ___/"...."\
|.................../"...."\ .....o!
l..................].......o !__../
.\..._..._.........\..___./......"~\
..X...\/...\.....................___./
.(. \.___......_.....--~~".....~`-.           
....`.Z,--........./.....................\
.......\__....(......../.........._____)
...........\.........l......../---~~" /
............Y.......\................../
............|........"x_____.^
............|.....................\
............j.....................Y

Blizzard

I solved this problem a few weeks ago.

Quote from: Blizzard on May 22, 2014, 12:55:13 pm
Hm, I was afraid something like this could happen. I'll have to coordinate this fix with winkio. He needs to a piece of code so this can work. I'll quickly update this script as well.

EDIT: Done. I also made it that the script requires Blizz-ABS 2.87. Now I hope that winkio can quickly update it.

Or you can quickly apply the fix yourself.

Find this part of code (Blizz-ABS Part 3, line 2175):

Spoiler: ShowHide
    # if battler is not valid or dead or ABS disabled
    if !valid? || battler.dead? || !$game_temp.in_battle
      # if not in caterpillar
      if @cindex == nil
        # set to return state
        @ai.state = BlizzABS::AI::Return
      else
        # set to idle state
        @ai.state = BlizzABS::AI::Idle
      end
      # check state and decide further processing
      case @ai.state
      when BlizzABS::AI::Idle then update_in_caterpillar
      when BlizzABS::AI::Return then update_out_caterpillar
      end
      # call superclass method
      super
      # update stop animation display
      update_step_anime
      # exit method
      return
    end
    # if event is being executed
    if $game_system.map_interpreter.running?
      # check state and decide further processing
      case @ai.state
      when BlizzABS::AI::Idle then update_in_caterpillar
      when BlizzABS::AI::Return then update_out_caterpillar
      else
        # move normally if not already moving
        update_forcemove if !moving?
      end
      # update the event with the superclass method
      super
      # update stop animation display
      update_step_anime
      # exit method
      return
    end


Replace it with this:

Spoiler: ShowHide

    # if basic AI should be processed
    if self.process_ai?
      # if battler is not valid or dead or ABS disabled
      if !valid? || battler.dead? || !$game_temp.in_battle
        # if not in caterpillar
        if @cindex == nil
          # set to return state
          @ai.state = BlizzABS::AI::Return
        else
          # set to idle state
          @ai.state = BlizzABS::AI::Idle
        end
        # check state and decide further processing
        case @ai.state
        when BlizzABS::AI::Idle then update_in_caterpillar
        when BlizzABS::AI::Return then update_out_caterpillar
        end
        # call superclass method
        super
        # update stop animation display
        update_step_anime
        # exit method
        return
      end
      # if event is being executed
      if $game_system.map_interpreter.running?
        # check state and decide further processing
        case @ai.state
        when BlizzABS::AI::Idle then update_in_caterpillar
        when BlizzABS::AI::Return then update_out_caterpillar
        else
          # move normally if not already moving
          update_forcemove if !moving?
        end
        # update the event with the superclass method
        super
        # update stop animation display
        update_step_anime
        # exit method
        return
      end
    end


And add this somewhere in Map_Battler:

  def process_ai?
    return true
  end


And remember to change the Blizz-ABS version in the script to 2.87.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

R5GAMER

June 29, 2014, 12:07:28 pm #423 Last Edit: June 29, 2014, 11:00:31 pm by R5GAMER
-> I have a problem with the backup! I shop I move around and when I load the part it is as if I create an account ... :/
    (It's interesting the way or if the player leaves the game in the quest is backup of city.)

-> I would also like to know if it is possible to disable the PVP fashion!

-> Can we avoid the login menu? Because I create a launcher for this log, and i'd like to know if it can receive information (Login and server)
    (My programm use langage is .vb)

-> (Add) Is it possible to connect to a database to create a table and see if a table exists or not, and if this is the case a pop is displayed indicating that there is no quest or yes?

-> It is possible that chat pop when someone write and that after a 50sec time it disappears?

Thanks! :D
..........________
....'/,-Y"............."~-.
..l.Y.......................^.
./\............................_\
i.................... ___/"...."\
|.................../"...."\ .....o!
l..................].......o !__../
.\..._..._.........\..___./......"~\
..X...\/...\.....................___./
.(. \.___......_.....--~~".....~`-.           
....`.Z,--........./.....................\
.......\__....(......../.........._____)
...........\.........l......../---~~" /
............Y.......\................../
............|........"x_____.^
............|.....................\
............j.....................Y

whitespirits

Ok guys, So Chaucer has been amazing In Sorting out bugs with RMX and blizz abs, and on the final hurdle are stuck and need some pro help! We can't disable pvp, this means when fighting enemies together we end up hitting or killing each other due to the amount of movement when fighting in blizz abs, we tried using the obvious disable with no aval and using # on every pvp line under alignments with pvp still being active! If some 1 could spare any time to correct this last annoying bug I would be most greatful!

MikyGonzalez

When I open the menu for change AI Triggers, the name of the char continue showing in screen; Also happend in others windows.

Canibecooltoo

i see the party commands in the script but when i /help party it doesnt exist and doesnt work? any idea.

MikyGonzalez

There an error when a Player attack and die, others connected players crash game with this error:
bad value for range
(BATTLE) BlizzABS - Part 2:2442:in `update_out_caterpillar'
(BATTLE) BlizzABS - Part 2:2188:in `update_blizzabsrmxos_alias'
(RMX-OS) BlizzABS - Controller:802:in `update'
(RMX-OS) BlizzABS - Controller:981:in `update'
(RMX-OS) Script:884:in `update_map_players'
(RMX-OS) Script:884:in `each_value'
(RMX-OS) Script:884:in `update_map_players'
(RMX-OS) Script:3788:in `upd_blizzabs_later'
(BATTLE) BlizzABS - Part 2:6849:in `update'
Scene_Map:25:in `main_rmxos_later'
Scene_Map:19:in `loop'
Scene_Map:30:in `main_rmxos_later'
(RMX-OS) Script:3775:in `main_blizzabs_later'
(BATTLE) BlizzABS - Part 2:6757:in `main_blizzabsrmxos_alias'
(RMX-OS) BlizzABS - Controller:1191:in `main'
-<:::RMX-OS Main:::>-:48

KK20

December 14, 2014, 08:00:04 pm #428 Last Edit: December 14, 2014, 08:05:20 pm by KK20
Isn't this something related to not having a party of just one character per player?

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

MikyGonzalez

I thought that too, but: Having caterpillar activated or deactivated this not work. I only have 1 char in the group, with no party. When I connect to game with other char, this error happend when one char die; the error is produced in the char that not die.

Blizzard

Check that your scripts are in the right order.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

MikyGonzalez

My scripts are in the right order: 1. RMX-OS 2. Blizz-ABS 3. Blizz-ABS controller.

I thought in put this like: 1. Blizz-ABS 2. RMX-OS 3. Blizz-ABS controller, but i get an error line 151: can't clone nil...

MikyGonzalez

I has localized the bug. It jump to error when somebody die in the map, then the other clients try refresh map: `update_map_players' and some happend that need be fixed. It also happend when char is in Gameover menu.

Blizzard

Aha, I see. I'm a bit busy these days, but I'll try to remember to take a look at it.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

MikyGonzalez

Ok, We are very grateful to your job. Greetings.

Venesard

Can someone help me with that? I have no idea what's wrong.

Blizzard

Are you using RMX-OS GUI? If yes, don't use it, it's outdated and will generate you an outdated configuration.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Venesard

No, I don't. Just figured out how to fix this error, but now I have an error with caterpillar: when any player die, all of other players are kicked off with error like this:

Funny, it's a line:
Quote(1...ind).each {|i| ind -= 1 if battlers.cindex == nil}

but I have caterpillar turned off, and player have only one-person team in game.

MikyGonzalez

That is the error that I has posted days ago:

Quote from: MikyGonzalez on December 14, 2014, 07:12:53 am
There an error when a Player attack and die, others connected players crash game with this error:
bad value for range
(BATTLE) BlizzABS - Part 2:2442:in `update_out_caterpillar'
(BATTLE) BlizzABS - Part 2:2188:in `update_blizzabsrmxos_alias'
(RMX-OS) BlizzABS - Controller:802:in `update'
(RMX-OS) BlizzABS - Controller:981:in `update'
(RMX-OS) Script:884:in `update_map_players'
(RMX-OS) Script:884:in `each_value'
(RMX-OS) Script:884:in `update_map_players'
(RMX-OS) Script:3788:in `upd_blizzabs_later'
(BATTLE) BlizzABS - Part 2:6849:in `update'
Scene_Map:25:in `main_rmxos_later'
Scene_Map:19:in `loop'
Scene_Map:30:in `main_rmxos_later'
(RMX-OS) Script:3775:in `main_blizzabs_later'
(BATTLE) BlizzABS - Part 2:6757:in `main_blizzabsrmxos_alias'
(RMX-OS) BlizzABS - Controller:1191:in `main'
-<:::RMX-OS Main:::>-:48


Blizzard

January 04, 2015, 12:02:48 pm #439 Last Edit: January 04, 2015, 12:05:43 pm by Blizzard
Alright, try this.

First check if you the newest Blizz-ABS version. I remember that this problem used to happen in older versions.

Next, make sure that you have only ONE party member in the party. When using Blizz-ABS with RMX-OS, AI-controlled party members are not supported. Don't just turn off the caterpillar. There has to be only one party member.

And finally, if you upgrade Blizz-ABS from an older version, make sure to regenerate the configuration with the config app. If new settongs have been added, the old config script will not work.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.