• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

CreatureEvent NPC Grizzly Adams - almost how RL Tibia.

I use without it, since I can't make the source's storage thing work

They said 0.4 already have it, but I don't know how it works
 
I use with quest log.

#up
You can't make source? Are you sure that you use correct 32/64 bit DevC++?
 
I want add storage in demon oak quest, only who completed the 6666 demons can enter, what storage (number) i use in the tree?


@Oskar1121

In you server the hydras, gs and behe task work without reseting?
 
Into Demon Oak you should use 10007 storage. You can find it into NPC file.

What you meat about Hydras? What's mistake you have found?
 
hydras giant spiders and behemoths reset the count when you kill other monster

04:16 You killed 20 hydra. You have killed 20 of 700 hydras.
04:16 You killed 21 hydra. You have killed 21 of 700 hydras.
04:16 You killed 1 hydra. You have killed 1 of 700 hydras.

I tryied to change the storages but continue reseting
 
Last edited:
["fire elemental"] = {storage = 9991, mob_storage = 19983, race_name = "fire elementals", begin_storage_value = 28, finished_storage_value = 29, count = 7},

count 7 should be 70 :)
 
Yes, I know about it.
I change count on 7 because I test task with Fire Elementals on my server.
 
hydras giant spiders and behemoths reset the count when you kill other monster

04:16 You killed 20 hydra. You have killed 20 of 700 hydras.
04:16 You killed 21 hydra. You have killed 21 of 700 hydras.
04:16 You killed 1 hydra. You have killed 1 of 700 hydras.

I tryied to change the storages but continue reseting
i have the same problem :(
 
16:28 You killed 1 hydra. You have killed 1 of 2000 hydras.
16:28 You killed 2 hydra. You have killed 2 of 2000 hydras.
16:28 You killed 3 hydra. You have killed 3 of 2000 hydras.
16:28 You killed 4 hydra. You have killed 4 of 2000 hydras.
16:28 You killed 5 hydra. You have killed 5 of 2000 hydras.
16:28 You killed 6 hydra. You have killed 6 of 2000 hydras.
16:28 You killed 7 hydra. You have killed 7 of 2000 hydras.
16:28 You killed 8 hydra. You have killed 8 of 2000 hydras.
16:28 You killed 9 hydra. You have killed 9 of 2000 hydras.
16:28 You killed 10 hydra. You have killed 10 of 2000 hydras.
16:28 You killed 11 hydra. You have killed 11 of 2000 hydras.
16:28 You killed 12 hydra. You have killed 12 of 2000 hydras.
16:28 You killed 13 hydra. You have killed 13 of 2000 hydras.
16:28 You killed 14 hydra. You have killed 14 of 2000 hydras.
16:28 You killed 15 hydra. You have killed 15 of 2000 hydras.
16:28 You killed 16 hydra. You have killed 16 of 2000 hydras.
16:28 You killed 17 hydra. You have killed 17 of 2000 hydras.
16:28 You killed 18 hydra. You have killed 18 of 2000 hydras.
16:28 You killed 19 hydra. You have killed 19 of 2000 hydras.
16:28 You killed 20 hydra. You have killed 20 of 2000 hydras.
16:28 You killed 21 hydra. You have killed 21 of 2000 hydras.
16:28 You killed 22 hydra. You have killed 22 of 2000 hydras.
16:28 You killed 23 hydra. You have killed 23 of 2000 hydras.
I don't understand.

#edit
Ok, I have found a problem.
In first post you have script without mistake.
 
Last edited:
so can u tell me what u changed in the script the last time, so i can change in mine and see if it works xD
 
I change into creaturescripts file with:
PHP:
	for k, v in pairs(config) do
		if getPlayerStorageValue(cid, mob.mob_storage) == -1 then
			if getPlayerStorageValue(cid, main_storage) == v.begin_storage_value then
				doPlayerSetStorageValue(cid, v.mob_storage, 0)
			end
		end
	end
on:
PHP:
	for k, v in pairs(config) do
		if getPlayerStorageValue(cid, v.mob_storage) == -1 then
			if getPlayerStorageValue(cid, main_storage) == v.begin_storage_value then
				doPlayerSetStorageValue(cid, v.mob_storage, 0)
			end
		end
	end
 
I test it now and into my OT it work good. Without problems/errors/crashes.
Change your engine and try again.
 
So try with quest log.
If you don't know how can you compiled your engine then search somebody who can do it on TFS 0.4

Sorry for my English . . .
 
i cant find someone to help me with that =/ maybe u have a quest.xml with all monsters? that u used on older scripts?
 
I don't understand.

#edit
Ok, I have found a problem.
In first post you have script without mistake.


Hello, what you changed? i cant add all the code again because i changed it


in my grizzly adams in creaturescript dont have


for k, v in pairs(config) do
if getPlayerStorageValue(cid, mob.mob_storage) == -1 then
if getPlayerStorageValue(cid, main_storage) == v.begin_storage_value then
doPlayerSetStorageValue(cid, v.mob_storage, 0)
end
end
end


And i m using you atual grizzly adams (creaturescript)

I m using without quest log
 
Back
Top