Raised This Month: $ Target: $400
 0% 

!zmarket not working


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
homerjsimpson
BANNED
Join Date: Feb 2009
Location: https://t.me/pump_upp
Old 10-01-2010 , 06:45   !zmarket not working
Reply With Quote #1

Hi guys,

After the update from Valve yesterday, the command !zmarket stopped working on my server.

I checked and the variable is the same way as before the update, when it worked.
PHP Code:
// Allow player to buy from a list of weapons in the weapons config.
// Default: "1"
zr_weapons_zmarket "1" 
When I change this value to "0", typing the !zmarket on server, show the message
Code:
[ZR] This feature is currently disabled by the server host.
But when I change this value again to "1", nothing happens.

Anyone can tell me how to fix this?

Last edited by homerjsimpson; 10-01-2010 at 06:48.
homerjsimpson is offline
Send a message via ICQ to homerjsimpson Send a message via AIM to homerjsimpson Send a message via Yahoo to homerjsimpson Send a message via Skype™ to homerjsimpson
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 10-01-2010 , 12:42   Re: !zmarket not working
Reply With Quote #2

I'm unable to reproduce this problem. When I disable it tell me it's disabled, as expected. When I enable it again the menu works fine.

Do you get any messages from ZR in the SM error logs?
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
ocampas
Junior Member
Join Date: Oct 2010
Old 10-01-2010 , 13:14   Re: !zmarket not working
Reply With Quote #3

Quote:
Originally Posted by rhelgeby View Post
I'm unable to reproduce this problem. When I disable it tell me it's disabled, as expected. When I enable it again the menu works fine.

Do you get any messages from ZR in the SM error logs?
From my previous post, this is what I get in my SM Logs:

FYI,
Zombie Reloaded broken since the last steam update. SM snapshot seemed to fix the mod with the exception of zmarket place, errors listed below:

L 10/01/2010 - 07:48:26: [SM] Displaying call stack trace for plugin "zombiereloaded.smx":
L 10/01/2010 - 07:48:26: [SM] [0] Line 929, src/zr/config.inc::ConfigBoolToSetting()
L 10/01/2010 - 07:48:26: [SM] [1] Line 283, src/zr/weapons/zmarket.inc::ZMarketMenuMain()
L 10/01/2010 - 07:48:26: [SM] [2] Line 199, src/zr/menu.inc::ZMenuMainHandle()

This must really be hard on the guys who code.

This is a Windows Server.
ocampas is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 10-01-2010 , 13:36   Re: !zmarket not working
Reply With Quote #4

There's no error message, just a stack trace. I tested on my windows test server too, btw.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
ocampas
Junior Member
Join Date: Oct 2010
Old 10-01-2010 , 18:42   Re: !zmarket not working
Reply With Quote #5

Quote:
Originally Posted by rhelgeby View Post
There's no error message, just a stack trace. I tested on my windows test server too, btw.
L 10/01/2010 - 07:48:26: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 10/01/2010 - 07:48:26: [SM] Native "Format" reported: Language phrase "Yes" not found
L 10/01/2010 - 07:48:26: [SM] Displaying call stack trace for plugin "zombiereloaded.smx":
L 10/01/2010 - 07:48:26: [SM] [0] Line 929, src/zr/config.inc::ConfigBoolToSetting()
L 10/01/2010 - 07:48:26: [SM] [1] Line 283, src/zr/weapons/zmarket.inc::ZMarketMenuMain()
L 10/01/2010 - 07:48:26: [SM] [2] Line 199, src/zr/menu.inc::ZMenuMainHandle()

This is from the error log, I did not include the first two lines originally. Not sure if they relate to the call stack or not.

Thanks for the reply.
ocampas is offline
homerjsimpson
BANNED
Join Date: Feb 2009
Location: https://t.me/pump_upp
Old 10-02-2010 , 06:50   Re: !zmarket not working
Reply With Quote #6

The same error happens to me when using the command !zmarket

PHP Code:
L 10/02/2010 07:33:46: [SMCould not find core phrase: Exit
L 10/02/2010 07:33:47: [SMPlugin encountered error 4Invalid parameter or parameter type
L 10
/02/2010 07:33:47: [SMNative "Format" reportedLanguage phrase "Yes" not found
L 10
/02/2010 07:33:47: [SMDisplaying call stack trace for plugin "zombiereloaded.smx":
L 10/02/2010 07:33:47: [SM]   [0]  Line 929src/zr/config.inc::ConfigBoolToSetting()
L 10/02/2010 07:33:47: [SM]   [1]  Line 283src/zr/weapons/zmarket.inc::ZMarketMenuMain()
L 10/02/2010 07:33:47: [SM]   [2]  Line 199src/zr/menu.inc::ZMenuMainHandle() 

Last edited by homerjsimpson; 10-02-2010 at 06:56.
homerjsimpson is offline
Send a message via ICQ to homerjsimpson Send a message via AIM to homerjsimpson Send a message via Yahoo to homerjsimpson Send a message via Skype™ to homerjsimpson
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 10-02-2010 , 09:22   Re: !zmarket not working
Reply With Quote #7

Did you modify or remove translation files? The phrase for "Yes" is located in the SM core translations.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
ocampas
Junior Member
Join Date: Oct 2010
Old 10-02-2010 , 10:47   Re: !zmarket not working
Reply With Quote #8

negative.
ocampas is offline
homerjsimpson
BANNED
Join Date: Feb 2009
Location: https://t.me/pump_upp
Old 10-02-2010 , 11:33   Re: !zmarket not working
Reply With Quote #9

I didn't change/modify/remove the files too
homerjsimpson is offline
Send a message via ICQ to homerjsimpson Send a message via AIM to homerjsimpson Send a message via Yahoo to homerjsimpson Send a message via Skype™ to homerjsimpson
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 10-02-2010 , 12:17   Re: !zmarket not working
Reply With Quote #10

common.phrases.txt. That's where it is.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
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 18:53.


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