Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 13 of 13
Search took 0.01 seconds.
Search: Posts Made By: shavit
Forum: Snippets and Tutorials 09-17-2016, 15:19
Replies: 285
Views: 108,673
Posted By shavit
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

that's an error with my plugin, not with dynamic..
Forum: Snippets and Tutorials 09-14-2016, 02:02
Replies: 285
Views: 108,673
Posted By shavit
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

That's actually very ideal, thanks :)
Forum: Snippets and Tutorials 09-11-2016, 09:25
Replies: 285
Views: 108,673
Posted By shavit
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

I want to use Dynamic as a dependency with one of my plugins and apparently I need to include the file:

G:\scripting\include\dynamic.inc(168) : fatal error 183: cannot read from file:...
Forum: Snippets and Tutorials 09-10-2016, 13:57
Replies: 285
Views: 108,673
Posted By shavit
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

Already did all of those except commenting the dispose (did all of that for testing) - thanks :)
Forum: Snippets and Tutorials 09-10-2016, 04:49
Replies: 285
Views: 108,673
Posted By shavit
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

Fantastic, thanks :)

Edit: Now there's this error on server startup
L 09/10/2016 - 11:50:52: [SM] Exception reported: Could not read Handle 2d002d (error 1)
L 09/10/2016 - 11:50:52: [SM]...
Forum: Snippets and Tutorials 09-09-2016, 03:01
Replies: 285
Views: 108,673
Posted By shavit
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

np, i appreciate the development of dynamic :)
Forum: Snippets and Tutorials 09-09-2016, 02:12
Replies: 285
Views: 108,673
Posted By shavit
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

dStylesConfig.GetName returned "" and contained 1 member.

I wrote this test code:

#include <sourcemod>
#include <dynamic>

public void OnPluginStart()
{
Dynamic dStylesConfig = Dynamic();
Forum: Snippets and Tutorials 09-08-2016, 16:23
Replies: 285
Views: 108,673
Posted By shavit
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

For example, I have this:

public TimerSettings LoadStyles()
{
Dynamic dStylesConfig = Dynamic();

// i know the path to sourcemod can be different because of '+sm_basepath', just testing...
Forum: Snippets and Tutorials 08-26-2016, 22:02
Replies: 285
Views: 108,673
Posted By shavit
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

How efficient would it be to run Dynamic natives within OnPlayerRunCmd? For example 100 'get' calls per usercmd would drop the server's performance?
Forum: Snippets and Tutorials 08-19-2016, 11:37
Replies: 285
Views: 108,673
Posted By shavit
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

So basically if I don't set them to persistent, I can safely just not dispose them in OnPluginEnd?
Forum: Snippets and Tutorials 07-16-2016, 01:29
Replies: 285
Views: 108,673
Posted By shavit
Forum: Snippets and Tutorials 07-15-2016, 23:41
Replies: 285
Views: 108,673
Posted By shavit
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

Hey, was wondering if I have to .Dispose when my plugin ends:

public void OnPluginStart()
{
for(int i = 0; i < sizeof(gS_WeaponClasses); i++)
{
gD_Weapons[i] = Dynamic();
...
Forum: Snippets and Tutorials 06-19-2016, 16:17
Replies: 285
Views: 108,673
Posted By shavit
Re: Dynamic Objects and Properties - v.0.0.15 - [2016.06.08]

i 100% agree, we don't need a plugin as a dependency for dynamic objects/classes that every modern object oriented language has
again; thanks neurotoxin!
Showing results 1 to 13 of 13

 
Forum Jump

All times are GMT -4. The time now is 19:53.


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