• 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!

Search results

  1. DukeeH

    Lua Monster of the day (Group)

    Hello, I'm using TFS 0.3.7/OTX2. I'm trying to change a code by @buchaLL He made a monster of the day code, but on my server I have a few dragon lords, I want that if the monster of the day is dragon lord, it affects all the ones in the group. I wasn't able to use a table for this. Monster...
  2. DukeeH

    Lua Lever that counts time.

    I'm trying to make a system, and a part of my idea, would be a lever, that can be pushed by the members of 4 different guilds. If Guild A member pushes the lever, it starts counting time for his guild. If Guild B goes to this lever and clicks it, it will stop Guild A time, and start counting...
  3. DukeeH

    C++ Otservlist ban, c++ code to count online.

    Hello everyone. I just got banned from otservlist, and I have this code to follow both rules (not count xlogged and count 4 per ip). After contacting them by mail and showing the code, he still tells me that i'm counting 5 per ip. I know that I can just change that 5 to 4, but for me, if it's...
  4. DukeeH

    TFS 0.X SetMaxHealth / Addlevel bug.

    Hello, I've made this function as a Rebirth: Using TFS 0.3.7/OTX2. function resetPlayer(cid) if isSorcerer(cid) or isDruid(cid) then HpBonus = 350 ManaBonus = 500 else HpBonus = 500 ManaBonus = 350 end doPlayerRemoveMoney(cid, 100000000)...
  5. DukeeH

    AAC [MyAAC] - 3 Problems with Storages and Guilds.

    I'm trying to show rebirths on highscores box and characters page on MyAAC (Last version). {% set rows = rows + 1 %} <tr bgcolor="{{ getStyle(rows) }}"> <td>Resets:</td> <td>{{ player.getStorage(14310) }}</td> </tr> On characters page i've tried this, but no success. Always blank. I found this...
  6. DukeeH

    Mysql Password (.my.cnf)

    I'm testing the server and re-learning how to use everything on linux after a few years... I've read the wiki https://github.com/DevelopersPL/otshosting-provisioning/wiki/Where-is-what-important-files-and-directories But on my server there's no file .my.cnf with MySQL client config that...
  7. DukeeH

    Lua Bosses drop loot on the ground.

    Hello, I'm using TFS 0.3.7/OTX. I'm trying to make a script that drops bosses loot on the ground. It probably needs to be onkill and should work for 4 or 5 monsters (table on the start). It can be a math random range of -4 to +4 x and y from the monster, so it would be around him. And...
  8. DukeeH

    AAC MyAAC - Highscores Box

    Hello, I've highscores box working, with outifits... It's like this: Screenshot But the text could be higher, like beside the outfit, it's going down and i've tried everything to make it better. Align, margin... On gesior I had a similar setup and the text was higher Someone that understands...
  9. DukeeH

    AAC MyAAC - Show outfit on Highscore box

    Hello, I'm looking for a way to show player's outfit on highscore box using MyAAC (0.8-dev). Used to use Gesior, changed the code a bit but it's not working <img...
  10. DukeeH

    TFS 0.X Sources GetStorage. (Critical)

    Hello, after some search I think that it isn't possible to make critical/dodge perfect by onstatschange using 0.3.7/otx2. Problem: StatsChange Defenses (absorbPercentAll / armor) So I'm trying to do it by sources by myself, using tfs default crit system part, because I don't use it, I got...
  11. DukeeH

    [1.3] Arena for exp.

    Hello, I'd like to request an arena script, I'll try my best to explain what I want, already tried a few ways to do it, requested for a few ppl, but after lots of tries and errors I'm here. Would be 4 arena "types" (One monster each type). 6 Rooms for each type. Map SS: How it works? Player...
  12. DukeeH

    Lua Simple doubts on 1.3. Vocations & Monster Balance.

    Hello, I have some small doubts on 1.3 and I'll try to post them all to this thread, most of them should be small ones. 1. On 0.3.7 and 0.4 I used to balance vocations by using "wandDamage="1.0" magDamage="1.2" magHealingDamage="1.0" defense="1.6" magDefense="1.6"" on vocations.xml, is there...
  13. DukeeH

    Lua Check highest level online.

    Hello, I'm trying to rewrite some old scripts and I need help as 1.x (1.3 on my case) doesn't have online column on table players. This is the code I used to have: function onThink(interval) local query = db.getResult("Select * FROM `players` WHERE `level` > 350 and `online`=1 ORDER BY `level`...
  14. DukeeH

    StatsChange Defenses (absorbPercentAll / armor)

    Hello, I'd like some help to fix this script, it is a Critical System, you have X% chance to deal more damage on attack/spells, everything. The problem is, I have items with high absorbPercentAll stats, so if I put the critical to deal *2 damage (double), and I deal 100 damage on someone with 0...
  15. DukeeH

    Looking for Skill Doll script.

    Hello, I had a skill doll script that i've used a few years ago, I made a post on support because it wasn't working as it should, some players got skill 300+ somehow because instead of adding 3 skills it was adding something based on player actual skill or related to vocation. Support thread...
  16. DukeeH

    Lua 2 scripts fix.

    Hello guys, I'd like your help to fix two scripts... A doll that adds skills/magic with !skill name (should add x skills) Problem: it's adding too much skill (some ppl got 200+) and less than it should (8) for others. function onSay(cid, words, param) local Skillsy = { ["fist"]={SKILL_FIST}...
  17. DukeeH

    Linux VPS CPU usage, help.

    Hello, id like some help, i've got a VPS about 2 months ago, made some changes on the server and it got to 130 players online really fast, but i'm having problems with some ppl complaining of lag, and when i when to check the usages (top command on ssh) it showed me this: PID USER PR...
  18. DukeeH

    Compiling rateExperienceFromPlayers same ip block.

    I found this code on EvilHero's thread, it's for 0.4 but it's really old, and it's not working. if(attackerPlayer->getIP() == getIP()) return 0; I've put it into Player::getGainedExperience function. Is there another way to deny exp from the same ip or a fix to this code? Thanks.
  19. DukeeH

    globalevents multiple times.

    Hello, i need some help to make globalevents occur multiple times, i've made a few tries and none of them work. exemple1, (gives me segmentation erro or something, doesn't let the server open. <globalevent name="orshabaal2" time="15:00" event="buffer" value="doExecuteRaid('orshabaal')"/>...
  20. DukeeH

    Solved A few fixes or help.

    First one is like anihilator but a custom quest, it's allowing people to go after the first team and get the room without the respawns. local summon={ {'Orshabaal', {x=145, y=74, z=14}}, {'Orshabaal', {x=144, y=74, z=14}}, {'Lavahole', {x=140, y=72, z=14}}, {'Lavahole', {x=141...
Back
Top