-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very glitched bug! Anihilator Quest #148
Comments
I think the same might happen at the following quests: |
Ill check it out tonight, but about the earning exp its supposed to do, is with all the quests, probbly to copy shadowcores. |
Okay firstly to fix the problem of receiving xp infinitly you may just grab these lines and place them on item receive: if(item.uid == 1296) then --behemoth quest
if (getPlayerStorageValue(cid, 9244) < 1) then
doPlayerAddExp(cid, 80000, true, true)
setPlayerStorageValue(cid,9244, 1)
end
end
if(item.uid == 9170 and getPlayerStorageValue(cid, 9170) < 1) then --banshee
doPlayerAddExp(cid, 20000, true, true)
end
if(item.uid == 9050 or item.uniqueid == 9051 or item.uniqueid == 9052 or item.uniqueid == 9053) then --dream challenge q
if (getPlayerStorageValue(cid, 9050) < 1 or getPlayerStorageValue(cid, 9051) < 1 or getPlayerStorageValue(cid, 9052) < 1 or getPlayerStorageValue(cid, 9053) < 1) then
doPlayerAddExp(cid, 20000, true, true)
end
end place them below here: result = "You have found " .. result .. "." But above: setPlayerStorageValue(cid, storage, 1) To fix anihilator, firstly openup map editor, go to anihilator quest room, change the chests actionid to 0, and put uid from your choice iam choosing (27215, 27216, 27217, 27218), also delete the items inside the chests. local rewards = {
[27215] = 2494,
[27216] = 2400,
[27217] = 2431,
[27218] = 1990
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(getPlayerStorageValue(cid, 2215) < 1) then
doPlayerAddItem(cid, rewards[item.uid], 1)
doPlayerAddExp(cid, 100000, true, true)
setPlayerStorageValue(cid,2215, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You've found " .. getItemName(rewards[item.uid]) .. ".")
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The chest is empty.")
end
return true
end And add these lines: <action uniqueid="27215" script="annihilator quest/annihilatorQuestRewards.lua"/>
<action uniqueid="27216" script="annihilator quest/annihilatorQuestRewards.lua"/>
<action uniqueid="27217" script="annihilator quest/annihilatorQuestRewards.lua"/>
<action uniqueid="27218" script="annihilator quest/annihilatorQuestRewards.lua"/> you can also use fromuid. after: <!-- Annihilator Quest -->
<action uniqueid="2216" script="annihilator quest/annihilatorQuestDoor.lua"/>
<action uniqueid="2208" script="annihilator quest/annihilatorQuestLever.lua"/> |
The map must be updated aswell, when and if someone does that ill update the scripts |
I did it here, how can I upload it to you? |
Use the github client, did you make any other changes?
|
I made other changes, gonna upload later #149, Btw can you tag me any map changes needed? I haven't found any. |
Tested and works now. So can be closed |
After finishing anihilator, you earn xp for opening the chest, well thats one of the main problems, if you don't have capacity or space to open the chest you may open it as many times as you want and earn the xp the chest gives '-', so you can go from level 100 to 1000+, or whatever.
Second, in the same quest, you can MOVE the chests, and also the items that show above the chests, that means you can get the chest out of the anihilator room (by sending them to the teleport) or pushing them to lava.
Sounds glitchy? at least I learned about this on my server beta haha.
The text was updated successfully, but these errors were encountered: