using the latest release and have rtf_board 2 because i use mybb. Keep getting an error
Code:
L 03/20/2013 - 12:09:32: SourceMod error session started
L 03/20/2013 - 12:09:32: Info (map "ctf_2fort") (file "errors_20130320.log")
L 03/20/2013 - 12:09:32: [SM] Plugin encountered error 25: Call was aborted
L 03/20/2013 - 12:09:32: [SM] Native "SetFailState" reported: The value you used for rtf_board is invalid. Please check your settings and restart your server.
L 03/20/2013 - 12:09:32: [SM] Displaying call stack trace for plugin "reporttoforum.smx":
L 03/20/2013 - 12:09:32: [SM] [0] Line 200, E:\Downloads\Report To forum\addons\sourcemod\scripting\reporttoforum.sp::OnMapStart()
is this because my tables are not prefixed with mybb_ like a default installation would be? as mentioned previously our boards have a number prefix 1233456_ instead of the mybb_ prefix.
i am specifying this prefix thing via the cvars in the config so im not sure why its failing..
here is my rtfsettings.cfg
Code:
// Forum Software Settings
//Which board do you use?
// 1 = Vbulletin 4
// 2 = MyBB
// 3 = Small Machine Forums
// 4 = phpBB
// Example: rtf_board 1
rtf_board 2
//Table Settings
//Name of the forums table. i.e. vb4_forum mybb_forums smf_boards phpbb_forums
//Example: rtf_forum_table "vb4_forum"
rtf_forum_table "1234456_forums"
//Name of the thread table. i.e. vb4_thread mybb_threads smf_topics phpbb_topics
//Example: rtf_thread_table "vb4_thread"
rtf_thread_table "1234456_threads"
//Name of the post table. i.e. vb4_post mybb_posts smf_messages phpbb_posts
//Example: rtf_post_table "vb4_post"
rtf_post_table "1234456_posts"
//Name of the user table. i.e. vb4_user mybb_users smf_members phpbb_users
//Example: rtf_user_table "vb4_user"
rtf_user_table "1234456_users"
//Forum ID (ID to the forum you want the report bot to make posts)
//Example: rtf_forumid 5
rtf_forumid 2
//Reporter ID (User ID of the user you want to be making the posts)
//Example: rtf_reporterid 2
rtf_reporterid 1
//Reporter UserName (User Name of the report bot)
//Example: rtf_reporter_username "Reporter"
rtf_reporter_username "Reporter"
//Reporter Email Address (Only used in SMF Board)
//Example: rtf_reporter_email "[email protected]"
rtf_reporter_email "[email protected]"
//Title Settings
//Main Menu Title
rtf_mainmenu_title "Select a Player"
//Sub-Menu Title
rtf_submenu_title "Select a Reason"
//Misc Settings
//Prefix for chat messages from the plugin. <Default: Reporter>
rtf_prefix "Reporter"
//Time in seconds between reports per user. <Default: 30>
rtf_cooldown 30
//Time in seconds to display the advertisement. <Default: 180>
rtf_advertisement_frequency 180
//Enable this if you are having trouble. <Default: 1> creates a file under the logs. rtf_debug_<boardname>_<timestamp>.log
rtf_debug 1
//Alert in game admins of the player that was reported
rtf_admin_alert 1
__________________