Need Help

DG-Soap-SudsDG-Soap-Suds Join Date: 2003-06-05 Member: 17035Members
edited June 2003 in Tech Support
<div class="IPBDescription">Some Scripting Involved</div> I need help creating a script for a clock. A client side script. can someone teach me how??? I want to have a clock in the corner of my screen during half-life beable to press a bind and the fvox will tell me the time too. If you could help that would be cool.

<!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif'><!--endemo--> <!--emo&::onos::--><img src='http://www.unknownworlds.com/forums/html/emoticons/tiny.gif' border='0' style='vertical-align:middle' alt='tiny.gif'><!--endemo-->

Comments

  • OttoDestructOttoDestruct Join Date: 2002-11-08 Member: 7790Members
    edited June 2003
    Uhm.. and you want this done in Half-Life?

    *Edit*

    The color message.. er.. I don't even know what you mean by the csay, I'm assuming thats the message kind of stuff done through AdminMod... but in a script you would have..

    alias activated "developer 1;echo Script Activated;developer 0"


    Then just add activated into the script line. I have no idea what you mean by system time.... and as far as a score report.. try pressing the tab button.
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    I'm not sure that any of this could be accomplished without using an external program...
    As far as I know, you can't get the system time from hl, I don't think theres a way to track indvidual marine score, theres no way to see when a kill/death happened.. and you cant store variables.. The activated part has been answered <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->

    As far as an AFK script..
    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    alias afk "say I am AFK; bind <somekey> back"
    alias back "say I am back; bind <somekey> afk"
    bind <somekey> afk
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
    That would be a basic one, I see no way to abuse that. On the server(s) I play on, it auto-kicks you if you text spam the server...


    You could probably make an external program, but then you couldn't use it on any cheating death servers...
  • predatory_kangaroopredatory_kangaroo Join Date: 2003-01-12 Member: 12225Members
    edited June 2003
    Ah, the joy...
    I wanted to do sumthing a little like that (but without the AFK script)...
    I found a little program by [LoG]BillDoor called SparkyUtils, made for TFC that will let u print messages and stuff, show systemtime and scores, but it's not a hack...
    Unfortunately, it was only for TFC, so i changed a few lines of codes to let it work for any mod <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
    The hooking code is based on OGC, so any coder could easily abuse it, so i'm not going to upload the source here, but if you would like it, PM me and i'll e-mail it to you <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->

    Also, i'm working on some upgrades to it, including MSN, AIM and ICQ support, but those won't be finished for a while

    --EDIT-- Oh, and as devicenull says, it doesn't work on CD =/ --EDIT--
  • ThansalThansal The New Scum Join Date: 2002-08-22 Member: 1215Members, Constellation
    ok, with out ussing a 'hack' you couldn't make those admin mod popup

    the most you can do are "developer 1; echo mymsg; developer 0"

    this is the normal way of giving your self activation cues and what not.
    for more info:
    <a href='http://half-life.gamehelp.com/' target='_blank'>I AM HL</a>

    GL mate <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • DG-Soap-SudsDG-Soap-Suds Join Date: 2003-06-05 Member: 17035Members
    Ahhh The Power Of Forums...

    LOL

    <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif'><!--endemo--> <!--emo&::onos::--><img src='http://www.unknownworlds.com/forums/html/emoticons/tiny.gif' border='0' style='vertical-align:middle' alt='tiny.gif'><!--endemo-->
  • ThansalThansal The New Scum Join Date: 2002-08-22 Member: 1215Members, Constellation
    hehe, thats what where here for, gl mate <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • DG-Soap-SudsDG-Soap-Suds Join Date: 2003-06-05 Member: 17035Members
    <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->

    So Glad There Are Still Nice People In This World..

    <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif'><!--endemo--> <!--emo&::onos::--><img src='http://www.unknownworlds.com/forums/html/emoticons/tiny.gif' border='0' style='vertical-align:middle' alt='tiny.gif'><!--endemo-->
  • DG-Soap-SudsDG-Soap-Suds Join Date: 2003-06-05 Member: 17035Members
    So can anyone teach me how to script in NS. Teach me some commands. Give me a compiler. How to make External Half-Life Program. TFC also. If you could it would be a major help.

    <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif'><!--endemo--> <!--emo&::onos::--><img src='http://www.unknownworlds.com/forums/html/emoticons/tiny.gif' border='0' style='vertical-align:middle' alt='tiny.gif'><!--endemo-->
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    I found something on getting the time from half life
    Didn't see this thread, and didn't wanna search
    A program called Hlamp can echo/say the time.. and can be used on cd required servers

    Go here: <a href='http://half-life.gamehelp.com/' target='_blank'>http://half-life.gamehelp.com/</a>
    (Someone already said it, go look at that, its the best for scripting)
  • ThansalThansal The New Scum Join Date: 2002-08-22 Member: 1215Members, Constellation
    sorry mate, but that dosn't exist (as far as I know)

    All external programs are either mods or Hooks, and b/c hooks are ussed to cheat, any server with anti cheat stuff will detect it as a hack.

    HOWEVER, you can do some rather good stuff with just plain old HL scripts, and for that all you need is notepad <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->

    The basis of most HL scripting is binds and Aliases. Binds are simply bind set actions to a key. Aliases are the same deal however they can be much more complex.

    again, i am hl is the place to learn how to script.
  • DG-Soap-SudsDG-Soap-Suds Join Date: 2003-06-05 Member: 17035Members
    I modifyied my origanal post. Need more help guys.

    <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif'><!--endemo--> <!--emo&::onos::--><img src='http://www.unknownworlds.com/forums/html/emoticons/tiny.gif' border='0' style='vertical-align:middle' alt='tiny.gif'><!--endemo-->
  • predatory_kangaroopredatory_kangaroo Join Date: 2003-01-12 Member: 12225Members
    <!--QuoteBegin--devicenull+Jun 29 2003, 12:02 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (devicenull @ Jun 29 2003, 12:02 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I found something on getting the time from half life
    Didn't see this thread, and didn't wanna search
    A program called Hlamp can echo/say the time.. and can be used on cd required servers

    Go here: <a href='http://half-life.gamehelp.com/' target='_blank'>http://half-life.gamehelp.com/</a>
    (Someone already said it, go look at that, its the best for scripting) <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    HLAmp is, as Thansal says, a hook.
    Although this is true, it also works on server with VAC or CD. This isn't because it has been cleared by the makers or anything, but because it is written in machine code, which can hook the code without being detected.
  • DG-Soap-SudsDG-Soap-Suds Join Date: 2003-06-05 Member: 17035Members
    anyone know where i can get hlamp? Or how to write machine code? Or code on a hook
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    <a href='http://www.google.com' target='_blank'>Google</a> is your friend.
    With it you can find probably everything you asked for.. hlamp is <a href='http://www.hlamp.com' target='_blank'>hlamp.com</a>
Sign In or Register to comment.