Raised This Month: $51 Target: $400
 12% 

[ANY] CallAdmin - Extended Report Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 01-03-2015 , 10:24   Re: [ANY] CallAdmin - Extended Report Mod
Reply With Quote #831

You can use your browser as explained here.
__________________
Impact123 is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-20-2015 , 03:22   Re: [ANY] CallAdmin - Extended Report Mod
Reply With Quote #832

I developped a steambot in python for my server hoper plugin.
I think this can be quite easily extended to support CallAdmin features.

Would it be of some interest?
h3bus is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 01-20-2015 , 04:10   Re: [ANY] CallAdmin - Extended Report Mod
Reply With Quote #833

I'm not sure what your plans are, but I'm open for it. What do you have in mind?
__________________

Last edited by Impact123; 01-20-2015 at 04:13.
Impact123 is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-20-2015 , 05:10   Re: [ANY] CallAdmin - Extended Report Mod
Reply With Quote #834

Well it seems that the steam Module you provide is not working on CS:GO (at least, from what I tried it crashes the server, and when using WebAPI it does not seem to do anything). This could be replaced by a wrapper sending commands to an external steambot, handling the admin friend group and dispatching messages.

I need to have a look at the forwards/native to see how this could be interfaced with CallAdmin, but this seems doable.
h3bus is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 01-20-2015 , 05:14   Re: [ANY] CallAdmin - Extended Report Mod
Reply With Quote #835

Yeah, the extensions doesn't always work on all games, but the web api should, it's the default method since a while now.
The natives and forwards CallAdmin provides, as well as how to use/implement them in your plugin is, although not extensive, documented here.
You can, of course, tell me if something is poorly explained and/or you need help with anything.
__________________

Last edited by Impact123; 01-20-2015 at 05:29.
Impact123 is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-20-2015 , 05:47   Re: [ANY] CallAdmin - Extended Report Mod
Reply With Quote #836

Mmmh I think I see why it didn't worked for my purpose.
In fact I needed callback when Friendship is accepted so I can send the Chat message afterwards. I think web API can't provide that.
Seeing it didn't went well, I switched to steamwork and it just crashed my server. I concluded that the module didn't worked anymore.

But in the case of Calladmin, WebAPI will work as admins are already friend with the bot before sending the message.
h3bus is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 02-01-2015 , 09:17   Re: [ANY] CallAdmin - Extended Report Mod
Reply With Quote #837

When trying to compile these plugins against SM1.7, I get the following errors and it won't finish the compile.

Quote:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// calladmin_steam.sp
//
// G:\Documents\Tools\Sourcemod\scripting\includ e\autoexecconfig.inc(380) : erro
r 163: indeterminate array size in "sizeof" expression (symbol "newlineBuf")
// G:\Documents\Tools\Sourcemod\scripting\includ e\calladmin.inc(165) : error 025
: function heading differs from prototype
// G:\Documents\Tools\Sourcemod\scripting\callad min_steam.sp(462) : warning 234:
symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
// G:\Documents\Tools\Sourcemod\scripting\callad min_steam.sp(466) : warning 234:
symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
//
// 2 Errors.
//
// Compilation Time: 0.22 sec
// ----------------------------------------

//// calladmin.sp
//
// G:\Documents\Tools\Sourcemod\scripting\includ e\autoexecconfig.inc(380) : erro
r 163: indeterminate array size in "sizeof" expression (symbol "newlineBuf")
// G:\Documents\Tools\Sourcemod\scripting\includ e\calladmin.inc(165) : error 025
: function heading differs from prototype
//
// 2 Errors.
//
// Compilation Time: 0.23 sec
// ----------------------------------------

//// calladmin_mysql.sp
//
// G:\Documents\Tools\Sourcemod\scripting\includ e\autoexecconfig.inc(380) : erro
r 163: indeterminate array size in "sizeof" expression (symbol "newlineBuf")
// G:\Documents\Tools\Sourcemod\scripting\includ e\calladmin.inc(165) : error 025
: function heading differs from prototype
// G:\Documents\Tools\Sourcemod\scripting\callad min_mysql.sp(239) : error 025: f
unction heading differs from prototype
// G:\Documents\Tools\Sourcemod\scripting\callad min_mysql.sp(363) : warning 234:
symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
// G:\Documents\Tools\Sourcemod\scripting\callad min_mysql.sp(369) : warning 234:
symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
//
// 3 Errors.
//
// Compilation Time: 0.19 sec
// ----------------------------------------

Press enter to exit ...
Any info?
Snaggle is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 02-01-2015 , 11:45   Re: [ANY] CallAdmin - Extended Report Mod
Reply With Quote #838

We usually compile with older release branches, the 1.7 branch is experimental so there is no official support for it yet.
The errors (not the warnings, these are reasonable) might be a bug in the new compiler because afaik old scripts are supposed to be compatible.
Is there a special reason why you must use 1.7?
__________________
Impact123 is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 02-01-2015 , 12:00   Re: [ANY] CallAdmin - Extended Report Mod
Reply With Quote #839

Quote:
Originally Posted by Impact123 View Post
Is there a special reason why you must use 1.7?
Not entirely, we may revert back to stable. Thanks anyways!
Snaggle is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 02-04-2015 , 22:29   Re: [ANY] CallAdmin - Extended Report Mod
Reply With Quote #840

@Snaggle
As (implicitly) promised, the dev branch of CallAdmin can now be compiled with sourcemod 1.7.
Please be sure to use the latest version of AutoExecconfig to compile because i had to update it too.
__________________

Last edited by Impact123; 02-04-2015 at 22:32.
Impact123 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 08:59.


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