• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Feature [TFS 1.3] Monster Levels

Infernum

Senator
Joined
Feb 14, 2015
Messages
5,598
Solutions
556
Reaction score
3,547
Last edited by a moderator:

GN Xedoc

Banned User
Joined
Sep 2, 2018
Messages
26
Solutions
2
Reaction score
2
There is some code missing from this feature, When I gather my code together I'll release it.
 

Tempesto

Member
Joined
Feb 12, 2018
Messages
79
Reaction score
5
Location
Ruining your servers.
Is there a code part that can be added on(by you :p) where the monster gains exp to level? And stops exping after 100 kills of players in under 10 minutes and waits for 10 hrs? TFS 1.2? or should I put this in the request section?
 

GN Xedoc

Banned User
Joined
Sep 2, 2018
Messages
26
Solutions
2
Reaction score
2
This system was/is for aros.online. However he is releasing it here. So no... he didn't copy it from there.
That is where it is posted and it isn't anything new, although I wrote a different version of it a few years ago well before 2015. But yea he is missing some important methods, anyway it doesn't matter if you guys are happy with what you have then great! :)
 

Shadow_

Advanced OT User
Joined
Jun 2, 2018
Messages
754
Solutions
25
Reaction score
240
Location
Cairo, Egypt
Code:
Severity    Code    Description    Project    File    Line    Suppression State
Error    C2228    left of '.value' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4169   
Error    C2027    use of undefined type 'Monster'    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\protocolgamebase.cpp    126   
Error    C2227    left of '->getLevel' must point to class/struct/union/generic type    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\protocolgamebase.cpp    126   
Error    C2027    use of undefined type 'Monster'    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\protocolgamebase.cpp    127   
Error    C2227    left of '->getLevel' must point to class/struct/union/generic type    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\protocolgamebase.cpp    127   
Error    C2039    'info': is not a member of 'MonsterType'    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monsters.cpp    876   
Error    C2228    left of '.minLevel' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monsters.cpp    876   
Error    C2039    'info': is not a member of 'MonsterType'    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monsters.cpp    881   
Error    C2228    left of '.maxLevel' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monsters.cpp    881   
Error    C2039    'info': is not a member of 'MonsterType'    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monster.cpp    56   
Error    C2228    left of '.minLevel' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monster.cpp    56   
Error    C2228    left of '.maxLevel' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monster.cpp    56   
Error    C2660    'uniform_random': function does not take 1 arguments    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monster.cpp    56   
Error    C2065    'damage': undeclared identifier    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4165   
Error    C2228    left of '.primary' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4165   
Error    C2228    left of '.value' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4165   
Error    C2065    'damage': undeclared identifier    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4166   
Error    C2228    left of '.primary' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4166   
Error    C2228    left of '.value' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4166   
Error    C2065    'damage': undeclared identifier    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4168   
Error    C2228    left of '.secondary' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4168   
Error    C2228    left of '.value' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4168   
Error    C2065    'damage': undeclared identifier    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4169   
Error    C2228    left of '.secondary' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4169   
Error    C2572    'ConfigManager::getGlobalFloat': redefinition of default argument: parameter 1    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\configmanager.cpp    210   
Error (active)    E0393    pointer to incomplete class type is not allowed    theforgottenserver    c:\Users\rahma\Desktop\Tibia_Development\TFS\Tfs Custom Modifications V2\src\protocolgamebase.cpp    126   
Error (active)    E0393    pointer to incomplete class type is not allowed    theforgottenserver    c:\Users\rahma\Desktop\Tibia_Development\TFS\Tfs Custom Modifications V2\src\protocolgamebase.cpp    127
@Vulcan_
 

StreamSide

Joseluis Gonzalez
Support Team
Joined
Aug 31, 2007
Messages
3,459
Solutions
44
Reaction score
966
Location
Arica - Chile
Code:
Severity    Code    Description    Project    File    Line    Suppression State
Error    C2228    left of '.value' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4169  
Error    C2027    use of undefined type 'Monster'    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\protocolgamebase.cpp    126  
Error    C2227    left of '->getLevel' must point to class/struct/union/generic type    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\protocolgamebase.cpp    126  
Error    C2027    use of undefined type 'Monster'    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\protocolgamebase.cpp    127  
Error    C2227    left of '->getLevel' must point to class/struct/union/generic type    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\protocolgamebase.cpp    127  
Error    C2039    'info': is not a member of 'MonsterType'    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monsters.cpp    876  
Error    C2228    left of '.minLevel' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monsters.cpp    876  
Error    C2039    'info': is not a member of 'MonsterType'    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monsters.cpp    881  
Error    C2228    left of '.maxLevel' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monsters.cpp    881  
Error    C2039    'info': is not a member of 'MonsterType'    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monster.cpp    56  
Error    C2228    left of '.minLevel' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monster.cpp    56  
Error    C2228    left of '.maxLevel' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monster.cpp    56  
Error    C2660    'uniform_random': function does not take 1 arguments    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\monster.cpp    56  
Error    C2065    'damage': undeclared identifier    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4165  
Error    C2228    left of '.primary' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4165  
Error    C2228    left of '.value' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4165  
Error    C2065    'damage': undeclared identifier    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4166  
Error    C2228    left of '.primary' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4166  
Error    C2228    left of '.value' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4166  
Error    C2065    'damage': undeclared identifier    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4168  
Error    C2228    left of '.secondary' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4168  
Error    C2228    left of '.value' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4168  
Error    C2065    'damage': undeclared identifier    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4169  
Error    C2228    left of '.secondary' must have class/struct/union    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\game.cpp    4169  
Error    C2572    'ConfigManager::getGlobalFloat': redefinition of default argument: parameter 1    theforgottenserver    c:\users\rahma\desktop\tibia_development\tfs\tfs custom modifications v2\src\configmanager.cpp    210  
Error (active)    E0393    pointer to incomplete class type is not allowed    theforgottenserver    c:\Users\rahma\Desktop\Tibia_Development\TFS\Tfs Custom Modifications V2\src\protocolgamebase.cpp    126  
Error (active)    E0393    pointer to incomplete class type is not allowed    theforgottenserver    c:\Users\rahma\Desktop\Tibia_Development\TFS\Tfs Custom Modifications V2\src\protocolgamebase.cpp    127
@Vulcan_
what version are you using?
title says tfs 1.3 :)
 

Shadow_

Advanced OT User
Joined
Jun 2, 2018
Messages
754
Solutions
25
Reaction score
240
Location
Cairo, Egypt
OP
Infernum

Infernum

Senator
Joined
Feb 14, 2015
Messages
5,598
Solutions
556
Reaction score
3,547
you're using tfs 1.2 for 8.6 which is outdated, not official 1.2
 
OP
Infernum

Infernum

Senator
Joined
Feb 14, 2015
Messages
5,598
Solutions
556
Reaction score
3,547
then it's still outdated, monsterinfo struct doesn't exist in yours, search 1.2 commits by monsterinfo and apply the changes
 

Togu

Advanced OT User
Joined
Jun 22, 2018
Messages
301
Solutions
1
Reaction score
157
Location
Brazil
I'm going to test it and then I'll try to make it like the stronger the monster the easier the drop rate.
 
Top