[OTClient] The Forgotten Tibia Server 0.8

OP
Togu

Togu

Active Member
Joined
Jun 22, 2018
Messages
245
Reaction score
99
Location
Brazil
Found the main thread with the fix for the "initializing gamestate" crash bug:


34635
 

yagovl

New Member
Joined
Feb 22, 2013
Messages
4
Reaction score
1
I thought this server would bring more attention, it's revolutionary and open doors to many new ideas in Tibia. Hope some people start working on it.
 
OP
Togu

Togu

Active Member
Joined
Jun 22, 2018
Messages
245
Reaction score
99
Location
Brazil
Could you explain better how this image works?

Thanks!!
This is an image from the website I was making. It is a build made by me for people who want to play as a classic mage. This way they can see where to spend their skill points.
But you can always make your own build.
You can make a tanker knight, a full damage knight with two handed weapons, a full damage mage, a support mage, a crusader knight (heal spells + melee damage), a two handed ranger (bow and crossbow), an one handed ranger (spears, stars, shield), etc.

you need to setup the correct name of the map

-

could someone share the files are running correclty?
Soon I'll make an update with corrected files. In world folder you have the original forgotten map and the map made by me (you have to extract it). It's easier to test things (like the guide npc, bless, bank, etc) on my map cause they are already there. And if you use my map and aim on an old school server, it is almost ready-to-run.

Edit:

Changed ip on client to 127.0.0.1.
Added a quick tutorial to change ip on client.

Added schema.sql with 0/0 for God account and 1/1 for No Build account (new players are copy from No Build player - you have to configure it on Gesior).
Removed the "enable enhanced instruction".
Couldn't compile to x32 cause I don't have the libs installed.
 
Last edited:

nokturno

Not a human
Joined
Aug 7, 2009
Messages
322
Reaction score
122
1 more thing i saw u had promotion npc in your files, shud i ignore it or its meant for something?
 
OP
Togu

Togu

Active Member
Joined
Jun 22, 2018
Messages
245
Reaction score
99
Location
Brazil
1 more thing i saw u had promotion npc in your files, shud i ignore it or its meant for something?
If you dont receive any errors of missing script on terminal after deleting it, it's not being used.
I think I just didnt delete in the case of needing it in the future to make a higher class or second class, something like that, or profission. If I were going to implement something like that, I would start on vocations/promotions.
 

nokturno

Not a human
Joined
Aug 7, 2009
Messages
322
Reaction score
122
In that case it will be needed source code for another vocation, or it isnt needed?
 
OP
Togu

Togu

Active Member
Joined
Jun 22, 2018
Messages
245
Reaction score
99
Location
Brazil
You start as non-vocation (vocation 0, I think) and this is the only vocation being used.
By default we have 8 vocations, you just have to change their name and behaviours in .xml and .lua files. For more complex things you will need source code. The code is available on GitHub.
 

nokturno

Not a human
Joined
Aug 7, 2009
Messages
322
Reaction score
122
Tks for the quick answers mate, one last thing in wich distro do used a as base, cuz i want to add the summon flags but i need to check the code in a clean distro.
 
OP
Togu

Togu

Active Member
Joined
Jun 22, 2018
Messages
245
Reaction score
99
Location
Brazil
I joined forum on Jun 22, 2018. So, I think I took the sources from commits around 2 weeks before this date

 

nokturno

Not a human
Joined
Aug 7, 2009
Messages
322
Reaction score
122
@Togu i found the problem just change in

fibula ot client
/modules/gamelib/creature.lua

look for
Code:
function getTypeImagePath(creatureType)
  local path
  if creatureType == CreatureTypeSummonOwn then
    path = '/images/game/creaturetype/summon_own'
  elseif creatureType == CreatureTypeSummonOther then
    path = '/images/game/creaturetype/summon_other'
  end
  return path
end
and change the paths because the path for the images is wrong.
 
OP
Togu

Togu

Active Member
Joined
Jun 22, 2018
Messages
245
Reaction score
99
Location
Brazil
Nicee, but how do we automatize this to get the current directory? The directory on my pc is different from the other people.

Edit:
Lol, took me 30 minutes but I found the solution kkkkk

Correct paths:
'/images/game/summon_own'
'/images/game/summon_other'


Thanks nokturno! First public contributtion for the project! :)

Does anyone know how to get item IDs from item.xml on OTClient? IDs are different on client and on server.

Edit:
Already solved. Gonna post this change later on GitHub:

34685
 
Last edited:

icekis

Member
Joined
Jan 18, 2018
Messages
83
Reaction score
5
Hi @Togu

Can i remove Critical hit, Life leech and Mana leech?

34694

PS: Your project is very nice!


Edit

Can i set pvp retro?
 
Last edited:
OP
Togu

Togu

Active Member
Joined
Jun 22, 2018
Messages
245
Reaction score
99
Location
Brazil
Critical hit chance and damage are being used and are set for each weapon that uses it on movements.xml, so it will be harder to remove.
Life and mana leech are not, so you just have to delete the correct lines on .lua files on the client so they wont be shown.

As soon as I can I teach you how to do that or give you a way.

About retro pvp I dont know, only if its an already implemented feature from TFS 1.3. If its on config.lua then you can. I dont remember.
 
OP
Togu

Togu

Active Member
Joined
Jun 22, 2018
Messages
245
Reaction score
99
Location
Brazil
Top