Send a public message ingame from PHP

Results 1 to 23 of 23
  1. #1
    Valued Member barak1991 is offline
    MemberRank
    Jun 2013 Join Date
    146Posts

    Send a public message ingame from PHP

    hello everyone.

    someone can give me the shoutbox from this thread:
    http://forum.ragezone.com/f197/send-...ml#post2998840

    the user =Master= Was upload it before here but the links are dead.


    i have the PHP File but i need the shoutbox page for this to work.

    so someone can reupload it ?

    thanks in advance guys.


  2. #2
    Alpha Member 2009x2014 is offline
    MemberRank
    Dec 2009 Join Date
    2,765Posts

    Re: Send a public message ingame from PHP

    the file responsible for sending msg is attached on 1st page

    Attached Files

    File Type: zip shout.zip (1.3 KB, 949 views)

    all u have to do is modify msg inside, or code a form to send message somewhere else unless u got php file of master and its connected to that function.

  3. #3
    Valued Member barak1991 is offline
    MemberRank
    Jun 2013 Join Date
    146Posts

    Re: Send a public message ingame from PHP

    Quote Originally Posted by 4FUNer View Post
    the file responsible for sending msg is attached on 1st page

    Attached Files

    File Type: zip shout.zip (1.3 KB, 949 views)

    all u have to do is modify msg inside, or code a form to send message somewhere else unless u got php file of master and its connected to that function.
    dude.. did you read what i've wrote? i already have the shout.php file... but i need the form to send it via my website.
    master's was uploaded it but the link's are dead....
    any help?

  4. #4
    Alpha Member 2009x2014 is offline
    MemberRank
    Dec 2009 Join Date
    2,765Posts

    Re: Send a public message ingame from PHP

    Quote Originally Posted by barak1991 View Post
    dude.. you have read what i've wrote? i already have the shout.php file... but i need the form to send it via my website.
    master's link's are dead....
    any help?
    im not dude that's first
    second it is complete answer but seems terms "php/html" are black magic for you

    shout.php
    Code:
    // send_msg("127.0.0.1", "55970", $msg); <- remove //
    send_msg("127.0.0.1", "55970", "Insert your text here. It can fit in one message up to here."); <- DELETE or COMMENT OUT
    add after <?php tag following line
    Code:
    $msg = $_GET['msg'];
    Then usage = shout.php?msg=MESSAGE


    or by form like (wait 1 min lemme write)

    ok

    (example of form, rest like requirment, style do ur self :]]] )

    form lets say shout.html
    Code:
    		<table align="center" style="background-color: #000000; margin-top:150px; border: 1px solid; width:150px;">
    		<form method="get" action="shout.php">
    		<tr>
    		<td><input type="text" id="msg" name="msg" maxlength="35" size="35"></td>
    		</tr>
    		<tr>
    		<td align="center"><input type="submit" value="SEND"></td>
    		</tr>
    		</table>
    so when u visit http://localhost/shout.html it will send submitted message using shout.php located on the main directory of ur web

    HF

  5. #5
    Valued Member barak1991 is offline
    MemberRank
    Jun 2013 Join Date
    146Posts

    Re: Send a public message ingame from PHP

    Quote Originally Posted by 4FUNer View Post
    im not dude that's first
    second it is complete answer but seems terms "php/html" are black magic for you

    shout.php
    Code:
    // send_msg("127.0.0.1", "55970", $msg); <- remove //
    send_msg("127.0.0.1", "55970", "Insert your text here. It can fit in one message up to here."); <- DELETE or COMMENT OUT
    add after <?php tag following line
    Code:
    $msg = $_GET['msg'];
    Then usage = shout.php?msg=MESSAGE


    or by form like (wait 1 min lemme write)

    ok

    (example of form, rest like requirment, style do ur self :]]] )

    form lets say shout.html
    Code:
            <table align="center" style="background-color: #000000; margin-top:150px; border: 1px solid; width:150px;">
            <form method="get" action="shout.php">
            <tr>
            <td><input type="text" id="msg" name="msg" maxlength="35" size="35"></td>
            </tr>
            <tr>
            <td align="center"><input type="submit" value="SEND"></td>
            </tr>
            </table>
    so when u visit http://localhost/shout.html it will send submitted message using shout.php located on the main directory of ur web

    HF
    mhmm it's aint work for me i've try that but is gives me empty page, dunno why,
    maybe you can help me via skype? or smthing?

  6. #6
    Alpha Member 2009x2014 is offline
    MemberRank
    Dec 2009 Join Date
    2,765Posts

    Re: Send a public message ingame from PHP

    Quote Originally Posted by barak1991 View Post
    mhmm it's aint work for me i've try that but is gives me empty page, dunno why,
    maybe you can help me via skype? or smthing?
    shout.php gives 2 type of results

    a) blank (shout.php?msg=XXXXXXXX) = MSG SENT (check in-game)

    b) No access to the Joinserver or Server is down. (edit default ip/port 127.0.0.1", "55970",)

    so u did somth wrong while editing file.

    i don't help by skype gl

  7. #7
    Valued Member barak1991 is offline
    MemberRank
    Jun 2013 Join Date
    146Posts

    Re: Send a public message ingame from PHP

    Quote Originally Posted by 4FUNer View Post
    shout.php gives 2 type of results

    a) blank (shout.php?msg=XXXXXXXX) = MSG SENT (check in-game)

    b) No access to the Joinserver or Server is down. (edit default ip/port 127.0.0.1", "55970",)

    so u did somth wrong while editing file.

    i don't help by skype gl
    that give me blank page, but the message doesnt send to game -.-
    what should i do ?

  8. #8
    Alpha Member 2009x2014 is offline
    MemberRank
    Dec 2009 Join Date
    2,765Posts

    Re: Send a public message ingame from PHP

    Download omg.rar from Sendspace.com - send big files the easy way

    download -> unpack -> paste/upload on main directory of ur web

    visit localhost/shout.html

    or server.com/shout.html

    & test

    will be like i said above
    a) or b)

    if b) edit ur ip port

  9. #9
    Valued Member barak1991 is offline
    MemberRank
    Jun 2013 Join Date
    146Posts

    Re: Send a public message ingame from PHP

    Quote Originally Posted by 4FUNer View Post
    Download omg.rar from Sendspace.com - send big files the easy way

    download -> unpack -> paste/upload on main directory of ur web

    visit localhost/shout.html

    or server.com/shout.html

    & test

    will be like i said above
    a) or b)

    if b) edit ur ip port
    it's still not working, i write smthing and then i get blank page, but the messages doesn't appear in game. any ideas?

  10. #10
    Alpha Member 2009x2014 is offline
    MemberRank
    Dec 2009 Join Date
    2,765Posts

    Re: Send a public message ingame from PHP

    Quote Originally Posted by barak1991 View Post
    it's still not working, i write smthing and then i get blank page, but the messages doesn't appear in game. any ideas?
    i tested on 0.74 & s6 and it works

    a) ur doing somth wrong
    b) ur js doesnt work correctly with shout.php

    check ur joinserver for error log & recode shout.php to work if somth is wrong, (no i wont help)

    GL

  11. #11
    Valued Member barak1991 is offline
    MemberRank
    Jun 2013 Join Date
    146Posts

    Re: Send a public message ingame from PHP

    Quote Originally Posted by 4FUNer View Post
    i tested on 0.74 & s6 and it works

    a) ur doing somth wrong
    b) ur js doesnt work correctly with shout.php

    check ur joinserver for error log & recode shout.php to work if somth is wrong, (no i wont help)

    GL
    here a print screen from my login server:




    how can i fix it ? i use season 1 files
    Last edited by barak1991; 27-11-13 at 11:22 PM.

  12. #12
    Valued Member barak1991 is offline
    MemberRank
    Jun 2013 Join Date
    146Posts

    Re: Send a public message ingame from PHP

    can i get help guys????????? really i need that...... any help??

  13. #13
    Valued Member barak1991 is offline
    MemberRank
    Jun 2013 Join Date
    146Posts

    Re: Send a public message ingame from PHP

    bump...

  14. #14
    Valued Member sighteyes is offline
    MemberRank
    Oct 2013 Join Date
    koreaLocation
    145Posts

    Re: Send a public message ingame from PHP

    sir martin already gave the guide...

  15. #15
    Valued Member sighteyes is offline
    MemberRank
    Oct 2013 Join Date
    koreaLocation
    145Posts

    Re: Send a public message ingame from PHP

    yawn2.jpgyawn.jpg

    Its very clear that sir martin guide works

  16. #16
    Alpha Member 2009x2014 is offline
    MemberRank
    Dec 2009 Join Date
    2,765Posts

    Re: Send a public message ingame from PHP

    Quote Originally Posted by sighteyes View Post
    yawn2.jpgyawn.jpg

    Its very clear that sir martin guide works
    It wont work on diff struct js, thats why he get errors, but im not going to help a person who doesnt care to say thanks
    so let him wait for others.

  17. #17
    Valued Member sighteyes is offline
    MemberRank
    Oct 2013 Join Date
    koreaLocation
    145Posts

    Re: Send a public message ingame from PHP

    Quote Originally Posted by 4FUNer View Post
    It wont work on diff struct js, thats why he get errors, but im not going to help a person who doesnt care to say thanks
    so let him wait for others.
    Maybe you can share it with sir martin :D LoL i like that script

  18. #18
    Valued Member barak1991 is offline
    MemberRank
    Jun 2013 Join Date
    146Posts

    Re: Send a public message ingame from PHP

    Quote Originally Posted by sighteyes View Post
    yawn2.jpgyawn.jpg

    Its very clear that sir martin guide works
    Quote Originally Posted by 4FUNer View Post
    It wont work on diff struct js, thats why he get errors, but im not going to help a person who doesnt care to say thanks
    so let him wait for others.
    sorry if i forgot to say thanks, i will appreciate it if you could help me with that, this is the error from js (i use edataservers):


  19. #19
    Valued Member sighteyes is offline
    MemberRank
    Oct 2013 Join Date
    koreaLocation
    145Posts

    Re: Send a public message ingame from PHP

    by the sir martin hhmmm.. why it gives some error..
    header error and socket header error .. thanks in advance

  20. #20
    Valued Member barak1991 is offline
    MemberRank
    Jun 2013 Join Date
    146Posts

    Re: Send a public message ingame from PHP

    bump..

  21. #21
    Valued Member barak1991 is offline
    MemberRank
    Jun 2013 Join Date
    146Posts

    Re: Send a public message ingame from PHP

    help please????! someone?!

  22. #22
    Valued Member barak1991 is offline
    MemberRank
    Jun 2013 Join Date
    146Posts

    Re: Send a public message ingame from PHP

    bump........

  23. #23
    Valued Member barak1991 is offline
    MemberRank
    Jun 2013 Join Date
    146Posts

    Re: Send a public message ingame from PHP

    ?????



Advertisement