Zandronum's Advanced Binary [ZAN 2.0 v1.0] - DISCONTINUED

Old stuff gets archived here.
User avatar
Fused
Contributor
Posts: 658
Joined: Sat Nov 09, 2013 9:47 am
Location: Netherlands
Contact:

Zandronum's Advanced Binary [ZAN 2.0 v1.0] - DISCONTINUED

#1

Post by Fused » Tue Jun 02, 2015 2:29 pm

NOTE: Zandronum's Advanced Binary is being discontinued because it's being merged with Catastrophe's client, and renamed to Zandronum Community Client. A thread will be posted soon.
New version: http://zandronum.com/forum/showthread.php?tid=6050


Zandronum's Advanced Binary
A binary enhancement for Zandronum 2.0.
What it contains
Spoiler: small patches (Open)
This patch fixes minor bugs of zandronum, in particular:
  • Teleported things are no longer interpolated online.
  • Lagging players no longer jitter when having a high enough velocity.
  • The connect sound now plays with people not starting as spectators.
Spoiler: notifications & scoreboard (Open)
This patch adds 3 new cvars:
  • l_showpacketloss: Displays a little message when you experience packet loss with how many packets were missed in the same style of the "connection interrupted" messages.
  • l_autoready: Automatically marks you as "ready to go" in intermissions without the need of any inputs.
  • l_scoretid: Replaces the standard, obsolete handicap display with the ID of the corresponding player on the scoreboard.
Spoiler: console (Open)
This patch provides features regarding the console:
  • If the input line is empty, using ctrl+c will copy the selected line in the console's history instead, allowing you to directly copy chat lines for instance.
  • A new cvar, con_timestamps, will append timestamps at the beginning of each line in the console's history.
  • The console command "wait" was always off by one tic, meaning that "wait" or "wait 1" actually delayed a command by 2 tics. To fix this and still remain compatible with older aliases, "wait 0" is now accepted and will actually properly wait one tic.
  • The console cursor now uses a more robust position calculation, allowing you to copy raw color codes in the console without any troubles.
Spoiler: sounds (Open)
This patch concerns changes regarding sounds/music.
  • A new cvar, snd_lockmus, will forbid any music changes as if a playlist was playing.
  • A new command, snd_stopsounds, will stop all currently playing sounds without restarting the sound engine, making it a better alternative to snd_reset if you wish to stop loud and annoying looping sounds. This command is similar to "stopsounds" from some source-engine games if you are familiar.
Spoiler: weapon hud (Open)
This patch covers changes to the client's weapon and adds a bunch of new cvars:
  • l_interpolateweapons: When enabled, offset changes including bobbing will be interpolated, meaning that weapon movements are no longer capped at 35 fps but are actually virtually unlimited, taking advantage of your framerate. Trust me, you WILL notice the difference especially if you use weapon bobbing.
  • l_bobstyle: Changes the way your weapon bobs. Up to 6 different values, ranging from 0 to 5. The corresponding styles are as follow:

    Code: Select all

    0: Normal
    1: Inversed normal
    2: Alpha-style bobbing
    3: Inversed alpha-style
    4: Smooth bobbing
    5: Inversed smooth
    
    Please do note that the code used to handle different bobbing styles comes directly from Zdoom's source.
  • l_bobspeed: Float cvar that controls how fast your weapon bobs. This does NOT do the same as movebob. Default value is 1.0.
  • l_hudpitchoffset: Float that lowers/raises your weapon depanding on your current pitch and the next cvar's value. Default value is 0.0 and disables this feature.
  • l_hudpitchstyle: Controls which parts of your pitch affects the weapon offsetting and how. 4 different values are possible, ranging from 0 to 3. The values correspond to this list:

    Code: Select all

    0: The whole pitch scales the offset.
    1: Only half of your pitch will scale, more precisely the lower part in this case.
    2: Same as above but the upper part is used this time.
    3: The scaling is split in half, the bottom and lower parts scales the offsetting the same way.
    
    Combining this with a negative l_hudpitchoffset will reverse the scaling as expected.
  • l_swayspeed: Float that makes your weapon sway when you look around. This is similar to what you may see in this video. Negative values will reverse the weapon sway as you would expect but looks odd. Default value is 0.0 and disables this feature.
  • l_viewbob:
    Stops screen bobbing but not weapon bobbing (unlike movebob 0 which also stops weapon bobbing)
Spoiler: spectating (Open)
This patch is dedicated to spectating:
  • A new cvar, l_telespy, will teleport you to the person you were spying on once you go back to your own view if you are a spectator.
  • A new command, spyback, will cancel out spying and return the view to your own eyes.
  • Another command, spyto, will spy on the specified player using his ID if allowed by the circumstances.
  • Another cvar, l_spectsource, will enable a source-engine like noclipping mode when spectating which means you will be able to not only pass through walls but also floors and ceilings.
