home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Developers Corner

by Shockie on 10/19/2002 16:36, 279 messages, last message: 02/04/2006 13:50, 114205 views, last view: 12/09/2021 06:37

i would like to have this thread for development problems/ideas, and what people have done. i believe it could be quite useful!

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages

#21: or email

by Shockie on 10/23/2002 07:31

or u can email it to mharris@octane-design.biz

reply to this message

#22: agreement

by Rhaine on 10/23/2002 10:39

I have done all the above mentioned steps. Thanks for the outline oyoaha :)
I basically have the same problem with sdl_net I was able to find the source code for it and compile it seperately. I also downloaded the binary DLL and tried to use it that way.. havnt had much luck.. with the DLL in the Lib directory it compiles with all the link errors you described, which is what I kind of expected.. basically acts like there is no SDL_Net file there at all .. hehe
I think were making progress here but the work I have done looks like mostly everyone has beaten me to the post.. I'll keep working on it tho.

Great post Oyoaha thanks again
I will go back and repeat the steps as I think that it is a project setting that is keeping it from compiling for me. I imagine you as well shockie..

/*
piglet.. nevermind ..Sigh
*/


Rhaine

reply to this message

#23: Re: agreement

by Shockie on 10/23/2002 13:58, refers to #22

i spend about 11-16hours a day infront of a computer, of course i beat u =)

i also check the cube forums once every few hours.


did you actually get the .lib file or not, i can put it on cube world if u want

reply to this message

#24: Re: agreement

by Piglet_College on 10/23/2002 16:28, refers to #22

ive attempted to get it wouking under borlands free compiler but had no joy. Im now waiting in hope that somone with a little more odd cpp compiling knolege will share some of it :), hence the post

reply to this message

#25: Re: agreement

by Shockie on 10/23/2002 16:52, refers to #24

if we get it working in VCPP i will send u the BPR's =)

reply to this message

#26: Re: agreement

by Piglet on 10/23/2002 18:26, refers to #25

cool thanks :)

reply to this message

#27: Re: agreement

by oyoaha on 10/24/2002 04:53, refers to #22

hi guys!

i forget to add that yesterday:
i also modified the worldio.cpp

if(gzgeti(f)!=ents.length()) return loadgameout();

by

if(gzgeti(f)!=ents.length())
{
loadgameout();
return;
}

and

if(nmonsters!=monsters.length()) return loadgameout();

if(nmonsters!=monsters.length())
{
loadgameout();
return;
}

but i think it's a thing everybody have already fixed :-)

so there is my *.dsw and my src file (2.74Mo)
http://www.oa3d.com/cube/cube.zip

just unpack it in your c:\w\cube folder (backup your src and vcpp folder first)

about the SDL_net indeed there are no need for it so i have removed from the *.dsw
all work well for me so far. but i have perhaps an explanation for that: my system is windows2000

(service pack3) i use VC++ 6.0 without any service pack BUT i have also Visual.net C# and so the .NET

framework (freely avaible i think) so theoretically Visual.net C# is only for the C# language, and when

i compile cube i'm still in the visual c++ 6.0, but who know perhaps M$ have put some gift inside visual C#???? :-o

let me know if that work for you

reply to this message

#28: C++ DSP and DSW

by Rhaine on 10/24/2002 07:18

Great job putting that together Oyoaha it is appreciated. I get 1 error when i compile it and that error kind of scares me.. :(
************************************
tools.cpp
weapon.cpp
world.cpp
worldio.cpp
C:\W\cube\src\world.cpp(222) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'E:\8966\vc98\p2\src\P2\main.c', line 494)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
worldlight.cpp
worldocull.cpp
worldrender.cpp
Error executing cl.exe.
Creating browse info file...

cube.exe - 1 error(s), 3 warning(s)
*************************************



wasnt able to get any info through the technical support command it lists in the error, I guess thats because MSDN is not installed.. if someone else has it installed and could look at that for me would be a great help .. if not I can install it I guess.

Thanks
Rhaine

reply to this message

