SRB2 Message Board  

Go Back   SRB2 Message Board > SRB2.org > News

Reply
 
Thread Tools Search this Thread
Old 05-19-2016   #1
LoganA
Administrator
 
LoganA's Avatar
Default Version 2.1.15 Release

Posted by Inuyasha on 05-19-2016 10:09 PM.

Quote:
Hey guys! We’ve been thinking about how wonderful boys and girls you all are, so we’re deciding to give you a wonderful present well earlier than we originally intended! I hope you all enjoy playing with slopes as much as we do jumping off them and flying into space.

… I apologize for the sickening saccharine tint to that last paragraph, but hey, I want to have a little fun. It’s my birthday, so cut me some slack.

This release is being provided both in the form of an installer for those new to the game, and a patch for those who have already installed the game. The patch works only with version 2.1.14. That shouldn’t be a problem for anyone at this point, considering how long version 2.1.14 has been out now. New features and fixes are as follows:
  • Slopes! Forever is a long time coming. Note that none of the existing levels are modified; you’ll have to wait until 2.2 for that. The primary reason for this release is so that modders can finally use slopes without having to resort to alternate EXEs, as they’ve been doing for months now. Just be warned that while OpenGL has support for slopes, it is only partially complete in that renderer and not fully tested.
  • To go along with slopes, physics have been slightly changed for moving platforms and polyobjects. Jumping off of a platform moving upwards now gives your jump a height boost, for instance.
  • Added FF_ANIMATE, a flag for creating simple, single state animations. Instead of creating 30 states for your 30 frame ring animation, you can now just create one to achieve the same effect.
  • Music slots are removed. No longer do you have to call your music lumps O_MAP##M; you can now call them anything you want. Anything. As long as it’s six or less characters, I guess.
  • Lots of changes and fixes to Lua and SOC. We’ll go over some of the important ones briefly:
    • A PlayerSpawn hook was added to Lua, allowing a lot easier and better control over what happens when players spawn or join the game.
    • The lines comprising a sector may now be gotten in Lua with (sector).lines.
    • HUD scripts in Lua can now access the game’s current resolution (width and height), along with dupx and dupy (the sizes for automatic patch scaling).
    • “Lua.” custom level header options in SOC won’t eat parts of future level header definitions by mistake. We made sure to feed the parsers properly this time, with high quality kibbles and bits.
    • “MUSIC = (name)” was added to level headers and cutscenes in SOC to accommodate the above removal of music slots.
    • A lot of error messages were changed to make what’s going wrong easier to understand, especially variable out of range errors.
    • SOC scripts can now be named SOC_****, to go along with Lua scripts being named LUA_****. This means you can actually organize multiple SOC scripts into WAD files, instead of having to stick everything in MAINCFG.
  • Fixed issues with polyobject spawning and other assorted weird things they would do.
  • Fixed pro-strat launching-yourself-off-CEZ-chains-within-1-tic abuse. Sorry, speedrunners.
  • Fixed a lot of bugs in the menu relating to pressing combinations of enter and escape rapidly. Sorry, keyboard mashers.
  • Fixed a very, very long-standing bug where garbage would be drawn to screen in certain situations if you ran under or flew over an FOF.
  • Minor map adjustments and fixes, scattered throughout the single player maps and multiplayer maps.
  • Lastly, in this little space at the end of the ‘important’ patch notes, I would like to give a sad goodbye to our old friend, That One Snailer. You all know him very well, but now he is no longer with us. He will be missed. (not)
