DDE server?


(Kamel) #1

i was just wanting to know if enemy territory is, or can, run as a DDE server. i was wanting to know because i have a stats bot, but being able to do anything through mirc is impossible. if i could use a DDE server, it would allow an easy way to script a small remote access server.

just curious. if it does not have a dde server how hard would it be to have somebody make a mod for et that would let it do that?


(Kamel) #2

if by any chance you dont know what DDE is, or which acronym i’m using, it’s called Direct Data Exchange. it’s a way for programs to communicate between each other.


(the_hat) #3

log parsing :cool:


(SCDS_reyalP) #4

DDE, bleh. I’m sure there is nothing currently built into ET that acts as a DDE server.

You could add your own stuff (including DDE, if you really wanted to) to the console and/or logging functions.

On linux, you could just pipe the normal console output.


(Kamel) #5

log parsing would not accomplish the interactive bot i am looking for…

if someone is willing to make a small mod which would allow the use of a DDE server though, i am willing to make a very nice mirc bot counter-part… i have samples of my work if you’re interested.


(SiliconSlick) #6

What features do you think that you can implement with DDE
that you can’t implement with log parsing and stuffing commands
into the console via “screen” or rcon?

Just curious.

BTW… by using a Microsoft-centric communications method
you will preclude a great number of servers from running
your mod.

SiliconSlick


(Kamel) #7

i realize that, and it sucks i agree… but there’s not a lot can be done about it… atleast not with my limited amount of knowledge etc.

there’s a ton of things i could do… i could completely integrate the IRC channel and the global chat on the server… i could remotely administrate the server only needing an irc client (this can be had even with java scripts), i would allow many triggers in-game, i could make the bot have its own voting system which would allow kicks of a longer period of time, done with a more secure method, etc… i could make the people be able to vote to kick the players on the other team off… there’s tons and tons of shit i could do.

i could probably list more, but i wont… regardless, i think it would be a very nice idea, and the bot is completely client side… so even servers that run on linux will have the ability to have a person run the bot on their windows box.


(m242) #8

BRILLIANT! I can’t wait for all of the “a/s/l” global chat while I’m trying to frag!

i could remotely administrate the server only needing an irc client

BRILLIANT! I, too, find the concept of ssh too difficult to deal with.

i would allow many triggers in-game

Because lord knows it’s hard enough to code in C++! BRILLIANT!

, i could make the bot have its own voting system which would allow kicks of a longer period of time, done with a more secure method, etc…

BRILLIANT! It’s hard to call a vote and then hit F1!

i could make the people be able to vote to kick the players on the other team off…

Just like vanilla 1.0 ET! BRILLIANT!

there’s tons and tons of shit i could do. i could probably list more, but i wont…

I read that as “I got nothin’.”

and the bot is completely client side…

…using IRC, the most secure network protocol out there! BRILLIANT!

Dude. Give up on the IRC stuff. If this were 1993, I’d say go for it, but last I checked, IRC was just about as useless as Usenet.

Here. Have a banana: :banana:


(the_hat) #9

ahahahaha, i would agree with you m242 for the most part, but when you say IRC is useless, well, thats incorrect. seems to me, last time i checked, a single IRC network “not most, but some” has 100 times as many users as all the people who play ET. and your BRILLIANT! crap is just retarded :!


(Kamel) #10

riiiight, i’ve already made more secure bots than you could ever do with IRC and mirc scripting, i bet you’d never break the algorithm.

not everyone has ssh

some things about vanilla 1.0 were better than the update…

i ban fags who ask for asl

just because a program isn’t written in C++ does not mean it’s somehow “inferior” – maybe the language isn’t as powerful, but you dont need a damn jet engine to go 65MPH down the highway.

dude. give up on the NON irc shit, you obviously are a retarded newb to irc and aren’t aware that any reputable clan will have an irc channel.


(SCDS_reyalP) #11

http://www.chiark.greenend.org.uk/~sgtatham/putty/

That said, I’m pretty sure quake/irc integrations have been done before. google is your friend.

I don’t really see the point myself, at least for server admin tasks. between punkbusters web admin, rcon (including external rcon tools, some usable from IRC. Again, google = your friend), etrpo semi admin, etc. you have planty of options. There are also some admin bots, which I think shrub has added some more hooks for. It shouldn’t be too hard to make an existing admin bot talk to IRC either…

If you want to make yet another admin interface, you are going to have to either talk directly to the servers stdin/stdout (which will only work on linux, AFAIK, because the windows dedicated server doesn’t use a real text console), talk to rcon, or modify the game code. Neither of those should be particularly hard, assuming you have the required skills.


