Search results

  1. GhostWD

    [fmAAC] Thora template

    Hello otlanders! I come to you with new design to FlatMannerAAC (which comes with new commit) . . . Thora layout from here (lil green here was made by recording software) INSTALLATION GUIDE 1. extract file to main folder of fmAAC 2. in src/utils/configs.php and set 'template' to "thora" 3...
  2. GhostWD

    TFS 0.X Can't login into character (Display only list)

    Hi there! I've got issue with TFS0.4 on Ubuntu16.04. What exactly? When I try to login from outter network and in config.lua IP is set to 192.168.0.102 I can login into account but im stuck on character list and can't proceed because connection is timing out and...
  3. GhostWD

    Is it possible to get item description?

    Hi, like topic title is it possible? i've used > print(g_game.getLocalPlayer():getInventoryItem(InventorySlotAmmo):getDescription()) but it returns empty string but when i call setDescription("blabla") then getDesc() return "blabla" what i need is getting item description (not from items.xml...
  4. GhostWD

    [PHP][POT] Error Admin Protocol TFS

    Hello OTLanders! I've got problem with POT i keep getting error: Fatal error: Uncaught E_OTS_OutOfBuffer in C:\xampp\htdocs\POTTEST\POT\classes\OTS_Buffer.php:140 Stack trace: #0 C:\xampp\htdocs\POTTEST\POT\classes\OTS_Buffer.php(155): OTS_Buffer->check() #1...
  5. GhostWD

    [fmAAC][plugin] Get Power Gamers CRON

    this so called 'plugin' require running on Linux 1. EXECUTE DB QUERY { CREATE TABLE today_exp ( id int NOT NULL AUTO INCREMENT, exp int NOT NULL, player_id int, PRIMARY KEY (id), FOREIGN KEY (player_id) REFERENCES players(id) ); } 2. SET CRON...
  6. GhostWD

    [FMAAC] FlatMannerAAC MVC Symfony4

    FlatManner AAC Hello, I present to you my first project Automated Account Maker for OTS created with usage of Symfony4 which is MVC framework written in PHP It's using awesome feautures like templating system called Twig, Friendly-URL supported by Symfony Routing, ORM(Object-Relational...
  7. GhostWD

    TFS 0.X SQL Query to get item count in backpacks of id

    Hi OTLanders, I've got problem with making query that returns items count for backpacks of id what i need is getting pid of container, itemCount and correct itemtype I've used SELECT pid, COUNT(*) FROM player_items GROUP BY pid HAVING pid in (SELECT DISTINCT pid FROM player_items WHERE...
  8. GhostWD

    MySQL error on login

    Hi there! I've got problem when connecting to server it throws this error. SELECT `pk`.`player_id`, `pd`.`date` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` WHERE `pd`.`player_id` = 7530 AND...
  9. GhostWD

    Cross Compilation linux->windows?

    Hi there does anybody know how to compile OTC for windows on linux ? I was looking for some help and i found something in makefile to change variable to something like i686-w64-mingw32-gcc but i couldn't find that... With Regards, Ghost
  10. GhostWD

    Question about vocation system(dmg) TFS 1.2

    Hi! what I saw migrating to TFS 1.2 new vocation system doesn't have spell multiplier i mean in TFS 0.4 for example we had <formula meleeDamage="1.0" distDamage="1.0" →wandDamage="1.0"← →magDamage="0.0"← magHealingDamage="1.0" defense="15.0" →magDefense="1.0"← armor="1.0"/> but now in TFS 1.2...
  11. GhostWD

    [Lua] Mouse pos minimap tile color return

    Hi, I'm fighting with getting color of minimap tile which is clicked by mouse could someone help me with that? I'm completely lost and i dont know how to use getColor on that ;/ or idk return bool if its in Fog Of War or not Thanks!!
  12. GhostWD

    New exhaust types

    Hello i have started playing with exhausts in spells i have added to tfs04/spells.cpp at master · Fir3element/tfs04 · GitHub something like if(agresive) player->addExhaust(exhaustion, EXHAUST_COMBAT); if(!agresive) player->addExhaust(exhaustion, EXHAUST_HEALING); if(isCombo1)...
  13. GhostWD

    How to compile ObjectBuilder?

    does any body know how to compile OB with 0.4.3 sources? when i use flash builder i keep getting those errors: Description Resource Path Location Type 1061: Call to a possibly undefined method removeAt through a reference with static type __AS3__.vec:Vector.<otlib.otml:OTMLNode>...
  14. GhostWD

    Lua Segmentation Fault onEquip

    Hello OTLanders, I have problem with my script or maybe engine cause when I use this script and I create item with /i 797 without having helmet or using chest with that item error occurs Segmentation Fault <movevent type="Equip" itemid="797" slot="head" event="script" value="frozenhelmet.lua"/>...
  15. GhostWD

    center creature img

    Hello OTClienters, I was looking for this feature and I found anything about that, could someone point me where I can make it? tile.cpp or what? editing compiling and checking if it's that what i'm looking for is hard for me because of my slow pc... Thank You!
  16. GhostWD

    Lua doItemSetAttribute(uid, key, value)

    Hi Otlanders! Is there any possibilities to add with doItemSetAttribute(uid, key, value) healthGain and manaGain to item? tfs 0.4 Thank You!
  17. GhostWD

    C++ Lua in quest description by gesior

    Hello again ;p i wanted to use this feature in my tfs 0.4 Feature - LUA code in descriptions of quests in quests.xml but when compiling is almost done this happens CXX vocation.o CXXLD theforgottenserver quests.o: In function `Quests::parseQuestNode(_xmlNode*, bool)'...
  18. GhostWD

    [Lua] when monster with name xxx "kills" player then player tp to pos and not get killed

    Hi there i tried to write some simple script for test and it's not working XD local pos = {x=192,y=541,z=7} function onPrepareDeath(cid, deathList) if (getCreatureName(deathList[1]) == "xxx") then doTeleportThing(cid, pos) doPlayerSendTextMessage(cid...
  19. GhostWD

    C++ Skull near monster if isSagaMonster()

    Hi I wanted to change protocolgame.cpp near msg->put<char>(player->getSkullType(creature)); To : if(creature->getMonster()->isSagaMonster()){ msg->put<char>(SKULL_YELLOW); }else{ msg->put<char>(player->getSkullType(creature)); } but when i run OT i get Segmentation fault no...
  20. GhostWD

    C++ monster getAttackedCreature

    Hi there! I've got code like this in monster.cpp if(isSagaMonster() && valueses == sagaNumber() && creature->getAttackedCreature() == this) ){ return (!creature->isRemoved() && creature->isAttackable() && creature->getZone() != ZONE_PROTECTION &&...
Top