hentai
When's Melty on Steam?
ahaha that's no--wait, what?

Author Topic: CCCaster v3.0 Rollback Edition  (Read 396625 times)

0 Members and 6 Guests are viewing this topic.

Offline Madscientist

  • is actually Maidscientist
  • Soul Hacker
  • *****
  • Posts: 173
  • Magic Circuits: 79
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #225 on: July 18, 2013, 06:45:18 AM »
Minor update, implemented those things Tonberry suggested.
Also Tonberry, can you send/link me that replay file? I'm kinda curious of what could cause that to happen.

Skipping games when spectating is something that I plan to add. Also I know that spectating in general can be flaky sometimes, which is something I need to fix.

Those spectator mode changes aren't really small, and I'm actually making good progress on rollback, so I think I'll keep focusing on that.
« Last Edit: July 18, 2013, 06:55:50 AM by Madscientist »

Offline Dusk Thanatos

  • Jr. Spellcaster
  • **
  • Posts: 77
  • Magic Circuits: 2
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #226 on: July 18, 2013, 08:15:42 AM »
That's awesome. Rollback>>>>>>>>>>>>>>spectator fixes, so.

Offline Tonberry

  • Spellcaster
  • ***
  • Posts: 629
  • Magic Circuits: 53
  • $NJ$
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #227 on: July 18, 2013, 11:08:49 AM »
Minor update, implemented those things Tonberry suggested.
Also Tonberry, can you send/link me that replay file? I'm kinda curious of what could cause that to happen.

Skipping games when spectating is something that I plan to add. Also I know that spectating in general can be flaky sometimes, which is something I need to fix.

Those spectator mode changes aren't really small, and I'm actually making good progress on rollback, so I think I'll keep focusing on that.

Thank you very much :).

http://www.mediafire.com/download/lo091b7ce72gi16/ROAxAOKO_130713020703.rep
[01:08] <Komidol> that marisa cosplayer that took my registration was sexy
[15:24] <Rokunaya> i've actually reached the point where some voice actors sound familiar in animes
[22:40] <bellreisa> i'm an insane murderer who is overwhelmed by nihilism but that's ok cause i'm in love

Offline f-wlen ice loop

  • the troll that slays gods
  • Magus Candidate
  • ****
  • Posts: 790
  • Magic Circuits: 91
  • i did it
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #228 on: July 21, 2013, 05:59:16 PM »
ran into an issue where reducing damage caused the pc speaker to beep. makes 0 sense as nothing is mapped to keyboard but it happened 2-3 times over the course of a few games.

edit: did not happen on a subsequent set. however, i am confused as to who gets to pick post-game options; it seems to only be winner?

also, is there a reason the game drops fps in between rounds?
« Last Edit: July 21, 2013, 07:09:51 PM by f-wlen ice loop »
<fubarduck> hey bell good shit beating kusoru in melty
<fubarduck> he was like "i lost to a long haired asian"
<fubarduck> aaaaaaaaa

Offline Madscientist

  • is actually Maidscientist
  • Soul Hacker
  • *****
  • Posts: 173
  • Magic Circuits: 79
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #229 on: July 21, 2013, 09:17:21 PM »
The result menu works like the Capcom games, both players pick their own options, if either chose character select, then it forces both sides to go to character select.

The FPS drop between rounds is due to caster syncing the RNG state, I've found it sometimes changes between rounds, so I must force it to sync up at those points. Shouldn't be an issue though since it happens before the round actually starts. Maybe I can figure out how to hide the FPS drop.

Edit: @Tonberry, the replay seems to work fine for me.
« Last Edit: July 21, 2013, 09:41:02 PM by Madscientist »

Offline Tonberry

  • Spellcaster
  • ***
  • Posts: 629
  • Magic Circuits: 53
  • $NJ$
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #230 on: July 21, 2013, 10:20:49 PM »
Edit: @Tonberry, the replay seems to work fine for me.

Yeah, it turns out I can't do anything after any replay(wtf??)
[01:08] <Komidol> that marisa cosplayer that took my registration was sexy
[15:24] <Rokunaya> i've actually reached the point where some voice actors sound familiar in animes
[22:40] <bellreisa> i'm an insane murderer who is overwhelmed by nihilism but that's ok cause i'm in love

