This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#51 2011-11-25 09:11:39

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: ScratchChat--A global chat program in Panther!

flashgocrazy wrote:

gbear605 wrote:

hello12345678910 wrote:


Do this:
Click on the "Paint a new Sprite" button. Double click on the white square in the center of the screen. click the "Paint a new Sprite" button again, and cancel out of one window. the other window should close also, leaving you with a sprite that can be programed, but not visible in the sprites viewer. you can set its transparence to 99 and hide all the scripts in there.
;]

See, then the problem is, we might as well not release the sourcecode.

why? my suggestion is perfect

No, see, we don't want people seeing database passwords etc.  Thy are set in the source code.  Also, I was responding to hello.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#52 2011-11-25 09:14:48

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: ScratchChat--A global chat program in Panther!

gbear605 wrote:

flashgocrazy wrote:

gbear605 wrote:


See, then the problem is, we might as well not release the sourcecode.

why? my suggestion is perfect

No, see, we don't want people seeing database passwords etc.  Thy are set in the source code.  Also, I was responding to hello.

you can just change the password and stuff in the source code to XXX


◕‿◕

Offline

 

#53 2011-11-25 09:22:49

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: ScratchChat--A global chat program in Panther!

flashgocrazy wrote:

gbear605 wrote:

flashgocrazy wrote:

why? my suggestion is perfect

No, see, we don't want people seeing database passwords etc.  Thy are set in the source code.  Also, I was responding to hello.

you can just change the password and stuff in the source code to XXX

^True^
You could hide it in the source code somehow
Also, I don't think most people would go thru a ton of trouble to obtain a database password. What havoc could they wreck with a database password?

Last edited by hello12345678910 (2011-11-25 09:26:41)


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#54 2011-11-25 09:36:37

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: ScratchChat--A global chat program in Panther!

hello12345678910 wrote:

flashgocrazy wrote:

gbear605 wrote:


No, see, we don't want people seeing database passwords etc.  Thy are set in the source code.  Also, I was responding to hello.

you can just change the password and stuff in the source code to XXX

^True^
You could hide it in the source code somehow
Also, I don't think most people would go thru a ton of trouble to obtain a database password. What havoc could they wreck with a database password?

They could wreck a lot of havoc with a db password, they could mess up the whole system.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#55 2011-11-25 09:39:32

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: ScratchChat--A global chat program in Panther!

gbear605 wrote:

hello12345678910 wrote:

flashgocrazy wrote:


you can just change the password and stuff in the source code to XXX

^True^
You could hide it in the source code somehow
Also, I don't think most people would go thru a ton of trouble to obtain a database password. What havoc could they wreck with a database password?

They could wreck a lot of havoc with a db password, they could mess up the whole system.

I just want to see the scripts, even it causes a error


◕‿◕

Offline

 

#56 2011-11-25 09:47:02

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: ScratchChat--A global chat program in Panther!

gbear605 wrote:

hello12345678910 wrote:

flashgocrazy wrote:


you can just change the password and stuff in the source code to XXX

^True^
You could hide it in the source code somehow
Also, I don't think most people would go thru a ton of trouble to obtain a database password. What havoc could they wreck with a database password?

They could wreck a lot of havoc with a db password, they could mess up the whole system.

That is a lot of havoc XD


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#57 2011-11-25 10:29:15

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: ScratchChat--A global chat program in Panther!

flashgocrazy wrote:

gbear605 wrote:

hello12345678910 wrote:


^True^
You could hide it in the source code somehow
Also, I don't think most people would go thru a ton of trouble to obtain a database password. What havoc could they wreck with a database password?

They could wreck a lot of havoc with a db password, they could mess up the whole system.

I just want to see the scripts, even it causes a error

Oh, ok.  I thought you meant that you wanted the source that could still work  tongue

I'll ask dominic about this.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#58 2011-11-25 10:58:48

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: ScratchChat--A global chat program in Panther!

gbear605 wrote:

flashgocrazy wrote:

gbear605 wrote:


They could wreck a lot of havoc with a db password, they could mess up the whole system.

I just want to see the scripts, even it causes a error

Oh, ok.  I thought you meant that you wanted the source that could still work  tongue

I'll ask dominic about this.

thx man XD


◕‿◕

Offline

 

#59 2011-11-25 13:47:25

Dominic1
Scratcher
Registered: 2009-07-30
Posts: 89

Re: ScratchChat--A global chat program in Panther!

hello12345678910 wrote:

gbear605 wrote:

hello12345678910 wrote:


^True^
You could hide it in the source code somehow
Also, I don't think most people would go thru a ton of trouble to obtain a database password. What havoc could they wreck with a database password?

They could wreck a lot of havoc with a db password, they could mess up the whole system.

That is a lot of havoc XD

Plus, it isn't even my database right now. It's jonnydean's database.


http://i49.tinypic.com/oiwvh5.jpg

