[XP] Blizz-ABS Controller for RMX-OS

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

Previous topic - Next topic

Venesard

I have the latest (2.87) version of BABS, configuration is original from 2.87, I have only one hero in team, I have only one hero in database, I have caterpillar turned off.
And, at least, I solved this error in very strange way:
there is a line 2188:
Quotewhen BlizzABS::AI::Return then update_out_caterpillar

I just wrote "#" before this line.. and it's working. Don't ask me why.
Anyway, thanks for reply, Blizzard  :)

Blizzard

Hm, that's actually not a proper fix and it could mess up something else in your game. :/
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

I have no idea what else I can do :/ at the moment everything is working fine.

MikyGonzalez

Thats not is the right bugfix, I have exactly this:

QuoteFirst 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.


The error continue, with the quick fix of Venesard this may work, but not error solved. If Blizzard can check it for a right fix.

I use LAN connection (with 3 PCs) and sometimes 1 PC with virtual machines, server run in Windows and Linux, server database always MySQL.

Venesard

January 05, 2015, 12:54:26 pm #444 Last Edit: January 05, 2015, 04:31:28 pm by Venesard
I have strange trouble, when someone try to fight with enemy on map (Blizz ABS), only one player can hit. When other players try, they can't deal any damage. When trying PvP, it's bugging the same way, only one player can fight, second one can just stay or run. Any ideas how to repair it? I can send my project here if it will help.

IMPORTANT EDIT:

With caterpillar error, you don't need to write "#" before "when BlizzABS::AI::Return then update_out_caterpillar" in line 2188.
You just need to simply edit line 2442: "(1...ind).each {|i| ind -= 1 if battlers.cindex == nil}"
You have "ind -= 1", just change it to "ind ==1".
:)

MikyGonzalez

@Venesard:

This fix work for now, I don't know if this should the correct fix, but for now is right.

You don't need upload your project because I get the same error: When someone try to fight with enemy on map (Blizz ABS), only one player can hit. When other players try, they can't deal any damage. When trying PvP, it's bugging the same way, only one player can fight, second one can just stay or run.

All scripts (Blizz ABS and RMX-OS with BlizzABS-Controller are the last version, not modified scripts).

Venesard

@MikyGonzalez
You should change the fix to latest one, 'cos the first one can cause errors when you will have a party of 2 or more players  :)
I will try to do something with this  one-man-fight-bug, but every help is welcome.

MikyGonzalez

Quote from: Venesard on January 05, 2015, 07:21:37 pm
@MikyGonzalez
You should change the fix to latest one, 'cos the first one can cause errors when you will have a party of 2 or more players  :)
I will try to do something with this  one-man-fight-bug, but every help is welcome.


I'm doing this with original script (without fix) and the error is there. With your last fix (change -= to ==) also is the error. My party have 1 member, caterpillar deactivated (default options). Connection in LAN and for internet (yes, now i'm testing it out of my network).

Venesard

Bump. Do you find a fix to error with fighting?

Blizzard

Nope. I'm on vacation in the US right now and I didn't take my laptop with me.
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

Blizz, I understand :) but maybe someone else find something. By the way, wish you great vacation :)

Blizzard

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

Another desperate BUMP. I've tried to fix this trouble in many ways, but it's not working anyway. Any ideas?

MikyGonzalez

I can't solver it for myself, I think the problem could be in Server Part... Just I'll check again for BlizzABS Plugin - Server part.

Venesard


chaucer

In Blizz abs Controller for rmx-os under
class Map_OnlineBattler < Map_Actor

replace your def update with this one. this will fix the issue your having, but it will also bring up it's own issues as well.
def update
    super
    self.moving? ? @stop_count = 0 : @stop_count += 1
    @character_name = @character_name_org
    sprite_animation_setup
    check_action
  end


Venesard

@chaucer, it's working, thanks :D

Now I've found a trouble with database I think O.o when I exit the game with Alt+F4 everything is allright, but when I exit the game with "Exit" button, next time when I try to log in it's starting new game, it looks like the account has been never created before. I've checked the database, account  is created but game can't see it.

chaucer

don't know what error you're getting your post was a bit unclear, anyway this won't give any database issues.

Venesard

Sorry, my english isn't very good.
Bug looks like:
If I exit the game using Alt+F4, everything is all right.
If I exit the game using in-game "Log out" button, the game shows me:

And the account I was logging in was deleted.

chaucer

sorry I can't replicate this problem, it's not an issue with the code i gave you I'm fairly certain(could be wrong), but more than likely it could be an edit you made to blizz abs. try making a blank project with an unedited version of rmx-os, blizz abs, and blizz abs controller only, then add the code i gave to you. if the problem happens again PM me a demo and I'll get back to you when i have the time to check it out.