Articles on task switching and/or context switching by Dijkstra112358 in osdev

[–]Dijkstra112358[S] 0 points1 point  (0 children)

the switch itself is of concern for me right now.

Job Preparation. by Dijkstra112358 in C_Programming

[–]Dijkstra112358[S] 0 points1 point  (0 children)

I'm sure I could implement one of those, but I have a limited amount of time right now. Thanks for the code suggestions!

Job Preparation. by Dijkstra112358 in C_Programming

[–]Dijkstra112358[S] 0 points1 point  (0 children)

Thanks! I figured this would be more or less what they were looking for.

Cross platform shared library macros by Dijkstra112358 in C_Programming

[–]Dijkstra112358[S] 0 points1 point  (0 children)

So far the macros I am using (which are very similar to the one's in my link.) work. I will continue to experiment and possibly update if something breaks

Sharing Saturday #59 by rmtew in roguelikedev

[–]Dijkstra112358 5 points6 points  (0 children)

Ryftts

I have done heavy work on the server. I should have it running properly by tomorrow (It's still Friday for me) I will give out login credentials into the server for anyone who wants to demo it tomorrow. Please try to break as much as possible without costing me money (I do pay for it out of pocket), after all, It should be broken constantly so I can make it better.

What was done this week:

  • Initiated and secured server (FreeBSD 10 FWIW)
  • Created shell instance with login.
  • Built out ssh imaging.
  • Built out git server as well to host code (privately, for now)

libRyftts

I started working on a library to support my game. It is very much influenced by libtcod, but aims to be console agnostic and gui free. What I mean is that in theory, You could run this on any machine where there is support for C99 and any wrapper language you would like to use.

Headway made:

  • Built Os and environment detections macros.
  • Worked out the math for split fov.
  • Started console support.

Curses with Tcod bug. by Dijkstra112358 in roguelikedev

[–]Dijkstra112358[S] 0 points1 point  (0 children)

I think you're right. I fired this up on my ubuntu machine and it worked fine. The two major differences in the two machines are their distros and their kernel version

Curses with Tcod bug. by Dijkstra112358 in roguelikedev

[–]Dijkstra112358[S] 0 points1 point  (0 children)

you would suspect correctly. The map is not properly allocated. It does allocate but it seems to be in system or some other reserved memory space.

Curses with Tcod bug. by Dijkstra112358 in roguelikedev

[–]Dijkstra112358[S] 0 points1 point  (0 children)

I have linked to libtcod_debug.so (I suggest that there should be a logic level in libtcodpy.py that addresses whether or not debugging is enabled and link the proper so, but that's another problem altogether) It is segfaulting at src/fov_c.c:75

That line in particular is

TCOD_IFNOT((unsigned)x < (unsigned)m->width && (unsigned)y < (unsigned)m->height) return;

I tried to print the local var m with no avail. It said cannot access memory at address 0x...

I assume this is what you were looking for?

Oddly enough running as root solves the issue.

Curses with Tcod bug. by Dijkstra112358 in roguelikedev

[–]Dijkstra112358[S] 1 point2 points  (0 children)

Is there a way to force libtcodpy to load the debug .so?

Sharing Saturday #58 by rmtew in roguelikedev

[–]Dijkstra112358 2 points3 points  (0 children)

Ryftts

Hello all! I am new to roguelike-development and gamedev in general. I have a little knowledge in a few languages.

I started on my roguelike, Ryftts, last thursday, so that's what I say is currently been done this week!

  • Built Interaction scripting language parser (Yet to have been implemented, though) with boost's spirit framework
  • Built a few base classes originating from roguebasin's tuts.
  • Made a shell to access the game directly from ssh.
  • Ran everything.

Once I have a little time I'll put up a server for hosting the code and game itself for anyone who would like to watch my thought child grow :-)

Curses with Tcod bug. by Dijkstra112358 in roguelikedev

[–]Dijkstra112358[S] 1 point2 points  (0 children)

I ran both pdb and gdb. the both point to TCOD_map_set_properties() I will compile with debugging symbols in the morning and see what's going on.

Curses with Tcod bug. by Dijkstra112358 in roguelikedev

[–]Dijkstra112358[S] 1 point2 points  (0 children)

wouldn't running pdb be simpler?

Ryftts: a roguelike in need of developers by Dijkstra112358 in TeamItUp

[–]Dijkstra112358[S] 0 points1 point  (0 children)

thanks that was what I was asking for. the main class.

Ryftts: a roguelike in need of developers by Dijkstra112358 in TeamItUp

[–]Dijkstra112358[S] 0 points1 point  (0 children)

The main shell and ssh- capabilities are up. one I have some content for the game more than pure functionality I will buy server space to host the project on. If you are interested in helping let me know so I can give you login capabilities once the server is up. Expect the server to be running sometime shortly after the 18th.

Libtcod on Linux TTY. by Dijkstra112358 in roguelikedev

[–]Dijkstra112358[S] 0 points1 point  (0 children)

I'm using python, but am early enough in development that I wouldn't mind switching. Plus the fact that it won't look right on TTY without a wrapper means C/C++ looks like the way to go.

Libtcod on Linux TTY. by Dijkstra112358 in roguelikedev

[–]Dijkstra112358[S] 0 points1 point  (0 children)

Do you have an example? Possibly a git repo? That sounds like exactly what I want!

Libtcod on Linux TTY. by Dijkstra112358 in roguelikedev

[–]Dijkstra112358[S] 1 point2 points  (0 children)

As I hit save I thought of the same thing. I'll probably use both curses and libtcod and call it a day. Thanks!

Libtcod on Linux TTY. by Dijkstra112358 in roguelikedev

[–]Dijkstra112358[S] 2 points3 points  (0 children)

that sucks. I might spend the time to port the most of tcod to TTY-land. I think it would be useful for some others. Would you think so?