Raised This Month: $ Target: $400
 0% 

Menu Based Rules (1.5.1, Updated: 10/29/08)


Post New Thread Reply   
 
Thread Tools Display Modes
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Old 11-06-2008 , 02:02   Re: Menu Based Rules (1.5.1, Updated: 10/29/08)
Reply With Quote #111

Quote:
Originally Posted by Private Dyin View Post
Your latest version fails to compile.
You need a 1.1 Snapshot to compile this plugin... you're using 1.04 which hasn't the clientprefs extension.
Also your server must run SM 1.1.
gH0sTy is offline
Private Dyin
Member
Join Date: Jul 2006
Old 11-06-2008 , 02:22   Re: Menu Based Rules (1.5.1, Updated: 10/29/08)
Reply With Quote #112

Quote:
Originally Posted by gH0sTy View Post
You need a 1.1 Snapshot to compile this plugin... you're using 1.04 which hasn't the clientprefs extension.
Also your server must run SM 1.1.

Oh yeah silly me. I updated to a 1.1 snapshot but didn't update the compiler.
__________________
Private Dyin is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 11-06-2008 , 08:20   Re: Menu Based Rules (1.5.1, Updated: 10/29/08)
Reply With Quote #113

Quote:
Originally Posted by Private Dyin View Post
Your latest version fails to compile.
This means you're either not running a 1.1 snapshot, or you're missing the client prefs include file/extension from your installation.

(Also, this will NOT compile on the forums, so if you're trying that, compile it yourself)

You should have the following present in your (recent) 1.1 snapshot.

addons/sourcemod/extensions/clientprefs.ext.dll
addons/sourcemod/plugins/clientprefs.smx
addons/sourcemod/scripting/clientprefs.sp
addons/sourcemod/scripting/include/clientprefs.inc

If you're missing one more more of these files, then you won't be able to compile the latest showrules version.

I hope this helps you out!

X

EDIT: Awesome.. click link from e-mail.. read post, reply to post.. find out you already solved the issue.

... Off to get coffee now!
__________________
XARIUS is offline
Private Dyin
Member
Join Date: Jul 2006
Old 11-06-2008 , 15:31   Re: Menu Based Rules (1.5.1, Updated: 10/29/08)
Reply With Quote #114

Yes I can compile it now but I get an plugin error on startup. I don't know if that first part about the clientprefs is anything to do with your plugin though. Any ideas? Something to do with the SM snapshot I installed?

Code:
L 11/06/2008 - 14:21:16: [CLIENTPREFS] [1045]: Access denied for user 'root'@'localhost' (using password: NO)
L 11/06/2008 - 14:21:16: [SM] Native "RegClientCookie" reported: Clientprefs is disabled due to a failed database connection
L 11/06/2008 - 14:21:16: [SM] Displaying call stack trace for plugin "showrules.smx":
L 11/06/2008 - 14:21:16: [SM]   [0]  Line 52, E:\GameServers\HLDS_ZPS\orangebox\zps\addons\sourcemod\scripting\showrules.sp::OnPluginStart()
L 11/06/2008 - 14:21:29: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 11/06/2008 - 14:21:29: [SM] Native "SetMenuTitle" reported: Language phrase "Nominate Title" not found
__________________
Private Dyin is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 11-06-2008 , 15:37   Re: Menu Based Rules (1.5.1, Updated: 10/29/08)
Reply With Quote #115

Quote:
Originally Posted by Private Dyin View Post
Yes I can compile it now but I get an plugin error on startup. I don't know if that first part about the clientprefs is anything to do with your plugin though. Any ideas? Something to do with the SM snapshot I installed?

Code:
L 11/06/2008 - 14:21:16: [CLIENTPREFS] [1045]: Access denied for user 'root'@'localhost' (using password: NO)
L 11/06/2008 - 14:21:16: [SM] Native "RegClientCookie" reported: Clientprefs is disabled due to a failed database connection
L 11/06/2008 - 14:21:16: [SM] Displaying call stack trace for plugin "showrules.smx":
L 11/06/2008 - 14:21:16: [SM]   [0]  Line 52, E:\GameServers\HLDS_ZPS\orangebox\zps\addons\sourcemod\scripting\showrules.sp::OnPluginStart()
L 11/06/2008 - 14:21:29: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 11/06/2008 - 14:21:29: [SM] Native "SetMenuTitle" reported: Language phrase "Nominate Title" not found
Yes, this has to do with clientprefs (and my plugin).

When you updated your sourcemod installation, you probably didn't include the updated databases.cfg.

You should have this entry in your configs/databases.cfg

Code:
    "clientprefs"
    {
        "driver"            "sqlite"
        "host"                "localhost"
        "database"            "clientprefs-sqlite"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        //"port"            "0"
    }
See if that doesn't fix you up.

X
__________________
XARIUS is offline
Private Dyin
Member
Join Date: Jul 2006
Old 11-06-2008 , 17:29   Re: Menu Based Rules (1.5.1, Updated: 10/29/08)
Reply With Quote #116

Yep no more errors. Problem now is I only get esc type menus. I don't actually see the rules menu just a yes/no option when I hit esc. Again I must have not updated a file when I upgraded to SM 1.1 . Is there a list somewhere of all the files that have changed/added since the last stable version or something? Its hard to know what to change unless I upload all of the files. I followed these instructions

http://wiki.alliedmods.net/Upgrading_SourceMod

but it doesn't cover all of the files.
__________________
Private Dyin is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 11-06-2008 , 17:30   Re: Menu Based Rules (1.5.1, Updated: 10/29/08)
Reply With Quote #117

Quote:
Originally Posted by Private Dyin View Post
Yep no more errors. Problem now is I only get esc type menus. I don't actually see the rules menu just a yes/no option when I hit esc. Again I must have not updated a file when I upgraded to SM 1.1 . Is there a list somewhere of all the files that have changed/added since the last stable version or something? Its hard to know what to change unless I upload all of the files.
What mod are you trying this with?

I'm sorry, I don't have a list of all files that were updated.
__________________
XARIUS is offline
Private Dyin
Member
Join Date: Jul 2006
Old 11-06-2008 , 17:32   Re: Menu Based Rules (1.5.1, Updated: 10/29/08)
Reply With Quote #118

I'm trying to use it on a Zombie Panic Source server. After I get that working i was going to do the upgrade on a tf2 server.
__________________
Private Dyin is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 11-06-2008 , 17:33   Re: Menu Based Rules (1.5.1, Updated: 10/29/08)
Reply With Quote #119

Quote:
Originally Posted by Private Dyin View Post
I'm trying to use it on a Zombie Panic Source server. After I get that working i was going to do the upgrade on a tf2 server.
There are servers using it on ZPS2 (http://www.game-monitor.com/search.p...ic=&order=-var), so I feel confident it does work properly on that mod.

I would try a clean installation of SM and load your plugins back in to make sure things are up-to-date. I realize that's probably not the answer you want to hear though!
__________________
XARIUS is offline
Private Dyin
Member
Join Date: Jul 2006
Old 11-06-2008 , 17:38   Re: Menu Based Rules (1.5.1, Updated: 10/29/08)
Reply With Quote #120

I had 1.3 working fine on ZPS. It was the updating to SM 1.1 that did it. Well I'll try the clean install like you suggested.
__________________
Private Dyin is offline
Reply



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 19:16.


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