VGOEmulator.net

A Development Project for the Vanguard:Saga of Heroes MMO

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • Portal
  • Project Manager
  • Bug Tracker
  • Server List
  • Wiki
  • Donate
  • Login
  • Register
  • Board index Bugs Server Bugs Server Bugs (Closed)
  • Search

Bug 443: (zippyzee) I cannot examine the Gateway D...

Closed Server Bugs

Moderators: Community Managers, Developers

Locked
  • Print view
Advanced search
15 posts
  • Previous
  • 1
  • 2
zippyzee
Developer
Developer
Posts: 1240
Joined: Wed Jul 23, 2014 2:11 pm
Re: Bug 443: (zippyzee) I cannot examine the Gateway D...
  • Quote

Post by zippyzee » Thu Mar 24, 2016 6:30 pm

Ok. Sorry to be so dim about this. I keep focusing on the wrong part of this problem, getting the gateway disc confused with the mysterious device.

I had changed all the mobs in Gai's Nousa to use the same script to handle giving out the gateway disc whenever needed. When I changed the hobgoblin warrior to use that script I left out the drop, apparently, although there has been some script editing recently **cough** that introduced other errors into this script that I have already fixed, so I am not quite ready to say that it was all my fault. I'm at home so I can't see what my last clean private version had on it.

In any case, Xinux, if you don't mind please re-associate the hobgoblin warrior with his regular script (HobgoblinWarrior.lua) that will drop the correct "mysterious device" as needed, and some time I'll go back and fix all this up so the other hobgoblins can also drop it as needed. I don't think the fire imps are supposed to drop it, so I will need to split up my combined scripts between those for hobgoblins and those for fire imps.

My apologies for not digging deep enough but I did not have enough time over the last few days to be able to actually log in and do my own testing. Lesson learned. Trying to problem solve from looking only at scripts did not work out well...
Top

User avatar
Xinux
Project Leader
Project Leader
Posts: 2549
Joined: Wed Aug 28, 2013 2:20 pm
Re: Bug 443: (zippyzee) I cannot examine the Gateway D...
  • Quote

Post by Xinux » Thu Mar 24, 2016 6:46 pm

Ok it is dropping now and changed the script just a little bit. If for some reason a person doesn't pickup the quest The Village and they go and turn in the An Odd Treasure quest and then pickup the quest The Village they won't be able to get another Mysterious Device to meet the requirement of that quest.
By adding the check for QuestCurrent The village you completely fix that issue.

Code: Select all

--[[
	Script Name		: Spawns/IsleofDawn/HobgoblinWarrior.lua
	Script Purpose	: Script for Hobgoblin Warrior (in Gai's Nousa)
	Script Author	: zippyzee
	Script Date		: 2016/02/16
--]]

-- Local variables go here
local an_odd_treasure = 7453
local mysterious_device = 1419351
local gateway_disc = 1419352
local gateway_termination = 7454
local the_village = 7452

-- local vanguard_quest_name = [quest_id]

function spawn(Npc)
	
end

function death(Npc, Player)
	-- If player does not have the quest "An Odd Treasure" and doesn't have the item "Mysterious Device", add it to the loot
	SendMessageToPlayer(Player, "Checking for quest An Odd Treasure")
	if QuestEligible(Player, an_odd_treasure) and not HasItem(Player, mysterious_device, 1) and QuestCurrent(Player, the_village) then
		SendMessageToPlayer(Player, "Adding mysterious_device to loot")
		AddLoot(Npc, mysterious_device, 1)	
	end
	
	-- If player is on the quest "Gateway Termination" and does not have a disc, then include in loot
	if QuestCurrent(Player, gateway_termination) then
		if not HasItem(Player, gateway_disc) then
			AddLoot(Npc, gateway_disc)
		end
	end
end
Top

zippyzee
Developer
Developer
Posts: 1240
Joined: Wed Jul 23, 2014 2:11 pm
Re: Bug 443: (zippyzee) I cannot examine the Gateway D...
  • Quote

Post by zippyzee » Thu Mar 24, 2016 7:11 pm

Very good. I had not run through all the possible permutations for this quest, but it certainly has been a pain in the rear. Hopefully we will get it settled. I appreciate the help.
Top

Starcrusher
Posts: 267
Joined: Sun Feb 22, 2015 9:23 pm
Location: Southern Oregon
Re: Bug 443: (zippyzee) I cannot examine the Gateway D...
  • Quote

Post by Starcrusher » Thu Mar 24, 2016 9:27 pm

Yeah I am guilty of at least part of that one. It seems to be working now.
Top

Nilso
Posts: 139
Joined: Fri Sep 25, 2015 12:31 pm
Location: La Rochelle (France)
Re: Bug 443: (zippyzee) I cannot examine the Gateway D...
  • Quote

Post by Nilso » Fri Mar 25, 2016 2:04 am

Tested again ... It works ! Grats everybody
Top


Locked
  • Print view

15 posts
  • Previous
  • 1
  • 2

Return to “Server Bugs (Closed)”

Jump to
  • Information
  • ↳   Announcements
  • ↳   Dev Chats
  • ↳   Events
  • Community
  • ↳   General Discussions
  • ↳   VGO Team Help Requests
  • ↳   Introductions
  • ↳   Game Features
  • ↳   Wish List
  • ↳   Off-Topic
  • Support
  • ↳   How-To's
  • ↳   General Support
  • ↳   Windows
  • ↳   Linux
  • Bugs
  • ↳   Server Bugs
  • ↳   Server Bugs (Closed)
  • ↳   Content Bugs
  • ↳   Content Bugs (Closed)
  • ↳   Database Bugs
  • ↳   Tools Bugs
  • Board index
  • All times are UTC-07:00
  • Delete cookies
  • Contact us
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD