Create an account


Servers list - Tibiafun Forum
No.: Status: Type: Server name:
IP:
Players/Slots:
Map:
More:
1 Online tibiafun3.net tibiafun.com.pl:9987
0/32 - 0 %
- - -
    Total servers: 1     Total players: 0     Total slots: 32     Total empty slots: 32     Percent players: 0 %     Record players: 26

[-]
Last Posts
long-lasting manashield
Starter:takeoded Last Post by:takeoded Replies:0 Suggestions Views:24 Time:04-01-2019
mana bar (for mages / mana shield)
Starter:takeoded Last Post by:takeoded Replies:0 Other Views:32 Time:04-01-2019
show exp by millions for lvl >= 496
Starter:takeoded Last Post by:takeoded Replies:0 Suggestions Views:127 Time:03-14-2019
max HP / max mana increase for Scarab Coins?
Starter:takeoded Last Post by:takeoded Replies:0 Suggestions Views:39 Time:03-14-2019
PALLADIN REWORK?!
Starter:Creativess Last Post by:takeoded Replies:11 Suggestions Views:912 Time:03-14-2019

Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 989
» Latest member: takeoded
» Forum threads: 156
» Forum posts: 346

Full Statistics

Online Users
There are currently 7 online users.
» 0 Member(s) | 6 Guest(s)
Google

 
  long-lasting manashield
Posted by: takeoded - 04-01-2019, 07:11 AM - Forum: Suggestions - No Replies

new spell "utamo vita vis" => 24 hour long mana-shield

as a Mage, dying because you forgot to use "utamo vita" within the last few minutes is extremely annoying. we should have a mana-shield spell that lasts.. 24 hours? (with the 5AM UTC daily automated server restart, that is essentially permanent)

Print this item

  mana bar (for mages / mana shield)
Posted by: takeoded - 04-01-2019, 12:01 AM - Forum: Other - No Replies