Spoiler: cvars (Open)
This patch was a bit of an experiment. It adds a very interesting capacity to cvars: pointer cvars.
Basically instead of having a cvar change/retrieve its local value, a pointer cvar can do the same directly to zandronum's memory.
If you are familiar with zdoom/zandronum's source, pointer cvars are defined much like standard cvars but with a different macro. The pointer cvars defined so far are using CVAR_NOSET, because allowing the user to change them would only cause a mess, but pointer cvars ARE able to change the value they point to if desired.

The current pointer cvars are all using a "ptr_*" prefix and are as follow:

  • ptr_map: Returns the current map's name as a string.
  • ptr_spectating: Boolean that indicates wether you are spectating or not.
  • ptr_music: Returns the current music's name as a string.
  • ptr_playernum: Returns as an int how many players are in the current game.
Note that those cvars can only be very useful if you are an advanced console user.
For instance, with some aliasing, you might make your mouse button attack when playing but spying when spectating using ptr_spectating.

Screenshots
[spoiler]since most features can not be captured with a single picture, the most relevant features are shown here.

A few of the new cvars
Image

Check the unique ID of every player on the scoreboard
Image

With a simple cvar you will get notified on packetloss.
Image[/spoiler]
Video coming soon™


Download
Mirror 1
Mirror 2 - be sure to rename the executable to zandronum.exe in this mirror.
Source code
Spoiler: older versions (Open)
none just yet.
Spoiler: additional credits (Open)
Leonard - Project leader. Coded and build the binary.
Fused - Co-leader. Handing suggestions and ideas to improve the binary
Zdoom - Movebob source code

Post feedback and suggestions below. Any help is appreciated.
Last edited by Fused on Tue Jun 09, 2015 8:11 pm, edited 1 time in total.
My mods
Image Image

My socials
Image Image

User avatar
Sean
IRC Operator
Posts: 951
Joined: Thu Jan 16, 2014 9:09 pm
Location: United Kingdom
Contact:

RE: Zandronum Advanced Binary

#2

Post by Sean » Tue Jun 02, 2015 2:39 pm

Another binary? Wow. Doesn't seem to be for me, though.
Good luck anyway.
<capodecima> i dont say any more word without my loyer jenova

User avatar
Fused
Contributor
Posts: 658
Joined: Sat Nov 09, 2013 9:47 am
Location: Netherlands
Contact:

RE: Zandronum Advanced Binary

#3

Post by Fused » Tue Jun 02, 2015 2:47 pm

Sean wrote: Another binary? Wow. Doesn't seem to be for me, though.
Good luck anyway.
Thanks.
I know it's a bit messy that there's suddenly two binaries, but this was already prepared a few weeks in advance without expectation of other binaries to suddenly pop up.
My mods
Image Image

My socials
Image Image

User avatar
Slim
Zandrone
Posts: 1112
Joined: Sat Mar 16, 2013 7:11 am
Location: Zero Space
Clan: Can't fit it in here
Clan Tag: -=FSR=-
Contact:

RE: Zandronum Advanced Binary

#4

Post by Slim » Tue Jun 02, 2015 4:56 pm

Fused wrote: Alpha-style bobbing
:D

