Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » !refund command broken
!refund command broken [message #465737] Sun, 08 April 2012 06:16 Go to next message
reckneya is currently offline  reckneya
Messages: 128
Registered: November 2005
Location: Holland
Karma: 0
Recruit

On Turbo Tech DM and on Jelly new maps the !refund command is not working. We can type it, the BRenBot prompts in IRC it is refunding, the specified player get's a PM saying nickname@IRC refunded you #amount of credits but that's all it does. The actual credits never get added.

I thought it was just our server and couldn't really rule out if it was a mistake on my end, but when T0RN (bless that graceful transvestite) reported he had the same thing I tried to install a fresh BRenBot and see if it works. It didn't, so something might be broken by default. It's not really a command that you use often on a default server I imagine, though it's handy for the modified servers I administrate.

Please advice. Smile


Brandan wrote on Tue, 10 April 2012 07:13

Also what happened to you can change your ISP I doubt you even know what a VPN is or even a remote idea of how the Internet even works.
If I disregard the deficit of cohesion between his statements, and the lack of proper spelling and use of symbols I think I know what he was trying to say, and I lol'd. No hard feelings though Brandan Wink
Re: !refund command broken [message #465738 is a reply to message #465737] Sun, 08 April 2012 06:35 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Is this refund command part of a plugin? It's not a stock BRenBot command

http://steamsignature.com/card/1/76561197975867233.png
Re: !refund command broken [message #465739 is a reply to message #465738] Sun, 08 April 2012 06:55 Go to previous messageGo to next message
reckneya is currently offline  reckneya
Messages: 128
Registered: November 2005
Location: Holland
Karma: 0
Recruit

danpaul88 wrote on Sun, 08 April 2012 06:35

Is this refund command part of a plugin? It's not a stock BRenBot command

Thanks for the quick reply. The BRenBot.pm and BRenBot.xml contain the command, so I assumed that it came with BRenBot, but I realize now the plugin folder is a remnant of the older versions, so it is a plugin yes. Both files date from 23th of September 2009.


Brandan wrote on Tue, 10 April 2012 07:13

Also what happened to you can change your ISP I doubt you even know what a VPN is or even a remote idea of how the Internet even works.
If I disregard the deficit of cohesion between his statements, and the lack of proper spelling and use of symbols I think I know what he was trying to say, and I lol'd. No hard feelings though Brandan Wink

[Updated on: Sun, 08 April 2012 06:56]

Report message to a moderator

Re: !refund command broken [message #465740 is a reply to message #465737] Sun, 08 April 2012 07:24 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Part of Brenbot.dll made by Hex for SSGM 2.0.2 (he made the .pm as well).

-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: !refund command broken [message #465743 is a reply to message #465737] Sun, 08 April 2012 09:07 Go to previous messageGo to next message
reckneya is currently offline  reckneya
Messages: 128
Registered: November 2005
Location: Holland
Karma: 0
Recruit

Meh I see. Is anyone up to check it out and fix it?

Brandan wrote on Tue, 10 April 2012 07:13

Also what happened to you can change your ISP I doubt you even know what a VPN is or even a remote idea of how the Internet even works.
If I disregard the deficit of cohesion between his statements, and the lack of proper spelling and use of symbols I think I know what he was trying to say, and I lol'd. No hard feelings though Brandan Wink
Re: !refund command broken [message #465746 is a reply to message #465737] Sun, 08 April 2012 12:28 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
use the ExtraConsoleCommands.dll 4.0 plugin.

changed !refund command to use GIVECREDITS <clientId> <amount>



http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: !refund command broken [message #465748 is a reply to message #465737] Sun, 08 April 2012 12:31 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Adding this SSGM plugin to your server should fix it (it adds the refund console command), tell me whether it works or not, can't remember if it actually fixes that BRenBot plugin issue..

http://dl.dropbox.com/u/21865790/RefundConsoleCommand.dll

Basically, BRenBot.dll is an SSGM 2.0.2 plugin that's installed alongside the BRenBot.dll BRenBot plugin, the SSGM plugin adds the refund console command used by the BRenBot plugin (and it does some other stuff), but as it's an SSGM 2.0.2 plugin it doesn't work with SSGM 4.0.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: !refund command broken [message #465749 is a reply to message #465737] Sun, 08 April 2012 12:36 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
lol or you can use irans plugin and use default brenbot plugin. Posted 3 mins before iran woot!

http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Sun, 08 April 2012 12:37]

Report message to a moderator

Re: !refund command broken [message #465750 is a reply to message #465737] Sun, 08 April 2012 13:00 Go to previous messageGo to next message
reckneya is currently offline  reckneya
Messages: 128
Registered: November 2005
Location: Holland
Karma: 0
Recruit

Trying that now! Thanks, I will let you know.

EDIT: installed the plugin from your link. The FDS shows it loaded, but the problem remains; I don't get credits.


Brandan wrote on Tue, 10 April 2012 07:13

Also what happened to you can change your ISP I doubt you even know what a VPN is or even a remote idea of how the Internet even works.
If I disregard the deficit of cohesion between his statements, and the lack of proper spelling and use of symbols I think I know what he was trying to say, and I lol'd. No hard feelings though Brandan Wink

[Updated on: Sun, 08 April 2012 13:19]

Report message to a moderator

Re: !refund command broken [message #465751 is a reply to message #465737] Sun, 08 April 2012 13:30 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Hmm, does the refund console command work if you use it directly from the FDS?

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: !refund command broken [message #465752 is a reply to message #465737] Sun, 08 April 2012 13:34 Go to previous messageGo to next message
reckneya is currently offline  reckneya
Messages: 128
Registered: November 2005
Location: Holland
Karma: 0
Recruit

What is the FDS command for it?

Brandan wrote on Tue, 10 April 2012 07:13

Also what happened to you can change your ISP I doubt you even know what a VPN is or even a remote idea of how the Internet even works.
If I disregard the deficit of cohesion between his statements, and the lack of proper spelling and use of symbols I think I know what he was trying to say, and I lol'd. No hard feelings though Brandan Wink
Re: !refund command broken [message #465753 is a reply to message #465737] Sun, 08 April 2012 14:05 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
REFUND

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: !refund command broken [message #465761 is a reply to message #465737] Sun, 08 April 2012 14:56 Go to previous messageGo to next message
reckneya is currently offline  reckneya
Messages: 128
Registered: November 2005
Location: Holland
Karma: 0
Recruit

!fds Refund <ID> <numbers>

Nope, doesn't work. But it is fixed now. Blacky fixed the brenbot plugin.
Download: http://www.renegadeforums.com/index.php?t=getfile&id=14100&rid=21615

Have to enable ExtraConsoleCommands.dll in SSGM.ini


Thanks for helping everyone.


Brandan wrote on Tue, 10 April 2012 07:13

Also what happened to you can change your ISP I doubt you even know what a VPN is or even a remote idea of how the Internet even works.
If I disregard the deficit of cohesion between his statements, and the lack of proper spelling and use of symbols I think I know what he was trying to say, and I lol'd. No hard feelings though Brandan Wink
Re: !refund command broken [message #465767 is a reply to message #465737] Sun, 08 April 2012 15:56 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
That's weird, the plugin works fine for me, I'm directly executing the REFUND command in the FDS console window though.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: !refund command broken [message #465776 is a reply to message #465748] Sun, 08 April 2012 20:58 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
iRANian wrote on Sun, 08 April 2012 12:31

Adding this SSGM plugin to your server should fix it (it adds the refund console command), tell me whether it works or not, can't remember if it actually fixes that BRenBot plugin issue..

http://dl.dropbox.com/u/21865790/RefundConsoleCommand.dll

Basically, BRenBot.dll is an SSGM 2.0.2 plugin that's installed alongside the BRenBot.dll BRenBot plugin, the SSGM plugin adds the refund console command used by the BRenBot plugin (and it does some other stuff), but as it's an SSGM 2.0.2 plugin it doesn't work with SSGM 4.0.


It don't work because the Brenbot.dll console command is "give_money". And the Brenbot plugin uses give_money.

"give_money $player{id} $amount"

I thought the console command was "refund" also.

Besides that it works fine. Just tested it.

But messages don't get displayed on new line and you can enter "refund playerid anycharacter" and it will go through. Same with givecredits console command. Guessing just a copy of that. Not that it matters as long it don't crash fds when anything but an int/float is passed to console command.


Please enter a valid client identifier.Please enter a valid client identifier.Pl
ease enter a valid client identifier.Please enter a valid client identifier.Plea
se enter a valid client identifier.Please enter a valid client identifier.


Credits have been given.Jerry2008 purchased a vehicle
Credits have been given.Credits have been given.Credits have been given.Credits

refund 1 324234234&%^&%*&%#$%#%^$&%(*&*)*(_*+():"({:?KU
refund 1 324234234&%^&%*&%#$%#%^$&%(*&*)*(_*+():"({:?KU
refund 1 324234234&%^&%*&%#$%#%^$&%(*&*)*(_*+():"({:?KU

int CommandLineParser::getInt()



http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Sun, 08 April 2012 21:48]

Report message to a moderator

Re: !refund command broken [message #465787 is a reply to message #465737] Mon, 09 April 2012 04:10 Go to previous message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Oh ;/

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Previous Topic: connection broken
Next Topic: brenbot 1.53 help
Goto Forum:
  


Current Time: Thu Nov 21 19:36:14 MST 2024

Total time taken to generate the page: 0.00987 seconds