Closed andreluiz93 closed 5 years ago
You probably need to look into these: configmanager.h, configmanager.cpp and player.cpp
Thanks for that!
And to second question, is possible?
Yes it is, I actually have that on my custom server.It's also easy if you know where to 'go'
Understood! Everything becomes more easly if know wherer to go rs
Which files a do i have to look for? :D
I've already told you the files, for the function it's this one on player.cpp Player::getAttackSpeed()
Yes, about attackspeed, a im already doing tests...
I want to know about second question that players if logout or dead, doesnt save status, level, position, loot, and more that save in database... I want to do a pvp-enforced that have only 1 account and have 4 players, and everyone that login in server, login in this account and when logout or dead, doesnt save for to next login... which files i have to look? :D
Thank you for your attention so far.
Oh, that should be on Player::onCreatureDisappear
You can start there
Thanks my friend!!
Have a good day!
Hello, I have more one question @Reason184
When players get level up, is save state (position, loot, level, etc), which functions makes this?
Hello, im new in opentibia script, however im work with programation in another languages...
My question is that i want to implement attackspeed rate by config.lua, so in which file i have to starts look?
You dont need to talk how i do this, but tell-me the file .cpp a have to look for...
My second question is, how i do that the players with logout or by death doesnt save in database ? (path to do a pvp-enforced different)
Thankssss!!!