IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
3 Pages V  < 1 2 3 >  
Closed TopicStart new topic

A Home Grown Army System


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



Post #11 post Apr 17 2005, 03:58 AM
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
no avatar
$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************
Group: [HOSTED]
Posts: 6,817
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
T17 GFX Crew
myCENT:18.00



Post #12 post Apr 17 2005, 07:13 AM
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
no avatar
Privileged Member
*********
Group: Members
Posts: 522
Joined: 13-February 05
From: Netherlands
Member No.: 3,745



Post #13 post Apr 17 2005, 09:45 AM
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
no avatar
[::Boy Wonder::]
***************
Group: Members
Posts: 2,096
Joined: 5-April 05
From: Costa Mesa, CA
Member No.: 5,294
T17 GFX Crew



Post #14 post Apr 17 2005, 09:51 AM
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
no avatar
Super Member
*********
Group: Members
Posts: 408
Joined: 7-December 04
From: Nova Scoita, Canada
Member No.: 2,604



Post #15 post Apr 17 2005, 12:30 PM
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
no avatar
Super Member
*********
Group: Members
Posts: 287
Joined: 23-February 05
Member No.: 3,945



Post #16 post Apr 17 2005, 01:44 PM
QUOTE(hype @ Apr 16 2005, 10:54 PM)
Will ssb allow of modifying his army system??
[right][snapback]130355[/snapback][/right]

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
no avatar
Super Member
*********
Group: Members
Posts: 408
Joined: 7-December 04
From: Nova Scoita, Canada
Member No.: 2,604



Post #17 post Apr 17 2005, 02:06 PM
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
no avatar
Privileged Member
*********
Group: Members
Posts: 773
Joined: 4-November 04
Member No.: 2,118



Post #18 post Apr 17 2005, 02:48 PM
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
no avatar
[::Boy Wonder::]
***************
Group: Members
Posts: 2,096
Joined: 5-April 05
From: Costa Mesa, CA
Member No.: 5,294
T17 GFX Crew



Post #19 post Apr 17 2005, 05:26 PM
Hey, if you think you could do it, more power to ya. wink.gif
Go to the top of the page
+Quote Post
hype
no avatar
Legend Killer
*********
Group: Members
Posts: 678
Joined: 15-April 05
From: Singapore
Member No.: 5,697



Post #20 post Apr 20 2005, 09:38 AM
QUOTE(GM-University @ Apr 17 2005, 09:44 PM)
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.
[right][snapback]130494[/snapback][/right]


What's the fatal error?
Go to the top of the page
+Quote Post

3 Pages V  < 1 2 3 >
Closed TopicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No new 20 BuffaloHELP 439 19th October 2008 - 01:41 AM
Last post by: BuffaloHELP
No New Posts   1 flashyflashy 742 1st August 2004 - 06:19 AM
Last post by: Florisjuh
No New Posts   2 georgewar 442 6th August 2004 - 03:33 PM
Last post by: Xenon
No New Posts   2 georgewar 383 4th August 2004 - 12:32 PM
Last post by: Spectre
No New Posts   11 wassie 1,391 22nd August 2004 - 11:32 AM
Last post by: wassie
No New Posts   0 DjLuki 906 4th July 2006 - 07:19 AM
Last post by: DjLuki
No New Posts   1 dundun2007 398 3rd September 2004 - 02:24 AM
Last post by: serverph
No New Posts   6 Critical_Impact 437 10th September 2004 - 07:20 PM
Last post by: groentjuh
No New Posts   5 Critical_Impact 396 11th September 2004 - 12:19 AM
Last post by: Critical_Impact
No new 21 googlue 2,008 10th December 2004 - 11:47 AM
Last post by: antitrust
No New Posts   2 Damen 412 3rd March 2008 - 05:09 AM
Last post by: Damen
No New Posts   2 josh_sg1 331 20th October 2004 - 10:30 PM
Last post by: football123213
No new   47 xc3ll 8,863 2nd September 2008 - 05:33 AM
Last post by: ainrp
No New Posts   11 Bimboadmasministries 925 23rd August 2007 - 10:06 AM