SDK Reason Codes: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
(Created page.)
 
(Added all reason codes for latest SDK.)
Line 15: Line 15:
<td><p>''Version mismatch''
<td><p>''Version mismatch''
:VP.h and the SDK library are from different builds.
:VP.h and the SDK library are from different builds.
</p></td>
</tr>
<tr>
<td id="VP_RC_NOT_INITIALIZED">VP_RC_NOT_INITIALIZED</td>
<td id="NO_2">2</td>
<td><p>''Not initialized''
:The SDK hasn't been initialized (try calling [[vp_init]])
</p></td>
</tr>
<tr>
<td id="VP_RC_ALREADY_INITIALIZED">VP_RC_ALREADY_INITIALIZED</td>
<td id="NO_3">3</td>
<td><p>''Already initialized''
:The SDK has already been initialized (by calling [[vp_init]])
</p></td>
</tr>
<tr>
<td id="VP_RC_STRING_TOO_LONG">VP_RC_STRING_TOO_LONG</td>
<td id="NO_4">4</td>
<td><p>''String too long''</p></td>
</tr>
<tr>
<td id="VP_RC_INVALID_LOGIN">VP_RC_INVALID_LOGIN</td>
<td id="NO_5">5</td>
<td><p>''Invalid login''
:Could not login due to invalid user or incorrect password.
</p></td>
</tr>
<tr>
<td id="VP_RC_WORLD_NOT_FOUND">VP_RC_WORLD_NOT_FOUND</td>
<td id="NO_6">6</td>
<td><p>''World not found''
:There is no world running with a matching name.
</p></td>
</tr>
<tr>
<td id="VP_RC_WORLD_LOGIN_ERROR">VP_RC_WORLD_LOGIN_ERROR</td>
<td id="NO_7">7</td>
<td><p>''World login error''
:Couldn't login to the world (usually the world server is mapped to a different address.)
:Banned (not yet implemented)
</p></td>
</tr>
<tr>
<td id="VP_RC_NOT_IN_WORLD">VP_RC_NOT_IN_WORLD</td>
<td id="NO_8">8</td>
<td><p>''Not in world''
:The SDK is not initialized into a world.
</p></td>
</tr>
<tr>
<td id="VP_RC_CONNECTION_ERROR">VP_RC_CONNECTION_ERROR</td>
<td id="NO_9">9</td>
<td><p>''Connection error''
:There was an error connecting to the universe/world server.
</p></td>
</tr>
<tr>
<td id="VP_RC_NO_INSTANCE">VP_RC_NO_INSTANCE</td>
<td id="NO_10">10</td>
<td><p>''No instance''</p></td>
</tr>
<tr>
<td id="VP_RC_NOT_IMPLEMENTED">VP_RC_NOT_IMPLEMENTED</td>
<td id="NO_11">11</td>
<td><p>''Not implemented''</p></td>
</tr>
<tr>
<td id="VP_RC_NO_SUCH_ATTRIBUTE">VP_RC_NO_SUCH_ATTRIBUTE</td>
<td id="NO_12">12</td>
<td><p>''No such attribute''
:There is no attribute matching that name.
</p></td>
</tr>
<tr>
<td id="VP_RC_NOT_ALLOWED">VP_RC_NOT_ALLOWED</td>
<td id="NO_13">13</td>
<td><p>''Not allowed''</p></td>
</tr>
<tr>
<td id="VP_RC_DATABASE_ERROR">VP_RC_DATABASE_ERROR</td>
<td id="NO_14">14</td>
<td><p>''Database error''</p></td>
</tr>
<tr>
<td id="VP_RC_NO_SUCH_USER">VP_RC_NO_SUCH_USER</td>
<td id="NO_15">15</td>
<td><p>''No such user''
:The user you are looking for does not exist.
</p></td>
</tr>
<tr>
<td id="VP_RC_TIMEOUT">VP_RC_TIMEOUT</td>
<td id="NO_16">16</td>
<td><p>''Timeout''
:The action timed out.
</p></td>
</p></td>
</tr>
</tr>


</table>
</table>

Revision as of 14:20, 17 June 2012

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.