Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Ok i have an idea but i need some help

Author
Message
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 13th Jun 2007 05:33
ok well ive been working with dark basic forever,,.. but i am trying to make a zelda game i have done really well so far but for some reason every time i go around in a full 360 turn i get this "Run time error at line 62 needs to have an angle from 0 to 360" well for some reason that line 62 all it has on it is loop but i cant add an angle to that so if anyone knows how to fix it....oh and ill pm the code if that could help cause ive never come across this b4

Alienmaster
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 13th Jun 2007 06:30
DBC is notorious for not giving the exact line number for an error. If you are using the enhanced version of DBC, you could find a dll (use the search) that could help with error trapping.

Are you using wrapvalue on your angles? (If you are not familiar with wrapvalue, it is found in the help files under Basic 3D.)

If you use wrapvalue on all of them, you should not get this error at all, so it won't matter where it is in the program.

If, after trying this, you still get the error please post your code.

LB
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 13th Jun 2007 09:54 Edited at: 14th Jun 2007 16:13
well hur hur....that almost worked...lol sry nope heres code



[Mod Edit] You just forgot to add the closing /code tag so I added it for you...

Alienmaster
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 13th Jun 2007 09:58
im also requesting that no person can here by use this code for their own purposes with having consent first anyone caught with my work will suffer the punishment

Alienmaster
indi
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 13th Jun 2007 12:29
no ones going to want to steal that masterpiece mate.

LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 13th Jun 2007 14:59
@ indi
You started my day off with a chuckle.


@ Alien Master

All you have to do is replace


with this
and it will work.

This community is about sharing and helping others.

LB
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 13th Jun 2007 22:24
ok well ty sry im just paranoid about this ive been working on this for a wile..finally got down to it oh and thank you so much im glad there is nice ppl out there like you who can help ./...ty

Alienmaster
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 13th Jun 2007 22:27
and this is still a work in progress so plz no flaming?

Alienmaster
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 14th Jun 2007 01:13
i was joking about the whole thing i said earlier...lol

Alienmaster
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 14th Jun 2007 01:21
ok well here it is this is the exe plz tell me how ive done and if someone would be willing to tell me some ideas for upcoming things and im still looking for a texture and model of zelda...if there is a program to make one can someone tell me plz....thx
---------------------------------------------------------------------
Alien Master
[ƒëâr Mê]

Alienmaster
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 14th Jun 2007 02:50
alien master:

Two little tips for when using the forums...

When you post DB code, after you've pasted it in, highlight it and then click on the Code button at the top. It puts your code in a little box like this:



Doing this keeps the formatting - like indentation, making it easier to read.

Secondly, use the Edit button rather than making 5 consecutive posts.

TDK_Man

alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 14th Jun 2007 03:29
ok sry i idol u

Alienmaster
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 14th Jun 2007 07:06
@ alien master
As to your program, I would expect that there are definitely going to be some copyright issues with the jpeg and the music.

The program itself is very basic and only has rudimentary code in it (trying to be honest here and not mean). For example, do you own modeling software and do you know how to use it? If not, are you prepared to pay someone to do it for you? What about a world for your Link character to go through? They can be made (there is a tutorial for this) or you can once again buy software/pay someone.

You said
Quote: " ive been working on this for a wile"
. That is not a lot of code for working on it for a while. Maybe you should get a little more programming knowledge and expertise before you venture into the Zelda arena. There is a sticky at the top of this board for TDK's Tutorials for Newcomers. Learn them and grow as a programmer and then you will be better able to move forward. Here is a link:
http://forum.thegamecreators.com/?m=forum_view&t=99497&b=10

LB
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 14th Jun 2007 23:01
well what i meant is that i started it a wile back and finaaly started working on it....i started it bout year ago nbever had time and that is what i meant by that and i know this is just like 3 hours work....cause i havent been working on it every day non stop...maybe one day i will have that time but right now this is all i have gotten done..and yes i know about the copyright once again i guess i will change name a lil bit and consider it a zeldaish type game but still i really just started this...

Alienmaster
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 14th Jun 2007 23:31
and..to tell you the truth im not planning on having this massivly distributed because im just making a game for this company they saif they would give me a job but i just need to show them my best work...and they will consider it

Alienmaster
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 15th Jun 2007 01:19
Okay, but if you want to show them YOUR work, then it needs to be YOUR work. Copyrighted material is someone else's work. It would be wrong to present a game that uses material like this and indicate that it is yours.