here is a Cheat Engine script ( https://cheatengine.org/ ) that replaces your avatar's HP bar with a mana bar, useful when playing on my Mage, imo:

Code:
{ Game   : Tibia.exe 7.6
  Version: 1
  Date   : 2019-03-30
  Author : hans
  This script replaces your above-avatar health bar with a mana bar (useful for mages with mana shield)
}
{
uint *player_id = 004A1244
// THIS IS WRONG: Creature *our_avatar = (*(004194D8)) + 178;
uint *mana_max= 004A1220;
uint *mana_now= 004A1224;
}
[ENABLE]

aobscanmodule(INJECT_COLOR,Tibia.exe,8B 81 84 00 00 00 33 C9 3B C1 7C 18 83 F8)
aobscanmodule(INJECT_HEALTH,Tibia.exe, 8B 82 84 00 00 00 8B 4C 24 38)
alloc(newmem_COLOR,$1000)
alloc(newmem_HEALTH,$1000)
define(mana_max,004A1220)
define(mana_now,004A1224)
define(player_id,004A1244)
label(original_COLOR)
label(return_COLOR)
label(original_HEALTH)
label(return_HEALTH)
//<color>
newmem_COLOR:
mov eax,[player_id]
cmp eax,[ecx]
jne original_COLOR // it's someone else
// it's me
// <mana_max_zero>
// special case for max mana 0 to avoid "division by zero crash" (rookguard level 1 with 0 mana?)
cmp [mana_max],(int)0
jne not_zero_max_mana_COLOR
// ... our max mana is 0, not sure what to do
mov eax,(int)50
jmp return_COLOR
not_zero_max_mana_COLOR:
//</mana_max_zero>
mov eax,[mana_now]
push edx
mov edx,(int)100
imul edx
idiv [mana_max]
pop edx
// result is now in eax where it's supposed to be.
jmp return_COLOR
original_COLOR:
  mov eax,[ecx+00000084]
  jmp return_COLOR

INJECT_COLOR:
  jmp newmem_COLOR
  nop
return_COLOR:
registersymbol(INJECT_COLOR)
//</color>
//<health>

newmem_HEALTH:
mov eax,[player_id]
cmp eax,[edx]
jne original_HEALTH // it's someone else
// it's me
// <mana_max_zero>
// special case for max mana 0 to avoid "division by zero crash" (rookguard level 1 with 0 mana?)
cmp [mana_max],(int)0
jne not_zero_max_mana_HEALTH
// ... our max mana is 0, not sure what to do
mov eax,(int)50
jmp return_HEALTH
not_zero_max_mana_HEALTH:
//</mana_max_zero>
mov eax,[mana_now]
push edx
mov edx,(int)100
imul edx
idiv [mana_max]
pop edx
// result is now in eax where it's supposed to be.
jmp return_HEALTH
original_HEALTH:
mov eax,[edx+00000084]
jmp return_HEALTH

INJECT_HEALTH:
  jmp newmem_HEALTH
  nop
return_HEALTH:
registersymbol(INJECT_HEALTH)

//</health>

[DISABLE]

//<color>
INJECT_COLOR:
  db 8B 81 84 00 00 00

unregistersymbol(INJECT_COLOR)
dealloc(newmem_COLOR)
//</color>
//<health>
INJECT_HEALTH:
db 8B 82 84 00 00 00 8B 4C 24 38
unregistersymbol(INJECT_HEALTH)
dealloc(newmem_HEALTH)
//</health>

{
// COLOR ORIGINAL CODE - INJECTION POINT: "Tibia.exe"+18BB0

"Tibia.exe"+18B94: 56                    -  push esi
"Tibia.exe"+18B95: 8B F1                 -  mov esi,ecx
"Tibia.exe"+18B97: 89 46 7C              -  mov [esi+7C],eax
"Tibia.exe"+18B9A: E8 B1 10 04 00        -  call Tibia.exe+59C50
"Tibia.exe"+18B9F: 05 E8 03 00 00        -  add eax,000003E8
"Tibia.exe"+18BA4: 89 86 80 00 00 00     -  mov [esi+00000080],eax
"Tibia.exe"+18BAA: 5E                    -  pop esi
"Tibia.exe"+18BAB: C2 04 00              -  ret 0004
"Tibia.exe"+18BAE: CC                    -  int 3
"Tibia.exe"+18BAF: CC                    -  int 3
// ---------- INJECTING HERE ----------
"Tibia.exe"+18BB0: 8B 81 84 00 00 00     -  mov eax,[ecx+00000084]
// ---------- DONE INJECTING  ----------
"Tibia.exe"+18BB6: 33 C9                 -  xor ecx,ecx
"Tibia.exe"+18BB8: 3B C1                 -  cmp eax,ecx
"Tibia.exe"+18BBA: 7C 18                 -  jl Tibia.exe+18BD4
"Tibia.exe"+18BBC: 83 F8 03              -  cmp eax,03
"Tibia.exe"+18BBF: 7F 13                 -  jg Tibia.exe+18BD4
"Tibia.exe"+18BC1: 8B 44 24 04           -  mov eax,[esp+04]
"Tibia.exe"+18BC5: C7 00 60 00 00 00     -  mov [eax],00000060
"Tibia.exe"+18BCB: 89 48 04              -  mov [eax+04],ecx
"Tibia.exe"+18BCE: 89 48 08              -  mov [eax+08],ecx
"Tibia.exe"+18BD1: C2 04 00              -  ret 0004
}

{
// HEALTH ORIGINAL CODE - INJECTION POINT: "Tibia.exe"+49F42
"Tibia.exe"+49F1C: 89 0A                    -  mov [edx],ecx
"Tibia.exe"+49F1E: 8B 8C 24 20 48 00 00     -  mov ecx,[esp+00004820]
"Tibia.exe"+49F25: 89 42 04                 -  mov [edx+04],eax
"Tibia.exe"+49F28: B8 1B 00 00 00           -  mov eax,0000001B
"Tibia.exe"+49F2D: 89 42 08                 -  mov [edx+08],eax
"Tibia.exe"+49F30: B8 04 00 00 00           -  mov eax,00000004
"Tibia.exe"+49F35: 51                       -  push ecx
"Tibia.exe"+49F36: 89 42 0C                 -  mov [edx+0C],eax
"Tibia.exe"+49F39: E8 D2 CC 00 00           -  call Tibia.exe+56C10
"Tibia.exe"+49F3E: 8B 54 24 48              -  mov edx,[esp+48]
// ---------- INJECTING HERE ----------
"Tibia.exe"+49F42: 8B 82 84 00 00 00        -  mov eax,[edx+00000084]
// ---------- DONE INJECTING  ----------
"Tibia.exe"+49F48: 8B 4C 24 38              -  mov ecx,[esp+38]
"Tibia.exe"+49F4C: 99                       -  cdq
"Tibia.exe"+49F4D: 83 E2 03                 -  and edx,03
"Tibia.exe"+49F50: 03 C2                    -  add eax,edx
"Tibia.exe"+49F52: 8B 94 24 2C 48 00 00     -  mov edx,[esp+0000482C]
"Tibia.exe"+49F59: 8D 4C 11 01              -  lea ecx,[ecx+edx+01]
"Tibia.exe"+49F5D: 8B 54 24 44              -  mov edx,[esp+44]
"Tibia.exe"+49F61: 89 4C 24 60              -  mov [esp+60],ecx
"Tibia.exe"+49F65: 8B 8C 24 28 48 00 00     -  mov ecx,[esp+00004828]
"Tibia.exe"+49F6C: 8D 4C 0A 01              -  lea ecx,[edx+ecx+01]
}



Attached Files
.zip   mana_bar_7.6.CT.zip (Size: 1.84 KB / Downloads: 4)
Print this item

  show exp by millions for lvl >= 496
Posted by: takeoded - 03-14-2019, 05:06 PM - Forum: Suggestions - No Replies

i recently reached lvl 496, and at lvl 496, your visible experiences goes to 0:
[Image: E3uHDB4.png]


this is a technical issue, in the 7.6 protocol, the experience is a `signed 32bit integer`, meaning max it can show is 2147483647, if you try to show higher than that, the client will *CRASH* or show a negative bogus value. to prevent the crash, YurOTS change it to 0 exp instead.


problem with this is:
[Image: ULwfgp0.png]

we can no longer deduce the exp/hour rate, so it's really hard to compare hunt spots for "which place gives the most exp/hour?"

i suggest that instead of changing it to zero exp, we should show the exp by millions-of-exp. now you will not have a problem at lvl 496, you will have a problem at level 50511 (at 2147608237913000 exp) instead, which is not a problem, nobody will get anywhere close to that level, and players can still check how much exp/hour we're getting.


now, assuming it's a YurOTS engine, that means in protocol76.cpp, find


Code:
void Protocol76::AddPlayerStats(NetworkMessage &msg,const Player *player)
{
    msg.AddByte(0xA0);
    msg.AddU16(player->getHealth());
    msg.AddU16(player->getPlayerInfo(PLAYERINFO_MAXHEALTH));
    msg.AddU16((unsigned short)std::floor(player->getFreeCapacity()));

#ifdef YUR_HIGH_LEVELS
    if (player->getPlayerInfo(PLAYERINFO_LEVEL) > 65535)
    {
        msg.AddU32(player->getPlayerInfo(PLAYERINFO_LEVEL));
        msg.AddU16(0);
    }
    else if (player->getExperience() > 2000000000L)
    {
        msg.AddU32(0);
        msg.AddU16(player->getPlayerInfo(PLAYERINFO_LEVEL));
    }
and simply replace

Code:
    else if (player->getExperience() > 2000000000L)
    {
        msg.AddU32(0);


with

Code:
    else if (player->getExperience() > 2000000000L)
    {
        msg.AddU32(uint32_t(player->getExperience() / 1000000)); // this is safe up to level 50511


- it's a 1-line change, and will allow us to calculate exp/h up to level 50,511.



- or, if for whatever reason you want the engine to be safe for levels even higher than level 50,511 then change it to:

Code:
    else if (player->getExperience() > 2000000000L)
    {
                 // someone over level 496
                const uint32_t tmp= uint32_t(player->getExperience() / 1000000);
                if( tmp > 2000000000L){
                    // someone over level 50511, i give up.
                   msg.addU32(0);      
                }else{
                    msg.addU32(tmp);
                }


made a video showcasing the effect of the code:
https://www.youtube.com/watch?v=Ph7PBMwAdhM

Print this item

  max HP / max mana increase for Scarab Coins?
Posted by: takeoded - 03-14-2019, 12:43 PM - Forum: Suggestions - No Replies

how about a permanent hp/mana increase npc, like 2 scarab coins = +1 max HP (or max mana, your choice)

so like.. if you manage to collect 40 scarab coins, you can get +20 max hp or +20 max mana

rich people would have something to do with all their money, and there probably would be no rich people anyway (because most money would be spent increasing their stats)

(the price is just a random suggestion, i have never been a high level char and idk how fast they can collect money, maybe 5 or 10 or 50 sc is more appropriate, i don't know.)

Print this item

Big Grin ------EAGLE SHIELD--------
Posted by: HMMM - 02-11-2019, 05:13 AM - Forum: Błędy - No Replies

EAGLE SHIELD ZNIKŁ MI Z DOMKU SA TYLKO WPISANE 3 OSOBY DO DOMKU SWOJ SWOJEGO NIE ODPIER.... MA ZNALEŹĆ SIĘ MÓJ SHIELD TO NAPRAW BŁEDY


NR DOMKU 'Hoganas 3'

Print this item

  DLT QUEST - PAJAKI NIE DO ZAEBANIA
Posted by: cheerios - 02-02-2019, 02:14 PM - Forum: Suggestions - Replies (8)

Nie wiem kto wymyślał te pajaki ale chyba troche go wyobraźnia w uja zrobiła..
pajaki biegaja szybciej niz lampardy jakies, jest ich 30 bija non stop dmg i maja 8.8 mil hp.... ZMIEŃCIE TO

Print this item

  WRINKLED BEHOLDER
Posted by: Thor - 01-31-2019, 03:34 PM - Forum: Tutorials - No Replies

Siemka, dziś pokażę wam jak dojść na nowe potwory Wrinkled Beholder. Exp najlepszy dla rp lvl 700+ Smile.

[Image: Screenshot-10.png]

[Image: Screenshot-1.png]

[Image: Screenshot-2.png]

[Image: Screenshot-3.png]

[Image: 4.png]

[Image: Screenshot-4.png]

[Image: Screenshot-6.png]

[Image: Screenshot-7.png]

[Image: Screenshot-8.png]

[Image: Screenshot-9.png]

Print this item

  HAPPY HOURS
Posted by: Thor - 01-29-2019, 07:16 PM - Forum: Latest News - No Replies

Hello. Today I would like to announce that we are starting cyclical series of a events. We will give you a happy hours everyday which such a bonuses. You can get 20% more exp and 20% more loot.


Print this item

  Update [1.0]
Posted by: Creativess - 01-29-2019, 01:56 PM - Forum: Latest News - No Replies

- Gem System
Ten system będzie wyróżniał 5 rodzajów, gemów które będziecie mogli zdobyć za pomocą Task systemu
po zabiciu 20000 potworów które są wymienione w taskach i możecie je sprawdzić na naszej stronie w tej zakładce,
Każdy Gem który będzie opisany w nowej zakładce na naszej stronie która nazywa się Gem System


- Nap
- Poprawiony błąd który dotyczył itemów dodających prędkość gracza między innymi, boots of haste, winged helmet, time ring.
- Dodany stealth ring do NPC ktory sprzedaje ringi po wykonaniu Chaos Elf quest (Potrzebny między innymi na Darth Lord Tom Quest).
- Blue robe + 2% do obrażen magicznych
- Zaktualizowana zakładka 'Houses' znajdziecie w niej informacje o Rent House System oraz dodana lista wolnych domkow.
- Full light dla graczy posiadających konto premium.
- Zredukowany czas blokady na wpisywanie komendy "!check" z 30 sekund do 15 sekund.
- Dragon scale legs Quest zmieniona została bramka levelowa na poziom 700 , oraz zredukowany poziom trudnośći questa.
- Poprawiona zostala rozbieżność manaruny dla każdej profesji, oraz większe zależnośći od magic level.
- Spell book of Necropharus otrzymał 16 punktów defensywnych.
*[PACC]*
- Zostały dodane 3 nowe expowiska z mobami:
- Wrinkled Beholder
- Skeleton Elite Warrior
- Hydra Oramond
- Wejście na Native Armor quest zostało zmienione na 700 level.
- Zredukowany level potrzebny do przejscia przez bramke na bossa 'Red Sharok'

- Gem System
This system will distinguish 5 types, which you can get using the Task system
after killing 20,000 monsters that are listed in the quests and you can check them on our page in this tab,
Each Gem which will be described in a new tab on our site which is called Gem System

- Fixed an error that affected items adding the player's speed, among others, boots of haste, winged helmet, time ring.
- Added a NPC stealth ring that sells the rings after completing the Chaos Elf quest (Needed among other things on Darth Lord Tom Quest).
- Blue robe + 2% for magic damage
- The updated 'Houses' tab contains information about the Rent House System and an added list of vacant houses.
- Full light for players with a premium account.
- Reduced lock time to enter the "! Check" command from 30 seconds to 15 seconds.
- Dragoon scale legs Quest a door was changed to level 700.
- Corrected range of gain mana by manarune for every profession.
- Spell book of Necropharus received 16 defensive points.
[PACC]
- Three new experience places with mobs have been added:
- Wrinkled Beholder
- Skeleton Elite Warrior
- Hydra Oramond
- Entry to Native Armor quest has been changed to 700 level.
- Reduced level needed to pass through the boss 'Red Sharok'

Print this item

  SASQUATCH [ FACC ]
Posted by: Thor - 01-19-2019, 04:34 PM - Forum: Tutorials - No Replies

hejka, dzis wam pokaze jak dojsc do bossa sasquatch, zaczynamy z city, idziemy na statek i plyniemy na svargrond, nastepnie kierujemy sie jak na screenach.

[Image: Screenshot-2.png]

[Image: Screenshot-3.png]

[Image: Screenshot-4.png]

[Image: Screenshot-5.png]

[Image: Screenshot-6.png]

[Image: Screenshot-7.png]

[Image: Screenshot-8.png]

[Image: Screenshot-9.png]

[Image: Screenshot-10.png]

[Image: Screenshot-11.png]

[Image: Screenshot-12.png]

[Image: Screenshot-13.png]

[Image: Screenshot-14.png]

[Image: Screenshot-15.png]

Powodzenia. Sasquatch tak samo jak dragon god, bije naprawdę sporo Smile

Print this item

 
Latest Threads
long-lasting manashield

Last Post: takeoded
04-01-2019, 07:11 AM
mana bar (for mages / man...

Last Post: takeoded
04-01-2019, 12:01 AM
show exp by millions for ...

Last Post: takeoded
03-14-2019, 05:06 PM
max HP / max mana increas...

Last Post: takeoded
03-14-2019, 12:43 PM
PALLADIN REWORK?!

Last Post: takeoded
03-14-2019, 12:36 PM
------EAGLE SHIELD-------...

Last Post: HMMM
02-11-2019, 05:13 AM
Creativess
DLT QUEST - PAJAKI NIE DO...

Last Post: Creativess
02-04-2019, 06:11 PM
Thor
WRINKLED BEHOLDER

Last Post: Thor
01-31-2019, 03:34 PM
Thor
HAPPY HOURS

Last Post: Thor
01-29-2019, 07:16 PM
Creativess
Update [1.0]

Last Post: Creativess
01-29-2019, 01:56 PM

Forum software by © MyBB Theme © iAndrew 2016
Powered By