Git Product home page Git Product logo

ionlib's Introduction

ion RE Library

The purpose of ion RELib is to aid the development process by reducing boilerplate code.

This project is based off my old Voxation RE libraries (pretty much refactored in C++11), which is located here.

I wanted to switch it up because I was unhappy with the clumsy nested namespaces and clunky inheritance. Progress will be pretty slow, because of school, programming contests and all that good stuff.

This library is built for Visual Studio 2012 (VS110)

Notes for future reference

  • Refer to this to build V8
    • Make sure to build using /MD (Multi Threaded DLL)
    • Make sure to ignore LIBCMT.lib in preparser
    • HandleScope will CRASH if done in a different thread, use v8::Locker. Intentional problem described here
  • How to build luabind
    • Build Lua using this method
    • Get it off of here, bjam it up
      • This forked version is updated to Lua 5.2
      • Compile with exceptions
      • bjam toolset=msvc release link=static exception-handling=on asynch-exceptions=off extern-c-nothrow=on
      • How to make exceptions caught
        • Compile ionlib and your project with /EHs, which means extern functions CAN throw.
    • Set LUA_PATH, BOOST_BUILD_PATH, PATH, BOOST_ROOT accordingly.
  • Luabind tutorial
  • Replacing Lua with LuaJIT
    • They should have the same API
    • Follow instructions here
    • Build with mscvbuild.bat static. Link with lua51.lib
      • Edit msvcbuild.bat compile flags, add /EHsc for C++ exceptions (IMPORTANT)
  • Source SDK HL2 OB Updates
    • Interface Dump
      • [15:19:10][VERB]: VEngineClient014
      • [15:19:10][VERB]: VClient016
      • [15:19:10][VERB]: VEngineCvar004
      • [15:19:10][VERB]: VGUI_Panel009
      • [15:19:10][VERB]: VClientEntityList003
      • [15:19:10][VERB]: VEngineModel016
      • [15:19:10][VERB]: EngineTraceClient003
      • [15:19:10][VERB]: VModelInfoClient006
      • [15:19:10][VERB]: VGUI_Surface030
      • [15:19:10][VERB]: VMaterialSystem080
    • Added https://forums.alliedmods.net/showthread.php?p=1782597
    • ISurface
      • Added virtual void DeleteTextureByID(int i) PURE after IsTextureIDValid
    • C_BaseEntity
      • Added Padding001 before SetHealth
    • cdll_int.h -> IBaseClientDLL
      • Added 2 pad functions after Shutdown()
      • Added 7 pad functions after CanRecordDemo() (replay update)
  • Source SDK HL2 CSGO Updates
    • Interface Dump
      • [15:15:27][VERB]: VEngineClient013
      • [15:15:27][VERB]: VClient016
      • [15:15:27][VERB]: VEngineCvar007
      • [15:15:27][VERB]: VGUI_Panel009
      • [15:15:27][VERB]: VClientEntityList003
      • [15:15:27][VERB]: VEngineModel016
      • [15:15:27][VERB]: EngineTraceClient004
      • [15:15:27][VERB]: VModelInfoClient004
      • [15:15:27][VERB]: VGUI_Surface031
      • [15:15:27][VERB]: VMaterialSystem080
    • cdll_int.h -> IBaseClientDLL
      • 1 pad function after Shutdown()

About

ion RElib was programmed by Stanley Cen over the course of a few weeks, and is in constant, albeit slow, development.

This software is provided as-is, and is licensed under the MIT License. The license text is located under LICENSE, as well as below for your convenience.

Copyright (c) 2012 Stanley Cen

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

ionlib's People

Contributors

scen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.