Really love this idea !
This looks interesting, however, I'm still somewhat confused.
Is this something like the floor-switch-and-lever system where if the team stands on the floor switch and the level is pulled, it takes everyone to the next part?
CREATE TABLE `dunegon_finder` (`id` INT(8) AUTO_INCREMENT PRIMARY KEY, `player_id` INT(255))
CREATE TABLE `dungeon_finder` (`id` INT(8) AUTO_INCREMENT PRIMARY KEY, `player_id` INT(255))
My dear, only one thing!
Replace this:
PHP:CREATE TABLE `dunegon_finder` (`id` INT(8) AUTO_INCREMENT PRIMARY KEY, `player_id` INT(255))
To this:
PHP:CREATE TABLE `dungeon_finder` (`id` INT(8) AUTO_INCREMENT PRIMARY KEY, `player_id` INT(255))
It's only one falsity. :thumbup:
It would be great if you could say it in a specific top-left to bottom-right area.
Man your scripts rock! You're very talented keep it comming!
local dungeon = {
[1] = {name = "Test dungeon", level = 20, pos = {x = 1047, y = 983, z = 8}},
}
dungeon = quests[math.random(1, table.maxn(quests))]
local quests = {
[1] = {name = "Test dungeon", level = 20, pos = {x = 1047, y = 983, z = 8}},
}
dungeon = quests[math.random(1, table.maxn(quests))]
I think you have made mistake in globalevents script:
Code:local dungeon = { [1] = {name = "Test dungeon", level = 20, pos = {x = 1047, y = 983, z = 8}}, } dungeon = quests[math.random(1, table.maxn(quests))]
It should be:
Code:local quests = { [1] = {name = "Test dungeon", level = 20, pos = {x = 1047, y = 983, z = 8}}, } dungeon = quests[math.random(1, table.maxn(quests))]
Nice script but:
- You should make table `dungeon_finder` where will be 2 coulmuns (or 3 if you want: `id`): `player_id`, `dungeon_id`.
- If someone "logout/login/leave from party/kick from party" when is on dungeon he should be kicked out from dungeon and get 30 min (you can change it in config) colddown to join dungeon finder.
- If one team is on "Dungeon 1" then other team can't join to the same dungeon.
- Every party member can kick another one if other members from team also agree.
- Dungeon leader should be able to join missing member if team isn't full (4/5 or smth).
- As in above post players can leave out dungeon (not from party) and should be teleported to place from have been telepoted to dungeon. And if player want to enter to dungeon again he is teleporting to party leader.
- When team kill last boss then they can leave party without colddown.
- Also you should optimize globalevent function.
This is just suggestion. You can add it or not. It's your choice.
View attachment 9464 I got that error what is wrong? I use SVN 0.4