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

#576 2012-08-07 05:55:43

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: Chat.PY and Other Features

@ Magine

Please can you make me some code for a newspaper as I am not going to add it manully I am going to add it by a program (Your going to make) with RSC as it is going to be made in a privet mod and not sure how the interface will be a newspaper or a more like forum topic

@ Magine

At the side there will be a Advert Space were you can have a program project or site/forum added but can you add that to the program (^^)

@ Magine

Also I need a loding thing to let all of this boot up         

To reply to this post comment on one of my projects


http://i49.tinypic.com/2re4ied.png

Offline

 

#577 2012-08-07 10:18:43

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

Re: Chat.PY and Other Features

Well it isn't anymore at least.


Fork Clamor on GitHub!

Offline

 

#578 2012-08-09 02:26:26

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: Chat.PY and Other Features

@ magine

lallaway12 wrote:

@ Magine

Please can you make me some code for a newspaper as I am not going to add it manully I am going to add it by a program (Your going to make) with RSC as it is going to be made in a privet mod and not sure how the interface will be a newspaper or a more like forum topic

@ Magine

At the side there will be a Advert Space were you can have a program project or site/forum added but can you add that to the program (^^)

@ Magine

Also I need a loding thing to let all of this boot up         

To reply to this post comment on one of my projects


http://i49.tinypic.com/2re4ied.png

Offline

 

#579 2012-08-09 08:34:55

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: Chat.PY and Other Features

Magnie wrote:

It's not down?

502 Bad Gateway


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

#580 2012-08-09 10:20:02

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

Re: Chat.PY and Other Features

zippynk wrote:

Magnie wrote:

It's not down?

502 Bad Gateway

The website is, but not the Chat.PY server.  smile

lallaway12: I don't usually do collaborations or [serious] requests (unless I'm paid  tongue ).

Last edited by Magnie (2012-08-09 10:20:40)

Offline

 

#581 2012-08-09 15:17:47

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: Chat.PY and Other Features

Magnie wrote:

zippynk wrote:

Magnie wrote:

It's not down?

502 Bad Gateway

The website is, but not the Chat.PY server.  smile

lallaway12: I don't usually do collaborations or [serious] requests (unless I'm paid  tongue ).

Magine would It be possible to make a comand (Like /Kill ) in a plugin so add it to your plugin server (My Copy).

Do I Need to make a mac and a win or just a win?

What is the broadcast command ( To a other pogram ) can I put like this:


if < (anwser) = (/kill)
stop all
end
Can scratch brodcast to another program? Then I would need something like this:


When I resive [Killv]
Stop all

Here Are the commands I need:

/Kill
/Start
/Add ()
/Add Topic ()


Give me the code above and I will be ready to go!

Dose this need Mesh or RSC?


http://i49.tinypic.com/2re4ied.png

Offline

 

#582 2012-08-09 16:15:30

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

Re: Chat.PY and Other Features

lallaway12 wrote:

Magnie wrote:

zippynk wrote:


502 Bad Gateway

The website is, but not the Chat.PY server.  smile

lallaway12: I don't usually do collaborations or [serious] requests (unless I'm paid  tongue ).

Magine would It be possible to make a comand (Like /Kill ) in a plugin so add it to your plugin server (My Copy).

Do I Need to make a mac and a win or just a win?

What is the broadcast command ( To a other pogram ) can I put like this:


if < (anwser) = (/kill)
stop all
end
Can scratch brodcast to another program? Then I would need something like this:


When I resive [Killv]
Stop all

Here Are the commands I need:

/Kill
/Start
/Add ()
/Add Topic ()


Give me the code above and I will be ready to go!

Dose this need Mesh or RSC?

I'm confused at what you are trying to do.

Offline

 

#583 2012-08-09 16:49:03

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: Chat.PY and Other Features

Magnie wrote:

zippynk wrote:

Magnie wrote:

It's not down?

502 Bad Gateway

The website is, but not the Chat.PY server.  smile

Weird, I can't connect. Maybe it's the internet I'm using (which isn't the usual internet I use).


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

#584 2012-08-10 03:38:55

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: Chat.PY and Other Features

Magnie wrote:

lallaway12 wrote:

Magnie wrote:


The website is, but not the Chat.PY server.  smile

lallaway12: I don't usually do collaborations or [serious] requests (unless I'm paid  tongue ).

Magine would It be possible to make a comand (Like /Kill ) in a plugin so add it to your plugin server (My Copy).

Do I Need to make a mac and a win or just a win?

What is the broadcast command ( To a other pogram ) can I put like this:


