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

*****


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Sexual Harassment Panda
Veteran Member
Join Date: Dec 2008
Location: San Diego, CA
Old 08-20-2009 , 19:34   Re: [TF2] Custom Achievements
#11

oh ok i didn't recompile, i'll edit so that the db's are correct, it's just a lot of stuff in the sm world is happening today, it's a lot of stuff to do.
__________________
Sexual Harassment Panda is offline
Gachl
BANNED
Join Date: Feb 2009
Old 08-21-2009 , 03:26   Re: [TF2] Custom Achievements
#12

Quote:
Originally Posted by Jindo View Post
The only real modifications I made were to have all queries go to the correct database tables
Oh shit, I forgot to add the cvar sm_ca_prefix to the plugin description Fixed now! For everyone with the table prefix issue, set sm_ca_prefix to the correct value (mostly "")

Quote:
Originally Posted by Sexual Harassment Panda View Post
I have an error in the plugin startup:
Code:
16:12:33 L 08/20/2009 - 16:12:36: [SM] Native "CreateNative" reported: Fatal error creating dynamic native!
16:12:33 L 08/20/2009 - 16:12:36: [SM] Displaying call stack trace for plugin "customachievements.smx":
16:12:33 L 08/20/2009 - 16:12:36: [SM]   [0]  Line 34, /home/groups/alliedmodders/forums/files/4/8/5/3/9/47998.attach::OnPluginStart()
16:12:33 [SM] Plugin Custom Achievements reloaded successfully.
Hm, I've never seen that one before It should work with all SM versions >= 1.1

Quote:
Originally Posted by Sexual Harassment Panda View Post
Also, does this create an autoconfig file?
No, there are only three cvars, creating an autoconfig isn't necessary

Quote:
Originally Posted by Jindo View Post
Successfully set the database (and web pages etc) up, haven't been able to test in a server yet, the plugin failed to load and I got this error:

Code:
L 08/20/2009 - 23:33:05: SourceMod error session started
L 08/20/2009 - 23:33:05: Info (map "cp_well") (file "errors_20090820.log")
L 08/20/2009 - 23:33:05: [SM] Unable to load plugin "ca_pack.smx": Native "ProcessAchievement" was not found
The problem appears to be obvious but I'm not so sure how to fix it, I'm taking a closer look at the code now.[/code]
Load customachievements.smx before you load ca_pack.smx

Quote:
Originally Posted by Jindo View Post
I'm also quite handy with Photoshop if you need any custom achievement icons
I'd be pleased if you can make some

Last edited by Gachl; 08-23-2009 at 05:14.
Gachl is offline
Jindo
AlliedModders Donor
Join Date: May 2009
Location: England, UK
Old 08-21-2009 , 03:46   Re: [TF2] Custom Achievements
#13

I was thinking replace "has earned the achievement:" with "has earned the server achievement:".

Also, all of the PHP and SQL scripts assume that there is no prefix ;O.

Request: The ability to categorize achievements would be awesome! Wouldn't have to affect any of the tracking, it would just organize them better on the web interface.

Last edited by Jindo; 08-21-2009 at 03:58.
Jindo is offline
Gachl
BANNED
Join Date: Feb 2009
Old 08-21-2009 , 03:56   Re: [TF2] Custom Achievements
#14

Quote:
Originally Posted by Jindo View Post
I was thinking replace "has earned the achievement:" with "has earned the server achievement:".
VALVe says "has earned the achievement:"

Quote:
Originally Posted by Jindo View Post
Also, all of the PHP and SQL scripts assume that there is no prefix ;O.
Yep.
Gachl is offline
Jindo
AlliedModders Donor
Join Date: May 2009
Location: England, UK
Old 08-21-2009 , 04:58   Re: [TF2] Custom Achievements
#15

Quote:
Originally Posted by Gachl View Post
VALVe says "has earned the achievement:"
I know, but I thought the inclusion of 'server' would avoid confusion.
Jindo is offline
Gachl
BANNED
Join Date: Feb 2009
Old 08-21-2009 , 06:47   Re: [TF2] Custom Achievements
#16

New version up
Code:
v0.2 2009/08/21
*	Moved CreateNative to AskPluginLoad to hopefully fix "Fatal error creating dynamic native!"
If this error message still shows up check if you run the plugin twice (different names?).
Gachl is offline
3_stooges_geo
Member
Join Date: Jul 2008
Location: Blackwood,New Jersey
Old 08-21-2009 , 07:36   Re: [TF2] Custom Achievements
#17

with new version keep gettin g error:
[SM] Failed to load plugin "customachievements.smx":
3_stooges_geo is offline
Gachl
BANNED
Join Date: Feb 2009
Old 08-21-2009 , 07:38   Re: [TF2] Custom Achievements
#18

Quote:
Originally Posted by 3_stooges_geo View Post
with new version keep gettin g error:
[SM] Failed to load plugin "customachievements.smx":
there should be more error messages, is that all?

Edit: oh I'm getting it too, extremely weird message
Code:
Plugin customachievements.smx failed to load: L�t��7M(�^�IY��kM-Kx,���ĵ�K)^�j����)���3|�����/ºv�F��y�v�/���Kj�Lqɫ]��'a�ղ�������Sl���Z\���%zo�XP���{W�.

Last edited by Gachl; 08-21-2009 at 07:43. Reason: edit line
Gachl is offline
3_stooges_geo
Member
Join Date: Jul 2008
Location: Blackwood,New Jersey
Old 08-21-2009 , 07:42   Re: [TF2] Custom Achievements
#19

here are all the errors since putting new version on.:

L 08/21/2009 - 070:11: SourceMod error session started
L 08/21/2009 - 070:11: Info (map "cp_dustbowl") (file "errors_20090821.log")
L 08/21/2009 - 070:11: [SM] Failed to load plugin "customachievements.smx":
L 08/21/2009 - 072:20: SourceMod error session started
L 08/21/2009 - 072:20: Info (map "cp_dustbowl") (file "errors_20090821.log")
L 08/21/2009 - 072:20: [SM] Failed to load plugin "customachievements.smx": ’’›)^Jn~%_ò}5,IŒܫ…QŠҽjs‰ E]/OBˆd{ctg‹ҫXRF€0‡QŠ&oYbŠP•–’‡ ŸU)UѾT?U1S,ҲšwV—g,^s.yR–ch>  –a“˜g“ 9&u {J„Lwp!„ºt'W}-KxgW/ˆW1ؼbŠ_š3|U]
*]T#”^j_%k”Wg
L 08/21/2009 - 075:05: SourceMod error session started
L 08/21/2009 - 075:05: Info (map "cp_dustbowl") (file "errors_20090821.log")
L 08/21/2009 - 075:05: [SM] Failed to load plugin "customachievements.smx":
L 08/21/2009 - 07:40:49: SourceMod error session started
L 08/21/2009 - 07:40:49: Info (map "cp_dustbowl") (file "errors_20090821.log")
L 08/21/2009 - 07:40:49: [SM] Failed to load plugin "customachievements.smx":
3_stooges_geo is offline
Jindo
AlliedModders Donor
Join Date: May 2009
Location: England, UK
Old 08-21-2009 , 08:05   Re: [TF2] Custom Achievements
#20

A small bug, and I understand why this happens and why it might be hard (if not impossible) to fix, but people with foreign characters in their name will show up on the web interface with names like "קℓαұβσұ™| »‡Ãssá".
Jindo is offline
Closed Thread



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

Forum Jump


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


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