Offline

 

#60 2011-11-25 13:59:06

Dominic1
Scratcher
Registered: 2009-07-30
Posts: 89

Re: ScratchChat--A global chat program in Panther!

v1.2 is available (for Windows)! Gbear605 is working on a mac version, hope to release this soon!


http://i49.tinypic.com/oiwvh5.jpg

Offline

 

#61 2011-11-25 14:16:20

Dominic1
Scratcher
Registered: 2009-07-30
Posts: 89

Re: ScratchChat--A global chat program in Panther!

If you want to constantly get all chat messages, just leave iChat running! then, it will always catch messages, even if your not there! I will probably be doing this, so give it a try!


http://i49.tinypic.com/oiwvh5.jpg

Offline

 

#62 2011-11-25 15:01:59

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: ScratchChat--A global chat program in Panther!

Dominic1 wrote:

v1.2 is available (for Windows)! Gbear605 is working on a mac version, hope to release this soon!

Im running it on my mac but I'm not sure if its working properly Lol


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#63 2011-11-25 15:15:08

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: ScratchChat--A global chat program in Panther!

hello12345678910 wrote:

Dominic1 wrote:

v1.2 is available (for Windows)! Gbear605 is working on a mac version, hope to release this soon!

Im running it on my mac but I'm not sure if its working properly Lol

It won't, because there is a userpath variable in it, and it doesn't work.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#64 2011-11-25 15:15:23

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: ScratchChat--A global chat program in Panther!

Dominic1 wrote:

hello12345678910 wrote:

gbear605 wrote:


They could wreck a lot of havoc with a db password, they could mess up the whole system.

That is a lot of havoc XD

Plus, it isn't even my database right now. It's jonnydean's database.

I have an app for that. Not gonna uses it tho.


http://i46.tinypic.com/6yd4c0.png

Offline

 

#65 2011-11-25 15:52:05

Dominic1
Scratcher
Registered: 2009-07-30
Posts: 89

Re: ScratchChat--A global chat program in Panther!

gbear605 wrote:

hello12345678910 wrote:

Dominic1 wrote:

v1.2 is available (for Windows)! Gbear605 is working on a mac version, hope to release this soon!

Im running it on my mac but I'm not sure if its working properly Lol

It won't, because there is a userpath variable in it, and it doesn't work.

If you use windows parallels, it might work... If it takes you to the login part, then its working fine.


http://i49.tinypic.com/oiwvh5.jpg

Offline

 

#66 2011-11-25 15:53:05

Dominic1
Scratcher
Registered: 2009-07-30
Posts: 89

Re: ScratchChat--A global chat program in Panther!

Laternenpfahl wrote:

Dominic1 wrote:

hello12345678910 wrote:

That is a lot of havoc XD

Plus, it isn't even my database right now. It's jonnydean's database.

I have an app for that. Not gonna uses it tho.

app for what?


http://i49.tinypic.com/oiwvh5.jpg

Offline

 

#67 2011-11-25 15:54:30

Dominic1
Scratcher
Registered: 2009-07-30
Posts: 89

Re: ScratchChat--A global chat program in Panther!

If anyone wants to talk to me, set the channel to "dev_chat" and I'll be there for a little


http://i49.tinypic.com/oiwvh5.jpg

Offline

 

#68 2011-11-25 16:46:13

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: ScratchChat--A global chat program in Panther!

Dominic1 wrote:

If anyone wants to talk to me, set the channel to "dev_chat" and I'll be there for a little

removed, due to problem already solved

Last edited by flashgocrazy (2011-11-25 17:12:24)


◕‿◕

Offline

 

#69 2011-11-25 17:04:35

Dominic1
Scratcher
Registered: 2009-07-30
Posts: 89

Re: ScratchChat--A global chat program in Panther!

flashgocrazy wrote:

Dominic1 wrote:

If anyone wants to talk to me, set the channel to "dev_chat" and I'll be there for a little

did you see my post about the source code? here? can you send a link for the source code without all the privavte mysql stuff here? thx on dev chat

Ummm... How am I supposed to upload it?? It's a Panther program!
I'll post a link to the source with certain blocks omitted on the first post.


http://i49.tinypic.com/oiwvh5.jpg

Offline

 

#70 2011-11-25 17:05:53

Dominic1
Scratcher
Registered: 2009-07-30
Posts: 89

Re: ScratchChat--A global chat program in Panther!

Dominic1 wrote:

flashgocrazy wrote:

Dominic1 wrote:

If anyone wants to talk to me, set the channel to "dev_chat" and I'll be there for a little

did you see my post about the source code? here? can you send a link for the source code without all the privavte mysql stuff here? thx on dev chat

Ummm... How am I supposed to upload it?? It's a Panther program!
I'll post a link to the source with certain blocks omitted on the first post.

Source code:
http://dl.dropbox.com/u/48369122/iChat%20Global%20v1.2%20src.pt
Also on first post

