• Login
  • Register
  • Zoek
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Filebase Entry
  • More Options

ICTscripters

Dé plek voor IT

Dé plek voor IT

Login

Geavanceerde opties
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Dé plek voor IT - ICTscripters
  2. Forum
  3. Games
  4. Criminals & Maffiagames
  5. Uitbreidingen en Overige
  6. Archief
  7. Banditi

Forum

  • Na 15 jaar terug van weggeweest: iCriminals.nl is terug (BETA)!

    Syntax 19 januari 2026 om 09:34
  • Developer Gezocht

    Mikevdk 10 januari 2026 om 18:57
  • Op zoek naar de legends

    Syntax 5 januari 2026 om 13:50
  • [FREE] WeFact Hosting module

    Jeroen.G 13 oktober 2025 om 14:09
  • Help testers nodig voor android app Urgent

    urgentotservices 26 september 2025 om 10:21
  • Versio vervanger

    Jeroen.G 25 augustus 2025 om 15:56
  • Afspraken systeem met planbeperking

    Lijno 1 augustus 2025 om 23:04
  • Partner Gezocht om meerdere NFT Collecties op Open Sea te Plaatsen

    NFT Art Designer 1 maart 2025 om 14:08

Marktplaats

  • 321 Nieuwe Domeinnamen December 2025

    shiga 1 januari 2026 om 10:26
  • Meerdere mafia game template te koop

    Syntax 26 december 2025 om 00:07
  • Van een pixelige afbeelding naar een strakke, moderne website

    Syntax 21 december 2025 om 17:05

