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

    Solved Please have problen for vocation

    We need Damian's promotion script and we need vocations.xml
  2. dchampag

    Compiling Unlimited HP/MP

    It saves in the database, you can't help it. So in order to do it you have to do that too.
  3. dchampag

    Compiling Unlimited HP/MP

    This is true, but the server application requirements are actually very small, so these changes would only slow you down if your system itself is slow. Other than that I've succeeded in this process and It is a very long process, requiring changes for items and stats and such. Because any item...
  4. dchampag

    Compiling Unlimited HP/MP

    No int32 has that limit int64 does not.
  5. dchampag

    Couldn't establish connection to SQL Database!

    Make sure the SQL server is started, it's not detecting one.
  6. dchampag

    How can I run a script once per "server cycle" ?

    Ha alright, well when I'm home and get some free time I'll show ya my script.
  7. dchampag

    How can I run a script once per "server cycle" ?

    Unfortunately as you said there is many limitations, your best net is to let it check interval, for a status such as storage, then execute based on that storage value, or if you want to get crazy just make c++ additions =d What script my interv script?
  8. dchampag

    How can I run a script once per "server cycle" ?

    I don't really understand the first question and as for the second I'm not really positive, I would just go based on CPU usage, if your CPU usage seems to spike a lot when having the script then the time should be reduced. If you can figure out how to compile in 64 bit that will allow for...
  9. dchampag

    How can I run a script once per "server cycle" ?

    <globalevent name="init" type="startup" event="script" value="init.lua"/> function onStartup() >>>>CODEHERE<<<< return true end and running a globalevents script that happens on a quick interval is okay as long as you have a decent processing speed and ram, this doesn't require a stronger...
  10. dchampag

    Solved Server says its online but it isnt

    It is very simple to get someones ip by simply pinging their domain, but that ip is a local ip address anyways so it is harmless information.
  11. dchampag

    how do u make it so only 1 class can use a weapon

    ahh, I know, weapons.xml, do it there, because th game is set up so that you can put anything in your hand, and weapons check who can use it when you try and use it.
  12. dchampag

    how do u make it so only 1 class can use a weapon

    have teamviewer? if so pm me info I will help you.
  13. dchampag

    Npc problems. You Sell Them BOH it takes 2

    yes, post your loot.lua script. try removing this line <parameter key="module_shop" value="1"/>
  14. dchampag

    Solved Remove item which has been created in 10 minutes

    you can make it so if the lever is pulled again it clears, that would be easier, but if you want on death, you have to set a storage for entering arena, then read storage onDeath, then clean area. This code will check the area, if there is a player, then tell the one pulling the lever it is...
  15. dchampag

    Solved Remove item which has been created in 10 minutes

    Okay sorry I forgot something for teleport, some of those errors are a monster file error, unless maybe it's location of monster creation error. This should teleport players fine, the monster thing you will have to make sure of proper caps and name and such. local t, player = { pedestals =...
  16. dchampag

    how do u make it so only 1 class can use a weapon

    /> unecessary in middle. Try this. <movevent type="Equip" itemid="11398" slot="two-handed" level="1" event="function" value="onEquipItem"> <vocation name="Sniper"/> <vocation name="Elite Marksmen" showInDescription="0"/> </movevent> <movevent type="DeEquip" itemid="11398" slot="two-handed"...
  17. dchampag

    Solved Remove item which has been created in 10 minutes

    okay try this local t, player = { pedestals = { {x=1153, y=845, z=2}, {x=1154, y=845, z=2} }, newPos = { {x=1128, y=865, z=3}, {x=1128, y=866, z=3} }, area = { fromX = 1151, toX = 1155, fromY = 845, toY = 847, z = 2...
  18. dchampag

    Solved Remove item which has been created in 10 minutes

    When you pull the lever does it say you cannot use this object? I believe I found the issue. Give her a try. this player = getTopCreature(t.pedestals).uid should be this player = getTopCreature(t.pedestals).uid New code. [I]local t, player = { pedestals = { {x=1153, y=845, z=2}...
  19. dchampag

    Solved Remove item which has been created in 10 minutes

    Yeah I don't see any issues with this code, I think it's a coordinates issue like last time.
  20. dchampag

    Solved Remove item which has been created in 10 minutes

    Yeahp, sorry I been busy, just been checking crap on my phone, if someone hasn't helped when I get a chance I will do my best, all I can say for now is to make sure all coordinates are properly set.
Back
Top