Raised This Month: $ Target: $400
 0% 

New Error For Me


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BartholomewPSkibbenheims
Member
Join Date: Aug 2010
Old 08-03-2011 , 18:42   New Error For Me
Reply With Quote #1

Hey,

I updated to the most recent build (r214) and I have the following errors.

L 08/03/2011 - 17:28:16: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 08/03/2011 - 17:28:16: [SM] Native "VFormat" reported: Language phrase "SMAC_TAG" not found
L 08/03/2011 - 17:28:16: [SM] Displaying call stack trace for plugin "smac.smx":
L 08/03/2011 - 17:28:16: [SM] [0] Line 60, C:\Users\nshastings\Desktop\sm\11scripting\13 scripting\include\colors.inc::CPrintToChat()
L 08/03/2011 - 17:28:16: [SM] [1] Line 404, smac.sp::SMAC_WelcomeMsg()

I did a search for "printtochat" but I didn't get anything. Obviously tied to smac sending console messages like the welcome message. Any thoughts?

Last edited by BartholomewPSkibbenheims; 08-03-2011 at 21:07.
BartholomewPSkibbenheims is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 08-03-2011 , 18:46   Re: New Error For Me
Reply With Quote #2

Did you update your translations when updating to the latest version?
GoD-Tony is offline
BartholomewPSkibbenheims
Member
Join Date: Aug 2010
Old 08-03-2011 , 21:08   Re: New Error For Me
Reply With Quote #3

Yeah I copied everything in the r215 folder over
BartholomewPSkibbenheims is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 08-04-2011 , 02:39   Re: New Error For Me
Reply With Quote #4

The error is from having outdated translations. If your English smac.phrases.txt file is missing SMAC_TAG, then that confirms it as well.
GoD-Tony is offline
BartholomewPSkibbenheims
Member
Join Date: Aug 2010
Old 08-05-2011 , 08:47   Re: New Error For Me
Reply With Quote #5

The are out of date translations packed in the r214 zip? Because I can guarantee the translations from that zip are in the right place.
BartholomewPSkibbenheims is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 08-05-2011 , 10:12   Re: New Error For Me
Reply With Quote #6

The translations in the r214 zip are correct. You should download the translation from your srcds server to see if it's the outdated one and not being properly overwritten. I'm 90% sure that it's outdated.

Is anyone else getting this problem?
GoD-Tony is offline
psychonic

BAFFLED
Join Date: May 2008
Old 08-05-2011 , 10:57   Re: New Error For Me
Reply With Quote #7

Quote:
Originally Posted by GoD-Tony View Post
The translations in the r214 zip are correct. You should download the translation from your srcds server to see if it's the outdated one and not being properly overwritten. I'm 90% sure that it's outdated.

Is anyone else getting this problem?
The server may need restarted. I think translations get cached, which was one of Kigen's reasons for writing his own translation system (since he would reload on the fly after auto-update) rather than just filing a bug to have this changed which would benefit more than himself.
psychonic is offline
BartholomewPSkibbenheims
Member
Join Date: Aug 2010
Old 08-05-2011 , 11:28   Re: New Error For Me
Reply With Quote #8

That may be it. My server reboots nightly. I haven't seen the error posted today. Thanks psychonic.
BartholomewPSkibbenheims is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 08-05-2011 , 12:27   Re: New Error For Me
Reply With Quote #9

Quote:
Originally Posted by psychonic View Post
The server may need restarted. I think translations get cached, which was one of Kigen's reasons for writing his own translation system (since he would reload on the fly after auto-update) rather than just filing a bug to have this changed which would benefit more than himself.
Aren't they only cached for the current map? Is it a bug that they aren't refreshed on map change?
GoD-Tony is offline
psychonic

BAFFLED
Join Date: May 2008
Old 08-05-2011 , 13:11   Re: New Error For Me
Reply With Quote #10

Quote:
Originally Posted by GoD-Tony View Post
Aren't they only cached for the current map? Is it a bug that they aren't refreshed on map change?
I don't remember offhand. Would have to test or look through code.

Gamedata has a similar drawback as well.
psychonic 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 13:37.


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