Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Linux FDS » New LFDS Bot (PwnageBot)
icon14.gif  New LFDS Bot (PwnageBot) [message #214535] Tue, 22 August 2006 15:03 Go to next message
Stumpy is currently offline  Stumpy
Messages: 93
Registered: May 2005
Karma: 0
Recruit

Hello everybody, T64|Skyline and I are coding a new Bot for the LFDS. This Bot will support RH7 and RH8.
It is programmed inside the Scripts-RH8.so/Scripts.rh7.so

It has already an IRC Output, Announcesystem and will support an XWIS Server/Client like the Windows FDS it has.(I hope we get the bugs fixed when XWISP is released and we can look for the problem)

Heres a Commandlist of the Bot whats already in it:
NEW LFDS Console Commands:
*=Available in Version 1.1
wpage, wlocate
setfps*, gameon*, gameoff* -> (Gameon -> Gameplay allowed, good for Linux COOP Server)
IRC Commands: !help !bstats !cmd(Sends directly Commands to the Console) !version !rules !qkick !setmoney !setrules !curveh !testcin !flys !endmap (!gameover) !rainon !rainoff !time !msg !announce !ginfo (!gi) !setannounce !kill !getbw !getping !getip !vlimit !setvlimit !mlimit !setmlimit !wpage <text> !wlocate <user> !gdipage <message> !nodpage <message> !gdiwin !nodwin
WOLUSERJoin Announce for IRC or Ingame
(example utCampa is trying to join the Game via WOL.)

When we fix the NAT Stuff with XWISP we are going to update Adminsystem which is already simply included.(It announces an Admin who is defined in admins.txt with Name(Admin) join the Server.)
Secondly it will have an Live Server Stats Output. (Not directly live maybe 5 seconds later than. It is so that nobody can abuse the Server status)
For this visit http://pb-live.team64.eu/
More information to this will be added later.

For the XWIS thing I will say there is everything except the NAT Thing is working fine. It will only support these 2 Commands not any more.

The Bot will also Support a own Veteran System, and it will allow to play a test_cinematics from irc.(For everyone who dont know what that is-> CnC_C130drop.txt)Simple by !testcin "filename.txt" then it plays the test_cinematic from the filename in Zone:
X(0) Y(0) Z(0). Test Cinematics for the Nod Base, GDI Base will be added in a later Version.

You can enable or disable every of these Command via the config.ini.

Please dont confuse If this text includes a few spelling mistake or time mistakes my english isnt perfect.

Now I`m waiting for your Comments Thumbs Up


Visit and dream about it http://pb-live.team64.eu

[Updated on: Tue, 22 August 2006 15:13]

Report message to a moderator

Re: New LFDS Bot (PwnageBot) [message #214544 is a reply to message #214535] Tue, 22 August 2006 15:28 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)
i bet you dont get any like i dont.

good bot though Thumbs Up
Re: New LFDS Bot (PwnageBot) [message #215123 is a reply to message #214535] Fri, 25 August 2006 09:08 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

This sounds cool. Good job! If I had the C++ skills I probably would have redone brenbot in this way. One of my main concerns was that since it would be part of scripts.dll, any bugs would crash the entire server, so lots of testing would have to be done to make sure none of the commands could be exploited either accidentally or on purpose.

Few random questions:

Are you building the XWISP functionality in as C++ code as well, or are you going to use XWISP when I release it?

Are you going to build and release updates when new scripts.dll versions come out?

Does it play nice if someone uses SSAOW?

Why stop at linux, wouldn't it work just as well for windows too...I guess some extra libs may be required to do the irc stuff unless you just handled it as a raw TCP connection?

Are you going to release the source?

Thats all I can think of for now Smile
Re: New LFDS Bot (PwnageBot) [message #215126 is a reply to message #214535] Fri, 25 August 2006 09:40 Go to previous messageGo to next message
Stumpy is currently offline  Stumpy
Messages: 93
Registered: May 2005
Karma: 0
Recruit

Thanks for the positive comments Smile

To the Questions:
Yes I think we will completely rebuild the xwisp functions to c++.
And yes We will release updates when a new scripts.dll version come out. (Its currently based on Scripts 2.9)
Next Question: We have rebuild the SSAOW a bit so that it will work for Linux, so it works fine for us.
We dont think that we make the Bot on Winows there are other people like Blackintel which already
have Renegade Bots that Connect other Scripts.dll to IRC.
And finally the question about releasing the Source...
For this I can say you We dont know it yet.
If you want I can send you a beta version of the Bot (which includes the ssaow) to test it with XWISP.


Visit and dream about it http://pb-live.team64.eu

[Updated on: Fri, 25 August 2006 09:41]

Report message to a moderator

Re: New LFDS Bot (PwnageBot) [message #215131 is a reply to message #214535] Fri, 25 August 2006 10:11 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

Oh yeah forgot other question...is the live stats display going to be renhawk-like, where it shows the units and players on the map?
Re: New LFDS Bot (PwnageBot) [message #215138 is a reply to message #214535] Fri, 25 August 2006 10:39 Go to previous messageGo to next message
Stumpy is currently offline  Stumpy
Messages: 93
Registered: May 2005
Karma: 0
Recruit

yes it will be like that.

Visit and dream about it http://pb-live.team64.eu

[Updated on: Fri, 25 August 2006 10:57]

Report message to a moderator

Re: New LFDS Bot (PwnageBot) [message #215165 is a reply to message #214535] Fri, 25 August 2006 12:38 Go to previous messageGo to next message
icedog90 is currently offline  icedog90
Messages: 3483
Registered: April 2003
Karma: 0
General (3 Stars)
Blazer, pick up a book and learn.

C++ Primer Plus. Razz
Re: New LFDS Bot (PwnageBot) [message #215185 is a reply to message #214535] Fri, 25 August 2006 14:31 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
Books are for nubs, Google and MSDN are the way to go.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
Re: New LFDS Bot (PwnageBot) [message #215321 is a reply to message #214535] Sat, 26 August 2006 09:08 Go to previous messageGo to next message
Ma1kel is currently offline  Ma1kel
Messages: 956
Registered: July 2005
Location: Kingdom of the Netherland...
Karma: 0
Colonel
And WikiBooks.

Re: New LFDS Bot (PwnageBot) [message #215479 is a reply to message #214535] Sun, 27 August 2006 04:08 Go to previous messageGo to next message
howang is currently offline  howang
Messages: 57
Registered: September 2005
Location: Hong Kong
Karma: 0
Recruit
just a little reminder...
SSAOW is release under the terms of GPL.
You will have to release your bot with GPL too. Sarcasm


Thanks blazer for the xwisp! My dream comes true!
<Ghostshaw> duh
<Ghostshaw> its awesome
<Ghostshaw> cheat the cheaters :P
Re: New LFDS Bot (PwnageBot) [message #215481 is a reply to message #214535] Sun, 27 August 2006 04:28 Go to previous messageGo to next message
Stumpy is currently offline  Stumpy
Messages: 93
Registered: May 2005
Karma: 0
Recruit

Well we have build our own SSAOW because this own thats currently available have many things thats very strange(and includes many memory leaks) we didnt copy any code of it, and only looked how they made it. If we really need to release something then only
the new SSAOW part not the full bot source.


Visit and dream about it http://pb-live.team64.eu
Re: New LFDS Bot (PwnageBot) [message #215488 is a reply to message #214535] Sun, 27 August 2006 04:47 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
SSAOW is under GPL because the scripts.dll is under GPL. Using any code from the scripts.dll means the source will have to be released.

Let all your wishes be granted except one, so you will still have something to strieve for.
Re: New LFDS Bot (PwnageBot) [message #215504 is a reply to message #214535] Sun, 27 August 2006 06:28 Go to previous messageGo to next message
Caveman is currently offline  Caveman
Messages: 2476
Registered: July 2005
Location: Wales, UK
Karma: 0
General (2 Stars)

When you release the bot I wouldn't mind using it on my linux server. I am currntly using br141 and erm... It kinda lags when you type certain command. Overall its a good bot, but I would like a up to date bot.

Keep up the good work.

Thumbs Up


CarrierII wrote

BLUEHTHEN YOU AR NOT JUST A BIG CHEATAS AND YOU THE BIG HEAD JUST YOU USE FLY H4X FUCK YOU BIG CHEATAS YOUR CHEATZ IS BAD YOU WANT I WRAUGHT THIS YOUR CHEATZ IS BAD HEY IS 1 YEAR YOUR PROMESS A FLY HAX IN MULTIPLAYER AND IS DONT JUST TROOPRM02 I TELL IT ALL WHO REPLYER IN THIS FORUM YOU CHEATZ

Please don't make me type something like that again, not using puntuation is annoying.


http://r9.fodey.com/2158/bc450f3ca15045e9bdd7651fa49f3a0a.0.gif
Re: New LFDS Bot (PwnageBot) [message #215522 is a reply to message #214535] Sun, 27 August 2006 07:47 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

"Technically" since scripts.dll is GPL any derived work of it (anything created afterwards that uses its code or interfaces with it) would also be subject to the GPL and thus would have to have full source released. I'm sure this is why WhiteDragon releases the source for SSAOW (and probably so people can learn from it).

I say "technically" because I doubt jonwil would call the GPL lawyers and initiate an expensive court battle over it. Also scripts.dll itself is a grey area, as in - can you GPL something that is based upon reverse engineering (which is what jonwils scripts.dll is) of a copyrighted product (Westwood's code)? Smile

I would suggest releasing the source just to "play nice", and who knows, perhaps other folks will look at your code and suggest improvements, or make them themselves, and release it back to the public, or learn some cool C++ tricks...you know, the whole spirit of open source thing Smile

I know that some people don't like the idea of someone "stealing" their ideas/code/whatever. But I guess you have to decide if what you are making is private for you, or are you releasing it publically. If its for "everyone" to use, then why not release the source so that they can see how it works, and customize it (within the limits of the GPL), and help improve it. It makes it easier on everyone. For instance, when WD builds a new ssaow, he just grabs the latest publically available source of jonwils scripts.dll to compile with it. If jonwil kept the code secret, then releasing things that work with it would be much more difficult, and we likely would see less great things like SSAOW be created.

[Updated on: Sun, 27 August 2006 07:53]

Report message to a moderator

Re: New LFDS Bot (PwnageBot) [message #215564 is a reply to message #214535] Sun, 27 August 2006 09:14 Go to previous messageGo to next message
Stumpy is currently offline  Stumpy
Messages: 93
Registered: May 2005
Karma: 0
Recruit

after a longer talk to jonwil i will release the source code. Listen
But I hope nobody will fake the Bot then.


Visit and dream about it http://pb-live.team64.eu
Re: New LFDS Bot (PwnageBot) [message #215585 is a reply to message #215488] Sun, 27 August 2006 11:10 Go to previous messageGo to next message
Ma1kel is currently offline  Ma1kel
Messages: 956
Registered: July 2005
Location: Kingdom of the Netherland...
Karma: 0
Colonel
dead6re wrote on Sun, 27 August 2006 06:47

SSAOW is under GPL because the scripts.dll is under GPL. Using any code from the scripts.dll means the source will have to be released.

Nope.


Re: New LFDS Bot (PwnageBot) [message #215587 is a reply to message #215585] Sun, 27 August 2006 11:37 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

Ma1kel wrote on Sun, 27 August 2006 20:10

dead6re wrote on Sun, 27 August 2006 06:47

SSAOW is under GPL because the scripts.dll is under GPL. Using any code from the scripts.dll means the source will have to be released.

Nope.



yes


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: New LFDS Bot (PwnageBot) [message #215611 is a reply to message #214535] Sun, 27 August 2006 13:20 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
I doubt the scripts.dll license is valid at all is it is based on reverseengineering.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
Re: New LFDS Bot (PwnageBot) [message #215641 is a reply to message #215564] Sun, 27 August 2006 16:09 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

UESir28 wrote on Sun, 27 August 2006 12:14

after a longer talk to jonwil i will release the source code. Listen
But I hope nobody will fake the Bot then.


I think if they did it would be pretty obvious, and then you could call the GPL ninjas on them Smile

Usually when source is available, if someone makes any changes to the code, they let the author know so that it ban be integrated into the next version. I don't think you have to worry about someone taking your code and releasing it as their own bot.

Honestly too, I have believed for a long time that the Renegade community is way too small to be able to afford not to share things.
Re: New LFDS Bot (PwnageBot) [message #216258 is a reply to message #215611] Wed, 30 August 2006 09:29 Go to previous messageGo to next message
Ma1kel is currently offline  Ma1kel
Messages: 956
Registered: July 2005
Location: Kingdom of the Netherland...
Karma: 0
Colonel
Cat998 wrote on Sun, 27 August 2006 13:37

Ma1kel wrote on Sun, 27 August 2006 20:10

dead6re wrote on Sun, 27 August 2006 06:47

SSAOW is under GPL because the scripts.dll is under GPL. Using any code from the scripts.dll means the source will have to be released.

Nope.



yes

I'm gasping on what SK said:

Silent Kane wrote on Sun, 27 August 2006 15:20

I doubt the scripts.dll license is valid at all is it is based on reverseengineering.

That the GPL license on the scripts.dll possible isn't even valid.


[Updated on: Wed, 30 August 2006 09:30]

Report message to a moderator

Re: New LFDS Bot (PwnageBot) [message #216347 is a reply to message #214535] Wed, 30 August 2006 16:35 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

What are the odds that people are going to hire lawyers and go to court in order to determine that?
Re: New LFDS Bot (PwnageBot) [message #217503 is a reply to message #214535] Tue, 05 September 2006 14:05 Go to previous messageGo to next message
Stumpy is currently offline  Stumpy
Messages: 93
Registered: May 2005
Karma: 0
Recruit

Update: Game is now joinable from XWIS.For Normal players, Firewall Players, and Behind a Router Players(that should be all Wink)
Now Im cleaning Code and fixing some crashbugs.


Visit and dream about it http://pb-live.team64.eu
Re: New LFDS Bot (PwnageBot) [message #217610 is a reply to message #217503] Wed, 06 September 2006 06:33 Go to previous messageGo to next message
SODPaddy is currently offline  SODPaddy
Messages: 233
Registered: August 2005
Location: Germany
Karma: 0
Recruit

UESir28 wrote on Tue, 05 September 2006 23:05

Update: Game is now joinable from XWIS.For Normal players, Firewall Players, and Behind a Router Players(that should be all Wink)
Now Im cleaning Code and fixing some crashbugs.



Yes is tested it... it works Very Happy i can join from XWIS


Website: www.Area54.eu

Once 54, Always 54.
(\__/)
(O.o )
(___)
Visit us at www.Area54.eu
Re: New LFDS Bot (PwnageBot) [message #222050 is a reply to message #214535] Mon, 25 September 2006 06:04 Go to previous messageGo to next message
Stumpy is currently offline  Stumpy
Messages: 93
Registered: May 2005
Karma: 0
Recruit

Update:
I think there is still a crashbug but i dont know how to run the renserver with a debugger like gdb so i thought somebody can do that? Would be happy of it..
And when he could tell me what crashes and maybe which lines creates the crash. On linux theres no crashlog file so jonwil couldnt look for my problem.
I will release a Beta Version with full opensource within this or next weekend.

Added Functions:
!nomusica
!play "file" <- plays a mp3 file out of your data folder.
Added Commands:
wtopic - Changes the currently WOLTOPIC (could be useful..)

If somebody got an Idea about a feature I should include. Just tell me what and maybe it will be included Tell Me

Things to fix:
For XWIS:
Maphash in Topic, Maphash in :GINFO:(would also be cool if someone could do that for me Im currently replacing the mapname which is ugly..)
For the Main Code of PwnageBot:
The SSAOW/CCM Bug or the XWis bug i just mentoint which crashes the Game.



Visit and dream about it http://pb-live.team64.eu

[Updated on: Mon, 25 September 2006 06:06]

Report message to a moderator

Re: New LFDS Bot (PwnageBot) [message #225297 is a reply to message #217610] Sat, 07 October 2006 08:11 Go to previous messageGo to previous message
MXrave is currently offline  MXrave
Messages: 12
Registered: February 2005
Karma: 0
Recruit
its coming this weekend?

[Updated on: Sat, 07 October 2006 08:12]

Report message to a moderator

Previous Topic: ? scripts.so ? xwisp ? misc ?
Next Topic: "No Gameplay Pending" patch for LFDS!
Goto Forum:
  


Current Time: Thu Nov 21 10:15:13 MST 2024

Total time taken to generate the page: 0.01597 seconds