Page 3 of 9 <12345>Last »
Topic Options
#199253 - 2010-08-03 04:34 PM Re: KixGolf - Luhn's Mod [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
162
_________________________
!

download KiXnet

Top
#199256 - 2010-08-03 04:41 PM Re: KixGolf - Luhn's Mod [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
guess it's my time to call it a day, huh?

 Code:
KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_lm.kix

Computer
OS               = Windows Vista Business Edition
CPU              = Intel Pentium Model 15
Speed            = 1995 MHz
Memory           = 2038 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.0.3

KiXtart Golf Score
Tournament       = KiXtart Golf: Luhn's Mod
Processing Start = 2010/08/03 17:40:54.079
Processing End   = 2010/08/03 17:40:54.149
Duration         = 0000/00/00 00:00:00.069
# Tests Run      = 54
# Tests Passed   = 54
# Tests Failed   = 0
Result           = passed
KiXGolf Score    = 156
_________________________
!

download KiXnet

Top
#199257 - 2010-08-03 04:46 PM Re: KixGolf - Luhn's Mod [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
nevermind...
 Code:
KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_lm.kix

Computer
OS               = Windows Vista Business Edition
CPU              = Intel Pentium Model 15
Speed            = 1995 MHz
Memory           = 2038 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.0.3

KiXtart Golf Score
Tournament       = KiXtart Golf: Luhn's Mod
Processing Start = 2010/08/03 17:45:23.901
Processing End   = 2010/08/03 17:45:23.939
Duration         = 0000/00/00 00:00:00.038
# Tests Run      = 54
# Tests Passed   = 54
# Tests Failed   = 0
Result           = passed
KiXGolf Score    = 154

Thank you for participating in KiXtart Golf!
_________________________
!

download KiXnet

Top
#199261 - 2010-08-03 05:36 PM Re: KixGolf - Luhn's Mod [Re: Lonkero]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4533
Loc: USA
After about 48 hours...
 
Lonk and Benny stumbled out of the club house bar... Lonk, having had one too many, confuses the driving range with the first hole. Hey, even "Kix Master Guru's" struggle every now and then.
Lonkero 154 Jochen 162 Maciep 183 Glenn 202 Benny69 235
Is 150 in the future?

Top
#199262 - 2010-08-03 08:48 PM Re: KixGolf - Luhn's Mod [Re: Allen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Oh Hai Jooel,

