[Include] :: iAchieve :: Dynamic Achievement System - (Notify-on-achieve) (Stylish Textdraws) (uses Y_INI for saving/loading)
#41

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.
Reply
#42

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
Reply
#43

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!
Reply
#44

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
Reply
#45

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
Reply
#46

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

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.
Reply
#48

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

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
Reply
#50

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
Reply
#51

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

nice.
Reply
#53

WOW!

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

Thank you dude!GREAT JOB
+REP
Reply
#54

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
Reply
#55

Its not working for me
Reply
#56

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


Forum Jump:


Users browsing this thread: 1 Guest(s)