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

#1 2011-12-19 18:22:12

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

GemCutter - An MMOTBG

GemCutter is a massively multiplayer online text based game (basically, an MUD) made with Python. It runs on the command line.

Gameplay consists of talking with oddly named and oddly mannered NPCs who will do random things. Some of them will give you a gem if you do something for them, some will steal one of your gems if you can't do what they want, and some will just give you random "words of wisdom."

Here is the link to the latest version:
Removed until I can fix some bugs that Magnie has pointed out!

Keep an eye out for a message in the game that tells you to update your client. Go to the above link to download the latest one.

http://imageflock.com/img/1324341344.png

It is likely that v6 is going to feature trading between players using socket connections!

Have any suggestions or questions? Be sure to post  smile

Last edited by ohaiderstudios (2011-12-20 19:33:27)


Fork Clamor on GitHub!

Offline

 

#2 2011-12-19 18:31:53

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: GemCutter - An MMOTBG

It's good to see that somebody besides me likes writing MUDs. (MultiUser Dungeons)


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#3 2011-12-19 18:39:02

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

Re: GemCutter - An MMOTBG

MUDs are fun. Can't wait to see the program.

Offline

 

#4 2011-12-19 18:40:54

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: GemCutter - An MMOTBG

I know, right  smile


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#5 2011-12-19 18:49:03

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

Re: GemCutter - An MMOTBG

