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

#1 2010-04-12 01:06:03

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

MMORPG is Possible on Current scratch :D!!!!!!!!!

IF U USE THIS ARCHITECTURE PLEASE GIVE CREDITS TO ME CAUSE I WAS THE ONE TO DISCOVER THAT  tongue

The only thing u need other then Scratch is a VPN emulator i will prefer HAMACHI as its fast and furious  big_smile

Well this belongs more to advanced topic but as MESH isnt officially in the current version of scratch so i post it to misc.

Well if you have ever connected more then 3 scratches in a mesh with same variables then u will soon find out that the sensor value for <ANY_VARIABLE> holds the most recently changed Data and this is a loophole cause we can simple give every user a Unique Id and make a script like

||if (ServerDataReciver=Unique ID)
|||X pos = x;
|||Y pos = y;
|||Action = action;
||||||||||||||||

In server and peers we can do
FOREVER-- UNTILL GAME = true
|repeat(no of peers times)/well i guess more then 1 scripts dividing all users will be faster
||change ServerDataReciver by 1;
||replace(ServerDataReciver) of List Xs by X pos;
||replace(ServerDataReciver) of List Ys by Y pos;
||replace(ServerDataReciver) of List Actions by Action;
|||||||||

Thus each and everthing will contain a data of all users connected with server it can also contain Data of User as his score and other information . well i am uploading a scratch project today called chatterbox v0.01 which allows u to make As many room servers u want but u need to register your Hamachi server over here so that people can join your mesh btw its just a basic explainatory architecture so i would love if you guyz remix  big_smile
And as soon as i get the Server for DG WORLD MMORPG it will be launched along with a lot of cool new features .

chatbox(too basic version - read notes)  http://scratch.mit.edu/projects/fanofcena/982060



Hope this proves to be handy for you guys
Your Experimental Minded Friend
Fanofcena  big_smile

Last edited by fanofcena (2010-04-12 07:59:04)


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#2 2010-04-12 01:29:21

urhungry
Scratcher
Registered: 2009-07-03
Posts: 1000+

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

Rather cool. I tried something like this once, but I gave up. I might give it another go now, once I finish my real time strategy game.

Offline

 

#3 2010-04-12 01:33:38

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

make sure u remix the chatbox launched today  big_smile  its the whole architecture in basic form  big_smile


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#4 2010-04-12 01:36:42

urhungry
Scratcher
Registered: 2009-07-03
Posts: 1000+

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

Ok, if I remember I will.

Offline

 

#5 2010-04-12 07:16:30

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

I thought of this . . . but the whole thing wouldn't work 'cause the moment you get more than ~4 people the game would lag like crazy.


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

#6 2010-04-12 07:27:55

08jackt
Scratcher
Registered: 2007-09-12
Posts: 1000+

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

So trying this.


http://i39.tinypic.com/jgtswi.png

Offline

 

#7 2010-04-12 07:42:31

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

Transfer rate would slow down the more clients there are.

Offline

 

#8 2010-04-12 07:45:58

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

well i tested the chatbox with 41 scratches and the lag was like 41 on xat but that was local connection its secondary version is on now  big_smile 

see ya with the original chatbox tomroow || I redid it to too basic from ma cousins house  tongue

and rhy thats why i said about that

btw
jst try this " use more no of data cachers with more no. of users"
Use the Atomic block with the Sensor jst use it u will get the answer  tongue

well u will get BYOB getting and transferring variables a lot faster then Scratch a huge lot when the script is atomic  tongue

Finally i am a somewhat dedicated to C++ guy now for me on C++ this thing works seemless  tongue  i dunno about scratch i jst want to test  tongue

Last edited by fanofcena (2010-04-12 07:54:08)


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#9 2010-04-12 08:59:44

lonwol
Scratcher
Registered: 2008-11-10
Posts: 1000+

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

Hmmm it would work but it would lag alot.


I host servers for money ya?

Offline

 

#10 2010-04-12 09:42:57

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

Dosent lag with BYOB i jst tested on LAN the algorithm do not even shows a sign of lagging with 8 Byobs ! 4 byobs ran on a single CPU btw!!

Now here is how to reduce lag

MAIN SERVER (1)
Contitnetal Servers (4) || I dunt think we need seperate of North and SOuth america
Regional Servers (1 for each region) and thats done

only main server needs to be a bit GOOD CPU rest can be average CPUs and Main server can contain information like if u login it will relay u to the nearest one  big_smile  for decresed lag  tongue

and Ma RooM idea if som1 remembers it only gets variables from the pplz of the same room for a client scratch so it rmovs lag a bit  tongue


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#11 2010-04-12 09:47:16

Lord-Sprites
Scratcher
Registered: 2010-01-24
Posts: 500+

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

lonwol wrote:

Hmmm it would work but it would lag alot.

If this does work.... Scratch High


http://ls.gd/tzhttp://ls.gd/aghttp://ls.gd/axhttp://ls.gd/tfhttp://ls.gd/lo

Offline

 

#12 2010-04-12 10:00:00

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

LOL it works pal atleast on the C++ coding this works so i guess it must work for Scratch as well cuz it is a fully functional language which lags some basic funtionallity  tongue


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#13 2010-04-13 07:45:26

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

Bump!!!!!


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#14 2010-04-13 08:09:46

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

if som1 wanna test the Chatbox i am online at hamachi

id
darkfanofcena

password

darkfanofcena

Last edited by fanofcena (2010-04-13 08:14:56)


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#15 2010-04-18 05:39:51

Nat_99
Scratcher
Registered: 2009-03-01
Posts: 17

Re: MMORPG is Possible on Current scratch :D!!!!!!!!!

i am making a mmorpg


Honestly. I am pretty cool.  tongue

Offline

 

Board footer