From The Mana World
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category: Projects]]
==Current==
==Current==
   Condensing and creating sanity in an otherwise mad, mad, world.
   Condensing and creating sanity in an otherwise mad, mad, world.
===TMW-Herc===
* [[User:Wushin/Develop]]
===Moving Tutorial===
* Wiki Pages to edit
** [[Walkthrough]]
** [[Quests]]
** [[Tutorial]]
** [[Tulimshar Quests]]
** [[Ayasha's Hide and Seek]]
** [[Banu]]
** [[Wyara]] for Reset
** [[Fieri]] New Cook
** [[Speed Skill]]
** [[Magic Quests]] Wyara, Morgan, Pauline, Earth Spirit
** [[Candor]]
** [[Blue Sage Quest]]
** [[Christmas Event]]
===Quest Log===
[TEST]
== Client Data ==
quests.xml
    <quests>
        <var id="[0-9]">
            <effect map="Map.tmx" npc="NpcIdServerDataUses" value="QuestValue(s)" effect="EffectId"/>
            <quest name="Name" group="GroupName" (in)complete="QuestValue">
                <name>Name</name>
                <text>Quest Info</text>
            </quest>
        </var>
    </quests>
Working Example: [https://github.com/wushin/tmwa-client-data/tree/quest-log-xml Quest Log Client Data]
== Server Data ==
Quest ID: var id used by client
CommonVar: Used in getq & to set
ServerVar: Server Varaible value is stored
SHIFT: Posistion shifted. (SHIFT * MASK)
MASK: Size of shift to make. ((1 << MASK) - 1) << (SHIFT * MASK)
From world/map/conf/tmwa-map.conf -> quest_db: db/quest-log.txt:
    Quest ID,CommonVar,ServerVar,SHIFT,MASK
Working Example: [https://github.com/wushin/tmwa-server-data/tree/quest-log-with-bits Quest log Server Data]
== TMWA ==
Working Example: [https://github.com/wushin/tmwa/tree/quest-log Quest Log TMWA]
== Conversion / Creation ==
* All Quest Log Vars will start with QL_ prefix
* Check they are unique within the source
Existing
* Quest isn't bitmasked
* Quest is bitmasked
* Quest is bitmasked but uses single bit shifts
New
* Pick an open Bitmask on an existing var
* Create VR var to shift into that var
* set VR, int; Bit masking takes care of the rest
===Professions===
[WIP]
* [https://github.com/wushin/tmwa-server-data/tree/ABM-skills server-data]
* [https://github.com/wushin/tmwa-client-data/tree/ABM-skills client-data]

Latest revision as of 07:43, 23 April 2015

Current

 Condensing and creating sanity in an otherwise mad, mad, world.

TMW-Herc

Moving Tutorial

Quest Log

[TEST]

Client Data

quests.xml

   <quests>
       
           <effect map="Map.tmx" npc="NpcIdServerDataUses" value="QuestValue(s)" effect="EffectId"/>
           <quest name="Name" group="GroupName" (in)complete="QuestValue">
               <name>Name</name>
               <text>Quest Info</text>
           </quest>
       
   </quests>

Working Example: Quest Log Client Data

Server Data

Quest ID: var id used by client

CommonVar: Used in getq & to set

ServerVar: Server Varaible value is stored

SHIFT: Posistion shifted. (SHIFT * MASK)

MASK: Size of shift to make. ((1 << MASK) - 1) << (SHIFT * MASK)

From world/map/conf/tmwa-map.conf -> quest_db: db/quest-log.txt:

   Quest ID,CommonVar,ServerVar,SHIFT,MASK

Working Example: Quest log Server Data

TMWA

Working Example: Quest Log TMWA

Conversion / Creation

  • All Quest Log Vars will start with QL_ prefix
  • Check they are unique within the source

Existing

  • Quest isn't bitmasked
  • Quest is bitmasked
  • Quest is bitmasked but uses single bit shifts

New

  • Pick an open Bitmask on an existing var
  • Create VR var to shift into that var
  • set VR, int; Bit masking takes care of the rest

Professions

[WIP]