That’s all of the important stuff out of the way, but there’s lots more technical changes we haven’t mentioned so far. You can find that information after the break.
  • The game’s internal PRNG was changed to an xorshift* PRNG, which is hopefully faster and more random than the PRNG previously used. Some functions have also been updated to take advantage of this, as the new PRNG now returns fixed point numbers from [0, 1) instead of single bytes.
    • P_Random() is deprecated, function renamed to P_RandomByte()
    • P_RandomFixed() was added (fetches a fixed point number from [0, 1) straight from the PRNG)
    • P_RandomChance(p) was added (returns true p% of the time, where p is a fixed point number from 0 to 1; for example, P_RandomChance(FRACUNIT/2) returns true 50% of the time)
  • Lua and SOC fixes and changes not listed above:
    • Garbage cleanup now per step instead of every code execution (speed up)
    • Fixed inconsistent DrawFill behavior between renderers, for Lua scripts using it.
    • Super colors were added to colors list.
    • VERSION, SUBVERSION, and VERSIONSTRING are accessible as constants.
    • EvalMath in Lua is now deprecated and not to be used. Use _G[] instead.
    • Fixed A_ChangeAngleAbsolute in Lua.
    • Fixed FixedDiv(n, 0) and FixedSqrt(-1) crashes (now properly gives an error message)
    • Fixed map header info in Lua being fetched wrong (strings held garbage data, which messed up comparisons)
    • tan() fixed — requires using tan(angle, true) for backwards compatibility purposes
    • NetArchiveHook fixes. Still don’t know if it works, but there’s a better chance it does now.
    • P_ClosestPointOnLine supports defining an arbitrary line
    • Player times hit added (was previously missing)
    • “TITLE”, “EVALUATION”, “CREDITS” are now accepted alternates for level header nextmap = 1100, 1101, 1102
  • Fixed fades. For Software, they work a bit faster. For OpenGL, they actually work all the time now.
  • Fixed FLIPCAM2 not actually being initialized, and thus not usable.
  • Fixed ‘allocating’ out of range map headers when going to the credits. This caused very, very rare crashes if the stars aligned just perfectly.
  • Fixed springs launching unrelated things into the air in weird cases.
  • Fixed the lack of respawn invulnerability in Race.
  • Fixed F12ing a player in analog mode causing the player’s camera to be rotated when returning to their view.
  • Fixed F-keys that go to menu options going to the wrong menus if you backed out.
  • Fixed the Recycler partying like it was 2010 again and shuffling Super status away from Super players.
  • Fixed the edges of the BLOCKMAP not working properly sometimes (running past one-sided linedefs, etc).
  • Fixed the old special stage timer disappearing.
  • Fixed lighting parity between resolutions.
  • Fixed lighting oddities when changing FOF flags through the linedef executor.
  • Fixed backwards Tag/Hide and Seek suicide conditions.
  • Fixed bad skin names locally causing problems such as being completely unable to move.
  • Fixed the OpenGL ghosting effect mentioned in the previous release.
  • Temporarily removed the ability to change MIDI volume, due to the headaches caused by it (Spontaneous muting of the EXE, the volume getting adjusted in Windows Mixer for no good reason, etc)
  • Portals now properly draw the sky from the viewpoint the player would have if they were actually at that position, and they don’t screw up the sky for the regular view anymore either.
  • Spectators being crushed no longer prints a death message.
  • Improvements to splitscreen:
    • In co-op, both players can trigger the game over music.
    • In co-op, the music will return to normal after a game over after enough time, like it does online.
    • In CTF, improved sound cues.
  • The palette cycling for Super players was slowed down significantly.
  • Custom characters can now freely set the flag to turn Super, and Super Sonic’s float is no longer automatically given to them whether they want it or not
  • If you can turn super after getting all the emeralds, the Special Stage score tally screen now tells you this.
  • Special stages now fade to white with a sound effect when you enter them.
View on SRB2.org

Last edited by 犬夜叉; 05-19-2016 at 10:18 PM.
LoganA is offline   Reply With Quote
Old 05-19-2016   #2
toaster
トースタちゃん
Developer
 
toaster's Avatar
Default

HAPPY BIRTHDAY INUYASHA

