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

[EVENT~MOD] - Pandora Box - From OTSMATERIA.PL - [EVENT~MOD]

Here are rewards:
PHP:
pandoraBoxRewards = {
                  --[vocationId] = {itemid, count, itemid1, count1, ...}
                    [1] = {2160, 25, 7898, 1, 7899, 1}, --sorc
                    [2] = {2160, 25, 7884, 1, 7897, 1}, --druid
                    [3] = {2160, 25, 8891, 1, 7368, 100}, --pall
                    [4] = {2160, 25, 8889, 1, 5741, 1}, --knight
                    [5] = {2160, 30, 8868, 1, 8867, 1}, --ms
                    [6] = {2160, 30, 8866, 1, 8869, 1}, --ed
                    [7] = {2160, 30, 8888, 1, 2537, 1}, --rp
                    [8] = {2160, 30, 8881, 1, 2522, 1}, --ek
                    }
PHP:
[vocationId] = {itemid, count, itemid1, count1, ...}
Easy? Just use crate after kill the Pandora boss.
 
Here are rewards:
PHP:
pandoraBoxRewards = {
                  --[vocationId] = {itemid, count, itemid1, count1, ...}
                    [1] = {2160, 25, 7898, 1, 7899, 1}, --sorc
                    [2] = {2160, 25, 7884, 1, 7897, 1}, --druid
                    [3] = {2160, 25, 8891, 1, 7368, 100}, --pall
                    [4] = {2160, 25, 8889, 1, 5741, 1}, --knight
                    [5] = {2160, 30, 8868, 1, 8867, 1}, --ms
                    [6] = {2160, 30, 8866, 1, 8869, 1}, --ed
                    [7] = {2160, 30, 8888, 1, 2537, 1}, --rp
                    [8] = {2160, 30, 8881, 1, 2522, 1}, --ek
                    }
PHP:
[vocationId] = {itemid, count, itemid1, count1, ...}
Easy? Just use crate after kill the Pandora boss.

pandora boss does not appear :c
Oskar1121, thanx for you help :)
 
damn i have this error :(
Lua:
[18/12/2012 23:20:14]  failed!
[18/12/2012 23:20:14] > Loading Pandorabox.xml...[Warning - Actions::registerEvent] Duplicate registered item uid: 2000
 
Do you added Pandora monster to monsters.xml?

nao XD, OK
I have another problem, the waves are too many monsters as you can see in the picture, as I set the amount of monsters
pandoraj.png


this is my config
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Pandora Box" version="1.2" author="Oskar" contact="[email protected]" enabled="yes">
<config name="pandoraBox_conf"><![CDATA[
pandoraBox = {
			monstersPositions = {
								leftTopCorner = {x=1642,y=1700,z=7},
								rightBottomCorner = {x=1648,y=1705,z=7}
								},
			pandoraBoxAccesToUseCommand = 4,
			--box config
			boxId = 9661,
			timeOnPutBox = 10, --in minutes
			chance = 100,
			pandoraBoxPosition = {x=1644,y=1697,z=7},
 
			--monsters config
			monstersName = {'dragon lord',1,'serpent spawn',2,'Grim Reaper',2,'demon',2,'Hand Of Cursed Fate',2,'dragon',4,'Blightwalker',2,
							'Fury',1,'Hellhound',2,'Undead Dragon',3,'Juggernaut',2,'Draken Elite',4,
							'diabolic imp',1,'fire elemental',2,'Medusa',1,'Lost Soul',1,'Hellfire Fighter',1,'Defiler',2,'Draken Abomination',2}, --'name', chance, 'name1', chance1
			monstersSpawnCount = {80,110}, --{from, to}
 
			--waves config
			wavesCount = {5,7}, --{from, to}
			timeBetweenWaves = 90, --in seconds
 
			timeOnKillAllMonsters = 13, --in minutes
			timeOnGetRewards = 20, --in seconds
			bossPositionToSamePandoraBox = true,
			bossName = 'Pandora',
			pandoraGuards = 'fallen island warlock',
			pandoraGuardsCount = 10,
			expRateValue = 0.25,
			}
 
pandoraBoxRewards = {
				  --[vocationId] = {itemid, count, itemid1, count1, ...}
					[1] = {2160, 25, 9969, 1, 9932, 1}, --sorc
					[2] = {2160, 25, 9969, 1, 9932, 1}, --druid
					[3] = {2160, 25, 9969, 1, 9932, 100}, --pall
					[4] = {2160, 25, 9969, 1, 9932, 1}, --knight
					[5] = {2160, 30, 9969, 1, 9932, 1}, --ms
					[6] = {2160, 30, 9969, 1, 9932, 1}, --ed
					[7] = {2160, 30, 9969, 1, 9932, 1}, --rp
					[8] = {2160, 30, 9969, 1, 9932, 1}, --ek
					}

thanx!!
 
The top left cord and bottom right cord try set lower distance between them, because now as we understood it when we tried it there will be monsters spawned between those positions.
so the lower distance you have between top left cord and bottom right the less monsters will spawn.

so you could try like 1645 1700 7 and 1648 1701 7 or something, not sure if that is what your prob was but try it :)

ontopic:
nice script, thanks for releasing!
 
i have this error at the very end of the event look:

Lua:
[19/12/2012 18:44:33] [Error - CreatureScript Interface] 
[19/12/2012 18:44:33] buffer:onDeath
[19/12/2012 18:44:33] Description: 
[19/12/2012 18:44:33] [string "loadBuffer"]:16: attempt to concatenate global 'timeOnGetRewards' (a nil value)
[19/12/2012 18:44:33] stack traceback:
[19/12/2012 18:44:33] 	[string "loadBuffer"]:16: in function <[string "loadBuffer"]:2>
[19/12/2012 18:44:53] > Broadcasted message: "Pandora Box is disappeared from the world!".
 
Everything works, but the monsters dosent spawn i have put the right positions to... but i dont have pandora monster. can u link it?
 
the box spawn is the only thing that works then the mod goes into the cmd really long error basically reads the file in the cmd any help? when you click use on box
 
the box spawn is the only thing that works then the mod goes into the cmd really long error basically reads the file in the cmd any help? when you click use on box

same problem here! :/ no clue what to do would be really nice if someone could help ^^
 
The event works for me :) but I have one problem, the Pandora Boss does not spawn, can you post the boss files? and also instead of starting the event everyday at say 14:00 is it possible to start the event every 3 hours without command, like just automatic?
 
I mean i tested mine on other monsters it depends on ur server. My server is mid exp so i made it lvl 200 to join the event and hes stronger then orshabaal.
 
Back
Top