SDK Reason Codes

From Virtual Paradise Wiki
Revision as of 14:20, 17 June 2012 by Oliver (talk | contribs) (Added all reason codes for latest SDK.)
Jump to navigation Jump to search
Reason codeValueDescription
VP_RC_SUCCESS 0

Success

The operation completed successfully.

VP_RC_VERSION_MISMATCH 1

Version mismatch

VP.h and the SDK library are from different builds.

VP_RC_NOT_INITIALIZED 2

Not initialized

The SDK hasn't been initialized (try calling vp_init)

VP_RC_ALREADY_INITIALIZED 3

Already initialized

The SDK has already been initialized (by calling vp_init)

VP_RC_STRING_TOO_LONG 4

String too long

VP_RC_INVALID_LOGIN 5

Invalid login

Could not login due to invalid user or incorrect password.

VP_RC_WORLD_NOT_FOUND 6

World not found

There is no world running with a matching name.

VP_RC_WORLD_LOGIN_ERROR 7

World login error

Couldn't login to the world (usually the world server is mapped to a different address.)
Banned (not yet implemented)

VP_RC_NOT_IN_WORLD 8

Not in world

The SDK is not initialized into a world.

VP_RC_CONNECTION_ERROR 9

Connection error

There was an error connecting to the universe/world server.

VP_RC_NO_INSTANCE 10

No instance

VP_RC_NOT_IMPLEMENTED 11

Not implemented

VP_RC_NO_SUCH_ATTRIBUTE 12

No such attribute

There is no attribute matching that name.

VP_RC_NOT_ALLOWED 13

Not allowed

VP_RC_DATABASE_ERROR 14

Database error

VP_RC_NO_SUCH_USER 15

No such user

The user you are looking for does not exist.

VP_RC_TIMEOUT 16

Timeout

The action timed out.