• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    local vocation_stats = { [1] = {hp = 5, mp = 30, cap = 10}, [2] = {hp = 5, mp = 30, cap = 10}, [3] = {hp = 10, mp = 15, cap = 20}, [4] = {hp = 15, mp = 5, cap = 25} } local tiles = { --[actionid] = {vocation id} [65530] = { vocid = 1, extraItems = {...
  2. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    There is something wrong with set player vocation Was a knight, if i enter on knight tile works: doTeleportThing(cid, fromPosition) doSendMagicEffect(fromPosition, CONST_ME_POFF) But it i try to become paladin for example: [7:30:21.050] [Error - MoveEvents Interface]...
  3. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    Still that: [7:13:39.106] [Error - MoveEvents Interface] [7:13:39.106] data/movements/scripts/dawnport_tiles.lua:onStepIn [7:13:39.106] Description: [7:13:39.106] data/movements/scripts/dawnport_tiles.lua:99: attempt to perform arithmetic on field '?' (a nil value) [7:13:39.106] stack...
  4. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    Oh guys think you so much I was thinking no one would help me... --- error using this final script [6:9:56.048] [Error - MoveEvents Interface] [6:9:56.048] data/movements/scripts/dawnport_tiles.lua:onStepIn [6:9:56.048] Description: [6:9:56.048]...
  5. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    But i'm not using setSkillLevel, just to reset... You mean this? local vocation_stats = { [1] = {hp = 5, mp = 30, cap = 10}, [2] = {hp = 5, mp = 30, cap = 10}, [3] = {hp = 10, mp = 15, cap = 20}, [4] = {hp = 15, mp = 5, cap = 25} } local tiles = { --[actionid] = {vocation...
  6. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    So its no possible to do on 8.6?
  7. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    The line 104 is to reset skills before add tries again It is not how the doPlayerAddSkillTry, i dont know how it works, but its not like that... i could use your idea to setplayerskill, but anyways it still wouldnt be like tibia formula works, and maybe could be something OP I have this...
  8. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    It is a short fix, the calc will not be perfect, players would change vocation to grow up theirs skills... All the 0.4 functions are here: https://github.com/Fir3element/3777/blob/master/src/luascript.cpp Looking on 0.4 functions i got an idea to try in some other way: local vocation_stats =...
  9. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    local vocation_stats = { [1] = {hp = 5, mp = 30, cap = 10}, [2] = {hp = 5, mp = 30, cap = 10}, [3] = {hp = 10, mp = 15, cap = 20}, [4] = {hp = 15, mp = 5, cap = 25} } local tiles = { --[actionid] = {vocation id} [65530] = { vocid = 1, needcap = 88...
  10. samandriel

    Shared Exp 4 vocations

    There are a few of topics about it on this forum (solved) https://otland.net/threads/bonus-exp-based-on-party-size.242235/
  11. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    It shouldnt print 295 both times?
  12. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    Hey thank you to trying to help me, np bro, the others problems i think i can fix myself... The main problem is this convert skills problem, i have no idea what to do... I've test your last script, that whats happen: start with a knight skills 26 36% to 27 enter on tile to become sorcerer...
  13. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    player knight shielding 21 enter to change to sorcerer: shielding still 21 print it: 226 player enter on knight tile to become knight again shielding become 26 print it: 678 (weaponID is dropping on ground it isnt adding on backpack)
  14. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    [13:9:13.877] [Error - MoveEvents Interface] [13:9:13.877] data/movements/scripts/dawnport_tiles.lua:onStepIn [13:9:13.877] Description: [13:9:13.877] data/movements/scripts/dawnport_tiles.lua:58: attempt to index global 'tiles' (a nil value) [13:9:13.877] stack traceback: [13:9:13.877]...
  15. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    local vocation_stats = { [1] = {hp = 5, mp = 30, cap = 10}, [2] = {hp = 5, mp = 30, cap = 10}, [3] = {hp = 10, mp = 15, cap = 20}, [4] = {hp = 15, mp = 5, cap = 25} } local tiles = { --[actionid] = {vocation id} [65530] = { vocid = 1, weaponID = 2190, --...
  16. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    Why? How? I have no idea what to do now... I tried to print the values and some why its returning 0 shielding 1: 0 shielding 2: 0 [4:20:40.369] [Error - MoveEvents Interface] [4:20:40.370] data/movements/scripts/dawnport_tiles.lua:onStepIn [4:20:40.370] Description: [4:20:40.370]...
  17. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    [16:4:19.776] [Error - MoveEvents Interface] [16:4:19.776] data/movements/scripts/dawnport_tiles.lua:onStepIn [16:4:19.776] Description: [16:4:19.776] data/movements/scripts/dawnport_tiles.lua:101: attempt to call global 'doPlayerAddSkillTries' (a nil value) [16:4:19.776] stack traceback...
  18. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    Are u talking about doPlayerSetSkillLevel(cid, skill, value)? I don't found this setPlayerSkillLevel in no where https://github.com/Fir3element/3777/blob/master/src/luascript.cpp
  19. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    oh man, thank you so much to try to help me but it's not working: [1:56:36.342] [Error - MoveEvents Interface] [1:56:36.342] data/movements/scripts/dawnport_tiles.lua:onStepIn [1:56:36.342] Description: [1:56:36.342] data/movements/scripts/dawnport_tiles.lua:89: attempt to call global...
  20. samandriel

    TFS 0.X Convert SKILLS/ML when change vocation Dawnport

    The idea there was: 1- Get skills exp require to player skill 2- Reset skills to 10 and ml to 0 3- Add that exp require to player old skill (but now the exp should gave a different result, since now player have a new vocation)
Back
Top