#66407 - 2002-06-09 11:29 PM
Re: KiXtart Golf Tournament Part III !!!
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Ok.. bug fixed...
Final score (I think):
270!!!
I wish I could post my code now.. I'm at home and I'll be at work tomorrow.. (I hate messing with diskettes..)
Brian
|
|
Top
|
|
|
|
#66409 - 2002-06-10 12:00 AM
Re: KiXtart Golf Tournament Part III !!!
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
I might just have to go back to the drawing board. With the required name, I'm at 355.
|
|
Top
|
|
|
|
#66410 - 2002-06-10 12:00 AM
Re: KiXtart Golf Tournament Part III !!!
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Don't concede just yet.. just for the heck of it i tried some other numbers.... i found it isn't accurate 100% because the FIX function in 4.10rc2 doesn't work quite right... so now I'm fiddling with it again.
Brian
|
|
Top
|
|
|
|
#66412 - 2002-06-10 12:15 AM
Re: KiXtart Golf Tournament Part III !!!
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Hmm. this is weird.. I can get it so things seem to work for some conversions but not others. I don't know what the deal is with that, but I'm still working on it.
Brian
|
|
Top
|
|
|
|
#66413 - 2002-06-10 12:37 AM
Re: KiXtart Golf Tournament Part III !!!
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Okay.. it seems to be working correctly now.
Once I realized that FIX, INT, and RND don't work well for double floating point numbers, I figured it out... but.. now my score is.....
267!!! (If I remove the variable declaration I MAY not need, it's 263)
Brian
{edit} Mine has no debugging code, so it won't know if you're entering invalid numbers.. I didn't see it as a requirement.. should it be? [ 10 June 2002, 00:41: Message edited by: BrianTX ]
|
|
Top
|
|
|
|
#66414 - 2002-06-10 12:52 AM
Re: KiXtart Golf Tournament Part III !!!
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Ok.. here are some values returned.. so anyone can check and see if theirs matches (or if they are correct)
code:
BaseConverter("35","10","3") ? BaseConverter("78","11","13") ? BaseConverter("2","3","2") ? BaseConverter("23423","5","12") ? BaseConverter("BrianTX","36","10")
Result: 1022 67 10 100A 25607922981 -----
This is with the score of 267.
Brian
|
|
Top
|
|
|
|
#66415 - 2002-06-10 01:20 AM
Re: KiXtart Golf Tournament Part III !!!
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
ah crap - my base 36->10 broke - and it can't get up
|
|
Top
|
|
|
|
#66416 - 2002-06-10 01:45 AM
Re: KiXtart Golf Tournament Part III !!!
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Brian, mine match. but I can't seem to get lower than 309.
Verify that your base 2 works:
BaseConverter("64","8","2") = 110100 BaseConverter("52","10","2") = 110100
|
|
Top
|
|
|
|
#66417 - 2002-06-10 01:47 AM
Re: KiXtart Golf Tournament Part III !!!
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Just out of curiosity, I tested how large of numbers the script can handle....
Base 36 - 10 long Base 10 - 15 long Base 2 - 50 long
Brian
P.S.... Are you participating or judging, sealeopard? Would you like to see my code?
|
|
Top
|
|
|
|
#66418 - 2002-06-10 01:49 AM
Re: KiXtart Golf Tournament Part III !!!
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Do you do any sort of error checking? If I was going to publish this UDF, I'd probably check to make sure the inputs were valid, but I did no such checking on this one.
Brian
|
|
Top
|
|
|
|
#66419 - 2002-06-10 01:54 AM
Re: KiXtart Golf Tournament Part III !!!
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
At 267 I sure hope there is no error checking. Otherwise, I'm a really bad coder.
No proper UDF would be constructed under these rules. [ 10 June 2002, 01:55: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#66420 - 2002-06-10 01:59 AM
Re: KiXtart Golf Tournament Part III !!!
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
I shaved off a bit more.. Now I'm at 261...
Brian
|
|
Top
|
|
|
|
#66421 - 2002-06-10 02:06 AM
Re: KiXtart Golf Tournament Part III !!!
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
I can't wait to see this code!
|
|
Top
|
|
|
|
#66422 - 2002-06-10 02:14 AM
Re: KiXtart Golf Tournament Part III !!!
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Hey if I don't count my Function/Endfunction lines I'm at 267. Brian, you are counting those aren't you? [ 10 June 2002, 02:15: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#66423 - 2002-06-10 02:21 AM
Re: KiXtart Golf Tournament Part III !!!
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Hmm. without the Function/EndFunction lines I get 219. With them I get 261.
I seriously doubt my code can be further optimized..... so I'm about to quit.. good luck guys!
Brian
|
|
Top
|
|
|
|
#66425 - 2002-06-10 03:10 AM
Re: KiXtart Golf Tournament Part III !!!
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
It's been fun, Jens!
I really don't think I can squeeze my code down any more.
How many hours does everyone have to beat 261 ?
Something like 12?
Brian
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
2024-03-08 [mole]
Thanks for getting the posts back again.
2024-04-18 [MarineV]
will the db errors get fixed????
2024-04-26 [Tonny]
database error, please!
2024-05-09 [NTDOC]
I'm not seeing any errors
2024-05-31 [chojin]
DB is down again
2024-06-04 [selsner]
Still no access, please help!
2024-06-07 [mole]
Looks like DB is back again. Thanks.
2024-06-17 [It_took_my_meds]
We encountered a problem. The reason reported was Database error only visible to forum administrators Please click back to return to the previous page.
2024-07-04 [Armin73]
There is still a database error 🤷♂️
2024-07-09 [0neZero]
There is still a database error 🤷♂️
2024-07-10 [Allen]
DB working a few times in between the messages above. Working again as of 7/10. Thanks Doc
2024-08-31 [NetGnostic]
Bummer, the Database error is back.
2024-09-04 [NTDOC]
Fourms are back up without error for the moment
2024-10-02 [Arend_]
Wll still have database errors ;-)
2024-10-03 [Allen]
Thanks to Doc... it's back.
2024-12-09 [chojin]
could we move kixtart to a new place in order to keep it living ? maybe create a github page and a subreddit?
2024-12-10 [Allen]
do know about moving it, but I know Doc is aware of the DB issue. Should be back online soon.
2024-12-10 [Allen]
don't know...
2025-02-09 [Comet]
Greetings. I installed KiX on my new Windows 11 computer, and joined this foum. Hello World!
2025-02-10 [Allen]
Welcome
2025-03-07 [Comet]
UBB Error We encountered a problem. The reason reported was Database error only visible to forum administrators
2025-06-30 [mole]
Thanks for getting this working again.
2025-07-28 [mole]
UBB Error We encountered a problem. The reason reported was Database error only visible to forum administrators
2025-08-01 [Arend_]
I think it's fixed, I don't have the problem.
2025-10-06 [Comet]
The UBB Error no longer happens for me.
2025-10-21 [M_Moore]
UBB Error We encountered a problem. The reason reported was Database error only visible to forum administrators Please click back to return to the previous page.
2025-10-26 [NTDOC]
System has been cleaned up. Should be okay again now.
2025-10-26 [Allen]
Thank You Doc. Really appreciate your efforts!
|
|
0 registered
and 627 anonymous users online.
|
|
|