• 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. Thaian Citizen

    Compiling rateExperienceFromPlayers same ip block.

    What you do in your script you call the ip of the attacking player and check if its the same as the ip of the actual player, which is also the attacking player you must change your script to get the ip of the attacker/killer and the ip of the target/killed then compare the two I mean your...
  2. Thaian Citizen

    Lua Adding more vocations in this script?

    make a backup of your modules.lua then test this: elseif player:getVocation():getId() ~= parameters.vocation and player:getVocation():getId() ~= parameters.vocation + 4 and vocation ~= 9 then npcHandler:say("This spell is not for your vocation", cid) change it to...
  3. Thaian Citizen

    Solved super sudden rune TFS - 1.1

    I might be mistaken but I think your items.xml should look different. Check the normal sd entry copy it and change the values to your desire..
  4. Thaian Citizen

    Solved Skill Quest error with Knight

    post your full script now please that error shouldnt come unless you pass a wrong creature / got a typo at cid
  5. Thaian Citizen

    Solved Skill Quest error with Knight

    the problem is in doSendMagicEffect you have: doSendMagicEffect(frompos, 28) but the variable frompos does not exist in that scope, so it's a nil value. every doSendMagicEffect(frompos, 28) has to be changed to doSendMagicEffect(getPlayerPosition(cid), 28)
  6. Thaian Citizen

    Show Healing

    is it not in config.lua? else take a look at the specific spells if there is like magic_txt msg send to player~
  7. Thaian Citizen

    New Vocations Problem

    This problem only happens when you relog right? - You receive the new vocation - You relog -> new vocation gone ?? If yes, please tell me what more scripts you have in your creaturescripts
  8. Thaian Citizen

    New Vocations Problem

    well your local n should only have a number that covers all possible vocation entries in vocations.xml in your case it is 12... but I see that only causing problems if the random generated number was like 13, 14 or 15.. Beside this, I could only think of a script inside the...
  9. Thaian Citizen

    Solved Skill Quest error with Knight

    Hmm, it should not do that because it returns false if the player has the storage But however you can replace function onUse... with this: function onUse(cid, item, frompos, item2, topos) local pS = getPlayerStorageValue(cid, 2357) local pV = getPlayerVocation(cid) if pS > 0 then...
  10. Thaian Citizen

    ZnoteAcc 1.5 Paypal Success But No Points Added

    What do you mean? I installed cURL, forgot to mention..
  11. Thaian Citizen

    Solved Skill Quest error with Knight

    Just replace if pS ~= -1 or pS ~= 0 then with if pS > 0 then like Xikini said...... it checks if your player's storage is higher than 0 ... if your storage is higher than 0 you did the quest...
  12. Thaian Citizen

    ZnoteAcc 1.5 Paypal Success But No Points Added

    Hello, I got everything to work except this one thing: Steps that I did: Changed to my paypal email in config.php Enabled paypal in config.php Activated IPN in paypal and wrote https://myserv.no-ip.org/ipn.php sent myself cash, cash was received, page said Success Points are not added, the...
  13. Thaian Citizen

    Lua Adding more vocations in this script?

    vocation = {1,2,3,4}, this should do the job.... post your /lib/npcsystem/modules~~ maybe module learnSpell doesnt check for an array or give us the error printout from your server console
  14. Thaian Citizen

    [7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

    I tested it again, I really do not have that issue, just hits through windows, not walls.. And I haven't touched those parts of the source
  15. Thaian Citizen

    Solved Skill Quest error with Knight

    take this fix: function raiseMagic(cid) doPlayerSetMagic(cid, getPlayerMagLevel(cid) + 4) doSendMagicEffect(frompos, 28) doSendAnimatedText(position, "Magic Up", TEXTCOLOR_BLUE) setPlayerStorageValue(cid, 2357, 1) end function raiseDist(cid) doPlayerSetSkill(cid...
  16. Thaian Citizen

    [7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

    For these walls, I didn't have this "bug" that monsters shoot through walls.. I tested it, the dragon never shot through.. It's just these 'half'-walls I think...
  17. Thaian Citizen

    Solved Skill Quest error with Knight

    There you go, I kept it simple for easy edits function raiseMagic(cid) doPlayerSetMagic(cid, getPlayerMagLevel(cid) + 4) doSendMagicEffect(frompos, 28) doSendAnimatedText(position, "Magic Up", TEXTCOLOR_BLUE) setPlayerStorageValue(cid, 2357, 1) end function raiseDist(cid)...
  18. Thaian Citizen

    Website Show Online Record / Paypal Blacklist ZNOTE15

    BUMP I tested it, it doesnt work- who can tell me how to make a blacklist system that interrupts the payment process? i dont even want to receive cash from a blacklisted guy... And also the points that I bought didnt get added to my account, this is what the paypal table showed after the...
  19. Thaian Citizen

    Solved Linux - Error: undefined reference to `Tile::getHeight() const'

    maybe if I provide the full source files of the problem causing ones game.cpp -> http://paste.ofcode.org/KV937NfgYmMGFfJYhsCPXC tile.cpp -> http://paste.ofcode.org/rvDyeFUAzLEykhLKW3ddgR tile.h -> http://paste.ofcode.org/39nv2X3eZReVuhW3CjKpkb8 lines 899, 1036, 1038, 1040 in game.cpp call the...
  20. Thaian Citizen

    Solved Linux - Error: undefined reference to `Tile::getHeight() const'

    I did try to build it in a new location... All I did was add an additional function to tile.cpp tile.h I don't see how that simple thing can require to change the linking order :S I really don't get behind that linking stuff... I mean I opened the makefile 1k lines and I don't even know what I...
Back
Top