Raised This Month: $32 Target: $400
 8% 

[ANY] Report to Forums


Post New Thread Reply   
 
Thread Tools Display Modes
matrixmark
Senior Member
Join Date: Jun 2010
Old 05-20-2013 , 05:47   Re: [ANY] Report to Forums
Reply With Quote #381

Hmm not sure what's wrong then as I've tried typing it myself in game and I see no message in chat or console.

Double checked that I am running the newest version as you can see below.

Quote:
L 05/19/2013 - 15:54:29: Update available for "Report To Forums Beta" (reporttoforum.smx). Current: 1.1.6b - Latest: 1.1.6c
L 05/19/2013 - 15:54:29: [0] More info @ https://sourcemod.net - Changes in 1.1.6c:
L 05/19/2013 - 15:54:29: [1] Added ConVar - rtf_dev_toggle
L 05/19/2013 - 15:54:29: [2] Unable to Target self unles dev mode enabled
L 05/19/2013 - 15:54:29: Successfully updated and installed "Report To Forums Beta".

Last edited by matrixmark; 05-20-2013 at 05:50.
matrixmark is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 05-20-2013 , 06:07   Re: Re: [ANY] Report to Forums
Reply With Quote #382

Quote:
Originally Posted by matrixmark View Post
Hmm not sure what's wrong then as I've tried typing it myself in game and I see no message in chat or console.

Double checked that I am running the newest version as you can see below.
Does it show your self in the menu?

Type.
!report

Edit: are you talking about the empty menu popping up? I forgot to check if any players were avaliable. So the menu might show empty.

On line 697 is where the check is and reply

Last edited by Doc-Holiday; 05-20-2013 at 06:58.
Doc-Holiday is offline
matrixmark
Senior Member
Join Date: Jun 2010
Old 05-20-2013 , 08:50   Re: [ANY] Report to Forums
Reply With Quote #383

Nah when I type !report into chat or sm_report into console no menu or messages come up. It just does nothing, which wouldn't be a bad thing except then people think it's not working.

When I target myself that happens ^

I just wondered whether it could be possible to add a message that comes up in chat and or console if someone tries just telling them they cannot target themselves.

Last edited by matrixmark; 05-20-2013 at 08:58.
matrixmark is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 05-20-2013 , 10:11   Re: [ANY] Report to Forums
Reply With Quote #384

Update: v1.1.6d
The empty menu should be fixed. Please let me know if its not. (im going to bed lol just got home from work its 7am)

I made the AddPlayersToMenu a boolean stock so if there are menu items it returns true and shows the menu if false no menu is shown. and a message should be sent.

Called if you use sm_report sav or !report sav (and you are sav) from chat or console
PHP Code:
else if(iTargetList[0] == iClient && !GetConVarBool(g_Cvar_Development))
{
    
ReplyToCommand(iClient"[%s] You may not report your self"g_szPrefix);
    return 
Plugin_Handled;

Called if no target is specified and you want to bring a menu up to report self.
PHP Code:
else
{
    
/* Set up and Display the Target Menu */
    
decl String:szMenuTitle[32];
    
GetConVarString(g_Cvar_TargetMenuTitleszMenuTitlesizeof(szMenuTitle));
    new 
Handle:hMenu CreateMenu(TargetMenuHandler);
    
SetMenuTitle(hMenuszMenuTitle);
    
SetMenuExitButton(hMenutrue);
            
    if(
AddPlayersToMenu(hMenuiClient))
    {
        
DisplayMenu(hMenuiClientMENU_TIME_FOREVER);
    }
    else
    {
        
ReplyToCommand(iClient"[%s] There are no players to report."g_szPrefix);
        
CloseHandle(hMenu);
        return 
Plugin_Handled;
    }

Doc-Holiday is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 05-20-2013 , 11:14   Re: [ANY] Report to Forums
Reply With Quote #385

Update: v1.1.7e
Added Support for XenForo forums...
Code:
rtf_forum_software_id 10

This I am unable to test. I was released in the main branch as it will not effect those who are using a different board software.

XENFORO PEOPLE PLEASE POST BACK WITH ANY ERRORS!!!!!!!


Sorry it took so long lol... i had the code sitting in there just never finished it Im trying to push the API out... I will be working on the menu system for the API for reporting players this weekend and would still like to release it this week or next.

This makes me laugh... I have no idea what this is..
Code:
Var            Version              # of Servers
rtf_version	1.1.8-Python	13

Last edited by Doc-Holiday; 05-20-2013 at 11:21.
Doc-Holiday is offline
matrixmark
Senior Member
Join Date: Jun 2010
Old 05-20-2013 , 13:27   Re: [ANY] Report to Forums
Reply With Quote #386

Just tried it and it's perfect.

Thanks Doc

Last edited by matrixmark; 05-20-2013 at 13:37.
matrixmark is offline
_david_
SourceMod Donor
Join Date: Apr 2013
Old 05-20-2013 , 14:07   Re: [ANY] Report to Forums
Reply With Quote #387

Quote:
Originally Posted by Doc-Holiday View Post
Update: v1.1.7e
Added Support for XenForo forums...
Code:
rtf_forum_software_id 10
This I am unable to test. I was released in the main branch as it will not effect those who are using a different board software.

XENFORO PEOPLE PLEASE POST BACK WITH ANY ERRORS!!!!!!!


Sorry it took so long lol... i had the code sitting in there just never finished it Im trying to push the API out... I will be working on the menu system for the API for reporting players this weekend and would still like to release it this week or next.

This makes me laugh... I have no idea what this is..
Code:
Var            Version              # of Servers
rtf_version    1.1.8-Python    13
Tested it, Works fine

Thanks.
_david_ is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 05-20-2013 , 19:02   Re: [ANY] Report to Forums
Reply With Quote #388

Glad to see its all working now crack the whip and I'll finish the damn api

Last edited by Doc-Holiday; 05-20-2013 at 19:02.
Doc-Holiday is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 05-25-2013 , 21:50   Re: [ANY] Report to Forums
Reply With Quote #389

Api should be done as of right now no menu exists for it. All working on that. I also need to add the latest forum support to the api. I work the next 3 days. I'm hoping this Tuesday I can finally remove 1.1.6 and fully release 2.0.0. However if you wish to use the newest version. You can run it with CallAdmin in the new plugin submission section by popo and impact and run the call admin module from my first post. The configs have changed so make sure to download them from the bottom of the first post.

If you run call admin you must run their Dev build which can be found on their repo.
Doc-Holiday is offline
Smarmy
Senior Member
Join Date: Mar 2012
Old 06-16-2013 , 13:15   Re: [ANY] Report to Forums
Reply With Quote #390

We use SourceIRC reports right now and it'd be nice to have something post to the Forums without us having to do away with !report. Any idea when SourceIRC support is coming?
Smarmy is offline
Reply


Thread Tools
Display Modes

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 21:53.


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