-
2 Attachment(s)
Send a public message ingame from PHP
-= Send a message inside the game from the website ==-
While trying to fix the other script i wrote i stumbled upon some packets that send a public message inside the game. Just like the Golden Invasion message (see pic below), so i made a function (this time complete with no bugs :P) that you can put in your website and post messages inside the game.
The page is a standalone. All you have to do is open it with a notepad and edit the last line where it says "Insert your text here. It can fit in one message up to here.". Leave the "".
If you want to make this a page for the GM accounts you have to know a bit of HTML to include it somewhere in the admin pages or a separate form.
Just dont forget that it takes up to around 50 characters. You can use it as many times as you like. There is no limit between messages.
Dont forget if you have this page out in the open anyone can send a message inside the game. Make it a shoutbox if you want. hehe
-Made by Sandbird
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
Nice going with this ;)
MIRROR LINK
PS: As I looked over the script I would like once again to remind every Server Owner to block the JS Port in your firewall (Port 55970)...
-
Re: [Release] Send a public message ingame from PHP
how do u send costum msg??
u have to put it in.....
i try
Code:
http://website.com/shout.php?msg=And put your msg here.
but only come up with the words in php file. i want to post different without going in and change!!
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
kuku
how do u send costum msg??
u have to put it in.....
i try
Code:
http://website.com/shout.php?msg=And put your msg here.
but only come up with the words in php file. i want to post different without going in and change!!
Turn it into a query box, where you type the message, click submit, and it auto displays in the game, not hard.
-
Re: [Release] Send a public message ingame from PHP
omg, now all coders with php will begin creating new things,
nice 10/10 :D
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
What about subservers? If JoinServer works with more than one GameServer? Message will be posted for all subservers?
-
Re: [Release] Send a public message ingame from PHP
i will make it cost by web by real money xD
-
Re: [Release] Send a public message ingame from PHP
Man I love You :) 10/10 and please finish the Disconnect scrip :)
-
2 Attachment(s)
Re: [Release] Send a public message ingame from PHP
Tested and approved .....
10/10
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
not bad ;] 8/10
it works fine! But Shagoon is right, block ur 55970 port if u use this!
-
Re: [Release] Send a public message ingame from PHP
Thank You ;) 10/10
Works with 2 servers ? :)
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
OompaLoompa
Turn it into a query box, where you type the message, click submit, and it auto displays in the game, not hard.
since i don't know anything about php/ i don't know how!
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
kuku
since i don't know anything about php/ i don't know how!
Making a query box and a submit button --> corrisponding to the php is just a standard html procedure,
Heres a tip -
Download Dreamweaver and learn "forms".
a form looks like this :
Quote:
<form method="DEFINE" action="DEFINE" id="shout">
<input type="hidden" value="Submit" name="Submit">
IP Address: <input type="text" name="ip" id="ip" maxlength="20" />
<br />
PORT Number: <input type="text" name="port" id="port" maxlength="5" />
<br />
MESSAGE: <input type="text" name="msg" id="msg" maxlength="50" />
<br />
<br />
<input type="image" name="imageField" src="DEFINE">
</form>
But then ofcourse, you need the php side to go with it, which i'll let you work out for yourself :)
Oh yeah sandbird,
You're making scripts that can connect to other peoples servers, and display whatever you want them too...
Not a cool thing to do...
-
Re: [Release] Send a public message ingame from PHP
Any1 Guide how to use this,
im noob in php
nice release, some1 used it in hacked it in a server im playing, worked pretty well
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
Nice release, and very functional, thank you...
-
Re: [Release] Send a public message ingame from PHP
:) Thanks for that Master
Btw OompaLoompa if anyone has a server with those ports open from outside ips then he is bound to get an attack eventually
YOU ALL HAVE TO CLOSE PORT 55970!!!!!
ps: I seem to have problems connecting to ragezone for the past 2 days...sorry for the delay in my posts. Is anyone else having this problem?
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
sandbird
:) Thanks for that Master
Btw OompaLoompa if anyone has a server with those ports open from outside ips then he is bound to get an attack eventually
YOU ALL HAVE TO CLOSE PORT 55970!!!!!
ps: I seem to have problems connecting to ragezone for the past 2 days...sorry for the delay in my posts. Is anyone else having this problem?
There's hundreds of servers out there, which half of the admins dont even look at ragezone now...
You've made a script that could attack potentially any server out there, unless ofcourse they've looked at this thread and closed the port.
People better hope they closed 55970 when making there server.
-
Re: [Release] Send a public message ingame from PHP
They got worse thing to think about then than just a public message :L
Even better some noob hacker could exploit this to them and they will block that port.
I made this for all those GMs that sit on a pc that has no client and want to say something to the people in the server....not for the hackers...
(Dont kill Einstein, kill the people that made bombs... :P)
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
Actually servers should have all ports blocked by default in the firewall and then have only exceptions for ports that are allowed to be opened (like CS and GS ports)...
-
Re: [Release] Send a public message ingame from PHP
hmmm. Shagoon, i wrote PM for you!
-
Re: [Release] Send a public message ingame from PHP
how post this script automatly evry hour?
-
Re: [Release] Send a public message ingame from PHP
very nice realase man :P thx
-
Re: [Release] Send a public message ingame from PHP
Update: fixed the php at the end...it was missing the ?> (close php)
-
Re: [Release] Send a public message ingame from PHP
Hello.
I cannot get this to work.
it says this error
Fatal error: Call to undefined function: socket_create() in F:\inetpub\test\shout.php on line 59
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
aredulaz
Hello.
I cannot get this to work.
it says this error
Fatal error: Call to undefined function: socket_create() in F:\inetpub\test\shout.php on line 59
You need to allow sockets in your php.ini
Open your php.ini file with Notepad and find this:
Code:
;extension=php_sockets.dll
and change it to this:
Code:
extension=php_sockets.dll
-
Re: [Release] Send a public message ingame from PHP
very creative, hmm i wonder if this can be changed to do other functions, maybe start prgmed events by packet sending? that would be cool cause then admins won't have to go in-game and run some events
-
Re: [Release] Send a public message ingame from PHP
thank you very much shangoon! It worked perfect.!!!
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
RisingKing2010
very creative, hmm i wonder if this can be changed to do other functions, maybe start prgmed events by packet sending? that would be cool cause then admins won't have to go in-game and run some events
I'll look into it...i am about 90% sure i can start all the events in the Joinserver from PHP.
-
Re: [Release] Send a public message ingame from PHP
How to set support other language?
example china - thai - indo
-
Re: [Release] Send a public message ingame from PHP
Message demo ทดสอบภาษาต่างๆ
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
How to set support other language?
example china - thai - indo
MESSAGE demo ทดสอบการพิมข้อความ
translation - test message
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
And if this ports already used for server?
-
Re: [Release] Send a public message ingame from PHP
what happens when you put ทดสอบการพิมข้อความ ?
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
Shagoon
You need to allow sockets in your php.ini
Open your php.ini file with Notepad and find this:
Code:
;extension=php_sockets.dll
and change it to this:
Code:
extension=php_sockets.dll
i wouldn`t have an unexperience person edit "php.ini"
i`d rather tell that person to add
PHP Code:
dl("php_sockets.dll");
in a new line after so php can load that extension for him to play with :)
More here : PHP: dl - Manual
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
sandbird
what happens when you put ทดสอบการพิมข้อความ ?
message show : ทดสอบกา พิมข ความ
some char losss! and miss char
bad eng
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
javaz97 i dont know why its not doing that :/
i think i am gonna need you to do some packet sniffing to see what packet your client is sending and make some modification to the script...do you know how to do that ?
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
sandbird: what about commands messages, which starts from '/' i mean /post, /reload, /disconnect etc? Maybe do you have a needed string?
-
Re: [Release] Send a public message ingame from PHP
i've tried with /post, couldnt get it to work...i dont know about the others. I am still trying on the DC client packets....i've postponed this script for a bit
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
sandbird
i've tried with /post, couldnt get it to work...i dont know about the others. I am still trying on the DC client packets....i've postponed this script for a bit
Ok, thank you. But more interesting admin commands like a Luciano server:
Code:
/gmove <nick> map x y Move player to the specified map at coords. x,y
/chaton <nick> Enable chat for that player
/chatoff <nick> Disable chat for that player
/trace <nick> Warp to the map and coords. of the specified player
/track <nick>
/disconnect <nick> Disconnect a player
/dc <nick>
/pk <nick> Makes PK a player
/pkclear <nick> Clear PK status of the specified player
/fire Showing firecracker effect
/reload 0 = Options
1 = Monster.txt & Monstersetbase.txt
2 = Shops
3 = Events
4 = Misc. options & MY NEW commonserver.cfg options
-
Re: [Release] Send a public message ingame from PHP
The only commands that could be useful to do from PHP is the /reload option and the /dc
All the others can be done from any normal Website.
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
sandbird
The only commands that could be useful to do from PHP is the /reload option and the /dc
All the others can be done from any normal Website.
Lets come some exploits too. Try implement packets for AUTH to JoinServer as a "Remote USER" also you must be LOCAL to send some actions.
For the record, this is totally insecure, i mean i see people using your script for do LAME things, WARN on the first post about block the port 55970.
Thanks.
-
Re: [Release] Send a public message ingame from PHP
Very very good 10/10
Shout.php put the folder administrator and access to file administrator.php, SS result follows:
[IMG]http://img138.imageshack.us/img138/1...eviaphptk6.png[/IMG]
Thanks sandbird
Thanks =Master=
-
Re: [Release] Send a public message ingame from PHP
Hehehe thats what i am saying :) Put the code in some secure page and just block the port.It will work and be secure.
bet0x :Since all these scripts run only from the local webserver (127.0.0.1) and as long as you have the ports blocked, even if i make a script that will fill Lorencia with boks its still secure.
.... Guys i am preparing something that will blow your mind :P (cant say yet, dont ask)
-
Re: [Release] Send a public message ingame from PHP
sandbird you are the best!
-
Re: [Release] Send a public message ingame from PHP
hey this script found in version 99b+???
-
Re: [Release] Send a public message ingame from PHP
I think yes, whoever you can try.
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
sonic_2
hey this script found in version 99b+???
roflmao
-
Re: [Release] Send a public message ingame from PHP
very thx!!!
i use to code for 'SMS' Services (members send msg from sms to game)
can you write a code to make the text green?
-
Re: [Release] Send a public message ingame from PHP
Nice one sandbird i modified ur code a bit and it works perfect
-
Re: [Release] Send a public message ingame from PHP
I dont think the text can be done in green...cool about the sms thing. I am making something similar that includes that feature.
-
Re: [Release] Send a public message ingame from PHP
I can't use this script and i don't know why :(... If i try to use it i get this error "
Fatal error: Call to undefined function socket_create() in C:\Program Files\EasyPHP 2.0b1\www\index.php on line 59" can someone help me?
-
Re: [Release] Send a public message ingame from PHP
shout box it means..even a normal player only can send a message..
in left upperside of the screen?
how about to send the message in game in center of the screen
-
Re: [Release] Send a public message ingame from PHP
Damian_1993 open your PHP.ini and find a value called php_sockets.dll and remove the ; infront of it. Then restart your apache server. It will work.
Waif...it does send this in the center of the screen, not the left side.
I've found also the value to send it on the left side, but it works only at the login screen at the character selection screen....which is useless there :P
-
Re: [Release] Send a public message ingame from PHP
can someone reupload =Master= ' s shout.php ? .
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
Polli18
can someone reupload =Master= ' s shout.php ? .
yea, pls reupload it, i realy need it :/
Thanks in advance ;]
-
Re: [Release] Send a public message ingame from PHP
I don't understand why do you say to block port 55970? There is no reason to let it open and in fact, if someone don't close the port, I don't think sending some messages is his main problem :)
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
XyXeL
I don't understand why do you say to block port 55970? There is no reason to let it open and in fact, if someone don't close the port, I don't think sending some messages is his main problem :)
Because some "hackers" could take this script change the ip to yours and send messages ingame to your server...
Do you understand now?
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
harghita
Because some "hackers" could take this script change the ip to yours and send messages ingame to your server...
Do you understand now?
lol :)) learn english,he said there is no reason to let it open :)) and he is 100% right,if you let it opened than your server is over!
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
[RCZ]ShadowKing
lol :)) learn english,he said there is no reason to let it open :)) and he is 100% right,if you let it opened than your server is over!
Okay, my mistake, even you may wrong sometimes ... everybody makes mistakes ...
And i know enough english so that i can handle.
-
Re: [Release] Send a public message ingame from PHP
Very useful script, thank you! People who have bugs with Golden Invasion message, can use this script via php-cli on a schedule to get Invasion messages work.
-
Re: [Release] Send a public message ingame from PHP
Quote:
Originally Posted by
=Master=
i need this please somebody upload it again
-
1 Attachment(s)
Re: [Release] Send a public message ingame from PHP
@andutu: Download the file attached.
-
Re: [Release] Send a public message ingame from PHP
omg you have read what do i need i have that file but i need the file where can i enter the message text and with an submit button
like this
Quote:
Originally Posted by
claudio
-
Re: Send a public message ingame from PHP
not works for me! can someone help me ?!
-
Re: Send a public message ingame from PHP
it's doesnt work for me, i get the following errors:
http://up402.siz.co.il/up3/j1yi54mam2tz.png
can anyone help me with that ????
-
Re: Send a public message ingame from PHP
you should allow JoinServer port on Firewall, but won't be secure, cause some others can be send global message your server too ,
and I know some peoples made their web panel with this script for hack someone ^_^
-
Re: Send a public message ingame from PHP
Easy to be more secure by create a two-site
1. Hosting site => You can login or something then post from here
2. Server site => Receive hosting message (include post contents) then send the post to Join Server, and you can allow only Hosting IP can access to this site's port
Quote:
Originally Posted by
barak1991
You get wrong code php for post message so packet send wrong format >_<