if < (anwser) = (/kill)
stop all
end
Can scratch brodcast to another program? Then I would need something like this:


When I resive [Killv]
Stop all

Here Are the commands I need:

/Kill
/Start
/Add ()
/Add Topic ()


Give me the code above and I will be ready to go!

Dose this need Mesh or RSC?

I'm confused at what you are trying to do.

What is the broudcast command?

What is the resive command?

what is the start command?

what is the kill comand?

How do you add something to a list?

How would you delete someting in a list


http://i49.tinypic.com/2re4ied.png

Offline

 

#585 2012-08-10 10:40:07

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

Re: Chat.PY and Other Features

lallaway12 wrote:

Magnie wrote:

lallaway12 wrote:


Magine would It be possible to make a comand (Like /Kill ) in a plugin so add it to your plugin server (My Copy).

Do I Need to make a mac and a win or just a win?

What is the broadcast command ( To a other pogram ) can I put like this:


if < (anwser) = (/kill)
stop all
end
Can scratch brodcast to another program? Then I would need something like this:


When I resive [Killv]
Stop all

Here Are the commands I need:

/Kill
/Start
/Add ()
/Add Topic ()


Give me the code above and I will be ready to go!

Dose this need Mesh or RSC?

I'm confused at what you are trying to do.

What is the broudcast command?

What is the resive command?

what is the start command?

what is the kill comand?

How do you add something to a list?

How would you delete someting in a list

In Python?

Offline

 

#586 2012-08-11 10:49:54

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: Chat.PY and Other Features

Magnie wrote:

lallaway12 wrote:

Magnie wrote:

I'm confused at what you are trying to do.

What is the broudcast command?

What is the resive command?

what is the start command?

what is the kill comand?

How do you add something to a list?

How would you delete someting in a list

In Python?

yes


http://i49.tinypic.com/2re4ied.png

Offline

 

#587 2012-08-11 10:52:15

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: Chat.PY and Other Features

Magnie wrote:

lallaway12 wrote:

Magnie wrote:


I'm confused at what you are trying to do.

What is the broudcast command?

What is the resive command?

what is the start command?

what is the kill comand?

How do you add something to a list?

How would you delete someting in a list

In Python?

yes


http://i49.tinypic.com/2re4ied.png

Offline

 

#588 2012-08-11 13:42:16

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

Re: Chat.PY and Other Features

lallaway12 wrote:

Magnie wrote:

In Python?

yes

What is the broudcast command? -- There is none. Only functions.

What is the resive command? -- Read above.

what is the start command? -- Read above.

what is the kill comand? -- import sys; sys.exit(0)

How do you add something to a list? -- list.append('string')

How would you delete someting in a list? -- list.remove('string') or list.pop(int)

Offline

 

#589 2012-08-11 20:37:09

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

Re: Chat.PY and Other Features

Sneak Peak of Chat.PY 3.0:

-- More secure (in terms of being able to break into the server).
-- You can be in multiple rooms at once. So, like, the TBG and the main scratch channel, and you can send separate messages to both.
-- More stable. (Less crashing/problems)
-- Uses variables and broadcasts. (Should improve the speed of Virtual Space)

Any Chat.PY features you guys would like?

Offline

 

#590 2012-08-12 09:16:14

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: Chat.PY and Other Features

Magnie wrote:

Sneak Peak of Chat.PY 3.0:

-- More secure (in terms of being able to break into the server).
-- You can be in multiple rooms at once. So, like, the TBG and the main scratch channel, and you can send separate messages to both.
-- More stable. (Less crashing/problems)
-- Uses variables and broadcasts. (Should improve the speed of Virtual Space)

Any Chat.PY features you guys would like?


http://i49.tinypic.com/2re4ied.png

Offline

 

#591 2012-08-12 21:00:45

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: Chat.PY and Other Features

Magnie wrote:

Sneak Peak of Chat.PY 3.0:

-- More secure (in terms of being able to break into the server).
-- You can be in multiple rooms at once. So, like, the TBG and the main scratch channel, and you can send separate messages to both.
-- More stable. (Less crashing/problems)
-- Uses variables and broadcasts. (Should improve the speed of Virtual Space)

Any Chat.PY features you guys would like?

Maybe: Anyone can create a room, but they don't show up in the room list unless a global mod creates it, and only a global mod can turn the swear word filter off.

(or something like that)