found the flow, eh?
Will have to work on this from scratch to lessen by 9 strokes \:\(


Edited by Jochen (2010-08-03 08:49 PM)
_________________________



Top
#199263 - 2010-08-03 09:07 PM Re: KixGolf - Luhn's Mod [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
maybe not though


KiXtart
KiXtart Version  = 4.60
KiXGolf Script   = kixgolf_lm.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 15
Speed            = 2399 MHz
Memory           = 2048 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.0.3

KiXtart Golf Score
Tournament       = KiXtart Golf: Luhn's Mod
Processing Start = 2010/08/03 21:06:32.291
Processing End   = 2010/08/03 21:06:32.306
Duration         = 0000/00/00 00:00:00.014
# Tests Run      = 54
# Tests Passed   = 54
# Tests Failed   = 0
Result           = passed
KiXGolf Score    = 161

Thank you for participating in KiXtart Golf!


_________________________



Top
#199264 - 2010-08-03 09:17 PM Re: KixGolf - Luhn's Mod [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
two more .. getting harder.

KiXtart
KiXtart Version  = 4.60
KiXGolf Script   = kixgolf_lm.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 15
Speed            = 2399 MHz
Memory           = 2048 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.0.3

KiXtart Golf Score
Tournament       = KiXtart Golf: Luhn's Mod
Processing Start = 2010/08/03 21:15:55.744
Processing End   = 2010/08/03 21:15:55.759
Duration         = 0000/00/00 00:00:00.014
# Tests Run      = 54
# Tests Passed   = 54
# Tests Failed   = 0
Result           = passed
KiXGolf Score    = 159

Thank you for participating in KiXtart Golf!

_________________________



Top
#199266 - 2010-08-03 10:32 PM Re: KixGolf - Luhn's Mod [Re: Jochen]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
uh.
_________________________
!

download KiXnet

Top
#199267 - 2010-08-03 10:56 PM Re: KixGolf - Luhn's Mod [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
I can't find anything. have to get a revelation to shorten mine.
_________________________
!

download KiXnet

Top
#199268 - 2010-08-03 11:03 PM Re: KixGolf - Luhn's Mod [Re: Lonkero]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
hnnnng .. got one long line in it which smells like being far too long, but can't be shortened.

Brain hurts!
_________________________



Top
#199269 - 2010-08-03 11:14 PM Re: KixGolf - Luhn's Mod [Re: Jochen]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
you can always divide to smaller ones so it doesn't look so bad anymore ;\)
_________________________
!

download KiXnet

Top
#199270 - 2010-08-03 11:19 PM Re: KixGolf - Luhn's Mod [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
wtf?
 Code:
KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_lm.kix

Computer
OS               = Windows Vista Business Edition
CPU              = Intel Pentium Model 15
Speed            = 1995 MHz
Memory           = 2038 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.0.3

KiXtart Golf Score
Tournament       = KiXtart Golf: Luhn's Mod
Processing Start = 2010/08/04 00:17:47.581
Processing End   = 2010/08/04 00:17:47.615
Duration         = 0000/00/00 00:00:00.034
# Tests Run      = 54
# Tests Passed   = 54
# Tests Failed   = 0
Result           = passed
KiXGolf Score    = 148

Thank you for participating in KiXtart Golf!
Press any key to continue...
_________________________
!

download KiXnet

Top
#199271 - 2010-08-04 01:44 AM Re: KixGolf - Luhn's Mod [Re: Lonkero]
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Getting back to it...

 Code:
KiXGolf Scoring Engine
Scoring Engine   = 3.0.3

KiXtart Golf Score
Tournament       = KiXtart Golf: Luhn's Mod
Processing Start = 2010/08/03 19:42:52.720
Processing End   = 2010/08/03 19:42:52.782
Duration         = 0000/00/00 00:00:00.062
# Tests Run      = 54
# Tests Passed   = 54
# Tests Failed   = 0
Result           = passed
KiXGolf Score    = 170
_________________________
Eric

Top
#199272 - 2010-08-04 02:41 AM Re: KixGolf - Luhn's Mod [Re: maciep]
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
165
_________________________
Eric

Top
#199273 - 2010-08-04 03:15 AM Re: KixGolf - Luhn's Mod [Re: maciep]
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Hanging it up for the night

KiXGolf Score = 164
_________________________
Eric

Top
#199274 - 2010-08-04 09:34 AM Re: KixGolf - Luhn's Mod [Re: Lonkero]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
 Originally Posted By: Lonkero
wtf?
 Code:
KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_lm.kix

Computer
OS               = Windows Vista Business Edition
CPU              = Intel Pentium Model 15
Speed            = 1995 MHz
Memory           = 2038 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.0.3

KiXtart Golf Score
Tournament       = KiXtart Golf: Luhn's Mod
Processing Start = 2010/08/04 00:17:47.581
Processing End   = 2010/08/04 00:17:47.615
Duration         = 0000/00/00 00:00:00.034
# Tests Run      = 54
# Tests Passed   = 54
# Tests Failed   = 0
Result           = passed
KiXGolf Score    = 148

Thank you for participating in KiXtart Golf!
Press any key to continue...


WTF indeed!!
Additionally I can feel Macies breath in my neck \:o
_________________________



Top
#199276 - 2010-08-04 12:28 PM Re: KixGolf - Luhn's Mod [Re: Jochen]
BradV Offline
Seasoned Scripter
****

Registered: 2006-08-16
Posts: 685
Loc: Maryland, USA
Crap, I can't even get started. \:\) Forgive my dullness, but two questions, where do I put my code and are the values in the ini file of any importance? I think we are just interested in the keys, correct?
Top
#199277 - 2010-08-04 12:49 PM Re: KixGolf - Luhn's Mod [Re: BradV]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
the code does belong in kixgolf_lm.udf in between:
 Code:
function a($)
;code 'ere
endfunction

Your code will be called by kixgolf_lm.kix (no changes allowed) and will be validated against the keys in kixgolf_lm.ini (no changes alllowed too), so your code should return the same values as the different key values in the ini.

Let's look closer at that:
for example:
378282246310005=3
The key 378282246310005 will be passed as a string to the function you write and will be validated against the return value your function returns. In this particular case, your function should recognize this string as a valid "AmKixpress" Credit Card number and return 3 (integer)





.. The score will be counted by the scoring engine, so all characters between these flags will be counting (if not commented out):

 Code:
;! <- Flag for start of scoring engine
function a($) ;<-Score +12

endfunction   ;<-Score +11
;!<-|these two flags 
;!<-|stop scoring engine


hope this helps, and have fun solving the problem!


Edited by Jochen (2010-08-04 12:59 PM)
_________________________



Top
#199278 - 2010-08-04 01:40 PM Re: KixGolf - Luhn's Mod [Re: Jochen]
BradV Offline
Seasoned Scripter
****

Registered: 2006-08-16
Posts: 685
Loc: Maryland, USA
Thanks, I'll give it a try tonight. I'll probably be in the 750 range or so. I tend to be verbose. \:\)
Top
#199281 - 2010-08-04 03:21 PM Re: KixGolf - Luhn's Mod [Re: BradV]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4533
Loc: USA
Hey Brad... make sure to read the Specification, Inputs and Outputs, sections... that should point your code in the right direction.
Top
Page 3 of 9 <12345>Last »


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 218 anonymous users online.
Newest Members
karimKix, NicoK, Kelly001, MichaelK72, Janneman
17775 Registered Users

Generated in 0.219 seconds in which 0.187 seconds were spent on a total of 14 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org