SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 28/03/2018, 04:46 PM   #171
Exhibit
Big Clucker
 
Join Date: Dec 2015
Location: Pakistan
Posts: 180
Reputation: 22
Default Re: dini2.inc - Improved dini file processor with amazing benchmarks (aka. gini)!

EDIT: Sorry, I'm Mike's partner and I've fixed the issue. It wasn't an issue with your include. Great Job!

Last edited by Exhibit; 28/03/2018 at 05:35 PM.
Exhibit is offline   Reply With Quote
Old 19/05/2018, 02:57 PM   #172
Shadow0707
Big Clucker
 
Join Date: Sep 2016
Location: My Mothers House
Posts: 78
Reputation: 2
Default Re: dini2.inc - Improved dini file processor with amazing benchmarks (aka. gini)!

hmmp

Quote:
C:\Users\server\Desktop\SAMP FILES\PNT v2.5\PNT v2.5\gamemodes\PPC_Trucking.pwn(1581) : warning 203: symbol is never used: "dini_ParseFile"
Shadow0707 is offline   Reply With Quote
Old 19/05/2018, 06:30 PM   #173
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,758
Reputation: 840
Default Re: dini2.inc - Improved dini file processor with amazing benchmarks (aka. gini)!

Quote:
Originally Posted by Shadow0707 View Post
hmmp
This simply tells you that the include isn't being used in your code. Either you are not using any dini functions in your code or you are doing something wrong while loading dini2.
__________________

Follow me on Github: Follow me on Spotify: Donate on Paypal:

Gammix is online now   Reply With Quote
Old 29/03/2019, 02:27 PM   #174
RiqueP
Gangsta
 
RiqueP's Avatar
 
Join Date: Jan 2014
Posts: 758
Reputation: 53
Default Re: dini2.inc - Improved dini file processor with amazing benchmarks (aka. gini)!

I'm having some issues with the include.

1° I am having a problem with readings of Boolean values. I did the file, and changed in the file the value of a boolean to 1. When using dini_Bool the value is not loaded correctly (it gets 0 although I changed it to 1).

2° Write float values ​​always results in 0.0. I tested the same system with a different include and it saved the Float values ​​correctly. Using dini2, I got a strange result because besides saving the value 0.0, I realized that when using the function (dini_FloatSet), the variables X, Y, Z were reset.
PHP Code:
    printf("%f || %f || %f || %f"Player[playerid][PlayerX], Player[playerid][PlayerY], Player[playerid][PlayerZ], Player[playerid][PlayerA]);
    
// Result: Pos X, Y, Z, A

    
dini_FloatSet(fileName"PosX"Player[playerid][PlayerX]);
    
dini_FloatSet(fileName"PosY"Player[playerid][PlayerY]);
    
dini_FloatSet(fileName"PosZ"Player[playerid][PlayerZ]);
    
dini_FloatSet(fileName"PosA"Player[playerid][PlayerA]);

    
printf("%f || %f || %f || %f"Player[playerid][PlayerX], Player[playerid][PlayerY], Player[playerid][PlayerZ], Player[playerid][PlayerA]);
    
// Result: Pos 0.0, 0.0, 0.0, 0.0 
RiqueP is offline   Reply With Quote
Old 29/03/2019, 03:33 PM   #175
Logic_
Banned
 
Join Date: Jun 2015
Posts: 1,514
Reputation: 305
Default Re: dini2.inc - Improved dini file processor with amazing benchmarks (aka. gini)!

Wouldn't recommend using Dini for anything else than saving stuff that you can't do with SQL.
Logic_ is offline   Reply With Quote
Old 29/03/2019, 04:55 PM   #176
RiqueP
Gangsta
 
RiqueP's Avatar
 
Join Date: Jan 2014
Posts: 758
Reputation: 53
Default Re: dini2.inc - Improved dini file processor with amazing benchmarks (aka. gini)!

I was testing the dini. And in my view, nothing better than using a system of users.
RiqueP is offline   Reply With Quote
Old 27/09/2019, 09:56 PM   #177
TheMarioTR
Little Clucker
 
Join Date: Jun 2019
Location: pawno.exe // Turkey - TheMario#0683
Posts: 6
Reputation: 0
Cool Re: dini2.inc - Improved dini file processor with amazing benchmarks (aka. gini)!

Very Good.
TheMarioTR is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] [I-ZCMD]Improved ZCMD - Fastest Command Processor Yashas Includes 101 28/12/2018 09:12 PM
[Off] Dini2? yurin Português/Portuguese 5 27/11/2016 03:09 AM
[Include] eXtended INI Processor - Fast & Feature Rich INI Processor Yashas Includes 28 01/09/2015 08:45 PM
[INC+FS] Aero File Processor by Luby * Updated! luby Filterscripts 15 14/05/2009 02:07 PM


All times are GMT. The time now is 08:16 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.