Offline f-wlen ice loop

  • the troll that slays gods
  • Magus Candidate
  • ****
  • Posts: 790
  • Magic Circuits: 91
  • i did it
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #231 on: July 22, 2013, 06:00:45 PM »
whatever was done in this version has made starting the games up more stable but the in-game fps is completely fucked up. it reports 500+ variance with 2-3ms swings in ping to google, intro fps drops to 49, post-round fps drops to 35-40, mid-match fps is all over the place. this was with multiple people i tested, and overall the buffer feels worse but that could be imagination. i tested vs the same person using 1.1 right after the described 2.0 session and we had a full 60fps game. something is wrong w/the new client
<fubarduck> hey bell good shit beating kusoru in melty
<fubarduck> he was like "i lost to a long haired asian"
<fubarduck> aaaaaaaaa

Offline Madscientist

  • is actually Maidscientist
  • Soul Hacker
  • *****
  • Posts: 173
  • Magic Circuits: 79
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #232 on: July 22, 2013, 07:47:38 PM »
Aaah, that seems like a performance issue. I might need to actually profile my client and optimize it.

I'm gonna assume this doesn't happen to everyone.

Offline f-wlen ice loop

  • the troll that slays gods
  • Magus Candidate
  • ****
  • Posts: 790
  • Magic Circuits: 91
  • i did it
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #233 on: July 22, 2013, 07:54:31 PM »
people i remember testing with:

kusanagi (no issues, 4d, standard 4d problems)
mizuki (massive lag, miz has a gaming rig too)
ct warrior (59-60 fps on 1.1, 40-49 fps midmatch on 2.0)

i have a pretty old pc but a netplay client should not have this type of severe performance issue, plus it runs 60fps offline.
<fubarduck> hey bell good shit beating kusoru in melty
<fubarduck> he was like "i lost to a long haired asian"
<fubarduck> aaaaaaaaa

Offline Madscientist

  • is actually Maidscientist
  • Soul Hacker
  • *****
  • Posts: 173
  • Magic Circuits: 79
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #234 on: July 22, 2013, 09:30:11 PM »
If anyone else has the same issue give this build a try: http://www.mediafire.com/download/0z5ip3ddnv5poar/cccaster.exe

If it doesn't help it at least eliminates one possibility for me.

Offline Funky-kun

  • Spellcaster
  • ***
  • Posts: 190
  • Magic Circuits: 18
  • See red, no escape.
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #235 on: July 23, 2013, 01:42:54 AM »
I have had occasional frame drops (Bulgaria <-> Switzerland, delay 2) with one person, but I wouldn't blame it on cccaster because I share my internet connection. Yesterday had a perfect 60 fps match @ 2 delay while my roommate held a Skype video conference. In any case, the frequent desyncs I used to have are completely gone!

Thanks for your amazing work, Madscientist!
In Soviet Blood, victory 2a's its way to you.

Offline Madscientist

  • is actually Maidscientist
  • Soul Hacker
  • *****
  • Posts: 173
  • Magic Circuits: 79
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #236 on: July 23, 2013, 06:12:30 AM »
This is with ^ that build?

Offline Funky-kun

  • Spellcaster
  • ***
  • Posts: 190
  • Magic Circuits: 18
  • See red, no escape.
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #237 on: July 23, 2013, 07:16:34 AM »
No, with 2.0b. If I encounter framedrops again, I will try using the one you last posted.
In Soviet Blood, victory 2a's its way to you.

Offline Herja

  • Apprentice
  • *
  • Posts: 5
  • Magic Circuits: 0
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #238 on: July 23, 2013, 05:22:19 PM »
If anyone else has the same issue give this build a try: http://www.mediafire.com/download/0z5ip3ddnv5poar/cccaster.exe

If it doesn't help it at least eliminates one possibility for me.

It didnt work for me. Whatever you did in b basically halved the framerate for me. Im on xp btw (and no i know its not my end because the game itself runs fine without caster and Im not lagging).
BROOMS

Offline f-wlen ice loop

  • the troll that slays gods
  • Magus Candidate
  • ****
  • Posts: 790
  • Magic Circuits: 91
  • i did it
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #239 on: July 23, 2013, 09:18:37 PM »
first test vs ct_warrior (same person i tested 1.1 perfect on)

fps is better in the 55-60 range, possible fluctuations due to some changed gpu settings on his side + other people on his conn. definite improvement. post-round fps drop still present but in the 45s now instead of 30-35s. will post further testing as they come
<fubarduck> hey bell good shit beating kusoru in melty
<fubarduck> he was like "i lost to a long haired asian"
<fubarduck> aaaaaaaaa