Sorry, I'm not willing to help you to continue on the path you are on.

LB
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 15th Jun 2007 05:09 Edited at: 18th Jun 2007 20:46
what im trying to say is......all im doing is trying to get a game made.....do you understand the pics on there right now are just there for looks later i have to change it.... thats what i was planning..i already have my designs for menus and stuff working on those now...the zelda ones on there now i just there for beta so it has some kind of look instead of a blank screen every time...ive already changed it...but....i still need to find over world music..think i know where i can get someone to make me some....but hang on...lbfn this is not going to be redistributed this is just a game im making...and once again the zelda content on it right now..it is just on there for kicks so everytime i start up dont need to drown my eyes in black...they will be removed... but i kind of got a map going but im upside down and if you could tell me how to make it right side up that would be very kind






------------------------------------
Edited by myself.....lol i got the code button to work now i feel so smart...i think ill give myself a complimentary cookie!!

Alienmaster
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 15th Jun 2007 05:11
but im sry if thats what u thought at first i already contacted nintendo and they pretty much handed my @$$ to me...so im sry if i confused you

Alienmaster
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 16th Jun 2007 03:57
alien master:

Did you not read my post?????

Use the Code button!!!

TDK_Man>

alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 16th Jun 2007 06:12
hey i did...it wont work....i put it...realized it didnt work tried to edit it but it said unknown system error had to abort something like that...it wont edit and the code thing wont work

Alienmaster
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 16th Jun 2007 06:14
this is what i get
Quote: "Unknown System Error. Sorry but I have to abort now. Please try again later."


Alienmaster
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 20th Jun 2007 02:12
ok wtf is my thread dead now??

Alienmaster
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 20th Jun 2007 02:43
Quote: "Edited by myself.....lol i got the code button to work now i feel so smart...i think ill give myself a complimentary cookie!!"


Yay!! Easy eh - and much easier to read...

Quote: "is my thread dead now"


No - LBFN answered your question. The error is because you are trying to set the angle of something to greater than 359 or less than 0 degrees.

That's what the WrapValue() function is for.

If you want to know the exact line your error is on, locate in your program the place where it says 'Sync On' and change it temporarily to 'Sync Off' then run your program again.

It might take a lot longer to run - and do some strange things - but when it eventually errors it should be more accurate with the error line number it gives you.

TDK_Man

alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 20th Jun 2007 08:20
ok well right now i just need a sword..so im working on that....thanx ne way u gys are great

Alienmaster
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 21st Jun 2007 09:17
yea ok here is new version....screw zelda...copyright....
heres what ive updated it to...i still need help with collision boxes....animating the character....like walking....crouch..attacking...stuff like that if anyone knows how i could do that plz tell me

Alienmaster
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 21st Jun 2007 13:31
@ alien master
It's nice to see that the copyright issue has gone away.

Whatever you have available for download does not come through. I assume it is a screen shot or an image. If so, you should have it in .jpg or .png format (you can technically use .bmp, but the files are larger and it is generally discouraged).

There is a search button at the bottom of each thread. You should type in what you are looking for (collision, animation, sword, etc.) and review what has been discussed previously. The expectation is that you will do the research to find out what it is that you need to do and if you need help along the way to ask. People do not want to do the leg-work for you, but are willing to help if you put effort into it yourself.

LB
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 21st Jun 2007 21:33 Edited at: 21st Jun 2007 21:47
hmm well ive looked up animation in the search bar before but i never found how to animate them in like milkshape stuff like that..oh and it was the whole game it was like 15mbs including media...would that generate an issue?
--------------------------------------------------------------------
Edit Ok wtf 15mbs must be a problem...oh well ill just upload my rapidshare link

http://rapidshare.com/files/38562675/lol.rar.html

Alienmaster
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 22nd Jun 2007 05:57
Think about it, would you like to load and review 15MB of data to help someone else with a problem? You're not going to get many takers on that one and you're right the system won't handle that much.

As to animations, you need to load an .avi file in order to play animations. It is possible to append and save animations within DBC. There are some examples in the DBC example files. You could also get a modeling program that supports .avi animations.

LB
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 22nd Jun 2007 06:07
see my guy is a free dwarf character off of psionics website
the only time i can use an animation with that model is in Blitz 3d

I have no idea how to use that..and besides ive been working on this for dark basic

Alienmaster
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 22nd Jun 2007 07:09
You will need to learn how to animate your models. Though I don't use it, I believe you can use Blender to animate your models.
This is the link:
http://www.blender.org/download/get-blender/

