question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Since we’re already at V2.7.x, it’s probably a good idea to start planning for V3.0. This will be a major version, so we should throw backwards compatibility straight out of the window and take the opportunity to remove all obsolete methods/properties and rename ones that might have a strange name or not accurately reflect their purpose.

More ideas will be added periodically, so feel free to leave your own idea/feedback below.

Native hashes

One of the biggest changes will definitely be the native hashes. There’s a lot of duplicates or ones with bad names from months and months ago. Since there’s literally thousands of hashes, I suggest splitting NativeHashes.hpp into separate files like so:

[core]\hashes\[category].hpp – partial Native::Hash enum definitions [core]\NativeHashes.hpp – includes all partial definitions from NativeHashes folder

There will be multiple files containing native hashes, but they will still be all in one enum.

Attributes

ScriptHookVersionAttribute

Also new for 3.0 should be the ability for developers to implement a ScriptHookVersion attribute that allows user to define a Minimum and a Maximum supported version of ScriptHookV.NET. There’s actually a built-in class called System.Version that can be used to process these values. The attribute constructor should support all of the System.Version constructors. The Revision part of the Version should be ignored.

This attribute should only be applicable to the assembly of the script, and accessed when the script is first loaded. Any scripts that are not safely compatible should be unloaded and a message printed to the log file.

Classes

  • Implement a Checkpoint class [#486]
  • Implement a ParticleFX (PTFX) class [#535]

Source code

XML Documentation

We should start getting into the habit of adding XML documentation to methods/properties/enums so developers don’t have to try and guess what something does.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:97 (28 by maintainers)

github_iconTop GitHub Comments

3reactions
crosirecommented, Apr 1, 2016

I don’t think we should split the native hashes into separate files by the way. Yes, it’s a big file, but some clean up should be enough (like removing all the “_0x…” enum values).

2reactions
crosirecommented, Oct 5, 2016

New SHVDN will be distributed as ScriptHookVDotNet3.dll or something similar.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ideas for V3.0 · Issue #449 · scripthookvdotnet ...
Since we're already at V2.7.x, it's probably a good idea to start planning for V3.0. This will be a major version, so we...
Read more >
Got gifted an Arduino Nano V3.0, any ideas for a music- ...
my very cool maths teacher gifted me an arduino nano and tasked me to make something cool with it. id like to make...
Read more >
N-IDEAS V3.0 Release | ListServ - SHARE Home
We are pleased to announce that an updated version of NPCR's N-IDEAS (V3.0) is now available. This software program is a secure data ......
Read more >
Bounty Hunting V3.0 - Player Features & Ideas
Bounty Hunting V3.0 ... my idea is simple, to bring back the old bounty office with some changes to make it more applicable....
Read more >
20 Ways to Play with Your Newborn & 0-3 Month Old
1. Cycle Time 2. Mesmerizing Mobiles 3. Balancing Act 4. Imitation 5. Wonderful Wearing 6. Marvelous Mirrors 7. Swing Together 8. Black and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found