Hebo Mini netplay feature request thread. :)

Thread in 'Discussion' started by Zaphod77, 12 Apr 2008.

  1. Altimor

    Altimor a.k.a. Ghett0

    That has no garbage.
     
  2. DIGITAL

    DIGITAL Unregistered

    Ghett0, your plugin won't compile. You might want to take a look at it again.
     
  3. Altimor

    Altimor a.k.a. Ghett0

    Give me the error message.
     
  4. DIGITAL

    DIGITAL Unregistered

  5. Zaphod77

    Zaphod77 Resident Misinformer

    lol you got mangled by IE. [​IMG]

    try downloading in firefox instead. [​IMG]
     
  6. DIGITAL

    DIGITAL Unregistered

    Well, the issue has been identified. Ghett0, you might want to change the name of your variables. It's conflicting with the variable naming convention of net_standard.c. Anyhow, after sorting that out, I ran into another issue.


    Code:
    ./plugin_net/net_endurance.c(112) : ;???????
    ./plugin_net/net_endurance.c(1100) : ;???????
    
     
  7. Zeta

    Zeta Unregistered

    I figured there was a couple semicolons missing (check the lines BEFORE the ones listed - the script doesn't flag it until a later line!).


    and that was from a quick glance over it.


    also, DIGITAL, you're at 1010 posts... which isn't that many in binary [​IMG]
     
  8. Altimor

    Altimor a.k.a. Ghett0

    1010 is 42 in binary. Digital is the meaning of life.


    And Zeta : Is that what's wrong with the script?
     
  9. Nope. But 101010 (binary) is. 1010 (binary) is 10 in decimal.
     
  10. Zeta

    Zeta Unregistered

    I'm double-checking the translation of the error message... and looking back at my hash.c file, since I had the very same error message there.


    it -may- be from for(x = y; x =< z; x++) { } (note the underlined comparison operator) or similar constructs. =< and => will not compile. use <= and >= instead.


    (I'm tending to hit more errors than most people here are since I'm building my scripts and stuff from the equivalent of the dummy.c file - which is effectively nothing)
     
  11. Altimor

    Altimor a.k.a. Ghett0


    So can you fix it?
     
  12. Zeta

    Zeta Unregistered

    I don't have that build on hand at the moment, and I'm focusing on a bit of a tricky mode plugin script that if I screw up bigtime on, the savedata will be broken by replays and "rerecords".


    however, it should hopefully be a simple fix. I'll take a look at it a little later if nobody's fixed it by then. probably Monday.


    [edit: took a look at it. line 111, missing semicolon on command. line 1100 should read netsTotalAttack[player] = 0;. remove the space and the b between the 0 and the semicolon. -should- compile after that. didn't even need to crank out Notepad++ for it, either. ignore any other text this post has/had]


    [edit2: under event 69, the comment says it's supposed to raise the garbage. I assume this is what you want to NOT happen. do a quick check in the function upLineProc(??????) to see if there's a specific value you need to set to cancel it or if it naturally cancels itself.]


    [edit3: replace that "yt;" with "param = 1;". this tells the function to cancel. usually, you'd set this while doing your own special thing, but here, we just want to skip it.]


    Code:
    gamestart.c
    
    ...
    void upLineProc(int player) {
     int i, j;
     int param;
     
     param = 0; //IMPORTANT
     executePlugin(player, 69, &param); // pass to plugin for handling
     if(param) return; //if plugin sets param = 0, cancel standard processing
    ...
     
  13. Altimor

    Altimor a.k.a. Ghett0

  14. Zaphod77

    Zaphod77 Resident Misinformer

    Okay i added hole shift rate to net standard options.


    anywhere from 0% (garbage is a solid colum always) to 100% (totally random garbage)


    http://eunich.cochems.com/~zaphod/net_standard.zip


    You're welcome, Hebo Mini devs. [​IMG]

    btw, the setting doesn't save. it keeps going back to 30%


    I'm sure the devs will fix it. [​IMG]
     
  15. Ghetto, Heboris doesn't run for me when i have your program in it. I'm not sure what the problem is. It's running fine with Zaphod's net standard file. Is anyone else having this problem or is it just something wrong with my computer (that happens a lot so it wouldn't suprise me)?
     
  16. Altimor

    Altimor a.k.a. Ghett0

    It compiles fine for me. [​IMG]
     
  17. I almost have clone garbage working, but I need a bit more help.

    Consider this scenario: [fumen link]

    In Quadra, what garbage would the line clear at the end of the second frame produce?
     
  18. Zaphod77

    Zaphod77 Resident Misinformer

    depends on which piece was dropped second.


    it would produce one line with the final dropped piece missing, then one with both holes.


    if both of those dropped at the same time from a cascade, then both holes would be in the line.


    and there is no incoming garbage cancel at all.
     
  19. I can ask on the Quadra discussion list if you think it would help. See below


    Also, a potential bandwitdh saver: Is there any reason why the garbage sent can't be encoded as a bitstring, sending 10 bits for a row (rounded up to one int) ?


    Edit: After studying the Quadra vid with Polly owning everyone else, it appears that the hole is determined by the newest piece involved that is falling into place. From studying the code, Quadra also has the option to send a special garbage pattern for a "clean canvas". It does this instead of sending bonus lines.
     

Share This Page