Offline CT_Warrior

  • Spellcaster
  • ***
  • Posts: 186
  • Magic Circuits: 2
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #240 on: July 23, 2013, 09:32:11 PM »
Yeah, that new version helped quite a bit. I have a fairly weak CPU (AMD Athlon X2 5000+, 2.6ghz duocore)and I get 3-4 FPS drops when someone gets hit, but that's only for netplay. I'd be so happy if you could optimize the code a bit so I can play full 60 FPS with prerendered frames at 0.

EDIT: I think my FPS was fine in v1.1.
« Last Edit: July 23, 2013, 09:38:55 PM by CT_Warrior »

Offline f-wlen ice loop

  • the troll that slays gods
  • Magus Candidate
  • ****
  • Posts: 790
  • Magic Circuits: 91
  • i did it
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #241 on: July 24, 2013, 07:49:20 PM »
tested vs rayza (wc -> ec)

mostly small 57-59 drops mid-round, the post-round 45 drop still there

noticing that all affected parties seem to have a winxp machine involved
<fubarduck> hey bell good shit beating kusoru in melty
<fubarduck> he was like "i lost to a long haired asian"
<fubarduck> aaaaaaaaa

Offline Madscientist

  • is actually Maidscientist
  • Soul Hacker
  • *****
  • Posts: 173
  • Magic Circuits: 79
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #242 on: July 24, 2013, 08:12:41 PM »
« Last Edit: July 24, 2013, 08:57:27 PM by Madscientist »

Offline Demicol

  • Apprentice
  • *
  • Posts: 1
  • Magic Circuits: 0
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #243 on: July 25, 2013, 03:27:45 AM »
I apologize if this isn't the place for this, but I'm going insane trying to get the netplay to work. I have confirmed I have the port I am using open trough this, but I still get UDP connection timed out when someone tries to connect. Anyone know whats up?

Offline Dusk Thanatos

  • Jr. Spellcaster
  • **
  • Posts: 77
  • Magic Circuits: 2
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #244 on: July 25, 2013, 07:39:08 AM »
Check to make sure your firewall isn't blocking connections from other computers.

Offline Herja

  • Apprentice
  • *
  • Posts: 5
  • Magic Circuits: 0
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #245 on: July 25, 2013, 05:50:09 PM »
Hmm, let's try -O3:
http://www.mediafire.com/download/lc8914q515nh4lt/cccaster.exe

Oops I uploaded the wrong file, here's the proper one:
http://www.mediafire.com/download/erqbrh7n9hwr8e3/cccaster.exe

That worked. Whatever you did fixed the framerate issues for me.
BROOMS

Offline Madscientist

  • is actually Maidscientist
  • Soul Hacker
  • *****
  • Posts: 173
  • Magic Circuits: 79
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #246 on: July 25, 2013, 06:18:54 PM »
I apologize if this isn't the place for this, but I'm going insane trying to get the netplay to work. I have confirmed I have the port I am using open trough this, but I still get UDP connection timed out when someone tries to connect. Anyone know whats up?
Also make sure the port is opened for both TCP and UDP.

That worked. Whatever you did fixed the framerate issues for me.
Cool, that was the easiest fix ever. Hopefully it works for bell and CT_Warrior too.

Offline f-wlen ice loop

  • the troll that slays gods
  • Magus Candidate
  • ****
  • Posts: 790
  • Magic Circuits: 91
  • i did it
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #247 on: July 25, 2013, 09:48:19 PM »
tested vs rayza and mizuki

rayza, 4d, 57-59 fps fluctuations

miz, 3d, massive drops after the first 10 seconds down to 45fps

issue not resolved. not sure what you did to the code to cause this, 1.1 was perfect aside from the random ds/initial connect issues
<fubarduck> hey bell good shit beating kusoru in melty
<fubarduck> he was like "i lost to a long haired asian"
<fubarduck> aaaaaaaaa

Offline Cristu

  • Spellcaster
  • ***
  • Posts: 529
  • Magic Circuits: 23
  • Melty Blood > $
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #248 on: July 26, 2013, 06:34:43 PM »
Just a not very important thing, but still...

When in training mode, if you set random counter hit, it's different for each PC, so it desynchs.
A little bit of console ain't too bad.

Offline Madscientist

  • is actually Maidscientist
  • Soul Hacker
  • *****
  • Posts: 173
  • Magic Circuits: 79
    • View Profile
Re: CCCaster v2.0b - Now with replay and spectator support!
« Reply #249 on: August 06, 2013, 09:43:55 AM »
@Cristu I will take a look at that when I have some more time.

Meanwhile here's another attempt at fixing the FPS drop issue (mainly just compile changes):
http://www.mediafire.com/download/0ad57apytdzaoo1/cccaster.exe