(Finally it's back!)

.....I really really hope these get integrated into 3.0, because these features all seem so cool.
Image

"Your childish antics grow tiring. If you dare to fight me, then I accept your challenge: Anytime, anywhere." - Zero, Megaman X5
Spoiler: Quotes (Open)
5:54 PM - Slim: you're complaining about something so small that
5:54 PM - Lance: so? we do that all the time
5:55 PM - Lance: we're a bunch of losers complaining at a bar minus the bar
Spoiler: Galactus tried evading (Open)
Image

User avatar
Ænima
Addicted to Zandronum
Posts: 3523
Joined: Tue Jun 05, 2012 6:12 pm

RE: Zandronum Advanced Binary

#5

Post by Ænima » Tue Jun 02, 2015 4:57 pm

Love it. Especially the pointer CVARs and the weapon swaying stuff!
­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­
Doom64: Unabsolved: New weapons, monsters, and gameplay features for coop !


ZandroSkins
: a pack made by our community

User avatar
Kara Kurt
Frequent Poster Miles card holder
Posts: 887
Joined: Sat Oct 12, 2013 6:58 pm
Location: Strasbourg, France
Contact:

RE: Zandronum's Advanced Binary

#6

Post by Kara Kurt » Tue Jun 02, 2015 5:26 pm

Can you upload screenshots, this build does not work for me.

User avatar
Fused
Contributor
Posts: 658
Joined: Sat Nov 09, 2013 9:47 am
Location: Netherlands
Contact:

RE: Zandronum's Advanced Binary

#7

Post by Fused » Tue Jun 02, 2015 6:05 pm

Kara Kurt wrote: Can you upload screenshots, this build does not work for me.
Odd, it should work just fine. Anyhow, uploaded a few.
My mods
Image Image

My socials
Image Image

User avatar
fr blood
Frequent Poster Miles card holder
Posts: 992
Joined: Wed Mar 06, 2013 4:04 pm
Location: France

RE: Zandronum's Advanced Binary

#8

Post by fr blood » Tue Jun 02, 2015 7:18 pm

Well done, I tested it and approve it, it shall be included on next Zand too.

User avatar
Kara Kurt
Frequent Poster Miles card holder
Posts: 887
Joined: Sat Oct 12, 2013 6:58 pm
Location: Strasbourg, France
Contact:

RE: Zandronum's Advanced Binary

#9

Post by Kara Kurt » Tue Jun 02, 2015 7:59 pm

Fused wrote:
Kara Kurt wrote: Can you upload screenshots, this build does not work for me.
Odd, it should work just fine. Anyhow, uploaded a few.
It says LIBEAY32.DLL is missing.

User avatar
Sean
IRC Operator
Posts: 951
Joined: Thu Jan 16, 2014 9:09 pm
Location: United Kingdom
Contact:

RE: Zandronum's Advanced Binary

#10

Post by Sean » Tue Jun 02, 2015 8:07 pm

[/size]
Kara Kurt wrote:
Fused wrote:
Kara Kurt wrote: Can you upload screenshots, this build does not work for me.


Odd, it should work just fine. Anyhow, uploaded a few.


It says LIBEAY32.DLL is missing.


Grab the Light package.
Last edited by Sean on Tue Jun 02, 2015 8:24 pm, edited 1 time in total.
<capodecima> i dont say any more word without my loyer jenova

User avatar
Fused
Contributor
Posts: 658
Joined: Sat Nov 09, 2013 9:47 am
Location: Netherlands
Contact:

RE: Zandronum's Advanced Binary

#11

Post by Fused » Tue Jun 02, 2015 8:13 pm

My bad, I forgot to mention this. Updated OP with a link in case you still need this.
My mods
Image Image

My socials
Image Image

User avatar
Sean
IRC Operator
Posts: 951
Joined: Thu Jan 16, 2014 9:09 pm
Location: United Kingdom
Contact:

RE: Zandronum's Advanced Binary

#12

Post by Sean » Tue Jun 02, 2015 8:18 pm

Fused wrote: My bad, I forgot to mention this. Updated OP with a link in case you still need this.
I think its better to use the link I posted as the site you linked gave me a whiff of fishiness.
<capodecima> i dont say any more word without my loyer jenova

User avatar
Kara Kurt
Frequent Poster Miles card holder
Posts: 887
Joined: Sat Oct 12, 2013 6:58 pm
Location: Strasbourg, France
Contact:

RE: Zandronum's Advanced Binary

#13

Post by Kara Kurt » Tue Jun 02, 2015 9:02 pm

Thanks.

Is there a way to implement an option that mutes sound when out of focus (aka alt-tabbing) ?

User avatar
-Jes-
Frequent Poster Miles card holder
Posts: 975
Joined: Fri Aug 03, 2012 9:55 am
Location: Void Zone

RE: Zandronum's Advanced Binary

#14

Post by -Jes- » Wed Jun 03, 2015 12:49 am

Bug: Using changemus gives me silence until altering music volume, which returns me to the map music.

Swayspeed doesn't affect spied people. Guess it's just not designed to do that?
Last edited by -Jes- on Wed Jun 03, 2015 4:22 am, edited 1 time in total.

User avatar
Leonard
Developer
Posts: 166
Joined: Sat Mar 30, 2013 8:09 pm

RE: Zandronum's Advanced Binary

#15

Post by Leonard » Wed Jun 03, 2015 8:42 am

-Jes- wrote:Bug: Using changemus gives me silence until altering music volume, which returns me to the map music.
Can't reproduce. Could you provide more details like what you changemus to exactly?
Did you also try with a standard zandronum binary?
-Jes- wrote:Swayspeed doesn't affect spied people. Guess it's just not designed to do that?
Yes. Just like bobbing, swaying requires the player's input.

EDIT:
Kara Kurt wrote:Is there a way to implement an option that mutes sound when out of focus (aka alt-tabbing) ?
This is aready a standard zandronum feature. Use the cl_soundwhennotactive cvar.
Last edited by Leonard on Wed Jun 03, 2015 9:44 am, edited 1 time in total.
[spoiler]

Code: Select all

<@WaTaKiD> punish me
* Seanphone gets his belt out
<+Seanphone> all right WaTaKiD bend over

Code: Select all

<Kokiri> capo whos your fav pony?
<capo> i like them all

Code: Select all

cobalt changes topic to 'ZDoom 2.6.1 progress: at r3771, 23 revisions left (98% complete)'
<edward-san> omg
<edward-san> almost finished!!!
<Sean> !!!!!!!!!!!!!!
<Sean> Plot twist: This is the status of Half-Life 3.
<Dusk> plot twist: the percentage count suddenly begins to decline instead
<Sean> Torr makes a forum post "We're going back to 2.5.0"
<Dusk> and we do so incrementally
[/spoiler]

Daedalus
 
Posts: 69
Joined: Mon Jun 04, 2012 6:25 am
Location: UK

RE: Zandronum's Advanced Binary

#16

Post by Daedalus » Wed Jun 03, 2015 11:37 am

I downloaded this cause I was getting that libeay32.dll is missing nonsense, it worked and all but shortly afterwards I started getting these annoying popups that I could only close through the task manager. :neutral:

EDIT: This is nice to use aside from above, the only thing that is missing is the the always bob command that Dark-Assassins binary had, weapons continue to bob when firing/reloading (seen here) instead of centring statically.
Last edited by Daedalus on Wed Jun 03, 2015 4:40 pm, edited 1 time in total.

User avatar
fr blood
Frequent Poster Miles card holder
Posts: 992
Joined: Wed Mar 06, 2013 4:04 pm
Location: France

RE: Zandronum's Advanced Binary

#17

Post by fr blood » Wed Jun 03, 2015 2:03 pm

Could you add the Quake 3 weapon bob style ?

User avatar
Sean
IRC Operator
Posts: 951
Joined: Thu Jan 16, 2014 9:09 pm
Location: United Kingdom
Contact:

RE: Zandronum's Advanced Binary

#18

Post by Sean » Wed Jun 03, 2015 2:19 pm

Daedalus wrote:
I downloaded this cause I was getting that libeay32.dll is missing nonsense, it worked and all but shortly afterwards I started getting these annoying popups that I could only close through the task manager. :neutral:
That's odd. I've used that package many times before and have never experienced this. Maybe you just had bad luck?
I'll have a look later...
<capodecima> i dont say any more word without my loyer jenova

User avatar
Kara Kurt
Frequent Poster Miles card holder
Posts: 887
Joined: Sat Oct 12, 2013 6:58 pm
Location: Strasbourg, France
Contact:

RE: Zandronum's Advanced Binary

#19

Post by Kara Kurt » Wed Jun 03, 2015 3:22 pm

Leonard wrote:
Kara Kurt wrote:Is there a way to implement an option that mutes sound when out of focus (aka alt-tabbing) ?
This is aready a standard zandronum feature. Use the cl_soundwhennotactive cvar.
Didn't know. Probably because it isn't in sound options when it should be.

User avatar
Leonard
Developer
Posts: 166
Joined: Sat Mar 30, 2013 8:09 pm

RE: Zandronum's Advanced Binary

#20

Post by Leonard » Wed Jun 03, 2015 3:59 pm

The DLL dependency issue was caused by the fact that I used a compiled OpenSSL installation instead of following what the wiki says in this regard.
I went on and compiled OpenSSL myself and the DLL is no longer required to use the binary.
This needs to be said though: compiling OpenSSL is a MAJOR pain in the ass..

The dropbox link (first mirror) is updated (nothing new, just the DLL issue was fixed) but you'll have to wait for the second mirror since this is fused's link.

EDIT:
Daedalus wrote:the only thing that is missing is the the always bob command that Dark-Assassins binary had, weapons continue to bob when firing/reloading (seen here) instead of centring statically.
I'll probably implement it the next time I update the binary.
Last edited by Leonard on Wed Jun 03, 2015 5:01 pm, edited 1 time in total.
[spoiler]

Code: Select all

<@WaTaKiD> punish me
* Seanphone gets his belt out
<+Seanphone> all right WaTaKiD bend over

Code: Select all

<Kokiri> capo whos your fav pony?
<capo> i like them all

Code: Select all

cobalt changes topic to 'ZDoom 2.6.1 progress: at r3771, 23 revisions left (98% complete)'
<edward-san> omg
<edward-san> almost finished!!!
<Sean> !!!!!!!!!!!!!!
<Sean> Plot twist: This is the status of Half-Life 3.
<Dusk> plot twist: the percentage count suddenly begins to decline instead
<Sean> Torr makes a forum post "We're going back to 2.5.0"
<Dusk> and we do so incrementally
[/spoiler]

Locked