#29: Re: agreement

by Shockie on 10/24/2002 08:27, refers to #27

i use win2k SP2, VC++ 6 (dunno about SP's cos i like delhpi more)

im downloading now

reply to this message

#30: Re: agreement

by Shockie on 10/24/2002 08:48, refers to #29

it works, 100% no errors!

VERY NICE WORK!

reply to this message

#31: Win XP

by Rhaine on 10/25/2002 04:48

if anyone knows about the internal compiler error that would surely help.. I get it when I compile the world.cpp file..maybe that one is corrupted? the code looks good from inspection .. no obvious defects and it dosnt call out anything in the file..

Compiling...
world.cpp
C:\W\cube\src\world.cpp(222) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'E:\8966\vc98\p2\src\P2\main.c', line 494)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Error executing cl.exe.

world.obj - 1 error(s), 0 warning(s)


what is that compiler file 'E:\8966\vc98\p2\src\p2\main.c', line 494? where can I find that to debug?

argh..

Rhaine

reply to this message

#32: Re: Win XP

by oyoaha on 10/25/2002 05:13, refers to #31

try to delete all tempory generated file? (in vcpp folder)
hope that helps

reply to this message

#33: Temp fix

by Rhaine on 10/25/2002 06:21

OK I got it to compile.. and work :) thanks for the help guys.. I still cant get the Release version to work.. but the debug version compiles


thanks

Rhaine

reply to this message

#34: Re: Temp fix

by oyoaha on 10/25/2002 10:33, refers to #33

glad to know that finally worked :-)

first i want to thanks Aardappel for his amazing job (and to release the source code) :-D thanks a lot
i have a lot of fun to play with it, it's a nice 3d engine and i really love its simplicity

there is the result of some primary coding:

http://www.oa3d.com/export/home/oyoaha/www/cube/src.zip

it's more some experiment than any other things but someone can find some of them useful, who know :-)

i changed a bite the lighting model
if the texture of the ceiling is the sky one, the light is put to 120 for the rgb value instead of 10 (but that can be any texture and that tricks is not limited to the ceiling)

always for the light things i changed the rendercubes code by using the whole square instead of juste a triangle, ok it's no clear try to launch cube without texture (by comment the enable texture in the rendergl) with the original cube and my modified one

and finally the renderparticule by putting some kind of dynamic light. try to blast with the rocket luncher now (in a dark room)

reply to this message

#35: Re: Temp fix

by oyoaha on 10/25/2002 10:34, refers to #34

sorry :-(

http://www.oa3d.com/cube/src.zip

reply to this message

#36: Compiler Error

by anon on 10/29/2002 05:23

I got rid of the compiler error in VC5 by changing some of the optimization options I think...

reply to this message

#37: u hate me! (after this)

by okasvi on 11/01/2002 06:43

i have thinked of making cheats for this game... i just downloaded sources and i have basic knowledge of making opengl cheats... i have done for cs...
things i will do: wallhack, wireframe, whitewalls, somekind of lambert...
im not sure that how they are going to work, but ill post some screenshots after im ready =)

reply to this message

#38: __________!!! oh i almost forget !!!__________

by okasvi on 11/01/2002 06:44

but after i have done that i will report to Aardappel how to prevent that =)

reply to this message

#39: Re: u hate me! (after this)

by Aardappel on 11/01/2002 10:47, refers to #37

I am glad that cube appears to attract the nicest and brightest people.

No, I am not interested in your results.

reply to this message

#40: Re: __________!!! oh i almost forget !!!__________

by Piglet on 11/01/2002 10:50, refers to #38

The real question is what the hell will YOU gain by making cheats... WOW I can win a game without playing fairly and without using any skills, aren't I 1337, w00t w00t etc.

And if you want to show of your programming skills then try and make something that the community will embrace rather than shun. For you will be shunned.

Piglet

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2021
website by SleepwalkR © 2001-2021
42368279 visitors requested 58075616 pages
page created in 0.023 seconds using 9 queries
hosted by Boost Digital