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

Showing results 1 to 17 of 17
Search took 0.00 seconds.
Search: Posts Made By: exeorb
Forum: Module Coding 09-21-2014, 09:56
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

In one word, it have to work. Especially for you it will show number of unclosed handles (see https://github.com/exeorb/Amx_Json/blob/master/amx_handle/amx_handle.cpp#L10)...
Forum: Module Coding 09-16-2014, 05:29
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

see here http://www.json.org/
Forum: Module Coding 09-15-2014, 07:44
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

just make like this :

json_array_append_new(spawnData, json_real(origin[0]))
Forum: Module Coding 09-15-2014, 07:32
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

MAAAN:) see json.inc . you will see follow functions :


/**
* Like json_array_set() but steals the reference to value.
* This is useful when value is newly...
Forum: Module Coding 09-15-2014, 06:16
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

Ofcourse man. You create new object and you have to free it :nono:. If you don't want, make some smart wrapper to clean it all on map_change or you can fork github repo and write little function with...
Forum: Module Coding 09-14-2014, 01:38
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

you have to close all handles on map_change and i closed all handles on server_shutdown (see here https://github.com/exeorb/Amx_Json/blob/master/json_module.cpp#L1022) I will test it:) thanks. it...
Forum: Module Coding 09-12-2014, 13:58
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

Yes. You have to validate each JsonHandle value function (you miss to check banTime, playerData). I will test it. Thanks
Forum: Module Coding 09-11-2014, 12:45
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

Can you show code when json_object_iter_value crashed?
Forum: Module Coding 08-17-2014, 10:20
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

NOTICE
Was very bad and stupid mistake in json_object_iter_next (now it's ok)
NO STL
Forum: Module Coding 08-16-2014, 13:15
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

Alright no stl. I will repair it tomorrow ;)
Forum: Module Coding 08-16-2014, 10:15
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

Now I don't use std vector, stack and string (see amx_handle.cpp) but I cannot abandon std::bind
Forum: Module Coding 08-08-2014, 02:23
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

Why? I can rewrite it if there is a good reason
Forum: Module Coding 08-07-2014, 11:57
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

You can use socket module for your needed. If you want I can write some stock functions for this :) I want to implement thread pool module to call functions like socket send recv. If somebody whatnot...
Forum: Module Coding 07-29-2014, 23:59
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

Oh. see v 1.2. json_stringn and a lot of functions (like json_iter is supported now). please compile it because i don't like windows (sorry bill). It will be better if you give msvc folder
Forum: Module Coding 07-29-2014, 09:55
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

It's my pleasure. Is it last version?:) Because first was very "raw" (and the last is not good enough :( )
Forum: Module Coding 07-24-2014, 02:38
Replies: 40
Views: 16,739
Posted By exeorb
Re: Jansson wrapper

I have next questions :
Why AMX Mod X Development Team implemented some classes and containers like string, vector, stack and so on, why are you not using std containers? I implemented some in...
Forum: Module Coding 07-20-2014, 23:00
Replies: 40
Views: 16,739
Posted By exeorb
Jansson wrapper

This module is SMJansson (https://github.com/thraaawn/SMJansson) wrapper to AMXX

current version 1.3

NO STL
NO C++11


Installation
Showing results 1 to 17 of 17

 
Forum Jump

All times are GMT -4. The time now is 18:06.


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