CSGO Items API
If you came here to download CSGOItems you can find the code here: https://bitbucket.org/SM91337/csgo-items/src but be warned, CSGOItems is old, broken and the code is kind of embarrassing.
I promised everyone that I would update this, I'm sorry for promising something that I could not deliver, my mental health won't allow me at this time, maybe one day. |
Re: CSGO Items API
Seems very useful. I will check more this API. Good job :bacon!::bacon!:
|
Re: CSGO Items API
Very nice. Thanks for sharing.
|
Re: CSGO Items API
Isn't bringing TF2Items to csgo going to result in bans for inventory violations?
|
Re: CSGO Items API
Quote:
I hope this clears things up. |
Re: CSGO Items API
Great work.
|
Re: CSGO Items API
I just miss ammo natives to set a custom amount. Everything else seems to be great.
|
Re: CSGO Items API
Quote:
|
Re: CSGO Items API
Quote:
|
Re: CSGO Items API
Just a quick warning, I am currently adding a lot more functionality and improving existing natives, this means they are subject to change, The reason being is this plugin is still very new, thanks for understanding.
|
Re: CSGO Items API
Heres the first example plugin guys, https://bitbucket.org/SM91337/csgo-i...e-view-default
This is a dynamic weapon menu which is always up to date with new weapons valve may add to the game, could be very useful for a Deathmatch plugin or something. I am still working on improving and extending internals of the Item Core so Natives and Forwards may get changed, added and removed. Just a heads up one that one :P |
Re: CSGO Items API
Quote:
Quote:
|
Re: CSGO Items API
can't compile the code on first post...
//// test3.sp // // C:\Users\xxx\Dropbox\sm 1.8\test3.sp(1) : error 010: invalid function or decl aration // C:\Users\xxx\Dropbox\sm 1.8\test3.sp(30) : error 017: undefined symbol "CSGOI tems_GetActiveWeaponDefIndex" // C:\Users\xxx\Dropbox\sm 1.8\test3.sp(31) : error 017: undefined symbol "CSGOI tems_GetWeaponClipAmmoByDefIndex" // // 3 Errors. // // Compilation Time: 0.12 sec // ---------------------------------------- |
Re: CSGO Items API
#include <csgoitems>
|
Re: CSGO Items API
Does this still read all the items data after Valve split the keys over multiple sections of games_items.txt?
|
Re: CSGO Items API
will this ever support reading weapon's spread values etc?
|
Re: CSGO Items API
Quote:
|
Re: CSGO Items API
Quote:
Quote:
Quote:
Also just pushed an update to fix some stuff which valve broke in last csgo update. |
Re: CSGO Items API
Quote:
PHP Code:
PHP Code:
|
Re: CSGO Items API
Quote:
|
Re: CSGO Items API
Quote:
PHP Code:
|
Re: CSGO Items API
Quote:
|
Re: CSGO Items API
Quote:
|
Re: CSGO Items API
Quote:
also if there is a way to get how long a weapon takes to reload that would be awesome. |
Re: CSGO Items API
Quote:
PHP Code:
Quote:
|
Re: CSGO Items API
Quote:
|
Re: CSGO Items API
It's in the weapon scripts as "CycleTime"
There are also spreads: PHP Code:
|
Re: CSGO Items API
Quote:
|
Re: CSGO Items API
I have the following errors on the console:
Quote:
|
Re: CSGO Items API
Quote:
|
Re: CSGO Items API
Quote:
Quote:
|
Re: CSGO Items API
Quote:
This is a very important issue which is on my todo list to fix, For now though please consider my advice with the core.cfg option as a workaround. Grab version 1.4.7, I have heavily optimized the speed, Should be around 5 seconds now. Thanks. |
Re: CSGO Items API
The problem continues with the same flood on the console:
Quote:
And only this error flood is left on the console and it is marked as offline in the community list. Anyway thanks for trying to fix, I'll be waiting for more updates on your part. |
Re: CSGO Items API
I get around script timeouts by making use of RequestFrame between major functions.
A base plugin that does this also disables hibernation before starting if required them setting it back. |
Re: CSGO Items API
Quote:
Would it be the correction of BUGS? Hope so :) |
Re: CSGO Items API
Quote:
|
Re: CSGO Items API
Quote:
One question only about this command, does it harm the plugins or the server in any way? Does the plugins work? |
Re: CSGO Items API
Quote:
|
Re: CSGO Items API
If I download the files and host it on a localhost, will it work? Or it requires some php functions/api to load properly via plugin?
|
Re: CSGO Items API
This reads the items script. No http APIs are used.
|
All times are GMT -4. The time now is 22:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.