SA-MP Forums Archive
[Include] :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) (/showthread.php?tid=277706)

Pages: 1 2 3


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - nickdodd25 - 06.03.2012

Quote:
Originally Posted by iPLEOMAX
View Post
I noticed some bugs, hmm, I'll see if I have time to release next version with all fixes.

Though you can try to replace all "for(new a=1; a<=MAX_ACHIEVEMENTS; a++)" to
"for(new a=0; a<MAX_ACHIEVEMENTS; a++)"

My old works really need to be updated.. >.>
Dumb question, where do i put that? Couldnt find it to replace.


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - nickdodd25 - 09.03.2012

BUMP!!!
Well i have the probem figured out... so i kept adding the publics that came up as a runtime error and just added them to my gamemode. (like i said i never used any of them) and this is how many i had to add till there was no errors.
pawn Code:
public OnObjectMoved()
{
    return 1;
}
public OnPlayerClickMap()
{
    return 1;
}
public OnPlayerClickPlayer()
{
    return 1;
}
public OnPlayerExitedMenu()
{
    return 1;
}
public OnPlayerGiveDamage()
{
    return 1;
}
public OnPlayerTakeDamage()
{
    return 1;
}
public OnPlayerInteriorChange()
{
    return 1;
}
public OnPlayerObjectMoved()
{
    return 1;
}
public OnPlayerSelectedMenuRow()
{
    return 1;
}
public OnPlayerStreamIn()
{
    return 1;
}
public OnPlayerStreamOut()
{
    return 1;
}
public OnPlayerUpdate()
{
    return 1;
}
public OnRconLoginAttempt()
{
    return 1;
}
public OnUnoccupiedVehicleUpdate()
{
    return 1;
}
public OnVehicleDamageStatusUpdate()
{
    return 1;
}
public OnVehicleStreamOut()
{
    return 1;
}
public OnVehicleStreamIn()
{
    return 1;
}
And now the include works awsome. So to the scriping gurus what did i do wrong to make the errors come up with this include?
My guess is i did something really simple and it made it do this.........

Think it would be safe to use this then on my main server or think it would cause more problems than it fixes?

Thanks
Nick


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - Ballu Miaa - 10.03.2012

Quote:
Originally Posted by lukas567
View Post
Where system saves player achievments?
Profiles folder by default. But you can change it. My Achievements are saved where i save PlayerData in the same files!


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - SpiderWalk - 26.04.2012

I got 2 warnings but its very strange
Code:
D:\samp03dsvr_win32(1)\pawno\include\YSI/y_hooks.inc(725) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterCheckpoint")
D:\samp03dsvr_win32(1)\pawno\include\YSI/y_hooks.inc(737) : warning 201: redefinition of constant/macro (symbol "OnPlayerLeaveCheckpoint")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
On that lines is nothing what is in warning! lOL


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - iPLEOMAX - 26.04.2012

Quote:
Originally Posted by SpiderWalk
View Post
I got 2 warnings but its very strange
Code:
D:\samp03dsvr_win32(1)\pawno\include\YSI/y_hooks.inc(725) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterCheckpoint")
D:\samp03dsvr_win32(1)\pawno\include\YSI/y_hooks.inc(737) : warning 201: redefinition of constant/macro (symbol "OnPlayerLeaveCheckpoint")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
On that lines is nothing what is in warning! lOL
Try this version: Latest Fix/Patch: 6th March 12
http://pastebin.com/0kcm5ww8


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - Xtreme Brotherz - 05.05.2012

hey what if two achievements are unlocked at the same time? The textdraws overlap each other or not??


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - Jeroen52 - 06.05.2012

Will there be a MySQL version released? Because we've already edited our Gamemode to MySQL based Gamemode and I would like this to be put into our account database.

I can not wait puting this in my Gamemode.

PS: I will use it but it is just easier if there is a MySQL version released.


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - Xtreme Brotherz - 07.05.2012

hey what if two achievements are unlocked at the same time? The textdraws overlap each other or not??


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - SwiftKidZ - 07.05.2012

I love it can i use for v3 in my server u will be in credits i am gonna rep u man 5/5 rated 5/5


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - Jeroen52 - 28.05.2012

I get this:
Код:
pawno\include\YSI\y_stringhash.inc(669) : warning 219: local variable "hash" shadows a variable at a preceding level
pawno\include\YSI\y_stringhash.inc(669) : warning 219: local variable "hash" shadows a variable at a preceding level
pawno\include\YSI\y_stringhash.inc(669) : warning 219: local variable "hash" shadows a variable at a preceding level



Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - Symphony - 26.01.2014

This Is The Best Oh My God, Good Job This Is Awesome..!!


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - xF4Life - 31.01.2014

nice.


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - qazwsx - 31.01.2014

WOW!

Another great job from this great dude
This is exactly what i need.

Thank you dude!GREAT JOB
+REP


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - AlexandreRangelMamut - 14.03.2014

How can I adapt this system in a gamemode? How to get the stats on a players gamemode? I'm editing the PPC_Trucking

https://sampforum.blast.hk/showthread.php?tid=196493

Thanks


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - fireranger11 - 05.06.2017

Its not working for me


Re: :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading) - fireranger11 - 05.06.2017

It sets Ach0 = 1, but no onplayerachieve or textdraws help please