Skip to content
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

Issues/Bugs found in general #149

Closed
TheMegafuji opened this issue Feb 19, 2014 · 6 comments
Closed

Issues/Bugs found in general #149

TheMegafuji opened this issue Feb 19, 2014 · 6 comments
Labels

Comments

@TheMegafuji
Copy link

BUGs:

General BUG:

  • NPCs are talking directly to one person and you can see what they say to them.
    • Ex: I talk to palimuth saying hi>mission>yes, my friend also do that at the a given time delay, palimuth will show me in NPCs channel what he is saying to my friend (even if I didn't said hi to him, just gotta be at the radius)

Annihilator quest:

  • You can't open the door because the script have an wrong UID
  • You can't push the lever because the script will only send the first player to the zone
  • Glitch in the chest, see issue Very glitched bug! Anihilator Quest #148

In Service of Yalahar:

  • Diseased Bill is not respawning
  • Morik the Gladiator doesn't exist.
  • Ghost Charm not making magic forcefield and not spawning ghosts.

Quests.lua:

Fixing:

Annihilator Quest:

  • Annihhilator Quest Door:

at annihilatorQuestDoor.lua, you will see this:

    if(item.uid == 2215) then

when in the XML and Map the UID is:

    <action uniqueid="2216" script="annihilator quest/annihilatorQuestDoor.lua"/>

So a quick fix for this would be changing the item.uid == 2215 to:

    if(item.uid == 2216) then
  • Annihilator Quest lever:

at at annihilatorQuestLever.lua, you will see this in line 69:

    p:teleportTo(new_player_pos[i], false)

which means it will be teleporting p who is the lever pulling player, and him only, to fix this we can replace this line with:

    doTeleportThing(getTopCreature(players_pos[i]).uid,new_player_pos[i],true)

In Service of Yalahar:

  • Diseased Bill is not respawning:

simply add this line in spawn.xml nearly line 15100:

    <spawn centerx="32669" centery="31123" centerz="7" radius="2">
        <monster name="Diseased Bill" x="0" y="0" z="7" spawntime="60" />
    </spawn>
  • Morik the Gladiator doesn't exist:

Add a new file in data/monsters/outlaws called morik.xml:

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Morik the Gladiator" nameDescription="a gladiator" race="blood" experience="160" speed="200">
    <health now="1235" max="1235"/>
    <look type="131" head="57" body="57" legs="57" feet="57" addons="1" corpse="20531"/>
    <targetchange interval="2000" chance="0"/>
    <strategy attack="100" defense="0"/>
    <flags>
        <flag summonable="0"/>
        <flag attackable="1"/>
        <flag hostile="1"/>
        <flag illusionable="0"/>
        <flag convinceable="1"/>
        <flag pushable="1"/>
        <flag canpushitems="0"/>
        <flag canpushcreatures="0"/>
        <flag staticattack="90"/>
        <flag targetdistance="1"/>
        <flag runonhealth="10"/>
    </flags>
    <attacks>
        <attack name="melee" interval="2000" skill="90" attack="50"/>
        <attack name="lifedrain" interval="2000" chance="15" radius="3" target="0" max="-110">
            <attribute key="areaEffect" value="blackspark"/>
        </attack>
        <attack name="drunk" interval="1000" chance="10"/>
    </attacks>
    <defenses armor="20" defense="22">
        <defense name="speed" interval="1000" chance="9" speedchange="215" duration="5000">
            <attribute key="areaEffect" value="redshimmer"/>
        </defense>
    </defenses>
    <elements>
        <element holyPercent="10"/>
        <element physicalPercent="15"/>
        <element deathPercent="-10"/>
    </elements>
    <voices interval="4000" chance="10">
        <voice sentence="To be the one you'll have to beat the one!"/>
        <voice sentence="Where did I put my ultimate health potion again?"/>
        <voice sentence="I am the best!"/>
        <voice sentence="I'll take your ears as a trophy!"/>
    </voices>
    <summons maxSummons="2">
        <summon name="gladiator" interval="2000" chance="10" max="2"/>
    </summons>
    <loot>
        <item id="9735" chance="9999999"/><!-- morik helmet -->
    </loot>
</monster>

add this line to monsters.xml:

    <monster name="Morik the Gladiator" file="Outlaws/morik.xml"/> 

under:

    <!-- Outlaws -->

(nearly line 600)

So far this is what I have fixed, any help will be appreciated.

@WibbenZ
Copy link
Contributor

WibbenZ commented Feb 19, 2014

Ill take a closer look tomorow, but morik does exist, atleast in my monster pack(im using the one printer released not the one someone else released - that is full of glitches...)

The problem is or was(dunno if I changed the script here on github) is that its the wrong uid or aid in the script, so when you use the item it will always return false before even trying to spawn the monster.

Ghost charm, also know about that bug, is on my todo list. Anni should be working - gonna do a test when I can gather my team to test it or when I have the time to mc 3 other clients.
The chest problem as I said have to be changed in the map first, otherwise when ppl download the project nothing will work anyways.

Insted of removing the metatag function (my bug sorry) change it to
local newpos = Player(getTopCreature(players_pos[i]).uid)
newpos:teleportTo(new_player_pos[i], false)

@WibbenZ WibbenZ added the bug label Feb 20, 2014
@exura
Copy link
Contributor

exura commented Feb 20, 2014

Yeah morik is lacking in this revs pack (since it was "patched" away by a contributor. Nice addition!

@felipetmartini
Copy link

this can be close? is already fixed right?

@WibbenZ
Copy link
Contributor

WibbenZ commented Apr 16, 2014

Well morik isent a spawm, you use the 'weapon rack' and he spawns
Den 16 apr 2014 18:22 skrev "felipetmartini" notifications@github.com:

this can be close? is already fixed right?


Reply to this email directly or view it on GitHubhttps://github.com//issues/149#issuecomment-40620004
.

@felipetmartini
Copy link

so ned to remove the spawn and the action for weapon rack have?

@Royalot
Copy link
Collaborator

Royalot commented Apr 24, 2014

Yalahar and annihilator works now.

@Royalot Royalot closed this as completed Apr 24, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants