Giter Club home page Giter Club logo

smjansson's People

Contributors

bottiger1 avatar crimsontautology avatar davenonymous avatar joinedsenses avatar maxime1907 avatar they4kman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smjansson's Issues

Cases where json_object_get() returns INVALID_HANDLE

In the sourcepawn native json_object_get_float() (and possibly others), where json_object_get() is used, the error case of json_object_get() is not covered.
For the store plugin, this leads to errors in console if an item does not have a specific attribute.
Tough it's possible to overcome this by checking if json_object_get(Handle, attribute string) returns INVALID_HANDLE, before calling json_object_get_float() and the like.

Building with latest SM

Tried to build Linux version, but doesn't builds with the latest SM versions (1.10, 1.11) and ends up with error
IShareSys.h:40:10: fatal error: sp_vm_types.h: No such file or directory

fatal error 182

steam@debian77:~/dota2/dota/addons/sourcemod/scripting$ ./compile.sh my_plugin.sp
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Compiling thefarm.sp...
SourcePawn Compiler 1.7.2-dev+5193
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2014 AlliedModders LLC

my_plugin.sp(3) : fatal error 182: cannot read from file: "smjansson"

Compilation aborted.
1 Error.

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.