• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. D

    Game 3D simmilar to Tibia, what do you think about it :) ?

    Spent last two day to make the new menu system, planning to add a new panel on the left later. Player will be able to customize the menu's position as he wants! it is still not finished yet, to do list : - modify the height of the menu when dragging the bottom of the menu. - optimize the...
  2. D

    Game 3D simmilar to Tibia, what do you think about it :) ?

    Having fun lately ! :D here is the latest thing i've tested out, the navigation system: the navigation system at a high level speed ! 360 tiles per minute,
  3. D

    Tibia 3D Multiplayer Project - what do you think?

    Quite simmilar to what I'm doing :) -> Game 3D simmilar to Tibia, what do you think about it :) ? Don't give up :P I've already done a converter for remeres map editor back then, and used to to load the map into unity, It was really handy, but I prefered to do mine, using c# because I can add...
  4. D

    Use the conversation window, when we do not have the modal

    You are in the wrong section.
  5. D

    TFS 0.X Problem with promotion after losing Pacc

    just store something in a storage value onLogin when the player is not pacc anymore and promoted, with another function onLogin, if he is pacc and has that storage value, promote the player.....
  6. D

    TFS 0.X NPC accept money on hands and bank money

    Dude learn to read before learning programming... you've got this error, warning: comparison between signed and unsigned integer expressions..... first of all,.. the errors is self explanatory... second.. i'm sure that if you google those error, you will find tons of answers....
  7. D

    TFS 0.X NPC accept money on hands and bank money

    You can go read about variable scope but basicly it works like this everything that is in local scope can read variable that are in his local scope and global scope, If you declare a variable inside a if statement, only what is inside of this scope can access the variable, That is why you...
  8. D

    TFS 0.X NPC accept money on hands and bank money

    yeah but you have to declare the variable Player* player in the same scope, and you have to replace it everywhere like this Player* player = null; if (cylinder->getCreature() != NULL) { if ( cylinder->getCreature()->getPlayer() != NULL) { player = cylinder->getCreature()->getPlayer(); } }
  9. D

    TFS 0.X NPC accept money on hands and bank money

    have you tryed cylinder->getCreature()->getPlayer() ??
  10. D

    TFS 0.X NPC accept money on hands and bank money

    So, if you remember correctly, the function removeMoney was called by the class npc.cpp from case at line 1475, if you look closely, all the case are part of a the function that start a line 1306 : void Npc::executeResponse(Player* player, NpcState* npcState, const NpcResponse* response)...
  11. D

    TFS 0.X Callback function on script?

    can we at least know what this script is suppose to do, it looks like a bunch of stuff that you copy and pasted from other scripts into one.... local COFFIN = getThingFromPos(stonePos) if not COFFIN then return doPlayerSendCancel(cid, "Could not find stone.") end the statement above will...
  12. D

    TFS 0.X NPC accept money on hands and bank money

    Sources doesn't work like that, to call a function, the sources are separated in classes. every classes owns their functions. Every functions has some parameter defined and are required if you want to call the function... You must find which class own the function that you want to call, then...
  13. D

    TFS 0.X NPC accept money on hands and bank money

    GREENMSG("Your bank balance now is: 159"); i'm done. :(
  14. D

    Game 3D simmilar to Tibia, what do you think about it :) ?

    As @Shadow_ mentionned that the objects needed more details, here is a few props I did lately ready to be implemented in-game! Hope you like it! Note: In the picture, the objects are not alligned to grid even if normaly they would, just placed these randomnly for the picture :)
  15. D

    AAC Gesior unknown char

    cool :)
  16. D

    TFS 0.X NPC accept money on hands and bank money

    you only need to add this indeed, // Not enough money if(moneyCount < money) { return false; } // if the player balance // is greater than the Cost - money on hand if(player->balance > money - moneyCount) { // remove the money that the player doesnt have // on...
  17. D

    TFS 1.X+ Unresolved external symbol TFS 1.3

    try linking the 32 bit dlls to your project and see if it works
  18. D

    TFS 0.X NPC accept money on hands and bank money

    Then before the following code that removes the coin from your inventory, for(MoneyMultiMap::iterator mit = moneyMap.begin(); mit != moneyMap.end() && money > 0; ++mit) { Item* item = mit->second; if(!item) continue; internalRemoveItem(NULL, item)...
  19. D

    TFS 0.X NPC accept money on hands and bank money

    IF you want to withdraw the amount from the bank balance, instead of imidiatly returning false. when the condition -" if(moneyCount < money) " is met, you need to add another condition before returning false. first you should get the number of money to withdraw from bank account with this...
  20. D

    TFS 0.X NPC accept money on hands and bank money

    SO I did my own research, and the code in g_game.cpp, for the function removemoney() is the following bool Game::removeMoney(Cylinder* cylinder, int64_t money, uint32_t flags /*= 0*/) { if(!cylinder) return false; if(money <= 0) return true; typedef...
Back
Top