Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Recent csgo patch broke the reserve ammo, can you update smlib to account for this ?
Thanks |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
There is a pull request for the CS:GO reserve ammo, see: https://github.com/bcserv/smlib/pull/32
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
stock Entity_FindByName(const const String:name[], const String:class[]="");
Gives an error because there are two const. Seems to be fixed in the github. I'll just download from there. |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Hello,
I want compile a puglin but i have this text "fatal error 182: cannot read from file: "smlib"". |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Yes, i have a smlib.inc in folder include.
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
ie: paste the top of your code |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
It's okay, puglin compile correctly, ty bro.
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Code:
stock Entity_FindByName(const const String:name[], const String:class[]="") |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Since it seems you're at a loss of words for our awesome library, I'll just thank you for your support! :)
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
If you're talking about the arguments, the first is the targetname of an entity, the second is the classname. |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
He is talking about the double const keyword, which has been fixed a year ago in the GIT repository, but it probably still in the last released zip on the website.
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
1 Attachment(s)
In my easy lvl I fixed some mistakes (it's needed for compile killer_info_display.sp)
Already stays some warnings. I can't fix it Code:
clients.inc(1978) : warning 213: tag mismatchCode:
EFFECTS.INC Code:
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
You should just start using the latest version from github like you've been told before. There hasn't been a release for ages, so ignore the version numbers of the library.
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Client_GiveWeaponAndAmmo doesn't seem to be working again.
PHP Code:
Thanks for any help in advance |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
Code:
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
PHP Code:
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Try this for default values
Code:
Code:
p.s. i think u don't fully understand how it works.. |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
PHP Code:
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
maibe it's offset problem.. I don't know too =)
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
I spot the following compile errors:
Code:
smlib/entities.inc(33) : error 138: const was specified twiceUpdate: Never mind, i have downloaded the updated version from GitHub. |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
The website is not accessible.
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
And the Images broke...
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
A little late to let you know, but we are working on the certificate error.
Try https://sourcemodplugins.org/smlib/ without the www and you can skip the warning (at least in FireFox). |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Ok, thanks.
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Anyone have any ideas as to why since I've updated my SM installation, attempting to compile any plugin that uses smlib is giving me a bunch of errors?
eg: Code:
SourcePawn Compiler 1.7.3-dev+5255Code:
SourcePawn Compiler 1.7.3-dev+5255 |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
There was a lot of changes from 1.6 to 1.7 that reserved words and other things as well. |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
Is there an update planned for SMLIB that will address these issues (as these appear to be conflicts between SMlib and SM)? Or do I have to removed smlib from my plugins? |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
/include/smlib/entities.inc(33) : error 138: const was specified twice
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
work in CS:GO without errors?
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Does this have some smart way to set a beacon on a client, like the one in the admin menu?
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Hi, you can do it with a TE : https://sm.alliedmods.net/new-api/sd...pBeamRingPoint
|
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
I went ahead and updated SMLIB to as much of the new syntax as I could find/think of at 2am, as well as correct some of the documentation to reflect what was actually happening in the functions. This should fix some of the compile errors others were having but may not fix any potentially old code that has changed since the original SMLIB was made.
https://github.com/NGSNetwork/sm-plu...lude/smlib.inc and everything in this folder: https://github.com/NGSNetwork/sm-plu.../include/smlib I'd recommend downloading the repo as a zip and only taking what you may need. |
Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Quote:
|
| All times are GMT -4. The time now is 21:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.