AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011 (https://forums.alliedmods.net/showthread.php?t=148387)

eyal282 06-02-2018 06:12

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
Add a function that gets arguments from any string ( = char ) if I need outside a function.

RIP forgot about BreakString

extremeg 06-06-2018 16:19

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
It would be very nice if someone can upload his updated version of smlib. If you want to work with the latest syntax from sourcemod you also need to the includes be updated. It would be very greatfull from someone if he can do it :D

emsit 06-06-2018 17:31

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
here is :wink:

https://github.com/bcserv/smlib/tree...itional_syntax

extremeg 06-12-2018 07:46

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
Thanks :D i forgott completely to check his githib repo thanks.

Papero 06-14-2018 17:20

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
Quote:

Originally Posted by extremeg (Post 2596512)
Thanks :D i forgott completely to check his githib repo thanks.

That's probably not updated, the last push on the master branch was 8months ago and the transitional syntax branch 2years ago...

emsit 06-14-2018 17:25

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
Last commit to transitional_syntax was 4 months ago.. (Commits on Feb 6, 2018...)
https://github.com/bcserv/smlib/comm...itional_syntax

eyal282 11-10-2018 07:56

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
Could you fix links?

JoinedSenses 11-12-2019 08:54

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
Because of the transition of enum structs, the colors portion of smlib will error when attempting to compile. Unfortunately at the moment, current enum structs don't allow for bracket initialization, which the color inc does with old syntax enum structs. Bracket initialization has been a suggested change to sourcepawn, so until that's updated, a work around or rewrite will be needed to handle the broken include. I havent had much time to take a look at updating it. If using smlib, i suggest in the mean time you #include <smlib/specificinc> rather than the entire lib.

404UserNotFound 11-15-2019 03:23

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
Quote:

Originally Posted by JoinedSenses (Post 2672713)
i suggest in the mean time you #include <smlib/specificinc> rather than the entire lib.


Should do that by default instead of including the entire bloody lib. Include what you need. Don't overstuff the turkey, so to speak.

Ilker 02-09-2020 14:28

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
Hello,

Download link is dead :(

sneaK 02-09-2020 19:09

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
Quote:

Originally Posted by Ilker (Post 2683246)
Hello,

Download link is dead :(

https://github.com/bcserv/smlib/tree...itional_syntax

Frenzi3d 04-06-2020 14:24

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
//// practicemode.sp
//
// D:\Tourserver\TOURNAMENT SERVER\steamapps\common\Counter-Strike Global Offensive Beta - Dedicated Server\csgo\addons\sourcemod\scripting\includ e\smlib/entities.inc(1773) : fatal error 196: deprecated syntax; see https://wiki.alliedmods.net/SourcePa...yntax#Typedefs
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0.3 sec
// ----------------------------------------

How to fix it?

RDiver 05-21-2020 04:05

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
Tried to compile the "test" SP from the git, along with errors.

HTML Code:


//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// test_compile-all.sp
//
// D:\Games\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\include\smlib/entities.inc(1720) : error 017: undefined symbol "SetVariantString"
// D:\Games\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\include\smlib/entities.inc(1720) : warning 215: expression has no effect
// D:\Games\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\include\smlib/entities.inc(1720) : error 001: expected token: ";", but found ")"
// D:\Games\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\include\smlib/entities.inc(1720) : error 029: invalid expression, assumed zero
// D:\Games\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\include\smlib/entities.inc(1720) : fatal error 190: too many error messages on one line
//
// Compilation aborted.
// 4 Errors.
//
// Compilation Time: 0.28 sec
// ----------------------------------------

Press enter to exit ...


JeffJeremy 05-22-2020 05:40

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
Quote:

Originally Posted by RDiver (Post 2701369)
Tried to compile the "test" SP from the git, along with errors.

HTML Code:


//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// test_compile-all.sp
//
// D:\Games\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\include\smlib/entities.inc(1720) : error 017: undefined symbol "SetVariantString"
// D:\Games\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\include\smlib/entities.inc(1720) : warning 215: expression has no effect
// D:\Games\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\include\smlib/entities.inc(1720) : error 001: expected token: ";", but found ")"
// D:\Games\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\include\smlib/entities.inc(1720) : error 029: invalid expression, assumed zero
// D:\Games\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\include\smlib/entities.inc(1720) : fatal error 190: too many error messages on one line
//
// Compilation aborted.
// 4 Errors.
//
// Compilation Time: 0.28 sec
// ----------------------------------------

Press enter to exit ...


Something went wrong .. did you succeed?

RDiver 05-23-2020 06:47

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
Quote:

Originally Posted by JeffJeremy (Post 2701562)
Something went wrong .. did you succeed?

nope, so a bit frustrating

Bara 05-23-2020 07:41

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
smlib must be added behind/under sdktools. As example:
Code:

#include <sourcemod>
#include <sdktools>
#include <smlib>

This should fix: error 017: undefined symbol "SetVariantString"

AdRiAnIlloO 02-16-2021 11:38

Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
 
Hi, I recently noticed on CSS that, while spectating on Free Camera/Roam mode, Client_GetObserverMode() returned 7 on a certain server while there's the OBS_MODE_ROAMING macro with a value of 6 instead (which I expected to obtain), and there isn't any enumerated value for 7 (it's just NUM_OBSERVER_MODES). Is this a normal issue?

Bittersweet92101 07-03-2023 04:34

Dead Links
 
Several links in this thread, and in some user signatures, that are supposed to be download links for smlib are redirected to garbage websites. I don't see smlib 0.11 beta, but the files for smlib 0.9.7 can be downloaded at https://github.com/bcserv/smlib

Bittersweet92101 07-03-2023 04:36

Dead Links
 
Several links in this thread, and in some user signatures, that are supposed to be download links for smlib are redirected to garbage websites. I don't see smlib 0.11 beta, but the files for smlib 0.9.7 can be downloaded at https://github.com/bcserv/smlib, which is actually linked to in the first post, where it reads 'We use Gitub'


All times are GMT -4. The time now is 21:59.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.