[XP] Blizz-ABS Controller for RMX-OS

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

Previous topic - Next topic

Terv

August 25, 2013, 02:10:24 pm #380 Last Edit: August 25, 2013, 02:12:30 pm by Terv
Maybe do a tracert to your friends' IPs and post anonymized results here. This could help narrow down the cause a bit more.

MikyGonzalez

Must be a problem in the script or its optimization, because in other online systems that use a RMXP battle system and everything works the same regardless of the use of the players. Maybe you should make the script (or at least a version of this) that the battles are processed by the server, rather than a random customer.

Blizzard

Technically using a client to process data decreases speed only two times. If you are experiencing lag of e.g. 4 seconds, then server side processing would still cause lag of 2 seconds. If you are having such severe slow downs, it's not the script.

Changing how things are processed would require the entire server to be restructured and rewritten and I have retired from RMXP over 3 years ago.
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

The lag is not a lag delay, enemies are slowed by all connected clients, are behind the moves. When there is only one client connected and not local goes well. if there are more no

MikyGonzalez

Hello, very good. I was unable to determine the exact error, but to connect 2 people (even locally), the server will lagueado ... (only enemies). I use the same ABS and updated scripts. Test old versions and this does not happen, so I guess the problem is in a change wrong. I would like to review the script and draw a new version solving the above problem and other errors:
· At death, the body disappears (in fact, appears in the same coordinates for all maps Oo) until it returns to the game (gameover offscreen).
· The windows system ABS (ai ..) show the name of the users (this may be because the screen is not refreshed [is drawn above?])
· The problem discussed in previous post about chat and NO disappearance of messages written by others.

Thanks, good luck!

whitespirits

The PVP dosent seem to work at very well? it shows the occasional attack and no dmg is delt? i changed the pvp from false to true and that is the result? any ideas how to make it work properly?

Blizzard

Alright, gameus and me hammered out a few display problems so far. I don't think that battle or PvP works properly already, but at least there should be no more ghost sprites from other players and the chat messages should disappear. We will probably sit down tomorrow for some more testing and fixing.

What the problem was with that? Ruby has a problem when you alias a method in a superclass after the derived class already overloaded that implementation and called "super". The "super" call still calls the original superclass method, not the aliased one.
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.

whitespirits

Thanks for the update Blizzard once the abs is in top shape it will be the netplay destroyer ;) keep up the good work!

Blizzard

February 24, 2014, 03:09:56 pm #388 Last Edit: February 24, 2014, 04:56:26 pm by Blizzard
Alright, v2.2 is up. A few edits made this more stable, but it still flawed. Fixing all the problems would require rewriting some major parts of the code, because the syncing is problematic this way.

EDIT: Actually I think I'm wrong. I'll try a few more things with gameus.

EDIT: No, I designed it properly after all. It's just buggy. Anyway, I got some things working a bit better with gameus and updated the already present v2.2. It seems that enemy deaths/respawns are still somewhat glitchy. I will see to fix these last problems in the following days with gameus' help.
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.

whitespirits

February 25, 2014, 04:19:09 am #389 Last Edit: February 26, 2014, 08:24:05 am by whitespirits
Amazing! thanks Blizzard!

Im home tonight, i will do some LAN testing and post results

Blizzard

whitespirits helped me test today and we got some good progress done. Now I know exactly how I have to restructure stuff to properly process damage displays and fix everything. That is, I actually have 2 possibilities on how to make this work. So I have first evaluate the pros and cons of each method and then implement the one I picked.
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.

Blizzard

Alright, I have finished v3.0. In the end it didn't require much restructuring after all, only adding some additional stuff. I had designed it well initially. xD

I have only tested attacking in PvP mode recently, but generally everything else should continue to work properly. That means that I have no tested skills and items in PvP mode and I have not tested enemy behavior without and with other players on the map in this most recent version. We did test it previously and it seemed fine and the new code isn't much different.

Also, there is a problem in PvP in Blizz-ABS. I asked winkio to take a look at it and hopefully he will have it fixed in v2.86. (Sometimes online players will attack themselves including other players.)
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.

whitespirits

im still having bugs with either abs or controller? any update guys?

winkio

I found the bug that is causing errors with alignments.  In the Alignments module, under def self.allies(id), you need to add "return result" between lines 273 and 274 like this:


    def self.allies(id)
      result = allies_blizzabsrmxos_alias(id)
      case id
      when ONLINE_GROUP
        result = allies_blizzabsrmxos_alias(ACTOR_GROUP).clone
        result |= [ACTOR_GROUP, ONLINE_GROUP]
      when ACTOR_GROUP
        result |= [ONLINE_GROUP]
      end
      return result # <-- This needs to be inserted here
    end

Blizzard

March 03, 2014, 11:40:57 am #394 Last Edit: March 03, 2014, 11:45:32 am by Blizzard
*facepalm* Thanks, winkio!

EDIT: Updated to v3.01.
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.

whitespirits

Brilliant! now i can fight again ;) Im having another error now when using spells that have comment events attached

http://s804.photobucket.com/user/richadam111/media/newerror_zps07794698.png.html

Blizzard

I saw in the Blizz-ABS topic that you already fixed 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.

G_G

Awesome, glad things got fixed for the most part. Also, sorry about not being able to test with you again Blizz. Was dealing with those family issues, but all is good again. But it was fun testing with you nonetheless. :3

Blizzard

No biggy. whitespirits helped with the testing.
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.

Jamal XVI

Hey i'm with a problem in running of the server with the extension.
The image below shows when i run the server with Blizz-ABS controller.
Can anyone Help Me?

Thanks,
Jamal XVI