Latch wrote a DBC converter you might want to check out. Again, I have not tried it myself, but it might be of some use to you.
Here is the link:
http://forum.thegamecreators.com/?m=forum_view&t=85734&b=10

LB
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 22nd Jun 2007 22:27 Edited at: 22nd Jun 2007 22:37
i have blender but that dbc converter doesnt work :/
See omg ive been trying and trying at this....animation processes are not my favorite.....

ok but so much for that is there any tutorial on how to learn to make collision boxes..because i know its usually like

make collision box -1.25,-1.25,-1.25,-1.25,1,25,1.25,0

but what do all those numbers mean?

Alienmaster
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 23rd Jun 2007 02:39 Edited at: 24th Jun 2007 16:06
Read this http://forum.thegamecreators.com/?m=forum_view&t=96045&b=10

I searched and found it easily.

{EDIT} Sorry! I forgot that Sparky's dll is for DBP.

LB
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 23rd Jun 2007 06:31 Edited at: 23rd Jun 2007 06:31
Why did my team request get locked?

Alienmaster
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 23rd Jun 2007 19:15
Because team requests are not allowed on these forums. Sorry.

TDK_Man

alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 23rd Jun 2007 21:30
ok is there a forum where i could post one?

Alienmaster
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 23rd Jun 2007 23:09
omg lol i was just backing up my game onto a disk and while i was uploading i noticed this....

Quote: "
then dowloads and installs this? lol
"


Alienmaster
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 24th Jun 2007 20:05
You've already posted in Team Requests on my forum, so you already know about there!

As for your last post, I don't understand the point you are trying to make...

TDK_Man

alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 24th Jun 2007 20:12
it was just random i was uploading my game to a disk so i had a back up and when it was uploading it said

Quote: "
then go (downloads) and (installs) the (softwares)
"


im just saying there was grammatical errors in a Microsoft product...it doesn't suprise me

Alienmaster
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 24th Jun 2007 21:00
ok hmmm...
i just got dark basic pro
and im still running on a Windows ME would that be a problem
cause i have 212 ram or something like that
horrible video card....cant even play WoW
im really looking forward to this and if i cant use it on a windows me

were getting windows xp for free so ill use that?

Alienmaster
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 25th Jun 2007 21:32 Edited at: 25th Jun 2007 21:40
Hey Lbfn i read those tuts on the collision
i get this really bad error .. look at this

i freaked out


see here is my code



this is the part i added to it



and the error was
Quote: "RUNTIME ERROR AT LINE 212 SEVERE EXCEPTION"


i was like WTF

anyone know why?

Alienmaster
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 25th Jun 2007 22:09 Edited at: 25th Jun 2007 22:12
You should expect strange errors when you use Goto...

But regardless of that...

You used:

Get Object Collision X()

The help says:

Get Object Collision X(Object Number)

TDK_Man

Lucifer
20
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 25th Jun 2007 23:48 Edited at: 25th Jun 2007 23:48
why dont you use sparky's dll for the collision alien master? it's much much much faster and doesnt slow down your framerate so badly..



LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 26th Jun 2007 01:13
Isn't Sparky's dll for DBP?

LB
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 26th Jun 2007 01:39 Edited at: 26th Jun 2007 01:47
yes im using db my old computer cant handle dbp

and when i use the
GET OBJECT COLLISION X(11)
it says [quote]GET OBJECT COLLISION X(11) expects no parameters

Alienmaster
Lucifer
20
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 26th Jun 2007 02:57
Quote: "Isn't Sparky's dll for DBP?"


there is a version of sparky's collision dll for dbc, and it works so much better than the object collision() commands..



alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 26th Jun 2007 03:29
and where might you get that at?

Alienmaster
Lucifer
20
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 26th Jun 2007 03:34
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 26th Jun 2007 03:58
i dont have the enhanced mode..i only have DBC....i cant use memblocks

Alienmaster
alien master
19
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 26th Jun 2007 07:02 Edited at: 26th Jun 2007 07:02
test

Alienmaster
Lucifer
20
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 26th Jun 2007 17:25
Quote: "i dont have the enhanced mode..i only have DBC....i cant use memblocks"


if you dont have the enhancement pack you cant only not use memblock's you cant use dll's wich is a major setback..



Login to post a reply

Server time is: 2026-07-06 00:46:00
Your offset time is: 2026-07-06 00:46:00