AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   ***** (https://forums.alliedmods.net/showthread.php?t=101088)

Sexual Harassment Panda 08-20-2009 19:34

Re: [TF2] Custom Achievements
 
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.

Gachl 08-21-2009 03:26

Re: [TF2] Custom Achievements
 
Quote:

Originally Posted by Jindo (Post 907304)
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 :shock: 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 (Post 907287)
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 (Post 907287)
Also, does this create an autoconfig file?

No, there are only three cvars, creating an autoconfig isn't necessary :P

Quote:

Originally Posted by Jindo (Post 907134)
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 (Post 907134)
I'm also quite handy with Photoshop if you need any custom achievement icons

I'd be pleased if you can make some :)

Jindo 08-21-2009 03:46

Re: [TF2] Custom Achievements
 
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.

Gachl 08-21-2009 03:56

Re: [TF2] Custom Achievements
 
Quote:

Originally Posted by Jindo (Post 907662)
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 (Post 907662)
Also, all of the PHP and SQL scripts assume that there is no prefix ;O.

Yep.

Jindo 08-21-2009 04:58

Re: [TF2] Custom Achievements
 
Quote:

Originally Posted by Gachl (Post 907668)
VALVe says "has earned the achievement:"

I know, but I thought the inclusion of 'server' would avoid confusion.

Gachl 08-21-2009 06:47

Re: [TF2] Custom Achievements
 
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?).

3_stooges_geo 08-21-2009 07:36

Re: [TF2] Custom Achievements
 
with new version keep gettin g error:
[SM] Failed to load plugin "customachievements.smx":

Gachl 08-21-2009 07:38

Re: [TF2] Custom Achievements
 
Quote:

Originally Posted by 3_stooges_geo (Post 907810)
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�.

3_stooges_geo 08-21-2009 07:42

Re: [TF2] Custom Achievements
 
here are all the errors since putting new version on.:

L 08/21/2009 - 07:30:11: SourceMod error session started
L 08/21/2009 - 07:30:11: Info (map "cp_dustbowl") (file "errors_20090821.log")
L 08/21/2009 - 07:30:11: [SM] Failed to load plugin "customachievements.smx":
L 08/21/2009 - 07:32:20: SourceMod error session started
L 08/21/2009 - 07:32:20: Info (map "cp_dustbowl") (file "errors_20090821.log")
L 08/21/2009 - 07:32: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 - 07:35:05: SourceMod error session started
L 08/21/2009 - 07:35:05: Info (map "cp_dustbowl") (file "errors_20090821.log")
L 08/21/2009 - 07:35: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":

Jindo 08-21-2009 08:05

Re: [TF2] Custom Achievements
 
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á".


All times are GMT -4. The time now is 20:09.

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