Welcome Guest ( Log In | Register)



3 Pages V  < 1 2 3 >  
Closed TopicStart new topic
> A Home Grown Army System
s243a
post Apr 17 2005, 03:58 AM
Post #11


Super Member
*********

Group: Members
Posts: 408
Joined: 7-December 04
From: Nova Scoita, Canada
Member No.: 2,604



The reason to start a new one would be if the old one was needless complex. If a version could be created with, clear, more concise and more general code perhaps it would be easier to upgrade. But if you don’t think a simpler one can be created then I agree, why reinvent the wheel. Maybe the two approaches could be started in parallel and when it was clear the inferior approach could be dropped. With either approach I will learn something.

I think this is the link OpaQue is talking about:
The Link

I just downloaded the code. It looks like there is more there then was installed on the board. You should see some of the additional races, ant, bull_man, there are two different corpses, creeper, devil, dragon, earth monster, there is two different ghosts, to different goblins and that is just the start of it. Of course some of these might be used as sentry equipment like the guard dog. I want a dragon garding my weapons.

This post has been edited by s243a: Apr 17 2005, 04:44 AM
Go to the top of the page
 
+Quote Post
Saint_Michael
post Apr 17 2005, 07:13 AM
Post #12


$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************

Group: [HOSTED]
Posts: 6,793
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
T17 GFX Crew
myCENT:READY[126.30]



and to put more food on the table of problems say that you do one from scratch it will take even longer to fix all the bugs in the system im on tabs of fixing the current sytem and bring to army 3.0 and yeah you need people who are experiance with php and mysql especially due to the major size of the databases that are being used to stor all the infomation need to run the army system.
Go to the top of the page
 
+Quote Post
HoRuS
post Apr 17 2005, 09:45 AM
Post #13


Privileged Member
*********

Group: Members
Posts: 522
Joined: 13-February 05
From: Netherlands
Member No.: 3,745



Sounds good, improving the army system.
Does Invision use same php codes as phpBB? if yes I'll volunteer wink.gif
Go to the top of the page
 
+Quote Post
Johnny
post Apr 17 2005, 09:51 AM
Post #14


[::Boy Wonder::]
***************

Group: Members
Posts: 2,096
Joined: 5-April 05
From: Costa Mesa, CA
Member No.: 5,294
T17 GFX Crew



No BB will share the same coding as another one, especially with one being free and open-sourcy and one not.

BUT, I have had the pleasure of using many different types of BB's, and I can tell you that IPB has coding -similar- to phpBB.
Go to the top of the page
 
+Quote Post
s243a
post Apr 17 2005, 12:30 PM
Post #15


Super Member
*********

Group: Members
Posts: 408
Joined: 7-December 04
From: Nova Scoita, Canada
Member No.: 2,604



I just wanted to add that I started looking at the code of the army system game. I created a thread called understanding the army system code, so that it should be easier for us to work together and figure out the code faster. Although I don’t know PHP, the object formula looks similar to Java, the way the objects are dereference looks like C, the way strings are formed and variables are named looks like Perl. All the control structures (if else etc.) also look like Perl. Therefore it is readable even if you don’t know php.
Go to the top of the page
 
+Quote Post
GM-University
post Apr 17 2005, 01:44 PM
Post #16


Super Member
*********

Group: Members
Posts: 287
Joined: 23-February 05
Member No.: 3,945



QUOTE(hype @ Apr 16 2005, 10:54 PM)
Will ssb allow of modifying his army system??
*


Well, he puts off a fatal error in his code, one which he is perfectly knowing of, I say we have every right to edit it, it IS sort of ope-source anyways.
Go to the top of the page
 
+Quote Post
s243a
post Apr 17 2005, 02:06 PM
Post #17


Super Member
*********

Group: Members
Posts: 408
Joined: 7-December 04
From: Nova Scoita, Canada
Member No.: 2,604



I think my plan is this. The army system is basically simulated in the file army.php. This file defines the class army. I plan to first dissect this file until I understand it toughly then totally revamp it by breaking the class down into several subclasses on several different files. Redundency will be looked for in the code to help figure out what methods might reduce the amount of code. Once this is done the file should look very little like the orginal. It should also be much easier to work on the file as a teem. With the code being broken down into smaller files it will be much easier to track modifications and if OpaQue wants he will be able to accept changes one small file at a time, so he will know that there will be no malicious modifications.

For me this should be easier then starting a afresh because by reading the code it will help me learn PHP. Also there are many other files that take care interfacing to databases and other web communication aspects. With little knowledge of these web technologies I would like to take advantage of what is built then starting afresh.
Go to the top of the page
 
+Quote Post
no9t9
post Apr 17 2005, 02:48 PM
Post #18


Privileged Member
*********

Group: Members
Posts: 773
Joined: 4-November 04
Member No.: 2,118



honestly, developing an army system from scratch is not that hard. Programming it is easy, the real work is actually in laying out the system. And what I mean by that is the rules of the system. I bet if I spent 1 or so weeks full time on the thing, I could get a working prototype from scratch. The problem is that I don't have that kind of time to devote to a project like this.
Go to the top of the page
 
+Quote Post
Johnny
post Apr 17 2005, 05:26 PM
Post #19


[::Boy Wonder::]
***************

Group: Members
Posts: 2,096
Joined: 5-April 05
From: Costa Mesa, CA
Member No.: 5,294
T17 GFX Crew



Hey, if you think you could do it, more power to ya. wink.gif