Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 19:18

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[PHP]Guild Chat

Discussion on [PHP]Guild Chat within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2010
Posts: 514
Received Thanks: 65
[PHP]Guild Chat

So i want to create guild chat in my private server for sfgame . And i don't know how . Can anyone give me tip ? Does i need to save text in database?
szymek111 is offline  
Old 05/02/2014, 13:16   #2
 
elite*gold: 0
Join Date: Feb 2010
Posts: 72
Received Thanks: 32
Try to google up "Websockets". It is a technic for realtime communication, so it is exactly what you need. It also has the advantage that you dont have to reload the site to get up to date with messages. I use it for all my chat applications.

There is no need for a database or files, because it takes all the messages you recive, and sends it to all other connectet clients without writeing it on the hard disk. Of course you CAN record it if you want.

If you dont want to read into this thema, try this website. It looks like it could help you


Oh, btw it is supported from a fu*****ing large part of modern webbrowsers, so you dont have to worry about that.
flogi333 is offline  
Thanks
1 User
Old 05/02/2014, 13:39   #3
 
elite*gold: 0
Join Date: Oct 2010
Posts: 514
Received Thanks: 65
I want to do this like in global server . That message is sent only to guild members not to all people .

Edit@ I tried using fiddler to see what normal server sent . And i discovered that it sent session id
and message . Also when you go to this link you can see your all messages xd.Which are in chat.

But i don't know what is this : random=%2&rnd=7165481591399034655749

PHP Code:
request.php?req=687186g36sQ840Dwq19308r827Gt5B98516lol%3B17&random=%2&rnd=7165481591399034655749 
And when i send message in my private server i got only

PHP Code:
0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0
xdd
szymek111 is offline  
Reply


Similar Threads Similar Threads
2PROBLEMS] guild war, and chat gm-player
08/01/2012 - Metin2 Private Server - 0 Replies
Hello Elite PvPers community, i have 2 problems: 1:My problem is in guild war quest, when i try to join in guild war, it dont teleport me in map of guild war. So i thought the problem was in Map Allow, and i added map in game99, channel1, Channel2 and try war.. but the guild war letter dont work, so i tried to make a npc teleport for guild war map... and it works! I get in the map for 1 second, then i get teleported in map 1... so i think te problem is in guild war quest. I use the server...
[Small Release]Fixed Guild Chat Error!
09/13/2009 - CO2 PServer Guides & Releases - 6 Replies
Do you notice that when you chat(guild chat) with no guild you will get an error in the Console? If you don't experience, then try it, Guild chat with no Guild. Now here's the release: In World.cs find: if (ChatType == 2004) { Char.MyGuild.GuildMessage(Char, Message, To); }
Chat & Guild Chat Farbe ändern
10/29/2007 - RO Exploits, Hacks, Bots & Guides - 14 Replies
Chat & Guild Chat Farbe ändern Also es habe ja schon viele gefragt wie man dies macht, ich habe nun die Antwort ! es ist eigentlich ganz simpel, öffnet mit einem Hex-Editor eure ragexe.exe/sakexe.exe Für Chat Farbe: (es reicht den 1. eintrag den er findet zu ersetzen)
Guild Chat
09/25/2007 - Conquer Online 2 - 1 Replies
I've got an interesting problem going on on my guilds chat channel. Some one is using the guild chad yet there name doen not appear on the guild member list. And there is no know guild branches. It there a hack or something that would allow some one not in the guild the chat in different guilds? Any help figuring this out would be great. Thanx:confused:
SWG Colored Text in Auction/Planetary/Guild chat
11/26/2005 - General Gaming Discussion - 0 Replies
Ever been selling something and there's been too much spam in the acution channel? Make your text stand out a bit more so people can se it easier! First of all here(http://www.w3schools.com/html/html_colornames .asp) is a basic html color pallet. I didn't spend much time searching - this is the first I found on google. Example for typing in planetary: (Red text) '\#ff0000\ Hey! (Hey!) The little " ' " is neccesary for some reason before the first \



All times are GMT +2. The time now is 19:18.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.