• Inloggen
  • Registreer
  • Zoeken
Dit topic
  • Overal
  • Dit topic
  • Dit forum
  • Artikelen
  • Pagina's
  • Forum
  • Downloads
  • Meer opties

ICTscripters

Dé plek voor IT

Dé plek voor IT

Aanmelden

Geavanceerde opties
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Onopgeloste topics
  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
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Onopgeloste topics
  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
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Onopgeloste topics
  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
  1. Dé plek voor IT - ICTscripters
  2. Forum
  3. Games
  4. Criminals & Maffiagames
  5. Uitbreidingen en Overige
  6. Archief
  7. Banditi

Forum

  • Crime Club volledig herschreven vanaf nul

    frio 18 oktober 2026 om 10:47
  • Port Father: beta van een browsergame in Antwerpen 1931, feedback welkom

    Syntax 14 oktober 2026 om 16:04
  • Maffia Hotel: een browsergame waarin je van lobbygast naar spil van het hotel groeit

    Luc 13 oktober 2026 om 21:31
  • Herkent deze Notion-structuurscan echte problemen?

    FreelanceAP 6 oktober 2026 om 16:48
  • 🚀 WE ZOEKEN TESTERS! 🚀

    Servertjee 3 oktober 2026 om 10:56
  • Luchtvaartsoftware: Hoe technologie de moderne luchtvaart verandert

    saggy2829 30 september 2026 om 19:31
  • Hoe gebruiken jullie WhatsApp voor marketing en klantopvolging?

    aiqanobzfsej5 29 september 2026 om 12:55
  • [PROJECT] Gamekeuring.nl - Hét onafhankelijke keuringsplatform voor maffiagames & RPG's!

    frio 22 september 2026 om 16:40

Marktplaats

  • [TE KOOP] Likeboost24.nl: complete SMM-webshop met eigen merk, volautomatische levering en betalen op de eigen pagina

    Jeroen.G 16 oktober 2026 om 14:27
  • Te koop: TuinKlussen.be, een kant-en-klaar platform voor tuinklussen in Vlaanderen en Brussel

    frio 13 oktober 2026 om 21:08
  • Te koop: Port Father, afgewerkt online maffiaspel in PHP/MySQL, klaar voor de Play Store

    frio 11 oktober 2026 om 14:02

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).

  • Gast, wil je besparen op je domeinnamen? (ad)
  • 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>
    Meer tonen
  • Thisguyisgone
    Elite members
    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
    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
    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
    Artikelen
    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
    Berichten
    7.880
    • 22 augustus 2015 om 00:10
    • #11

    TS has been helped.

  • mica-
    Leerling
    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
    Berichten
    7.880
    • 4 oktober 2015 om 21:47
    • #13

    Zoals je ziet heb ik TS al beholpen/

  • mica-
    Leerling
    Berichten
    111
    • 4 oktober 2015 om 22:50
    • #14

    Thanks, sorry zal in het vervolg beter opletten.

    Mafiasource on Github

Registratie

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

Nu registreren Aanmelden

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

Gebruikers die dit topic bekijken

  • 2 Gasten
  1. Marktplaats
  2. Design
  3. Voorwaarden
  4. Ons team
  5. Leden
  6. Geschiedenis
  7. Regels
  8. Links
  9. Privacyverklaring
  10. Contact
ICTscripters ©2005 - 2026 , goedkope hosting door DiMoWeb.com, BE0558.915.582
Sponsors: Beste kattenhotel provincie Antwerpen
Style: Nexus by cls-design
Stylename
Nexus
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design