|
Re: !spectate <player> and BRenBot. [message #385829 is a reply to message #385779] |
Wed, 13 May 2009 09:35 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
Funnily enough someone asked me the same thing a few days ago. I wasn't aware there WAS a spectate command, but based on the console command info he gave me I made this for him;
<EDIT: Attachment removed, !spectate command should be in brenbot.dll and it's associated plugin>
[Updated on: Thu, 14 May 2009 10:08] Report message to a moderator
|
|
|
Re: !spectate <player> and BRenBot. [message #385882 is a reply to message #385829] |
Wed, 13 May 2009 13:51 |
Pyr0man1c
Messages: 186 Registered: April 2009
Karma: 0
|
Recruit |
|
|
danpaul88 wrote on Wed, 13 May 2009 11:35 | Funnily enough someone asked me the same thing a few days ago. I wasn't aware there WAS a spectate command, but based on the console command info he gave me I made this for him;
|
You wern't?Just wondering how did it get there then?
"Sapere Aude- Dare to be wise"
AmunRa | and its all this "drama" that will one day end renegade...
|
Quotesv00d00 | A question regarding RenGuard. Because it's a client/server application, what will stop the legions of people who cheat, and can crack apps, from reverse engineering it down to it's core protocol / encryption (which I'll assume it has), and duplicating it, so that they have their own client which responds to the server with all the correct info for an unpatched Renegade, but in fact is patched.
Personally, I think you should write a server-side only anti-cheat, which hooks the networking routines in Renegade. From there, using either the help of your staff who worked on creating Renegade, or from knowledge aquired while working with the network code in Renegade, create a system to monitor hit locations (did they REALLY hit, based on calculations by the anti-cheat (stopping BH)), how much damage are they claiming, vs how much damage their currently selected weapon really does, etc.
Then, add rate-of-fire checking, complete w/ lag tolerance (since lagged client will of course, upon delag, seem to fire faster, etc), and option to simply "edit" the incoming packets, to filter out the cheat (reduce damage, stop bullets, etc), or kick-ban the cheater (admins decision, based on anti cheat config).
Is it just me, or does that make more sense?
The flaw to Renegade of course, which is the core to the cheats, is that unlike most other games, Renegade lets the CLIENT decide hit locations, damage, RoF, etc. Vs others which say, "ok, the client fired their pistol along this trajectory. Did they hit something? How much damage did they do to that target if so. Report findings to clients".
My only concern, is that there will be alot more teams of people ripping apart the hard work of your small team, and undoing what you have done. Can you keep up writing fixes / completely rewriting the protocol to counter them once they have created their OWN complete anti-RenGuard client? If not, consider the server-side only method, and solve it once and for all, with the only version changes being to fix bugs, and not complete rewrites which will really piss admins off (if it takes this long for the initial, how long after the cheaters create their own client to counter it will your rewrite take to do?).
- v00d00
|
ELiT3FLyR | ill say this again to all the TT people actually working on the patch. all you have to do is fix the bugs in the game. This is your role. dont get involved in a pointfix debate that you can never win (spoony has never managed to win one and hes a decent player) nor bother suggesting solutions for the faults in pointfix. just fix the damn bugs and you will all be remmebered as renegade heroes.
|
|
|
|
|
|
|
Re: !spectate <player> and BRenBot. [message #385908 is a reply to message #385889] |
Wed, 13 May 2009 20:02 |
Genesis2001
Messages: 1397 Registered: August 2006
Karma: 0
|
General (1 Star) |
|
|
danpaul88 wrote on Wed, 13 May 2009 15:26 | Perhaps it did, I didn't write BRenBot.dll, I just requested a lot of the stuff that went into it. Anyway, if it's in BRenBot.dll then I would assume the plugin that comes with the dll would have support for that command?
|
Aye it does.
|
|
|
|
|
|
|
Re: !spectate <player> and BRenBot. [message #385966 is a reply to message #385954] |
Thu, 14 May 2009 09:43 |
raven
Messages: 595 Registered: January 2007 Location: Toronto, Ontario
Karma: 0
|
Colonel |
|
|
danpaul88 wrote on Thu, 14 May 2009 10:19 | Looks like the spectate command in the BRenBot plugin is using the wrong console syntax...
The one I gave you uses r_spec, which I assume is the one from BRenBot.dll
|
erm, danpaul, do you mind if I ask who asked you for this plugin to be written? Any console command prefixed by r_ are the ones I wrote for my private .dll for Jelly.. it concerns me that someone else has them :\
BR.dll uses the command 'spectate'
-Jelly Administrator
-Exodus Administrator
[Updated on: Thu, 14 May 2009 09:44] Report message to a moderator
|
|
|
|
Re: !spectate <player> and BRenBot. [message #385981 is a reply to message #385969] |
Thu, 14 May 2009 11:06 |
|
ok I run !spectate what u loaded and here is the result.
this is spectate.pm what u loaded
Quote: | #
# Spectate plugin for BRenBot 1.51 by Daniel Paul
#
# Version 1.00
#
package spectate;
use POE;
use plugin;
# define additional events in the POE session
our %additional_events =
(
# !command functions
"spectate" => "spectate"
);
# BRenBot automatically sets the plugin name
our $plugin_name;
# BRenBot automatically imports the plugin's config (from the xml file) into %config
our %config;
our $currentVersion = 1.00;
########### Functions for !commands
# Set spectate mode on a player
sub spectate
{
my %args = %{@_[ ARG0 ]};
# Check they supplied a name or ID to search for, if they have not bail out
if ( !$args{arg1} )
{
my $syntaxvalue = $args{settings}->{syntax}->{value};
$message = "Usage: $syntaxvalue";
return;
}
# Try to find the player by name or ID
my ( $result, %player ) = plugin::getPlayerData( $args{'arg1'} );
if ( $result == 1 )
{
# Player found, spectate them
plugin::RenRemCMD("r_spec $player{id}");
plugin::ircmsg ("10[Spectate] Player $player{name} is now in spectate mode.",'A');
}
else
{
if ( $args{nicktype} == 1 ) { plugin::ircmsg ( "Player $args{arg1} not found ingame", $args{'ircChannelCode'} ); }
else { plugin::pagePlayer ( $args{'nick'}, "Player $args{arg1} not found ingame" ); }
}
}
########### Event handlers
sub start
{
plugin::set_global ( "version_plugin_spectate", $currentVersion );
}
sub stop
{
# Nothing to do
}
sub command
{
my $kernel = $_[KERNEL];
my %args = %{@_[ ARG0 ]};
$kernel->yield( $args{'command'} => \%args);
}
# Return true or the bot will not work properly...
1;
|
and this is spectate.xml
Quote: | <?xml version="1.0" ?>
<plugin name="spectate">
<command name="spectate">
<permission level="2"/>
<syntax value="!spectate <player>"/>
<help value="Sets the specified player to spectate mode."/>
<enabled value="1"/>
<hideInHelp value="1"/>
<group>irc</group>
</command>
<events>
<event>command</event>
</events>
<config>
<!-- No config settings for spectate plugin... -->
</config>
</plugin>
|
I'm a n00b a brenbot and think I did something wrong but don't know what it is. plz help me.
|
|
|
Re: !spectate <player> and BRenBot. [message #385986 is a reply to message #385779] |
Thu, 14 May 2009 11:37 |
raven
Messages: 595 Registered: January 2007 Location: Toronto, Ontario
Karma: 0
|
Colonel |
|
|
Hangul, type help in the FDS and take a screenshot and upload it here.
Edit: danpaul I just remembered, I did create a spectate.dll SSGM plugin for someone which used the syntax r_spec as well, which is where this probably came from. No worries now. Also afaik, RR uses 'spectate' as well.
-Jelly Administrator
-Exodus Administrator
[Updated on: Thu, 14 May 2009 11:39] Report message to a moderator
|
|
|
|
Re: !spectate <player> and BRenBot. [message #386086 is a reply to message #385779] |
Thu, 14 May 2009 20:58 |
raven
Messages: 595 Registered: January 2007 Location: Toronto, Ontario
Karma: 0
|
Colonel |
|
|
Look in your root FDS directory. See if ssgm.ini is there. If it is, go to the bottom paragraph
Try installing SSGM (Download for it can be found here)
Once it's installed, open ssgm.ini and find the [Plugins] Section. Under that, add 01=BRenBot and reboot your fds. Type 'help' into the FDS again and look for spectate in the list.
-Jelly Administrator
-Exodus Administrator
[Updated on: Thu, 14 May 2009 21:00] Report message to a moderator
|
|
|
|
|
|
|
Re: !spectate <player> and BRenBot. [message #387554 is a reply to message #385779] |
Sat, 23 May 2009 08:53 |
|
Hex
Messages: 858 Registered: March 2004
Karma: 0
|
Colonel |
|
|
I dont have the source to BrenBot.dll anymore, some old spec code was pasted here a while ago
goztow wrote on Tue, 11 May 2010 08:00 | If we had to ban all who ever cheated or ever created a cheat (obj3cts and such) then I don't think there would be many members left here (sad fact).
|
reborn wrote on Fri, 29 January 2010 23:37 | std is for pro's.
|
|
|
|