Last edited by Dominic1 (2011-11-25 17:06:09)


http://i49.tinypic.com/oiwvh5.jpg

Offline

 

#71 2011-11-25 20:54:03

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: ScratchChat--A global chat program in Panther!

what hosting does escratch.org use?


◕‿◕

Offline

 

#72 2011-11-25 21:02:49

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: ScratchChat--A global chat program in Panther!

flashgocrazy wrote:

what hosting does escratch.org use?

iPage
don't ask me how I know... tongue


Fork Clamor on GitHub!

Offline

 

#73 2011-11-25 21:24:09

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: ScratchChat--A global chat program in Panther!

The reason it doesn't connect to the database is because there are to many people already connected to it. So it either has to do with the web host, or something to do with the coding to connect to the database.

Code:

<b>Warning</b>:  mysql connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User [user info removed] already has more than 'max user connections' active connections in <b>/home/vol5/xtreemhost.com/[user info removed]/htdocs/set.php</b> on line <b>13</b><br />

Offline

 

#74 2011-11-26 09:09:00

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: ScratchChat--A global chat program in Panther!

Dominic1 wrote:

flashgocrazy wrote:

Dominic1 wrote:

Releasing Version 1.1 - go check it out!
I will probably be on the public channel for a while, try it out there!
(The public channel is the default one you start in; channel can be changed in config file)

source code? for panther project

Sorry, There's about a 0.5% chance of me releasing the source code. I need to keep the variables hidden so the chat is private.

sorry to burst your bubble, but I got the source code with all the blocks in it
I found the "modified" version of panther in the exe file
Its practically not modified at all. All you modified was adding the dev menu  tongue


◕‿◕

Offline

 

#75 2011-11-26 09:15:02

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: ScratchChat--A global chat program in Panther!

Magnie wrote:

The reason it doesn't connect to the database is because there are to many people already connected to it. So it either has to do with the web host, or something to do with the coding to connect to the database.

Code:

<b>Warning</b>:  mysql connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User [user info removed] already has more than 'max user connections' active connections in <b>/home/vol5/xtreemhost.com/[user info removed]/htdocs/set.php</b> on line <b>13</b><br />

the coding for the set.php is

Code:

<title>Scratch-Live <?php 
$title = 'Variables';
echo($title);?></title>

<?php 

$SQLhost     = "xxx";
$SQLuser     = "xxx";
$SQLpass     = "xxx";
$SQLdatabase = "xxx";
$SQLtable    = "xxx";

$con = mysql_connect($SQLhost,$SQLuser,$SQLpass);
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
echo "Database Connected";
echo "<br />";
$user  = $_GET["user"];
$pass  = $_GET["pass"]; 
$value = $_GET["value"];

echo $user;
echo "<br />";
echo $pass;
echo "<br />";
echo $value;
echo "<br />";
                        if ($pass == 1)
                                {


$val = strlen($value);
if ($val > 0)
{
    echo "Acting on request";
    $act = "set";
}
else
{
    echo "Getting request";
    $act = "get";
    }
echo "<br />";


//**************************
//******DATABASE STUFF******
//**************************

mysql_select_db($SQLdatabase, $con);

            if(1==0)
                {

                    $sql = "CREATE TABLE" . $SQLtable. "
                    (
                    Username varchar(20),
                    Value varchar(20),
                    )";
                    mysql_query($sql,$con);
                    echo "<br />";
                    echo "Table made";
                    echo "<br />";
            
                }


    $you = "
SELECT * 
FROM Users";
$you4 = $you;

    
          $result = mysql_query($you4)
or die(mysql_error());
$n = 0;
$get = "";
$x = 0;
while($row = mysql_fetch_array($result))
  {
$x = $x + 1;
    $you = $row['Username'];
  if ($you == $user)
{
$n = $x;
if ($act == "get")
{
$get = $row['Value'];
}

}
 }



if ($n==0)
{
$you = "INSERT INTO ";
$you2 = $SQLtable;
$you3 = " (Username, Value)";
$you = $you . $you2 .$you3;
$you2 = ",";
$you3 = ")";
$you4 = "'";
$you5 = " VALUES (";
$query = $you . $you5 . $you4. $user . $you4 . $you2 . $you4. $value. $you4. $you3;
mysql_query($query);
}




                                echo "<br />";
                                echo "\n";




if ($act == "get")
{
echo $get;

}
if ($act == "set")
{


$you = "UPDATE ";
$you2 = $SQLtable;
$you3 = " SET Value = '";
$you = $you . $you2 .$you3 . $value;
$you2 = "' WHERE Username = '";
$you3 = $user;
$you4 = "'";
$query = $you . $you2 . $you3 . $you4; 
mysql_query($query);
echo "Updated";
}
                                }

mysql_close($con);
?>

also XXX is where you enter in the details for mysql


◕‿◕

Offline

 

Board footer