Thanks guys! Now if only my online database provider would fix their server problem, I could release a demo (or more screenshots. the reason I only have one very sparse screenshot is because I can't actually run it without the server)

And yes, this is an MUD, but I like the term MMOTBG for some reason... tongue


Fork Clamor on GitHub!

Offline

 

#6 2011-12-19 18:51:28

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: GemCutter - An MMOTBG

http://www.british-legends.com/ is the first and only MUD i haved played before... i couldn't get it to work in the browser so i used the ancient Telnet program


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#7 2011-12-19 18:54:20

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

Re: GemCutter - An MMOTBG

ALRIGHT!!!!!
The server is back up!!!!  big_smile
Now back to testing...

EDIT: Well...kinda. For some reason the connection keeps getting forcibly closed  hmm

Last edited by ohaiderstudios (2011-12-19 19:00:14)


Fork Clamor on GitHub!

Offline

 

#8 2011-12-19 19:36:47

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

Re: GemCutter - An MMOTBG

new screenshot!
it's really coming along  big_smile


Fork Clamor on GitHub!

Offline

 

#9 2011-12-19 20:22:16

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

Re: GemCutter - An MMOTBG

Release the client! D:  tongue

Offline

 

#10 2011-12-19 21:32:15

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

Re: GemCutter - An MMOTBG

Magnie wrote:

Release the client! D:  tongue

Can't...stupid server
I'm thinking of switching hosts...
Plus the client itself isn't finished yet.

Bottom line, it'll be a day or two


Fork Clamor on GitHub!

Offline

 

#11 2011-12-19 21:42:43

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

Re: GemCutter - An MMOTBG

I am currently using a free MySQL host and the MySQLdb Python library to run GemCutter. However, due to the very spotty uptime that my host has, I'm thinking of getting a shell account and using Telnet to communicate with the server. Any thoughts?


Fork Clamor on GitHub!

Offline

 

#12 2011-12-19 22:45:35

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

Re: GemCutter - An MMOTBG

ohaiderstudios wrote:

I am currently using a free MySQL host and the MySQLdb Python library to run GemCutter. However, due to the very spotty uptime that my host has, I'm thinking of getting a shell account and using Telnet to communicate with the server. Any thoughts?

Instead of MySQL just use arrays or dictionaries to save the data and you can use a module to save them to a file for backups.

Offline

 

#13 2011-12-19 23:33:08

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

Re: GemCutter - An MMOTBG

Magnie wrote:

ohaiderstudios wrote:

I am currently using a free MySQL host and the MySQLdb Python library to run GemCutter. However, due to the very spotty uptime that my host has, I'm thinking of getting a shell account and using Telnet to communicate with the server. Any thoughts?

Instead of MySQL just use arrays or dictionaries to save the data and you can use a module to save them to a file for backups.

Maybe...
My host started working for a few minutes and then went down again.
sad


Fork Clamor on GitHub!

Offline

 

#14 2011-12-20 11:40:35

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

Re: GemCutter - An MMOTBG

Okay, so I think that the way you interact with NPCs is through fighting them in a classic, turn-based battle style. If you win, you gain a gem, but if you lose, they take a gem.


Fork Clamor on GitHub!

Offline

 

#15 2011-12-20 12:11:28

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: GemCutter - An MMOTBG

horizon-host.

Awesome. I use it for my website. (Includes php and sql support)


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#16 2011-12-20 12:17:26

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

Re: GemCutter - An MMOTBG

Zeusking19 wrote:

horizon-host.

Awesome. I use it for my website. (Includes php and sql support)

Maybe...do you know if they support remote MySQL connections?


Fork Clamor on GitHub!

Offline

 

#17 2011-12-20 12:47:50

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

Re: GemCutter - An MMOTBG

http://www.freemysql.net/ may work, what host are you using right now? Or is it the server host you are looking for?

Offline

 

#18 2011-12-20 14:31:21

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

Re: GemCutter - An MMOTBG

Magnie wrote:

http://www.freemysql.net/ may work, what host are you using right now? Or is it the server host you are looking for?

I'm using freemysql.net!  big_smile

I think it's working now...
(checks)
Yep! Online!


Fork Clamor on GitHub!

Offline

 

#19 2011-12-20 15:50:38

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

Re: GemCutter - An MMOTBG

YAY! The battle engine works really well!

But it's hard to win!  wink


Fork Clamor on GitHub!

Offline

 

#20 2011-12-20 18:27:40

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

Re: GemCutter - An MMOTBG

Official release of the first version (v5)!
Check the first post for a link.

Basically, I want to give you all a chance to get your gem collections off to a start before v6, which will contain p2p trading!


Fork Clamor on GitHub!

Offline

 

#21 2011-12-20 19:06:15

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

Re: GemCutter - An MMOTBG

Sweet!

.... Opening link....

WHAT?!?! No viewing the source? Come on...

Edit:
Error: Forcibly Closed Connection ( does that mean the host is down? )

Last edited by Magnie (2011-12-20 19:13:09)

Offline

 

#22 2011-12-20 19:20:12

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

Re: GemCutter - An MMOTBG

Magnie wrote:

Sweet!

.... Opening link....

WHAT?!?! No viewing the source? Come on...

Edit:
Error: Forcibly Closed Connection ( does that mean the host is down? )

I'm sorry about the source, but it has some sensitive information in it (regarding the database)

If you really want to have a peek, I think I can trust you not to tamper with the database (this goes for Magnie ONLY, if you want to look, ask me first)

As for the error, when did you get it? I've never gotten that...
could you post a screenshot?

Last edited by ohaiderstudios (2011-12-20 19:21:55)


Fork Clamor on GitHub!

Offline

 

#23 2011-12-20 19:29:44

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

Re: GemCutter - An MMOTBG

Code:

C:\Users\Admin\Downloads\GemCutter-v5>GemCutter.exe
Welcome to GemCutter v5!
Connecting to server...
What would you like to do? (login/create): create
Username: Magnie
Password:
Confirm:
Creating account...
Logging in...
Greetings, Magnie!
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27
, in <module>
  File "GemCutter.py", line 479, in <module>
NameError: name 'didntlogout' is not defined
Exception _mysql_exceptions.OperationalError: (2013, 'Lost connection to MySQL s
erver during query') in <bound method Cursor.__del__ of <MySQLdb.cursors.Cursor
object at 0x01532E30>> ignored

C:\Users\Admin\Downloads\GemCutter-v5>pause
Press any key to continue . . .

Actually, that is a different error. It had something to do with urllib. It probably meant that it couldn't even access the server.

I suggest using a shell to host the server instead and have the client only send and receive info. So only input and output are used, no "ifs" or anything. Just "Send, Receive, Send, Receive".

Offline

 

#24 2011-12-20 19:34:44

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

Re: GemCutter - An MMOTBG

Magnie wrote:

Code:

C:\Users\Admin\Downloads\GemCutter-v5>GemCutter.exe
Welcome to GemCutter v5!
Connecting to server...
What would you like to do? (login/create): create
Username: Magnie
Password:
Confirm:
Creating account...
Logging in...
Greetings, Magnie!
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27
, in <module>
  File "GemCutter.py", line 479, in <module>
NameError: name 'didntlogout' is not defined
Exception _mysql_exceptions.OperationalError: (2013, 'Lost connection to MySQL s
erver during query') in <bound method Cursor.__del__ of <MySQLdb.cursors.Cursor
object at 0x01532E30>> ignored

C:\Users\Admin\Downloads\GemCutter-v5>pause
Press any key to continue . . .

Actually, that is a different error. It had something to do with urllib. It probably meant that it couldn't even access the server.

I suggest using a shell to host the server instead and have the client only send and receive info. So only input and output are used, no "ifs" or anything. Just "Send, Receive, Send, Receive".

I'm removing the download link until I can see what these errors are all about!


Fork Clamor on GitHub!

Offline

 

#25 2011-12-20 19:38:33

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

Re: GemCutter - An MMOTBG

Magnie, I've looked and I think I see one of the errors that occurred. I fixed it, so now I think you can log in.


Fork Clamor on GitHub!

Offline

 

Board footer