• 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. P

    Close this theard! Or Remove!

    I'm not sure if its what you want, but you can try: function onThink(interval, lastExecution, thinkInterval) for _, pid in pairs(getPlayersOnline()) do if(getCreatureHealth(pid) >= (getCreatureMaxHealth(pid)*0.7)) then doSendMagicEffect(getThingPosition(pid), 170) end end return true end
  2. P

    [Modern AAC] SkillPix Gold (displays % of skills, loads from vocations.xml)

    @Mooosie This script does not check player promotion level. Your player with vocation id 12 (3rd knight) has: because in your vocations.xml is fromvoc="8" and in vocation id 8 is fromvoc="4" (it's default config), so it is vocation id 4 upgraded 2 times ;)
  3. P

    CreatureEvent Record IP Onlogin (Simple But usefull)

    Um... check websites developement :P http://otland.net/f118/standalone-simple-database-manager-gms-admins-126105/ You enter player name, it show him on list, you press on IP and you see online and offline players from his IP, simple? It use 'lastip' column, no need LUA script. Very hard PHP...
  4. P

    Cholerne paczki <debian>

    Co do bug z: To znajdz: leaf() i zamien na: path().filename().string()
  5. P

    [GESIOR ACC] Remove ban, deletion, namelock for premium points [works]

    Someone requested on my profile ( View Profile: PhoOwned - OtLand ): So.. Add this page as 'unban' in index.php: case "unban"; $topic = "Unban"; $subtopic = "unban"; include("unban.php"); break; Make new file unban.php and paste: <?php $points_for_unban = 30; if($logged) {...
  6. P

    [GESIOR ACC] Sell characters on auctions (+ 'Buy Now') [ for premium points ]

    I read it few times and did not find any bug that allow player to abuse script. Only admin can make new auctions and set number of points needed. Script check player decisions in JavaScript to make it looks nice :) and of course PHP to block modified POST/GET data ^_^
  7. P

    [GESIOR ACC] Sell characters on auctions (+ 'Buy Now') [ for premium points ]

    In your C:\xampp\htdocs\pot\OTS_Account.php file paste (it's updated version of class): <?php /**#@+ * @version 0.0.1 */ /** * @package POT * @version 0.1.5 * @author Wrzasq <[email protected]> * @copyright 2007 - 2008 (C) by Wrzasq * @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU...
  8. P

    [GESIOR ACC] Sell characters on auctions (+ 'Buy Now') [ for premium points ]

    Add this script in index.php as 'sellchar' (subtopic).
  9. P

    Dedyk ? Chyba nie...

    Nie wiem jakiego masz kompa. Tez kiedys myslalem, ze prad wychodzi za kompa 24/7 okolo 150 zl, a wlaczylem kompa na obciazeniu 100% dla 4 rdzeni i wychodzi 70 zl miesiac (200 wat ciagnie). Komp z obciazeniem 10-20% i 2 routery (netia, kablowka) biora razem 150 wat. Nie ma jednak tego jak...
  10. P

    [GESIOR ACC] Sell characters on auctions (+ 'Buy Now') [ for premium points ]

    Ohhh.. I forgot :P This error occurs when you have high error reporting level in PHP. Paste over this code line: if(isset($timers)) I didn't test code on newest PHP 5 (or 6) with has high error reporting level by default. :$ FIXED CODE: <?PHP...
  11. P

    [GESIOR ACC] Sell characters on auctions (+ 'Buy Now') [ for premium points ]

    As title says ^^ - sell characters on auctions (for premium points) - 'Buy Now' option - name lock character, when player buy it (player can select new name in namelock manager in game) - admin panel (login on website admin account, default 1) to search good characters for sell (sort by...
  12. P

    Lua [help]get something in item description

    local desc = getItemAttribute(item.uid, "description") local a, b = desc:find('Health:') local hp = desc:sub(b+2, tmp:find('/', b)-1) Noob method, but works.
  13. P

    [standalone] Simple Database Manager (for GMs/admins)

    I wrote today simple database manager for my GMs. I think it can be useful for other servers. Code is dirty, because I wasn't preparing it for release ;) ------------- Create new file .php in your website directory and paste: <?PHP /* Access: 1 = can view players and accounts, but not...
  14. P

    Animated background for all layouts

    I turned off 3 cores, but still no lag. I had to change frequncy to 1.33GHz to make it a bit laggy (1.5GHz, no lag, use 60-80% CPU). Buy better PC Cyko :P
  15. P

    Animated background for all layouts

    I know that it use a lot of CPU, but 100%.. nice PC ;) On my PC it use: 18-23% CPU when I open page in 5 cards [chrome] 25-30% CPU - 10 cards (start lagging a bit) [chrome] CONFIG Maximum number of frames = 1000 / 30 = 33FPS: Number of texts 90: Example with time between frames 60ms...
  16. P

    Animated background for all layouts

    I made animated background that you can add to your layout ^_^ * Animation will be over your background image/color and under logo/website content * Works in IE, Firefox, Chrome * Works fine after resize/scroll browser Example (text, color, animation speed is configurable): OTS.ME -...
  17. P

    [Project] Menera Evolution

    TheBestestEvo Provolutions OMGoria :P
  18. P

    Windows War mode 8.6

    Add me on MSN: [email protected]
  19. P

    Bug with lottery :S

    3 hours = 3 hours * 60 minutes * 60 seconds = 10800 ... interval="10800" ... -- by vDk, klekSu local config = { lottery_hour = "3 Hours", -- Time to next lottery (real time you set on globalevents.xml, its only for broadcast message.) rewards_id = {2494, 2472, 2514, 2160}, -- Rewards ID...
  20. P

    CreatureEvent Reward for killing players. Block number of kills.

    Version that check AccountID and IP of player, not his GUID: local block_kills_acc = {} local block_kills_ip = {} local max_kills_per_target_account = 3 local max_kills_per_target_ip = 5 function onKill(cid, target) if(isPlayer(target)) then if(block_kills_acc[getPlayerGUID(cid)] == nil)...
Back
Top