TibiaWR
New Member
If it wasn't for the minimap problem, why would they leave?
People like to bot, some feel Tibia is pointless without it. If you completely destroy their chances, they won't play (some, not all).
If it wasn't for the minimap problem, why would they leave?
Well, then let's fuck OT! Seriously... why bother with OT anymore if we gotta think about the poor botters that might get upset?People like to bot, some feel Tibia is pointless without it. If you completely destroy their chances, they won't play (some, not all).
Well, then let's fuck OT! Seriously... why bother with OT anymore if we gotta think about the poor botters that might get upset?
You wouldn't edit the map file, just change all the coordinates by the offset while loading tiles, items, creatures and NPC.
No. Let's say the offset is 3 for x and 5 for y, then instead of editing the scripts/functions you just use luascript.cpp so every popped position gets x + 3 and y + 5.
Code:void LuaInterface::popPosition(lua_State* L, PositionEx& position) { if(!lua_isboolean(L, -1)) { position.x = getField(L, "x") + OFFSET_X; position.y = getField(L, "y") + OFFSET_Y; position.z = getField(L, "z"); position.stackpos = getField(L, "stackpos"); } else position = PositionEx(); lua_pop(L, 1); //table }
True, i didn't remember the 'popPosition' function. Then it's very easy, OFFSET can specified in config.lua as a random variable (Or a string, and later convert it to random) and it's done. Also map can be moved using 'onStartup' function
True, i didn't remember the 'popPosition' function. Then it's very easy, OFFSET can specified in config.lua as a random variable (Or a string, and later convert it to random) and it's done. Also map can be moved using 'onStartup' function
I hope you were kidding with the onStartup. Relocating all the map with Lua would take ages, rather edit OTBM loader to move the positions by offset.