Stories
Slash Boxes
Comments

SoylentNews is people

Log In

Log In

Create Account  |  Retrieve Password


IRCiv progress

Posted by crutchy on Sunday May 18 2014, @10:00PM (#397)
0 Comments
Code

fixed save/load routines and currently working on refining authentication to allow for smooth bot restart

coming up next (still)... detecting other players within unit/city sight range

====
pushed latest code to github: https://github.com/crutchy-/test
note: irciv.php and irciv_lib.php contain most of the game functionality and can be found in the scripts directory
latest web map demo here: http://irciv.port119.net/?pid=2

join #civ channel in soylent irc to get involved, or use the github source for your own project

more info:
http://wiki.soylentnews.org/wiki/IRCiv
http://wiki.soylentnews.org/wiki/IRC:exec

IRCiv progress

Posted by crutchy on Sunday May 18 2014, @02:59AM (#393)
0 Comments
Code

got fog of war working... thanks to chromas for the idea of using a gd filled circle image :-D

city name and proximity detection also implemented

coming up next... detecting other players within unit/city sight range

====
pushed latest code to github: https://github.com/crutchy-/test
note: irciv.php and irciv_lib.php contain most of the game functionality and can be found in the scripts directory
latest web map demo here: http://irciv.port119.net/?pid=2

join #civ channel in soylent irc to get involved, or use the github source for your own project

more info:
http://wiki.soylentnews.org/wiki/IRCiv
http://wiki.soylentnews.org/wiki/IRC:exec

IRCiv progress

Posted by crutchy on Thursday May 15 2014, @09:54PM (#386)
0 Comments
Code

got basic city building working last night. only settlers can build cities using the "build" or "b" command in irc

city images cover 3x3 terrain tiles, with the reference as the center tile. this will allow big cities to look big on the map.

pushed latest code to github: https://github.com/crutchy-/test
note: irciv.php and irciv_lib.php contain most of the game functionality and can be found in the scripts directory
latest web map demo here: http://irciv.port119.net/?pid=1

coming up next... city building proximity detection, and fog of war implementation

join #civ channel in soylent irc to get involved, or use the github source for your own project

more info:
http://wiki.soylentnews.org/wiki/IRCiv
http://wiki.soylentnews.org/wiki/IRC:exec

Lawyer hunting in NH, help wanted

Posted by NCommander on Wednesday May 14 2014, @11:39PM (#384)
8 Comments
Answers

I realize this is a bit of a longshot, and I don't want to run a QA on the site for this, but does anyone have a lead on a lawyer in New Hampshire to help me through incorporation? I'm also looking for a CPA, but those are relatively easiler to locate.

I've looked at various services such as Harbor Compliance, but they don't seem to be legal help, just document filing services ...

IRCiv progress

Posted by crutchy on Wednesday May 14 2014, @09:57PM (#381)
0 Comments
Code

fixed up some of the map image stuff last night.
thanks to Brylarke for correcting my misconception about png filesize; i incorrectly assumed that gif output would be smaller than png (without testing my assumption), but i was very wrong. png++
painted gridlines on the map if "grid" player flag is set.

when a player moves, the irc bot outputs two URLs; the long one is specific for that instance of the game (for timeline feature to be added later) and the other just shows the latest map image. if you open the latest image URL and move again, you can just refresh the browser and it will update the map. in some (probably most) browsers you can scroll to the area of the map where your units are, and when you refresh the browser will keep that position.

demo here: http://irciv.port119.net/?pid=1

civ2 fans might recognize the map graphics... i won't tell if you don't. if anyone is handy with game graphics, replacement images will be welcome. images are png format with magenta (255,0,255) for transparent regions. have a squiz in the scripts/images directory. i might reduce the unit image down to 48x48 tonight.

pushed to github: https://github.com/crutchy-/test
note: irciv.php and irciv_lib.php contain most of the game functionality and can be found in the scripts directory

coming up next... fixing bug in map_img function (vertical unit image offset is wrong, but i might change the unit image as well), and adding a city to the map :-)

http://wiki.soylentnews.org/wiki/IRCiv
http://wiki.soylentnews.org/wiki/IRC:exec

IRCiv progress

Posted by crutchy on Monday May 12 2014, @09:55PM (#379)
0 Comments
Code

was a bit lazy last night, but instead of fillrect terrain we have terrain images (atm only land and ocean).

website now has a png logo, and players can access their latest map using http://irciv.port119.net/?pid=<player_id>

example: http://irciv.port119.net/?pid=1

haven't pushed to github yet. will do tonight (australian time).

coming up next... playing with the map image generator to get settlers and warriors on the map. wanna try png maps for antialiased layers, as long as the files aren't unreasonably large.

First draft of the SN Manifesto is complete

Posted by NCommander on Monday May 12 2014, @04:07AM (#374)
0 Comments
Soylent

Wooo, that nearly killed me to finish it. It's going living at 20:00 UTC (4PM EST), which is the start of our peak hours. We'll be revising it based on community feedback and if other important points come up as time goes on.

Of course, words means only as much as the actions taken behind them, but I think we've been relatively consistent in meeting the goals I outlined. Here's a small sneak preview for those who read my journal til the whole thing goes live

Statement of Purpose

Our aim is to stand in stalwart opposition to these trends. We will be the best site for independent, not-for-profit journalism on the internet, where ideas and free discussion can take place without external needs overshadowing the community.

IRCiv progress

Posted by crutchy on Thursday May 08 2014, @09:57PM (#367)
0 Comments
Code

have been having some difficulty with my internet connection, so progress has been a bit slower than i would like

set up an apache vhost on my dmz server for the IRCiv website, and coded a little php web app that will allow exec to upload map images to the website using a private key, and displays an image based on a map filename passed in the URL (validated to allow only a alphanumerical chars)

the IRCiv logo is displayed in a gif format (less sexy) on the IRCiv webpage @ http://irciv.port119.net/
thanks to mrbluze for use of his domain and also for some style guidance on the logo

pushed to github: https://github.com/crutchy-/test
note: irciv.php is in scripts directory and contains most of the game functionality

coming up next... making IRCiv upload map images to the website when a player moves

Generic Journal Entry

Posted by The Mighty Buzzard on Wednesday May 07 2014, @01:38PM (#361)
8 Comments
/dev/random

This is a generic journal entry posted entirely so that you can tell me I'm awesome, call me a dick, or impart useful information since SN lacks a messaging feature and I'm not giving out my email address.

IRCiv progress

Posted by crutchy on Tuesday May 06 2014, @01:08PM (#357)
0 Comments
Code

updated unit movement, added settler, got active unit cycling working

made up a simple logo to (eventually) go on the IRCiv website
for now its here: http://wiki.soylentnews.org/wiki/IRCiv

pushed to github: https://github.com/crutchy-/test
note: irciv.php is in scripts directory and contains most of the game functionality

coming up next... building/setting up the IRCiv website (to eventually host player map images)