Please check out Federation II !

Member Discussions

terms



[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]


1. Looking for a codebase Mon Aug 1, 2011 [12:52 AM]
oarien
Email not supplied
member since: Apr 2, 2005
Reply
Hi i am looking for a old codebase i contacted the old owner but he isn't answering so i guess im going to have to go with its prior source of gwars2k. i went to the godwars mud resource and i couldn't see it there even though that is a godwars website, after hours of searching i give up can anyone tell me a website that has this codebase?


2. RE: Looking for a codebase Mon Aug 1, 2011 [3:18 AM]
oarien
Email not supplied
member since: Apr 2, 2005
In Reply To
Reply
ok so i found a codebase for it over the internet but when i try to do a make it fails "act_move.c: In function âdo_trainâ:
act_move.c:2693: error: invalid lvalue in assignment
act_move.c:2714: error: invalid lvalue in assignment
act_move.c:2734: error: invalid lvalue in assignment
make: *** [act_move.o] Error 1" and could use a hand getting it started anyone mind helping me out please.
Btw im not a coder but will eventually want to get one, I just miss my old mud ethereal mist and figured other people would have missed a mud like that one.
Any help would be appreciated.


3. RE: Looking for a codebase Mon Aug 1, 2011 [7:03 PM]
Darkozx
Email not supplied
member since: May 3, 2006
In Reply To
Reply
For starters, you can open up the act_move.c file and search for lines 2693, 2714 and 2734, look at each of those lines for a value of some sort being used. It could be something simple as an INT but being used wrong. An invalid lvalue is usually a value that's being set as a value that it already is, like this "10 = 5 + 5" the 10 is already considered a valid value in the code so you don't need to add in the 5 + 5 to make the 10 valid. If you are unsure of how to fix this, you can easily add in a // before each of the lines in the code that are giving an error. That may cause even more errors if those lines are dependent upon another function, so you may have to edit out the entire function. You could also try replacing the invalid value with one that the code will accept, like "10" could be "ten" as an INT. For whatever new value(int) you add in, be sure to include the INT at the top of the function like this "int ten;". I'm sorry if I confused you but most of this makes sense from my point of view, I code in very strange ways hehe.
Owner of Dragonball Evolution

DBE's Address: evolution.wolfpaw.net
DBE's Port: 1874
DBE's Website: http://www.dbemud.com
Come see the evolution of the Dragonball theme!


4. RE: Looking for a codebase Mon Aug 1, 2011 [7:55 PM]
Lyanic
lyanic@gmail.com
member since: Dec 26, 2005
In Reply To
Reply
Darkozx wrote:
I code in very strange ways hehe.

Owwww...aneurysm...
- Lyanic, Creator/Designer/Administrator
The 7th Plane (7thplane.net 8888)


5. RE: Looking for a codebase Mon Aug 1, 2011 [8:03 PM]
Drizzt1216
Email not supplied
member since: Aug 12, 2005
In Reply To
Reply
If you are unsure of how to fix this, you can easily add in a // before each of the lines in the code that are giving an error.


Just no. Don't comment out lines in the code just because they are creating errors and you don't know what they do. More often than not they're there for a damn good reason and removing them will cause things to break, syntax errors are far easier to fix than logic errors since the compiler at least lets you know they they exist whereas it generally won't help you find the later, don't create a logic error just to get rid of an error message.
Builder Academy:
http://www.tbamud.com
telnet://www.tbamud.com:9091
4 Dimensions:
http://www.4dimensions.org
telnet://www.4dimensions.org:6000


6. RE: Looking for a codebase Mon Aug 1, 2011 [8:59 PM]
Darkozx
Email not supplied
member since: May 3, 2006
In Reply To
Reply
If he's unsure of how to code and he just wants to get the codebase to start up, I don't see the problem with editing out what's needed until you can fully fix it later on. I'm sure his MUD won't be open to players at the start, so if any problems occur it won't be an issue. I only gave him a temp way to fix it, not long-term.
Owner of Dragonball Evolution

DBE's Address: evolution.wolfpaw.net
DBE's Port: 1874
DBE's Website: http://www.dbemud.com
Come see the evolution of the Dragonball theme!


7. RE: Looking for a codebase Tue Aug 2, 2011 [12:55 AM]
oarien
Email not supplied
member since: Apr 2, 2005
In Reply To
Reply
Thank you guys i actually found a different codebase at mudbytes and did a make with that one and its started up.
All i need now is to head over to the staff section and see if i can rustle up some staff, love the godwars mud resource for its help getting it started btw




[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]