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.
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.
Re: Send a public message ingame from PHP
Quote:
Originally Posted by
4FUNer
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?
Re: Send a public message ingame from PHP
Quote:
Originally Posted by
barak1991
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
Re: Send a public message ingame from PHP
Quote:
Originally Posted by
4FUNer
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?
Re: Send a public message ingame from PHP
Quote:
Originally Posted by
barak1991
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
Re: Send a public message ingame from PHP
Quote:
Originally Posted by
4FUNer
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 ?
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
Re: Send a public message ingame from PHP
Quote:
Originally Posted by
4FUNer
it's still not working, i write smthing and then i get blank page, but the messages doesn't appear in game. any ideas?
Re: Send a public message ingame from PHP
Quote:
Originally Posted by
barak1991
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
Re: Send a public message ingame from PHP
Quote:
Originally Posted by
4FUNer
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:
http://up402.siz.co.il/up3/j1yi54mam2tz.png
how can i fix it ? i use season 1 files
Re: Send a public message ingame from PHP
can i get help guys????????? really i need that...... any help??
Re: Send a public message ingame from PHP
Re: Send a public message ingame from PHP
sir martin already gave the guide...
2 Attachment(s)
Re: Send a public message ingame from PHP
Attachment 141366Attachment 141367
Its very clear that sir martin guide works