Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » [Coding] RenRem
[Coding] RenRem [message #255010] Sat, 21 April 2007 17:57 Go to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
Looking for some help on translating the RenRem scripts from BRenBot into C++/CLI (or C++ in general) so that I can work out my bot's FDS communication...

If anyone could contact me via MSN (bhmath@hotmail.com) or Private message, that'd be great.


Thanks,
MathK1LL

[Updated on: Sat, 21 April 2007 17:58]

Report message to a moderator

Re: [Coding] RenRem [message #255012 is a reply to message #255010] Sat, 21 April 2007 18:02 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
I think most bots go thought FDSTalk.dll to communicate with the FDS, either that or the DDE channel.

Not sure though.
Re: [Coding] RenRem [message #255015 is a reply to message #255010] Sat, 21 April 2007 18:07 Go to previous messageGo to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
I've tried using FDSTalk.dll but I cant get ANYONE to help me with implementing it...As for DDE, I dont know how to use DDE in CLI...
Re: [Coding] RenRem [message #255041 is a reply to message #255010] Sun, 22 April 2007 03:16 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
What's so special about CLI ( command line interface ) ? It's just the same as a GUI application but without the GUI part Rocked Over

BRenBot communicates with the FDS using UDP, which means the connection is created and broken again for each line it sends. It gets data back by reading the output into the logfiles.


http://steamsignature.com/card/1/76561197975867233.png
Re: [Coding] RenRem [message #255046 is a reply to message #255010] Sun, 22 April 2007 03:43 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
CLI is C++ .NET, it's a very high level language.

Sending data over UDP is connectionless, you don't connect or disconnect.

FDSTalk should be easy to use in CLI, you can just import the funcions.
Re: [Coding] RenRem [message #255052 is a reply to message #255010] Sun, 22 April 2007 04:50 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
I was speaking generally about UDP. I wish they would stop re-using the same abbreviation for different things...

http://steamsignature.com/card/1/76561197975867233.png
Re: [Coding] RenRem [message #255064 is a reply to message #255041] Sun, 22 April 2007 08:16 Go to previous messageGo to next message
Dave Anderson is currently offline  Dave Anderson
Messages: 1953
Registered: December 2004
Location: United States
Karma: 0
General (1 Star)
danpaul88 wrote on Sun, 22 April 2007 04:16

What's so special about CLI ( command line interface ) ? It's just the same as a GUI application but without the GUI part Rocked Over

BRenBot communicates with the FDS using UDP, which means the connection is created and broken again for each line it sends. It gets data back by reading the output into the logfiles.


CLI is the Common Language Infrastructure. Languages such as C++/CLI that target the CLR are extremely powerful languages. C++/CLI was created to make an easy switch from Native C++ to the managed world, which Microsoft did an outstanding job.


David Anderson
Founder, Software Consultant
DCOM Productions
Microsoft Partner (MSP)
Re: [Coding] RenRem [message #255065 is a reply to message #255010] Sun, 22 April 2007 08:29 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
I code with C++ a lot, but never heard of CLI other than in it's meaning as Command Line Interface. Why couldn't they come up with a unique name for it instead of trying to confuse everyone? Razz

http://steamsignature.com/card/1/76561197975867233.png
Re: [Coding] RenRem [message #255069 is a reply to message #255010] Sun, 22 April 2007 08:43 Go to previous messageGo to next message
Dave Anderson is currently offline  Dave Anderson
Messages: 1953
Registered: December 2004
Location: United States
Karma: 0
General (1 Star)
Because C++/CLI still meets C++ ISO Standards and has backwards compatibility with Native code via Interop. Wink

David Anderson
Founder, Software Consultant
DCOM Productions
Microsoft Partner (MSP)

[Updated on: Sun, 22 April 2007 08:44]

Report message to a moderator

Re: [Coding] RenRem [message #255078 is a reply to message #255065] Sun, 22 April 2007 09:56 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

danpaul88 wrote on Sun, 22 April 2007 17:29

I code with C++ a lot, but never heard of CLI other than in it's meaning as Command Line Interface. Why couldn't they come up with a unique name for it instead of trying to confuse everyone? Razz

Dave Anderson wrote on Sun, 22 April 2007 17:43

Because C++/CLI still meets C++ ISO Standards and has backwards compatibility with Native code via Interop. Wink


Perhaps re-read.
And tbh, I think that command line interface (CLI) is a more often used avebration then yours.


http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: [Coding] RenRem [message #255080 is a reply to message #255078] Sun, 22 April 2007 10:00 Go to previous messageGo to next message
Dave Anderson is currently offline  Dave Anderson
Messages: 1953
Registered: December 2004
Location: United States
Karma: 0
General (1 Star)
EvilWhiteDragon wrote on Sun, 22 April 2007 10:56

And tbh, I think that command line interface (CLI) is a more often used avebration then yours.


What does that have to do with anything? A Command Line Interface has nothing to do with the Common Language Infrastructure...


David Anderson
Founder, Software Consultant
DCOM Productions
Microsoft Partner (MSP)

[Updated on: Sun, 22 April 2007 10:05]

Report message to a moderator

Re: [Coding] RenRem [message #255107 is a reply to message #255080] Sun, 22 April 2007 12:11 Go to previous messageGo to next message
Jonty is currently offline  Jonty
Messages: 538
Registered: June 2006
Location: Chesterfield, England
Karma: 0
Colonel
Viva la Resistance!
Dave Anderson wrote on Sun, 22 April 2007 18:00

What does that have to do with anything? A Command Line Interface has nothing to do with the Common Language Infrastructure...

I read half this topic wondering why people were talking about command line interfaces. Sad
Re: [Coding] RenRem [message #255125 is a reply to message #255010] Sun, 22 April 2007 12:58 Go to previous message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
Seems I've sparked a conversation about a different type of C++ Smile


C++/CLI is very powerful and simple to learn. The bot that I'm creating for Renegade is coded solely in C++/CLI.

As for the meaning of CLI, I'm going with Dave on that one...



Thanks,
MathK1LL
Previous Topic: Cannon Implacement, Gun Implacement, Rocket Implacement.
Next Topic: Laser Rifle
Goto Forum:
  


Current Time: Thu Jan 02 00:50:09 MST 2025

Total time taken to generate the page: 0.00855 seconds