check some 8.6 server it has the codeIs there a lua or c++ code for this?
void Game::updateCreatureWalkthrough(const Creature* creature)
{
//send to clients
SpectatorVec spectators;
map.getSpectators(spectators, creature->getPosition(), true, true);
for (Creature* spectator : spectators) {
Player* tmpPlayer = spectator->getPlayer();
tmpPlayer->sendCreatureWalkthrough(creature, tmpPlayer->canWalkthroughEx(creature));
}
}
Looked for 471 tile in src that im trying to make passible but source doesnt contain such idas far as I remember it's hardcoded through specific ID, try doing a ctrl shift F in sources for the depot ones (that one that is a bit red)
Searching 174 files for "471"
C:\Server\src\npc.h:
18 */
19
20: #ifndef FS_NPC_H_B090D0CB549D4435AFA03647195D156F
21: #define FS_NPC_H_B090D0CB549D4435AFA03647195D156F
22
23 #include "creature.h"
C:\Server\src\otserv.cpp:
168 //set RSA key
169 const char* p("14299623962416399520070177382898895550795403345466153217470516082934737582776038882967213386204600674145392845853859217990626450972452084065728686565928113");
170: const char* q("7630979195970404721891201847792002125535401292779123937207447574596692788513647179235335529307251350570728407373705564708871762033017096809910315212884101");
171 g_RSA.setKey(p, q);
172
3 matches across 2 files
I need to edit this code somehow?check some 8.6 server it has the code
LUA:void Game::updateCreatureWalkthrough(const Creature* creature) { //send to clients SpectatorVec spectators; map.getSpectators(spectators, creature->getPosition(), true, true); for (Creature* spectator : spectators) { Player* tmpPlayer = spectator->getPlayer(); tmpPlayer->sendCreatureWalkthrough(creature, tmpPlayer->canWalkthroughEx(creature)); } }
<attribute key="walkStack" value="1" />false<attribute key="walkStack" value="1" /> doesnt work still cant go trough playersThere is an attribute to use on items.xml
<attribute key="walkStack" value="1" />
If you want to disable the walkstack overall and only enable it on just a few specific tile ids
Set this tofalse
![]()
forgottenserver/src/items.h at 1.2 · otland/forgottenserver
A free and open-source MMORPG server emulator written in C++ - otland/forgottenservergithub.com
do you want to be able to walk trough players, right?<attribute key="walkStack" value="1" /> doesnt work still cant go trough players
Dont want to disable it, im trying oposite to enable it on one tile type
Yea but only on specific tyle id onlydo you want to be able to walk trough players, right?