-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix links and a few text in pages from "Basics" section
- Loading branch information
1 parent
d2324cf
commit 21c4284
Showing
10 changed files
with
114 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
An **account id** uniquely identifies a player (gender Female(F) or Male (M)) or server account (gender S) not only | ||
inside the database, but also in inter-server communication and in associations of data with an account, such as | ||
[account variables](../scripting/variables.md). Account ID is also used to save the character data, and is uniqu. In-game it | ||
is mostly used as a [game id](gid). It should not be confused with [character id](cid) which | ||
identifies a character. | ||
# Account ID (AID) | ||
|
||
An **account id** uniquely identifies an account, not only inside the database, but also in inter-server communication. | ||
|
||
Accounts can be classified in 2 types, based on its "Gender": | ||
|
||
- Player account, for accounts with gender Female (F) or Male (M) | ||
- Server account, for accounts with gender S | ||
|
||
For player accounts, the "Gender" information is used to determine the initial gender selection when | ||
creating a character in-game. For old client versions, where gender selection was not possible, this was | ||
the gender of all characters in the game account. | ||
|
||
Account IDs are used to associate account-wide data with an account, such as: | ||
|
||
- Characters list | ||
- [account variables](../scripting/variables.md) | ||
|
||
In-game it is mostly used as a [game id (GID)](./gid.md). | ||
|
||
It should not be confused with [character id (CID)](./cid.md) which identifies a character. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
A **character ID** uniquely identifies a character, not only inside the database, but also in inter-server communication | ||
and association of data with a character, such as [character variables](../scripting/variables.md) or | ||
[status ailments](../overview/source/status-list.md). The character ID fulfills the same role as a combination of [account ID](aid) | ||
# Character ID (CID) | ||
|
||
A **character ID** uniquely identifies a character, not only inside the database, but also in inter-server communication. | ||
|
||
It associates data specific to a character, such as: | ||
|
||
- Character name | ||
- Character gender | ||
- [character variables](../scripting/variables.md) | ||
- [status ailments](../overview/source/status-list.md) | ||
|
||
The character ID fulfills the same role as a combination of [account ID (AID)](./aid.md) | ||
and character's slot ID, which means, if two character ids match their account IDs are automatically | ||
the same as well. | ||
|
||
The Character ID typically increments starting from 150000 and going up. | ||
|
||
[Category:incomplete](Category:incomplete "wikilink") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
The **GID** stands for game id or game object id. It uniquely identifies each and every dynamic object | ||
([NPC](npc), [monster](mob "wikilink"), player, item, skill unit) inside the game. For the players a GID is | ||
their [account id](aid), for all other objects it is a server-generated id, that changes each time the object | ||
# Game ID (GID) | ||
|
||
The **GID** stands for game id or game object id. | ||
|
||
It uniquely identifies each and every dynamic object ([NPC](./npc.md), [monster](../overview/source/mob/index.md), | ||
player, item, skill unit) inside the game. | ||
|
||
For the players a GID is their [account id (AID)](./aid.md), for all other objects it is a server-generated id, that changes each time the object | ||
is created. | ||
|
||
You can view the id in-game by right-clicking on a object, when your account has enabled game master menu. | ||
|
||
[Category:Incomplete](Category:Incomplete "wikilink") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
# Kafra | ||
|
||
![Kafra Staff Tayelin](assets/Kafra2.gif "Kafra Staff Tayelin") | ||
|
||
**Kafra Corporation** is a group of Ragnarok Online | ||
[NPCs](NPC "wikilink"), which is generally responsible for setting save points, giving access to player's item storage, | ||
[NPCs](./npc.md), which is generally responsible for setting save points, giving access to player's item storage, | ||
providing teleport services and renting merchant class carts. Later episodes introduced two further groups for the same | ||
services; namely Cool Event Corporation (western continent) and Cat Hand Services (new world). | ||
|
||
|
||
[Category:Incomplete](Category:Incomplete "wikilink") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# MVP | ||
|
||
**MVP** stands for *most valuable player*, referring to the player, which contributed most to the slay-down of a boss | ||
monster, which is itself often referred to as MVP as well. Boss monsters are the strongest monsters in [Ragnarok | ||
Online](Ragnarok_Online "wikilink"), from which the MVP gets extra experience and special prizes right into their | ||
monster, which is itself often referred to as MVP as well. Boss monsters are the strongest monsters in | ||
[Ragnarok Online](https://en.wikipedia.org/wiki/Ragnarok_Online), from which the MVP gets extra experience and special prizes right into their | ||
inventory for defeating, aside from normal drops. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
# RID | ||
|
||
Most scripting commands and functions will want to request data about a character, store variables referenced to that | ||
character, send stuff to the client connected to that specific character. Whenever a script is invoked by a character, | ||
character, send stuff to the client connected to that specific character, etc. Whenever a script is invoked by a character, | ||
it is passed a so-called RID - this is the account ID number of a character that caused the code to execute by clicking | ||
on it, walking into it's [OnTouch](OnTouch "wikilink") zone, or otherwise. | ||
on it, walking into it's [OnTouch](../scripting/events/ontouch.md) zone, or otherwise. | ||
|
||
# Usage | ||
## Usage | ||
|
||
When writing simple [NPCs](NPC "wikilink") only, this topic will not require much attention. However, when using | ||
[functions](Functions "wikilink"), [timers](Timers_(Scripting) "wikilink"), or clock-based script activation, one | ||
When writing simple [NPCs](./npc.md) only, this topic will not require much attention. However, when using | ||
[functions](../scripting/functions.md), [timers](../scripting/timers.md), or clock-based script activation, one | ||
requires to be aware of all cases when a script execution can be triggered without a RID attached. This will make a lot | ||
of commands and functions unusable, since they request data from a specific character, send data to a specific client, | ||
or store variables specific to a character, which are unavailable, if there's no RID, which refers to the character to | ||
work with, unless [attachrid](attachrid "wikilink") is used to explicitly attach a character to the script first. | ||
work with, unless [attachrid](../scripting/commands/attachrid.md) is used to explicitly attach a character to the script first. | ||
|
||
Whenever is stated *invoking character* or *currently attached character*, it actually means *the character whose RID is | ||
currently attached to the running script*. The script function [playerattached](playerattached "wikilink") can be used | ||
Whenever is stated **invoking character** or **currently attached character**, it actually means *the character whose RID is | ||
currently attached to the running script*. The script function [playerattached](../scripting/commands/playerattached.md) can be used | ||
to check which is the currently attached player to the script (it will return 0 if the there is no player attached or | ||
the attached player no longer is logged on to the map-server). The function [detachrid](detachrid "wikilink") will | ||
the attached player no longer is logged on to the map-server). The function [detachrid](../scripting/commands//detachrid.md) will | ||
explicitly set the RID to 0, so care must be taken, that follow-up commands do not depend on a character being attached, | ||
especially access to [temporary character variables](../scripting/variables.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters