Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » [Coding] scripts.dll server reading
[Coding] scripts.dll server reading [message #255347] Mon, 23 April 2007 21:07 Go to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
I've heard that it's possible to read the server directly from scripts.dll through creating a TCP server or some sort of server inside scripts.dll. I am looking for someone who knows how to do this and would be willing to help me. :/ I need help creating the server and then using the data recieved from the scripts.dll to be transformed into something that I can code with.


Thanks,
MathK1LL


P.S.

Needing someone who specializes in scripts.dll & in C++/CLI (Managed C++)
Re: [Coding] scripts.dll server reading [message #255363 is a reply to message #255347] Tue, 24 April 2007 00:18 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 used this in Sbot, then got accused of ripping someone elses idea. Even though i have had that idea for months, i just didn't know how to do it.

It's a bad idea anyway.
Re: [Coding] scripts.dll server reading [message #255369 is a reply to message #255347] Tue, 24 April 2007 01:22 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
Lol, that someone isn't psufan is it? And the idea wouldn't have been ScriptsSE.dll?

PSU told me you stole the idea from Lee, which i think is complete bs. PSU's just so far up his own ass he can't be bothered to look at other peoples opinions.
Re: [Coding] scripts.dll server reading [message #255468 is a reply to message #255369] Tue, 24 April 2007 12:34 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)
Merovingian wrote on Tue, 24 April 2007 09:22

Lol, that someone isn't psufan is it? And the idea wouldn't have been ScriptsSE.dll?

PSU told me you stole the idea from Lee, which i think is complete bs. PSU's just so far up his own ass he can't be bothered to look at other peoples opinions.


^^ completely right. I was talking vaguely to Cat998 about it on msn, months ago. It was Cat998 that suggested it to me. I let someone take over from me because it would have big security holes, that are hard to patch. I found a much better way to interact with the FDS closed source that i am still experimenting with.

[Updated on: Tue, 24 April 2007 12:35]

Report message to a moderator

Re: [Coding] scripts.dll server reading [message #255470 is a reply to message #255363] Tue, 24 April 2007 12:35 Go to previous messageGo to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
gamemodding wrote on Tue, 24 April 2007 01:18

I used this in Sbot, then got accused of ripping someone elses idea. Even though i have had that idea for months, i just didn't know how to do it.

It's a bad idea anyway.




I'm getting tired you telling me one thing and then contradicting yourself saying..."No it's a bad idea" or some other bullshit like that...


-MathK1LL
Re: [Coding] scripts.dll server reading [message #255472 is a reply to message #255347] Tue, 24 April 2007 12:45 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 was telling you the easiest way to do it Wink

//for FDSTalk.dll put at the top under your namespace imports
[DllImport("FDSTalk.dll")] bool Init(short port, String ^password);
[DllImport("FDSTalk.dll")] void Shutdown(void);
[DllImport("FDSTalk.dll")] void Send_Message(String ^Text, long ip, short port);
[DllImport("FDSTalk.dll")] void Service(void);


Read
renlog_<date>.txt
bhs_renlog_<date>.txt

Its all done in HL-Bot.
I'm not sure about how the ip must be formatted. You will probably have to have a Native dll with the function HL-Bot uses to convert it.

[Updated on: Tue, 24 April 2007 12:46]

Report message to a moderator

Re: [Coding] scripts.dll server reading [message #255494 is a reply to message #255347] Tue, 24 April 2007 14:34 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
It's a good idea in theory, but unless you can keep it closed source it will just get abused.

http://steamsignature.com/card/1/76561197975867233.png
Re: [Coding] scripts.dll server reading [message #256112 is a reply to message #255347] Fri, 27 April 2007 10:23 Go to previous messageGo to next message
icedog90 is currently offline  icedog90
Messages: 3483
Registered: April 2003
Karma: 0
General (3 Stars)
Removed argument/flaming. Continue the thread? Smile
Re: [Coding] scripts.dll server reading [message #256227 is a reply to message #255347] Sat, 28 April 2007 08:26 Go to previous message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
Sad
Previous Topic: Powersuit kane/rav
Next Topic: script proplem
Goto Forum:
  


Current Time: Thu Jan 09 13:41:53 MST 2025

Total time taken to generate the page: 0.00721 seconds