(Kamel) #12

… i’m not a fucking idiiot, i was saying not everyone has ssh access to their server. just cuz i have an ET server doesn’t mean i’ve got a root acct with ssh.


(Ramoonus) #13

i still think DDE is a bad idea
windows only :frowning:


(m242) #14

haha, that makes me laugh.

d00d, i have level 4 signals, do i get +o! d00d! op me!

d00d! while i’m giving out medpacks, why don’t you dcc me some filez!

(that gives a new meaning to “covert ops”, does it not?)

Thank you for playing Kamel. Here’s a banana and a Guinness. :banana: :beer:


(Kamel) #15

… your opinion doesn’t matter. i really dont see any constructive critism here.

i realize it would be windows only, and that does suck, but that doesn’t mean it shouldn’t be done for those who do have windows. like i said, since it’s client-side, anyone could run that bot on their server with a windows box. i’m not talking about a server-side mod here. if i were to make a server side mod, i would (most likely) not do it, or i would make it use a different means of communication.


(digibob) #16

Keep it civil guys, what someone wants to do in their own mod, is their own business. No need for name calling etc, on either side.


(m242) #17

Here’s your constructive criticism: Instead of trying to do all kinds of l33+ scripts through mirc, why not take a good long look through the cpp code for the game? cpp is not the most difficult language on the planet to pick up; the ET source code is fairly easy to read (though it does have its moments…). I can’t imagine that anything you want to do to improve the game couldn’t be done inside the server itself, rather than trying to hack some back-channel communication into the server by way of a custom client.


(Kamel) #18

the point is not to make some client through mirc just so i can get my jollies off using irc to control the game as opposed to actually connecting myself.

the point is to make a channel which is indistinguishable between the irc channel and the global chat of the game. also, it will be to broadcast live stats and game action. to be as sortof an added bonus, i will use the bot to do other things along side of that, making my own triggers that would read from a database i’ve had.

have you ever seen ralf on drippy’s2fort counterstrike server? it would be something to the same effect. not just a bot that reports everything that happens, but an intellagent bot that is able to interact with the players and people in the irc channel in a way that it will be able to be “part of the game”. sure you’ve seen things like shrub bot, but this is nothing like that either.

sorry if i don’t know C++, but if it’s so easy to learn then why does such a small percent of people actually know how? i’m sorry if you disagree, but C++ is a very broad category, and why learn C++ when i know exactly how to do what i want to do in mirc scripting? not just that, but i like using mirc scripting for very technical things so that the people can be amazed of its power. mirc scripting is way more sophisticated and powerful than people give it credit for.

so, why dont you make this for us in C++, or teach me how to code in C++?

that critisism was not constructive either. your sarcastic remarks i do not appreciate, and i surely do not appreciate your act of me being somehow inferior to you due to my lack of knowledge of C++. if i wanted to make it in applescript there’s nothing wrong with that… i feel i have the right to choose what language i would write a mod for the game in, just as you have that right. your opinion means nothing to me, and i feel i’ve made that very clear now.

if anyone actually is interested in what i’ve got to offer, post a reply or catch me through one of my modes of contact. thanks


(Balr14) #19

I don’t think it’s a practical idea. ET doesn’t function as a DDE server. You would have to write a DDE server task and run it on the server and get it to communicate with ET, which would probably require changes to ET to add czars for what you want to do.

Even if there were not technical difficulties to overcome, I don’t see how logging on to my server is any more difficult than opening an irc channel. Running irc has more overhead.

It may be worth doing just as a “fun” project, but I doesn’t impress me as something that is likely to be widely accepted.

If you are really looking for something to do, write a program or scripts that will convert the animation files.


(m242) #20

Kamel, you’re missing my point. Opening up another method of communication into the server, then writing the routines for authentication, secure message transport back and forth between the server and the client, and finally writing the hooks back into the server to actually perform any of the tasks that you’re talking about is an incredible amount of overhead – especially since there’s no compelling featureset that you’ve demonstrated that a combination of judicious server admin and a simple standalone log parser couldn’t cover.

Think of it this way: let’s say you want to put in a function to be able to kick a member of a team via IRC. Let’s also assume that you’ve finished a rock-solid codebase of communicating from the IRC server to ET (by way of your custom bot). The server still needs to have code added that will actually perform the kick. You’d need to emulate the referee code for anything that the server already does, and then still write custom code – in the server, mind you – cpp – for any functionality that the server doesn’t already provide.

Here’s a fine idea for you to work on: ET-TV.