SA-MP Forums Archive
Converting MySQL to y_ini - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Converting MySQL to y_ini (/showthread.php?tid=309382)



Converting MySQL to y_ini - Michael@Belgium - 07.01.2012

So, it's about this filterscript : click. That filterscript uses MySQL, and atm i don't want to work with MySQL. So my question is: is it possible to convert it ? And if true, how ?

I tried to do it but i have this errors:

Код:
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\pawno\include\YSI\y_inline.inc(335) : error 021: symbol already defined: "@yH_ScriptInit1"
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\pawno\include\YSI\y_inline.inc(336) : error 021: symbol already defined: "@yH_ScriptInit1"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
I asked ******, but normally the errors shouldn't be there. If you want to converted script (so the edited filterscript) : ask me


Re: Converting MySQL to y_ini - Michael@Belgium - 07.01.2012

Nobody ? :S


Re: Converting MySQL to y_ini - Scenario - 07.01.2012

Of course it's possible, but it's probably going to take a bit of time.

EDIT: Actually, that would be really simple. I can do it for you if you're willing to pay, if you're interested, send me a private message.


Re: Converting MySQL to y_ini - Michael@Belgium - 07.01.2012

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Of course it's possible, but it's probably going to take a bit of time.

EDIT: Actually, that would be really simple. I can do it for you if you're willing to pay, if you're interested, send me a private message.
Why paying . You can't do a favor for me ;o


Re: Converting MySQL to y_ini - Scenario - 07.01.2012

Quote:
Originally Posted by Michael@Belgium
Посмотреть сообщение
Why paying . You can't do a favor for me ;o
... because I don't want to use my time coding something for you without having something as an incentive (aka. money).


Re: Converting MySQL to y_ini - Georgelopez1 - 07.01.2012

Realcop is honest and he gets your work done fast. I had him make me something before I learned myself.


Re: Converting MySQL to y_ini - Michael@Belgium - 07.01.2012

Quote:
Originally Posted by Georgelopez1
Посмотреть сообщение
Realcop is honest and he gets your work done fast. I had him make me something before I learned myself.
I believe you but im nt gonna give money for a convert ;S All i can do is giving rep


Re: Converting MySQL to y_ini - Michael@Belgium - 10.01.2012

bump ;S


Re: Converting MySQL to y_ini - Scenario - 10.01.2012

Doing it for you now.

EDIT: See if this works, I cba. to download the includes and try compiling.

http://pastebin.com/JzVfpEHv


Re: Converting MySQL to y_ini - Michael@Belgium - 11.01.2012

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Doing it for you now.

EDIT: See if this works, I cba. to download the includes and try compiling.

http://pastebin.com/JzVfpEHv
Код:
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\pawno\include\YSI\y_utils.inc(326) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\pawno\include\YSI\y_utils.inc(470) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\pawno\include\YSI\y_utils.inc(502) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\pawno\include\YSI\y_utils.inc(520) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\pawno\include\YSI\y_timers.inc(292) : error 021: symbol already defined: "@yH_ScriptInit1"
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\pawno\include\YSI\y_timers.inc(293) : error 021: symbol already defined: "@yH_ScriptInit1"
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(930) : warning 209: function "CheckLoginKeys" should return a value
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(931) : error 010: invalid function or declaration
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(937) : error 010: invalid function or declaration
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(975) : warning 209: function "loadUserData_basic" should return a value
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(1371) : error 017: undefined symbol "usefile"
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(1395) : error 017: undefined symbol "userFile"
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(1443) : warning 203: symbol is never used: "Query"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
I still need "#include <a_mysql>" ?

EDIT: after updating to YSI R2:

Код:
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\pawno\include\YSI\y_utils.inc(326) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\pawno\include\YSI\y_utils.inc(470) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\pawno\include\YSI\y_utils.inc(502) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\pawno\include\YSI\y_utils.inc(520) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(930) : warning 209: function "CheckLoginKeys" should return a value
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(931) : error 010: invalid function or declaration
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(937) : error 010: invalid function or declaration
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(975) : warning 209: function "loadUserData_basic" should return a value
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(1371) : error 017: undefined symbol "usefile"
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(1395) : error 017: undefined symbol "userFile"
C:\Users\Michael2\Downloads\GTA\Destruction Derby 0.3d\filterscripts\S32_Register&Login.pwn(1443) : warning 203: symbol is never used: "Query"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.