Main Site | Forum | Rules | Downloads | Wiki | Features | Podcast

NLSC Forum

Talk about NBA Live 07 here.
Post a reply

jepotsk8er's ideas on dbf issues

Sun Nov 18, 2007 9:54 am

ok i dont know if somebody has done this but i just want to share my ideas about dbf errors because i still havent found any solid solution to deal with it in this forum

take a look at this stuff first

"ERRORS ^

Functions return a value on success and undef on error. The error code can be determined by calling CodeBase::errno, and the equivalent error message by calling CodeBase::errmsg.

A number of variables are defined as symbolic names for the CodeBase error codes. Thes variables are all defined in the CodeBase package and so need to be referred with the package prefix (e.g. $CodeBase::e4close).

General disk access errors

$e4close = -10; # Closing file
$e4create = -20; # Creating file
$e4len = -30; # Determining file length
$e4len_set = -40; # Setting file length
$e4lock = -50; # Locking file
$e4open = -60; # Opening file
$e4read = -70; # Reading file
$e4remove = -80; # Removing file
$e4rename = -90; # Renaming file
$e4seek = -100; # Seeking to a file position
$e4unlock = -110; # Unlocking file
$e4write = -120; # Writing to file

Data file specific errors

$e4data = -200; # File is not a data file
$e4field_name = -210; # Unrecognized field name
$e4field_type = -220; # Unrecognized field type
$e4record_len = -230; # Record length too large

Index file specific errors

$e4entry = -300; # Tag entry missing
$e4index = -310; # Not a correct index file
$e4tag_name = -330; # Tag name not found
$e4unique = -340; # Unique key error

Expression evaluation errors

$e4comma_expected = -400; # Comma or bracket expected
$e4complete = -410; # Expression not complete
$e4data_name = -420; # Data file name not located
$e4length_err = -422; # IIF() needs parameters of same length
$e4not_constant = -425; # SUBSTR() and STR() need constant parameters
$e4num_params = -430; # Number of parameters is wrong
$e4overflow = -440; # Overflow while evaluating expression
$e4right_missing = -450; # Right bracket missing
$e4type_sub = -460; # Sub-expression type is wrong
$e4unrec_function = -470; # Unrecognized function
$e4unrec_operator = -480; # Unrecognized operator
$e4unrec_value = -490; # Unrecognized value
$e4unterminated = -500; # Unterminated string

Optimization errors

$e4opt = -610; # Optimization error
$e4opt_suspend = -620; # Optimization removal error
$e4opt_flush = -630; # Optimization file flushing failure

Relation errors (not used)

$e4relate = -710; # Relation error
$e4lookup_err = -720; # Matching slave record not located

Severe errors

$e4info = -910; # Unexpected information
$e4memory = -920; # Out of memory
$e4parm = -930; # Unexpected parameter
$e4result = -950; # Unexpected result

"

or just take a look here - http://search.cpan.org/~andrewf/CodeBas ... odeBase.pm

so what do i do if i experience error -70 - which is "reading file"

"reading file" errors are commonly caused by incorrect dbf values entered at a certain field

i had experienced this very error when i tried to trade rasho nesterovic for jason kapono thru dbf editing because the friggin cpu wont accept the friggin trade - and this friggin error -70 showed up

what i actually did was i only changed the team and rosterpos fields - i didnt read that tuto on trading via dbf and forgot to change salary team wahahaha so when i change it to the right teams the error didnt show up again

i also experienced this when i added oden to my dynasty - i made the same mistake by changing only his team and rosterpos to 27 (TOR) without changing his original salaryteam value 24 i think which is (POR)
and by changing thAT HE WAS ABLE TO PLAY IN MY DYNASTY HAPPILY EVER AFTER

i hope this helps other people with dbf errors too
Post a reply