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) : ;???????
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
1010 is 42 in binary. Digital is the meaning of life. And Zeta : Is that what's wrong with the script?
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)
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, ¶m); // pass to plugin for handling if(param) return; //if plugin sets param = 0, cancel standard processing ...
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. btw, the setting doesn't save. it keeps going back to 30% I'm sure the devs will fix it.
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)?
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?
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.
"standard"-style gameplay with TGM garbage: http://netfiles.uiuc.edu/wkinner2/net_tgm.c (The netcode is rather sloppy -- 40 bytes sent for each line of garbage. If anyone wants to clean it up, be my guest.)
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.