[because the original worry when only allowing global mods to create rooms was to prevent turning off the swear word filter, if I'm correct]

{also global mods dont really need to be able to turn it off either, there's no reason they would need to}

Last edited by zippynk (2012-08-12 21:02:07)


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

#592 2012-08-13 09:20:36

DigiTechs
Scratcher
Registered: 2011-04-30
Posts: 500+

Re: Chat.PY and Other Features

I think i've found a bug - when you use the auth system - somthing like the username 1 with password 1 -- so you auth as 1 with password 1 and it auths you for some reason - I don't think it's clientside since the client just echoes the response from the user to the server.


I'm back.
Maybe.

Offline

 

#593 2012-08-13 10:21:04

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

Re: Chat.PY and Other Features

zippynk wrote:

Magnie wrote:

Sneak Peak of Chat.PY 3.0:

-- More secure (in terms of being able to break into the server).
-- You can be in multiple rooms at once. So, like, the TBG and the main scratch channel, and you can send separate messages to both.
-- More stable. (Less crashing/problems)
-- Uses variables and broadcasts. (Should improve the speed of Virtual Space)

Any Chat.PY features you guys would like?

Maybe: Anyone can create a room, but they don't show up in the room list unless a global mod creates it, and only a global mod can turn the swear word filter off.

(or something like that)

[because the original worry when only allowing global mods to create rooms was to prevent turning off the swear word filter, if I'm correct]

{also global mods dont really need to be able to turn it off either, there's no reason they would need to}

Yeah, I haven't implemented a restriction on who can create rooms, so technically I already have that "feature" added.  smile

Offline

 

#594 2012-08-13 12:23:25

DigiTechs
Scratcher
Registered: 2011-04-30
Posts: 500+

Re: Chat.PY and Other Features

Hey magnie, I've had an idea - it may slow the server down but it'll be a good idea - the client broadcasts a message called :ping and the server will respond with :pong - and in panther we can do somthing like this:

when gf clicked
set [Latency v] to (1)
forever
  reset timer
  wait until <[:pong v] received?>
  set [Latency v] to (timer)
end
But in normal scratch, we can do somthing like:
when gf clicked
set [Latency v] to (1)
reset timer
when I receive [:pong v]
set [Latency v] to (timer)
reset timer
This would only work after the user has broadcasted :ping (I forgot to add it into scripts.  tongue )
also - what may be better is, if the user broadcasts :ping and the server tells you what your current ping is - it may be better.
In panther i'm also going to compare the local date/time to the server time - index of is very useful.

Last edited by DigiTechs (2012-08-13 12:35:52)


I'm back.
Maybe.

Offline

 

#595 2012-08-13 12:54:00

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

Re: Chat.PY and Other Features

http://blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://imageflock.com/img/1344876589.png
My solution to the problem of latency.


Fork Clamor on GitHub!

Offline

 

#596 2012-08-13 14:26:49

DigiTechs
Scratcher
Registered: 2011-04-30
Posts: 500+

Re: Chat.PY and Other Features

Another bug! It's with the forcekill command - ohaider used it on another instance of the 2.0 chat.py project I was running under the name of 'guestclient' - I couldn't receive messages but I could send them.


I'm back.
Maybe.

Offline

 

#597 2012-08-13 14:36:54

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: Chat.PY and Other Features

Anybody on?


http://i49.tinypic.com/2re4ied.png

Offline

 

#598 2012-08-13 14:56:23

DigiTechs
Scratcher
Registered: 2011-04-30
Posts: 500+

Re: Chat.PY and Other Features

lallaway12 wrote:

Anybody on?

i'm on - and so is ohaider - we were just testing some chatbombs (mine's the spamming kind, his is the disconnecting kind) -- It was his idea, so don't blame me  tongue


I'm back.
Maybe.

Offline

 

#599 2012-08-13 14:56:55

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

Re: Chat.PY and Other Features

Alright, so I accidentally created the room "scratc" when trying to join scratch  roll

I know I can delete rooms, but I'm not sure how. Feel free to delete it or tell me how to delete it.

Also, how do you set the text that is shown when you enter a room?


Fork Clamor on GitHub!

Offline

 

#600 2012-08-13 22:51:37

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: Chat.PY and Other Features

ohaiderstudios wrote:

Alright, so I accidentally created the room "scratc" when trying to join scratch  roll

I know I can delete rooms, but I'm not sure how. Feel free to delete it or tell me how to delete it.

Also, how do you set the text that is shown when you enter a room?

/;/;:del-room room_name
/;/;:set-motd message

EDIT: Del-room isn't working.
Also, what's the room called "danger"?

Last edited by zippynk (2012-08-13 22:54:38)


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

Board footer