Intel sponsors gamedev.net search:   
Adventures in Text-modeBy Twisol      
In order of no progress to done: Red, Orange, Yellow, Blue, Light blue, Green, Light green.

Last updated 2/12/09 at 12:01 am PST

Cripes! 2.0 -- See the Class Layout

Arenamatic Code w/ cConsole


Friday, December 22, 2006
So far so good, P16 got the scripting engine going, and I'm working on a TinyXML file parser. Just dropping in for an update.

Comments: 0 - Leave a Comment

Link



Thursday, December 21, 2006
About the title: My math teacher was discussing the origins of the name Lua (Portuguese for Moon), and since Lua is Luna minus the N, he said "Well, Moon minus the N is Moo."

Anyways, with Programmer16's help, I found a tutorial that's up to date with Lua 5.1, so YAY, I've got Lua working. Now I've got to experiment with calls between Lua and C++ (making a calculator as a test project), and then I'll try integrating into Harbinger (that's not for a bit though).

To Programmer16: I was away today, wasn't home at 5 EST, sorry.

Comments: 4 - Leave a Comment

Link



Tuesday, December 19, 2006
Well, Scavenger (on IRC) may/may not be joining Project Harbinger part-time, sinec Programmer16 wants to devote a little more time to Ascension. Meanwhile, I've found a new hobby, which might (read: WILL) make people think I'm crazy, or a loon. Check it out, though, it does make some sense.

On the subject of loons, I'm trying to get into Lua 5.1.1. I'm having MASSIVE trouble getting the luaopen_<some_Lua_lib_here> functions to work, since they have to be pushed onto the Lua stack, then their arguments, then called from the stack. And apparently, when I call, I'm trying to call a nil value. Here's my code, from memory (since I'm on another computer):

lua_State *L = lua_open();

lua_getfield(L, /*<LUA_GLOBALS or whatever it is>*/, "luaopen_io");
lua_pcall(L, 0, 0, 0);



When I check for errors (using a handy function I found on the net), I get a "calling a nil value" or whatever error, so apparently I'm not pushing luaopen_io properly, or using lua_pcall right (but I've tried it every which way). Help would be VERY appreciated...

Comments: 4 - Leave a Comment

Link



Thursday, December 14, 2006
Me and Programmer16 are working on a text adventure together (codename Project Harbinger), and it's very much like WinMUD, except P16 and I made a design doc for it, and we're using XML for the item, room, and monster files. Gotta get to figuring out TinyXML; I tried it once and got confused.

Comments: 5 - Leave a Comment

Link



Tuesday, December 12, 2006
Technically WinMUD is not a MUD, but its the name I gave it when I started, so I'm sticking with it.

Anyways, I've decided to change my to-do list to reflect changed to WinMUD instead of Arenamatic, since the only part of Arenamatic I was really looking forward to (and pleased with) was cConsole. Take a look.

I've finished, for the most part, the Roomset component. It's fairly well-known, or at least I thought it was, that a MUD or similar game is made of three parts: rooms, connections, and entities. And, duh, functionality, but I'm talking about actual parts. So far I have the rooms and connections finished, and I'm working on entities. Now, that doesn't mean I'm almost done; no, I still have the command parser after that, and then I'll have to figure some way of linking (not the compile-and-link sort) them together.

In other news, I got an SVN up. Sooner or later I'll get a link up to it; make it easy for you to look at my progress. I'll be committing my changes every time I get something right, which might be a couple times a day, so when I get the SVN up, watch it.

Also, I set up a new WinXP account exclusively for my programming stuff. I've named it ProGamer RM, kudos to anyone who can figure out why. (if no-one guesses, or comments, I'll say what it is in the next entry)

Gonna work a bit more tonight then head to bed.

Comments: 3 - Leave a Comment

Link



Wednesday, December 6, 2006
Holy geez! It took me HOURS last night to debug cConsole after installing the Platform SDK for VC++ EE. I had to mess with casting LPCSTRs and wchar_t's, and I'm still not sure if it's not working properly.

Lately I've been working on a sort of "text adventure", like a MUD, but one player. I have the room system working, and I'm making the commands system, but I thought it'd be neat to use cConsole for some of it, and one SDK installation and many wasted hours later, all I've managed to do is have a cConsole instance up. -_-

Ugh... G'night.
((Written last night))

EDIT: After reading this over in the light of day, I realized I'm technically doing Project 2 of the C++ Workshop.

Comments: 0 - Leave a Comment

Link


All times are ET (US)

 
S
M
T
W
T
F
S
1
2
3
4
5
7
8
9
10
11
13
15
16
17
18
21
23
24
25
26
27
28
29
30
31

OPTIONS
Track this Journal

 RSS 

ARCHIVES
August, 2009
July, 2009
March, 2009
February, 2009
December, 2008
November, 2008
October, 2008
August, 2008
July, 2008
June, 2008
May, 2008
April, 2008
November, 2007
July, 2007
June, 2007
May, 2007
April, 2007
March, 2007
February, 2007
December, 2006
October, 2006
September, 2006
July, 2006
May, 2006
April, 2006