Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 25 of 153
Search took 0.02 seconds.
Search: Posts Made By: Neuro Toxin
Forum: Snippets and Tutorials 05-12-2019, 18:50
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

That would be the error. Thanks for letting me know. Try making the void public and recompiling.

I need to push some updates so I will try patch it up in the next few days.
Forum: Snippets and Tutorials 05-12-2019, 18:48
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

.Dispose has a parameter disposemembers which defaults to true. This disposes Dynamic member types and deletes Handle member types.

It sounds like they had been referencing the disposed object...
Forum: Snippets and Tutorials 12-15-2018, 01:43
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

Looks like a plugin is trying to access an object that is alreasy dusposed.

Can you provide the code in the Event_PlayerDeath event callback?
Forum: Snippets and Tutorials 11-12-2018, 15:43
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

Ill have a look into this in the next week. For now please use v0031 of the include isn't compiling with your plugin
Forum: Snippets and Tutorials 07-29-2018, 07:16
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

I actually updated it after replying to your pm in this thread.

- Dynamic type now uses Get/SetDynamic
- Dynamic types initialise as Dynamic() instead of INVALID_DYNAMIC_OBJECT
- Serious error...
Forum: Snippets and Tutorials 07-28-2018, 22:57
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

I would start of by using the Class Builder (https://console.aus-tg.com/index.php?key=&page=createdynamicclass) to build your base class ClanData.

#if defined _dynamic_class_clandata_
#endinput...
Forum: Snippets and Tutorials 07-23-2018, 00:20
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

You always need to call .Dispose when you're done with them
Forum: Snippets and Tutorials 07-07-2018, 20:24
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

I've completed updating Dynamic instances.

char error[128];
Database db = SQLite_UseDatabase("dynamictest", error, sizeof(error));

test.SetString("stringvalue", "a string value 'which needs...
Forum: Snippets and Tutorials 07-03-2018, 18:23
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

I haven't finished it yet. It's close.

What do you mean by unserialise?
Forum: Snippets and Tutorials 07-02-2018, 23:52
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

I'm making good headway.

Here is an example of usage after really nutting it out.


// This is a Dynamic instance that holds the data that will be used in the query
Dynamic test = Dynamic();...
Forum: Snippets and Tutorials 07-02-2018, 00:30
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

It's coming together...

https://github.com/ntoxin66/Dynamic/blob/master/scripting/include/dynamic/methodmaps/dbscheme.inc
Forum: Snippets and Tutorials 07-01-2018, 09:25
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

Here is the start I've done.

https://github.com/ntoxin66/Dynamic/commit/2d674935ff937816ce8b2efe47e6339dae6dd438

Let me know your thoughts.
Forum: Snippets and Tutorials 07-01-2018, 07:40
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

I was thinking of creating an dynamic class that would have a member like so which is parsed through the initialiser.

<String>dynamic.Query: An INSERT INTO ... ON DUPLICATE UPDATE statement
...
Forum: Snippets and Tutorials 05-11-2018, 08:07
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

You should be able to override Dispose already.

Just make sure you call this.Dispose inside your override.
Forum: Snippets and Tutorials 05-11-2018, 05:19
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

It's probably best to use the built in player objects that can be referenced.

https://github.com/ntoxin66/Dynamic/wiki/%5B1.0.5%5D-Static-Setting-Objects
Forum: Snippets and Tutorials 05-07-2018, 20:50
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

Dynamic-0032
- Fix persistent directive (thanks Kailo97 (https://github.com/ntoxin66/Dynamic/commits?author=Kailo97)!)
Forum: Snippets and Tutorials 02-21-2018, 02:08
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.31 - [2018.01.13]

To confirm. The server was shutting down when the error occured?
Forum: Snippets and Tutorials 02-20-2018, 00:49
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.31 - [2018.01.13]

Interesting.

Which plugins do you run that use Dynamic?
Forum: Snippets and Tutorials 01-12-2018, 19:21
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.31 - [2018.01.13]

Dynamic 0.0.31

- Patched FlatConfigs bugs
- Patched String->Bool datatype conversion
- Allow double forward slash comments in flatconfigs
- Patched CreateMemberFromString not reading...
Forum: Snippets and Tutorials 11-01-2017, 01:43
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.30 - [2017.09.18]

https://github.com/ntoxin66/Dynamic/wiki/%5B1.0.3%5D-Dynamic-Strings
Forum: Snippets and Tutorials 10-31-2017, 14:48
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.30 - [2017.09.18]

Your best to use the class builder.

http://console.aus-tg.com/index.php?key=&page=createdynamicclass

#if defined _dynamic_class_test_
#endinput
#endif
#define _dynamic_class_test_
...
Forum: Snippets and Tutorials 09-17-2017, 17:41
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.30 - [2017.09.18]

Dynamic 0.0.30

- Fixed `Not called from inside a native function` bug (Thanks TR1D)
Forum: Snippets and Tutorials 08-09-2017, 05:48
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.29 - [2017.08.09]

Dynamic 0.0.29

- Patches to Function type
Forum: Snippets and Tutorials 08-06-2017, 17:03
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.28 - [2017.08.06]

Just realised there was a typo in the new Function datatype.

I've updated the repo from my mobile and will compile the next version tonight after work.
Forum: Snippets and Tutorials 08-06-2017, 09:09
Replies: 285
Views: 109,064
Posted By Neuro Toxin
Re: Dynamic Objects and Properties - v.0.0.28 - [2017.08.06]

Dynamic 0.0.28

- Fix `Not called from inside a native function` error during OnPluginEnd
- Implement Function datatype
Showing results 1 to 25 of 153

 
Forum Jump

All times are GMT -4. The time now is 05:17.


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