Modern-Empires Posted August 18, 2009 Share Posted August 18, 2009 Please note that i DID not make this but just mearly edited and made more options Create File and call it chat.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Create a TEXT file and call it chat.txt (please make sure you set the permissions to 0777) Create File and call it w.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Open Prefrences: ADD You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I added this under the pic change case ADD You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. It is upto you where you add this in your preferences ADD You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i put this right at the bottem of the page above You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Save that page, now all you need to do is run the SQL and you are on your way You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And thats it.... Quote Link to comment Share on other sites More sharing options...
chicka Posted August 18, 2009 Share Posted August 18, 2009 Re: [V2] Chat correct me if i'm wrong but aren't chat rooms like this a hackers dream? wouldn't it be easier and safer to use something like irc chat? Quote Link to comment Share on other sites More sharing options...
Modern-Empires Posted August 18, 2009 Author Share Posted August 18, 2009 Re: [V2] Chat yeah it is normally but this chat is safe from it, and alot of people dont like IRC, i dont lol, plus IRC aint really intergrated with the game where this one is Quote Link to comment Share on other sites More sharing options...
Voice4Vision Posted August 18, 2009 Share Posted August 18, 2009 Re: [V2] Chat If you did not make this, could you please post a link to the author, as well as include copyright notices for the author's sake. Thank you, Voice4Vision Quote Link to comment Share on other sites More sharing options...
SMOKEY_TEK Posted August 18, 2009 Share Posted August 18, 2009 Re: [V2] Chat I found a slight typo: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Should be this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Avatar is kinda confusing to people probably, so I changed it to Font Color... lol Quote Link to comment Share on other sites More sharing options...
Modern-Empires Posted August 19, 2009 Author Share Posted August 19, 2009 Re: [V2] Chat ok thanks for that, probs wasnt thinking when i made it lol Quote Link to comment Share on other sites More sharing options...
Duke Sunday Posted August 19, 2009 Share Posted August 19, 2009 Re: [V2] Chat yeah it is normally but this chat is safe from it, and alot of people dont like IRC, i dont lol, plus IRC aint really intergrated with the game where this one is very true but i am inclined to prefer IRC its much better i feel Quote Link to comment Share on other sites More sharing options...
Modern-Empires Posted August 19, 2009 Author Share Posted August 19, 2009 Re: [V2] Chat If you did not make this, could you please post a link to the author, as well as include copyright notices for the author's sake. Thank you, Voice4Vision i would put the auther down but i dont know who made it, sorry to whoever made it, i Quote Link to comment Share on other sites More sharing options...
rulerofzu Posted August 20, 2009 Share Posted August 20, 2009 Re: [V2] Chat Search chat in the free mods you will find this posted several times. I believe it was coded by Eternal and then rewritten by a few others. (if thats the other way around heyho) Also if you look there is a mysql version rather than txt file version which works much better. The code posted here the users online doesnt work as there is nothing writing to the who.txt file :wink: Quote Link to comment Share on other sites More sharing options...
Modern-Empires Posted August 20, 2009 Author Share Posted August 20, 2009 Re: [V2] Chat Also if you look there is a mysql version rather than txt file version which works much better. using mysql version will make the game more prone to hackers Quote Link to comment Share on other sites More sharing options...
rulerofzu Posted August 20, 2009 Share Posted August 20, 2009 Re: [V2] Chat LMAO Hmm from that statement we should use flat txt files for everything then huh. Depends on the coding. Its all in the coding :-P Quote Link to comment Share on other sites More sharing options...
chicka Posted August 20, 2009 Share Posted August 20, 2009 Re: [V2] Chat modern empires says :ok thanks for that, probs wasnt thinking when i made it lol.. Then says: i would put the auther down but i dont know who made it, sorry to whoever made it, i obviously you didn't make this so why would you say you did? And just so you know after talking with a lot of professional coder about this I have come to the conclusion that irc is the way to go. Like I said in my earlier post, This is a hackers dream and makes your game vulnerable. Quote Link to comment Share on other sites More sharing options...
Eternal Posted August 20, 2009 Share Posted August 20, 2009 Re: [V2] Chat lol nice Edits to my script ;) i do have a latest version which will be out soon. including a upload ability for users who have the png image ability. Donators have colored name and font ability. admin chat ban functions eg.. /ban id /unban id options for the game owner to add in special functions eg.... /roll ~ rolls 2 6-sided dice and gets 6 6 /hi $text ~ waves hi to $text /attack id ~ 2 min wait on next attack has to be same city etc.... /your function ~ your output. :) Quote Link to comment Share on other sites More sharing options...
Modern-Empires Posted August 20, 2009 Author Share Posted August 20, 2009 Re: [V2] Chat lol nice Edits to my script ;) i do have a latest version which will be out soon. including a upload ability for users who have the png image ability. Donators have colored name and font ability. admin chat ban functions eg.. /ban id /unban id options for the game owner to add in special functions eg.... /roll ~ rolls 2 6-sided dice and gets 6 6 /hi $text ~ waves hi to $text /attack id ~ 2 min wait on next attack has to be same city etc.... /your function ~ your output. :) the credit for making this mod then goes to you, and thanks, i liked the edits i made, had no trouble at all adding them into the script lol, i dide try addeing the smiles script into it so when you type :) it would show up but i could not get it to work lol, well i look forward to the update mate, thanks for creating this script, now i know who created it i can put it back in the script created by now lol, thanks Quote Link to comment Share on other sites More sharing options...
Modern-Empires Posted August 21, 2009 Author Share Posted August 21, 2009 Re: [V2] Chat PLEASE NOTE if you are using mozilla firefox that the usersonline section is working :P Quote Link to comment Share on other sites More sharing options...
peterisgb Posted April 5, 2013 Share Posted April 5, 2013 does anyone know whats wrong with this, Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted April 5, 2013 Share Posted April 5, 2013 does anyone know whats wrong with this, Badly coded, badly secured, bad code, for a bad engine.. 'nuff said Quote Link to comment Share on other sites More sharing options...
peterisgb Posted April 5, 2013 Share Posted April 5, 2013 i was looking for something the same, but i tried and cant find anything lol. Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted August 29, 2013 Share Posted August 29, 2013 yes it will work for v1. you just need to replace the $db->query with mysql_query, there is a sticky thread with the conversion instructions Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.