Banditi or other like this game chat

  • kutsikas
  • 20 augustus 2015 om 18:37
  • kutsikas
    Beginner
    Berichten
    9
    • 20 augustus 2015 om 18:37
    • #1

    Did anyone have a good normal chat? Not a flash chat!!
    Clock in chat is very important.

    Example: 18:36 Son: whats going on?
    Example: 18:37 Son1: Nothing much.

    I have one chat script but this is not a good. No ban options and not a safe.

    Maybe some one can fix it? I can show it.

    Sorry for bad english and sorry no nenderlands language.

    Bewerkt één keer, laatst door kutsikas: More text (20 augustus 2015 om 19:23).

  • kutsikas
    Beginner
    Berichten
    9
    • 20 augustus 2015 om 19:09
    • #2

    Full chat script. But if anyone can fix it?
    Like ban options and make it safe - please?
    Is it possible?


    PHP: Chat.php
    <?php
    
    
    include("mysql.php");
    
    
    if($_POST['form'])
    {
    	if($_POST['tekst'] == '')
    	{
    		echo "";
    	}
    	 else if($_POST['tekst'] == '/delete')
    
    
           {
    		$fail = fopen('jutt1.txt', 'w');                
    		fwrite($fail, '');
    		fclose($fail);
    	} else
    	{
    		
    		$fail = fopen("jutt1.txt", "a");
        $postname = $_SESSION['login'];
    	$postname = ($data->admin == 1) ? "<b><font color=red>$postname</b>": $postname;
    		
    	    $time = $date[date("w")].date("H:i");
    			
    		fwrite($fail, "|NM|".$time." $postname: ".$_POST['tekst']);
    	}
    }
    ?>
    <table style="padding-top: 0px; margin-top: 0px;" width="99%" id="chat">
    <?php
    $txt = file_get_contents('jutt1.txt');
    $sonumid = explode('|NM|', $txt);
    $msgs = Array();
    for($i=sizeof($sonumid)-1; $i>sizeof($sonumid)-7; $i--)
    {
    	$msgs[] = $sonumid[$i];
    }
    $msgs = array_reverse($msgs);
    $msgs	= str_replace(":D", "<img src=\"images/icon_biggrin.gif\">",  $msgs);
    $msgs = str_replace("fuck", "***", $msgs);
    $msgs = str_replace("<script>", "****", $msgs);
    
    
    
    
    $i = 0;
    foreach($msgs as $msg)
    {
    	if($i == 0)
    	{
    		$i++;
    		echo '<tr border="1px" bgcolor="#FFFFF
    ">';
    	} else
    	{
    		$i--;
    		echo '<tr bgcolor="#dbd2b7">';
    	}
    	?>
    	<td style="padding-left:5"><?=$msg?></td>
    	</tr>
    	<?php
    }
    ?>
    </table>
    <center>
    <form method="POST" style="margin-top: 0px; padding-top: 0px;" name="chatter">
    <input class="input" type="text" name="tekst"/> <input class="button" name="form" type="submit" value="Send">
    </form></center>
    </script>		</div>
    	</td>
    	</tr>
    
    
    	</table>
    	</td>
    Toon Meer
  • Thisguyisgone
    Elite members
    Ontvangen Reacties
    197
    Berichten
    7.880
    • 20 augustus 2015 om 21:25
    • #3

    It is possible, but for custom jobs, I think nobody will do this for free. Do you have a budget?

  • kutsikas
    Beginner
    Berichten
    9
    • 20 augustus 2015 om 21:53
    • #4

    How much its cost? I think other people need a normal chat in game. Not a pointless flash chat "sorry i don't like flash" chat.

    All letters must be work in chat: abc, öäü :)

    Maybe my scripts help a little bit....

    Bewerkt één keer, laatst door kutsikas (20 augustus 2015 om 22:05).

  • Thisguyisgone
    Elite members
    Ontvangen Reacties
    197
    Berichten
    7.880
    • 20 augustus 2015 om 23:25
    • #5

    What exactly do you want? You can have a chat with real time chat, or just PHP. It is up to you how much options you want on it. If you give me a list, I will give you my price.

  • kutsikas
    Beginner
    Berichten
    9
    • 21 augustus 2015 om 09:31
    • #6

    Like i show my chat.php - it working. I use it in a game. But this is not a good.

    If i write chat <script> - this fucked chat up.

    1. I want ban options - if user is muted he must be see like this text: You are muted in 24 hour or something like that.
    2. And i want block html codes in chat like <script>.

    My chat is php chat still php chat....!!??
    Use it my chat in game and you see it! :)

    My chat looks like this: http://prntscr.com/874yph
    Like i say i want ban options and block html codes.

    Maybe you are better idea?


    What you think about that price?

    Bewerkt één keer, laatst door kutsikas (21 augustus 2015 om 09:51).

  • kutsikas
    Beginner
    Berichten
    9
    • 21 augustus 2015 om 12:02
    • #7

    So anyone understand and do it? :)

  • Reza
    Professional
    Ontvangen Reacties
    13
    Berichten
    1.536
    • 21 augustus 2015 om 14:36
    • #8

    You can contact me and I will see what I can do for you. Please keep in mind that I won't do the job for only €5,-, if you don't have the budget you can look for other options like free AJAX based chats

    Met vriendelijke groet,
    Reza.

  • FangorN
    Professional
    Ontvangen Reacties
    196
    Articles
    2
    Berichten
    737
    • 21 augustus 2015 om 17:17
    • #9

    If you have tags like <script> and HTML breaking your application this means you are not escaping output.

    Also, if you want to have access to a more exotic range of characters this means your entire application must be able to handle UTF-8 or a similar character encoding.

    Given the sample you posted on the first page, I think it is better to completely rewrite this, I am not sure if a file-based approach is a good idea, it is probably better to use a database for storing data.

    And then there is the way HTTP works: this is a request-response chess game. It is probably not the best protocol for something like a chat to begin with. You will need to have some kind of polling mechanism which checks if there are new messages unless you fancy refreshing your webpage manually all the time.

    I mean, have you considered IRC? This is a protocol specifically designed for chat. Or other technologies which also might be better suited for chat than HTML, for that matter.

  • kutsikas
    Beginner
    Berichten
    9
    • 21 augustus 2015 om 20:22
    • #10

    I think it is better to completely rewrite this - Maybe yeah! But who do it? :)
    What IRC mean?
    will need to have some kind of polling mechanism which checks if there are new messages unless you fancy refreshing your webpage manually all the time - Very good point.
    it is probably better to use a database for storing data. +1


    in principle i need chat who works banditi game or maffianextkill game or like that and its must be look nice. Like my chat but this codering is bullshit! :)

    I hope that eventually we will find a solution with anyone.

  • Thisguyisgone
    Elite members
    Ontvangen Reacties
    197
    Berichten
    7.880
    • 22 augustus 2015 om 00:10
    • #11

    TS has been helped.

  • mica-
    Student
    Ontvangen Reacties
    10
    Berichten
    111
    • 4 oktober 2015 om 21:30
    • #12

    I can convert it into your source but this won't be for free i'm afraid, i can also change the dates to show a date and not something like * hours ago..
    This chat application is Ajax based and will show you new massages if your recipent replies without any refresh needed.

    Mafiasource on Github

    Bewerkt 2 keer, laatst door mica- (4 oktober 2015 om 21:42).

  • Thisguyisgone
    Elite members
    Ontvangen Reacties
    197
    Berichten
    7.880
    • 4 oktober 2015 om 21:47
    • #13

    Zoals je ziet heb ik TS al beholpen/

  • mica-
    Student
    Ontvangen Reacties
    10
    Berichten
    111
    • 4 oktober 2015 om 22:50
    • #14

    Thanks, sorry zal in het vervolg beter opletten.

    Mafiasource on Github

Participate now!

Heb je nog geen account? Registreer je nu en word deel van onze community!

Maak een account aan Login

ICT Nieuws

  • Fijne feestdagen

    tcbhome 28 december 2025 om 13:55
  • Kritieke update voor Really Simple Security-plug-in

    K.Rens 16 november 2024 om 16:12
  • ING Nederland streeft naar ondersteuning van Google Pay tegen eind februari

    K.Rens 2 november 2024 om 16:09

Blogs

  • Functioneel ontwerp

    Dees 28 december 2014 om 12:38
  • Access Control List implementatie in PHP/MySQL - deel 1/2

    FangorN 28 december 2018 om 12:35
  • Access Control List implementatie in PHP/MySQL - deel 2/2

    FangorN 29 december 2018 om 12:37
  1. Marktplaats
  2. Design
  3. Voorwaarden
  4. Ons team
  5. Leden
  6. Geschiedenis
  7. Regels
  8. Links
  9. Privacy Policy
ICTscripters ©2005 - 2026 , goedkope hosting door DiMoWeb.com, BE0558.915.582
Sponsors: Beste kattenhotel provincie Antwerpen | Beste Zetes eid kaartlezer webshop
Style: Nexus by cls-design
Stylename
Nexus
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design