kokekanon / otclient.readme

An alternative tibia client for otserv written in C++20 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize
Other
0 stars 1 forks source link

missing contet Cyclopedia / Wheel_Of_Destiny #1

Open kokekanon opened 4 months ago

kokekanon commented 4 months ago

1) Wheel_Of_Destiny

  1. player:isPromoted
  2. g_game.requestWheelOfDestiny
  3. if widget.value:isValidArea(mousePos) then

function widget:onMouseMove(mousePos) if unlock:isValidArea(mousePos) then

function widget:onClick(pos) local parent = self:getParent() if not unlock:isValidArea(pos) then

5. ARRAY : Wheel_Of_Destiny.Slots
6.   ARRAY : Wheel_Of_Destiny.Sides

## SEND

case 0x61: parseOpenWheel(msg);--->g_game.requestWheelOfDestiny() case 0x62: parseSaveWheel(msg); --> g_game.requestSaveWheelOfDestiny(slots)



## GET

onParseWheelOfDestiny

# 2) Cyclopedia 

- array Vocations array index name

- g_game.getItemFrame

- `item: getResultingValue()`

- g_game.getRealVocation
    local player = g_game.getLocalPlayer()
    local vocation = g_game.getRealVocation(player:getVocation())
- item:getNpcSaleData

- placeholder
- setTooltipAlign

# 3) TODO

1. string to string_View
2. reorder img(data/images)
7. delete unused images
8. order cpp
kokekanon commented 3 months ago

Items image

kokekanon commented 3 months ago

Bestiary image

kokekanon commented 3 months ago

charms image

kokekanon commented 3 months ago

map

lua image

kokekanon commented 3 months ago

house

image image

kokekanon commented 3 months ago

Characters

image

image

image

image

image

image

image

kokekanon commented 3 months ago

bosstiary Tracker image

kokekanon commented 3 months ago

Groups :

Hex: 0xDF // dec : 223

Groups ID Check
Add 1
Edit 2
Remove 3
kokekanon commented 3 months ago

canary problem : not work


void LocalPlayer::setResourceBalance(Otc::ResourceTypes_t type, uint64_t value)
{
    const uint64_t oldBalance = getResourceBalance(type);
    if (value == oldBalance)
        return;

    m_resourcesBalance[type] = value;
    g_lua.callGlobalField("g_game", "onResourcesBalanceChange", value, oldBalance, type);
}
kokekanon commented 1 month ago

1) check in old protocol : g_game.getFeature(GameVipGroups) 2) Cache .json 3) Edit Vip image

3) Groups :

Hex: 0xDF // dec : 223

Groups ID Check
Add 1
Edit 2
Remove 3

Edit vip check

4) fix Sort image

image

5) fix onlogin , last config

6) add this image

7) change icon

8) report name bug ?