(i'm in the credits! i get to make excited noises too)
__________________
Quote:
<MonsterIestyn> surely it's good ass though
Quote:
<MonsterIestyn> watch porm to keep warm
toaster is online now   Reply With Quote
Old 05-19-2016   #3
Unknownlight
 
Unknownlight's Avatar
Default

Slopes? Slopes?! SLOOOOPES!!!!

Have people made some example maps for trying out slopes?
Unknownlight is offline   Reply With Quote
Old 05-19-2016   #4
MK.exe
Lazy, Lazy and lazy?
 
MK.exe's Avatar
Default

Finally. Its arrived! Cant wait to have a go with this! :D
__________________
Done:
Hit a 180░ Rail shot
First person to have a map in releases with Slopes
MK.exe is offline   Reply With Quote
Old 05-19-2016   #5
Fres
BOI IF YOU DON'T-
 
Fres's Avatar
Default

Quote:
Originally Posted by Unknownlight View Post
Have people made some example maps for trying out slopes?
I think the wiki page on slopes has some example wads.

Also...

Quote:
Originally Posted by LoganA View Post
That One Snailer
Sorry if I sound like some sort of idiot, but what exactly was "That One Snailer"?
__________________
Quote:
Originally Posted by GreenKnight9000 View Post
HOLY MCCHICKEN FLAVOURED TITTY SPRINKLES
Fres is offline   Reply With Quote
Old 05-19-2016   #6
Monster psychic cat
 
Monster psychic cat's Avatar
Default



Mystic please fire whoever removed the Spaddlewit reference
__________________
Discord: Monster psychic cat#7274
Monster psychic cat is offline   Reply With Quote
Old 05-19-2016   #7
XleederTH
íReremy
 
XleederTH's Avatar
Default

Huff. How strange that only this version goes wrong opengl to me.
The other version goes pretty well, my PC is able to run super smash bros brawl at 60 FPS.
They have some form of help?
I forgot to say that only when I wads and lua.
__________________
Nothing for nothing, is the key :v
Visit my youtube channel!

Last edited by XleederTH; 05-19-2016 at 11:25 PM. Reason: Adding any more
XleederTH is offline   Reply With Quote
Old 05-19-2016   #8
Iceman404
Tyler52 Forever
 
Iceman404's Avatar
Default

The Spaddlewit building must've been moved adjacent to Mystic's Salt Factory
__________________
Kart Krew Workshop Thread
SRB2 Top Down & SRB2 Kart
Iceman404 is offline   Reply With Quote
Old 05-19-2016   #9
toaster
トースタちゃん
Developer
 
toaster's Avatar
Default

No, it just got taken over by new maneggment.
__________________
Quote:
<MonsterIestyn> surely it's good ass though
Quote:
<MonsterIestyn> watch porm to keep warm
toaster is online now   Reply With Quote
Old 05-19-2016   #10
742mph
I make Sonic look like me
 
742mph's Avatar
Default

A Lua script is giving me stack overflow errors when it was working perfectly before. Are the new error messages set up to trigger whenever any function is called recursively within itself, even if each call has different arguments?
__________________
Quote:
<Evilgasm> the opposite of egoraptor is Toa Tahu
742mph is online now   Reply With Quote
Old 05-19-2016   #11
FuriousFox
AKA FuriousFox
Developer
 
FuriousFox's Avatar
Default

Which Lua script? Any information you have could help the developers.
FuriousFox is offline   Reply With Quote
Old 05-19-2016   #12
742mph
I make Sonic look like me
 
742mph's Avatar
Default

It's a custom one that I haven't released yet. I'm also having problems with ShouldDamage and MobjDamage hooks and iterating over mobjinfo properly. Were the changes you made to Lua intended to break anything made before 2.1.15?
__________________
Quote:
<Evilgasm> the opposite of egoraptor is Toa Tahu
742mph is online now   Reply With Quote
Old 05-20-2016   #13
OtherChen
Hibernates every few months
 
OtherChen's Avatar
Default

OpenGL isn't working for me either. I'm using Wine, but OpenGL worked perfectly in 2.1.14.
__________________
Quote:
<Lat'> I want Knuckles the Echidna in Knuckles & Knuckles & Knuckles HD remastered.
OtherChen is offline   Reply With Quote
Old 05-20-2016   #14
Goldenhog
Wandering Protagonist
 
Goldenhog's Avatar
Default

Happy birthday, man.

Mind giving an explanation on how FF_ANIMATE works? I don't think I really understand it from what's stated there. And why does it have the prefix for FOF flags instead of object flags?
__________________
Quote:
Originally Posted by Asagi Asagiri
I need power over the people! The stupid, STUPID people!
Goldenhog is offline   Reply With Quote
Old 05-20-2016   #15
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

Quote:
Originally Posted by 742mph View Post
It's a custom one that I haven't released yet. I'm also having problems with ShouldDamage and MobjDamage hooks and iterating over mobjinfo properly. Were the changes you made to Lua intended to break anything made before 2.1.15?
By any chance were you iterating using "for i = 0,#mobjinfo" or anything similar?

http://mb.srb2.org/showthread.php?p=779020#107
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record.
Monster Iestyn is offline   Reply With Quote
Old 05-20-2016   #16
742mph
I make Sonic look like me
 
742mph's Avatar
Default

Quote:
Originally Posted by Monster Iestyn View Post
By any chance were you iterating using "for i = 0,#mobjinfo" or anything similar?

http://mb.srb2.org/showthread.php?p=779020#107
Nope. I've been using "for i = 0, #mobjinfo - 1" this whole time. For now, I'll just wait until the wiki is updated with a full list of changes, try to figure it out myself, and post about it in Editing Help if I'm still having problems.

EDIT: Wait, are the changes mentioned in the OP supposed to be the full list?
__________________
Quote:
<Evilgasm> the opposite of egoraptor is Toa Tahu

Last edited by 742mph; 05-20-2016 at 12:24 AM.
742mph is online now   Reply With Quote
Old 05-20-2016   #17
RedEnchilada
happy, pretty, lovely!
Developer
 
RedEnchilada's Avatar
Default

So who's going to make a tally of the mods in Releases that we broke in the name of blind forward progress and shiny new features?
__________________
Quote:
<@toaster> '"sonic robot explosion 2", the hot new sensation for teens looking for a good time, tempts many children away from god each year'
av src
RedEnchilada is offline   Reply With Quote
Old 05-20-2016   #18
MascaraSnake
aka SpiritCrusher
Moderator
 
MascaraSnake's Avatar
Default

Quote:
Originally Posted by Goldenhog View Post
And why does it have the prefix for FOF flags instead of object flags?
It's a state flag, and the prefix for those is also FF_ (frame flag).
MascaraSnake is offline   Reply With Quote
Old 05-20-2016   #19
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

Quote:
Originally Posted by 742mph View Post
Nope. I've been using "for i = 0, #mobjinfo - 1" this whole time. For now, I'll just wait until the wiki is updated with a full list of changes, try to figure it out myself, and post about it in Editing Help if I'm still having problems.

EDIT: Wait, are the changes mentioned in the OP supposed to be the full list?
Strange... Maybe it'd be easier to see what you're doing in the script just in case you're doing something else weird? (or whether it genuinely IS a minor bug or not)

No it's not necessarily the full list, we put in so many new things we've sort of lost track of them ourselves lol.
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record.
Monster Iestyn is offline   Reply With Quote
Old 05-20-2016   #20
742mph
I make Sonic look like me
 
742mph's Avatar
Default

Quote:
Originally Posted by Monster Iestyn View Post
Strange... Maybe it'd be easier to see what you're doing in the script just in case you're doing something else weird? (or whether it genuinely IS a minor bug or not)

No it's not necessarily the full list, we put in so many new things we've sort of lost track of them ourselves lol.
I've heard mentions of changes to the way damage is handled in 2.2. Do they apply to 2.1.15? If so, what are they?
__________________
Quote:
<Evilgasm> the opposite of egoraptor is Toa Tahu

Last edited by 742mph; 05-20-2016 at 01:03 AM.
742mph is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:03 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.